Releases: particle-iot/particle-api-js
Releases · particle-iot/particle-api-js
v9.0.2
- Add
.deleteActiveAccessTokens()
method
- Add
invalidateTokens
arguments to .confirmMfa()
and .changeUsername()
methods
v9.0.1
Add .getProductDeviceConfiguration()
and .getProductDeviceConfigurationSchema()
methods
v9.0.0
Breaking Changes
- base http methods (
.get()
, .put()
, etc) on agent and particle classes accept options object vs. positional arguments (see here)
.downloadFile()
method uses uri
option (vs. url
) (docs)
- refactored options object for the
.createWebhook()
method - hook-related options are now passed in via options.hook
(docs)
Updates
- add support for configuration and location services
- all top-level api methods optionally accept a
headers
option object
v8.2.1
PR #112 fix file download methods .downloadFile()
, .downloadFirmwareBinary()
, and .downloadProductFirmware()
v8.2.0
PR #109 .addDeviceToProduct()
accepts file
option to facillitate bulk importing of devices
v8.1.0
PR #108 Add support for groups
query parameter when listing product devices via .listDevices()
PR #107 Update eslint
and related configuration
PR #106 .updateDevice()
no longer sends signal
when it is not set
v8.0.1
#105 Update to latest superagent to fix deprecation warnings in Node v12
v8.0.0
#99 Improve EventStream error handling
Support changing user's username (i.e., email) and password