Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@kmamykin kmamykin released this 23 Feb 18:18
· 1 commit to master since this release

Changes:

  • Updated and pinned aws-signature-v4@1.2.1
  • Updated and pinned mqtt@2.18.2
  • Added ability to connect to a local broker without signed url to support https://github.com/tradle/serverless-iot-local project
  • API change: import modules like this now:
    • const AWSMqttClient = require('aws-mqtt') in browser
    • const NodeClient = require('aws-mqtt/lib/NodeClient') in Node.js
    • const publishMessage = require('aws-mqtt/lib/publishMessage') in Node.js for one off message publishing
  • Pulled WebSocketStreamfrom from mqtt-websocket-stream repo to this repo
  • Added CloudFormation template for testing/example infrastructure
  • Added added browser tests with puppeteer and node tests
  • Better connection error diagnostics (e.g. 403 errors are not ignored)
  • Extracted expires as an option