particle-api-js 9.0.1 → 9.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/particle.min.js +88 -91
- package/dist/particle.min.js.map +1 -1
- package/docs/api.md +120 -101
- package/lib/Client.js +2 -2
- package/lib/Client.js.map +1 -1
- package/lib/EventStream.js +0 -1
- package/lib/EventStream.js.map +1 -1
- package/lib/Particle.js +659 -615
- package/lib/Particle.js.map +1 -1
- package/package.json +2 -4
- package/test/Client.spec.js +2 -2
- package/test/EventStream.spec.js +0 -1
- package/test/Particle.spec.js +75 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
# changelog
|
|
2
2
|
|
|
3
|
+
## 9.1.2 - 9 December 2021
|
|
4
|
+
* Fix library download
|
|
5
|
+
|
|
6
|
+
## 9.1.1 - 7 December 2021
|
|
7
|
+
* Use unforked copy of `stream-http` dependency
|
|
8
|
+
|
|
9
|
+
## 9.1.0 - 8 December 2020
|
|
10
|
+
* `.listAccessTokens()` accepts `otp` option to support users with MFA enabled
|
|
11
|
+
|
|
12
|
+
## 9.0.2 - 28 July 2020
|
|
13
|
+
* Add `.deleteActiveAccessTokens()` method
|
|
14
|
+
* Add `invalidateTokens` arguments to `.confirmMfa()` and `.changeUsername()` methods
|
|
15
|
+
|
|
3
16
|
## 9.0.1 - 1 June 2020
|
|
4
17
|
* Add `.getProductDeviceConfiguration()` and `.getProductDeviceConfigurationSchema()` methods
|
|
5
18
|
|
|
6
19
|
## 9.0.0 - 20 May 2020
|
|
7
20
|
* Add support for configuration and location services
|
|
21
|
+
* All top-level api methods optionally accept a `headers` option object
|
|
22
|
+
* Breaking: Base http methods (`.get()`, `.put()`, etc) on agent and particle classes accept options object vs. positional arguments ([see here](https://github.com/particle-iot/particle-api-js/pull/115/commits/c209a43ebcda53b9dc6857e1b54228906f506feb))
|
|
23
|
+
* Breaking: `.downloadFile()` method uses `uri` option (vs. `url`) ([docs](https://github.com/particle-iot/particle-api-js/blob/master/docs/api.md#downloadfile))
|
|
24
|
+
* Breaking: Refactored options object for the `.createWebhook()` method - hook-related options are now passed in via `options.hook` ([docs](https://github.com/particle-iot/particle-api-js/blob/master/docs/api.md#createwebhook))
|
|
8
25
|
|
|
9
26
|
## 8.4.0 - 28 April 2020
|
|
10
27
|
* Allow invalidating access tokens when changing password
|