balena-register-device 8.0.0 → 8.0.1
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/package.json +2 -2
- package/CHANGELOG.md +0 -191
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "balena-register-device",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Balena device registration utilities",
|
|
5
5
|
"main": "build/register.js",
|
|
6
6
|
"homepage": "https://github.com/balena-io-modules/balena-register-device",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"balena-request": "^11.0.0"
|
|
56
56
|
},
|
|
57
57
|
"versionist": {
|
|
58
|
-
"publishedAt": "2022-09-
|
|
58
|
+
"publishedAt": "2022-09-21T21:03:21.925Z"
|
|
59
59
|
}
|
|
60
60
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
|
-
|
|
6
|
-
## [5.0.0] - 2018-01-25
|
|
7
|
-
|
|
8
|
-
# v8.0.0
|
|
9
|
-
## (2022-09-06)
|
|
10
|
-
|
|
11
|
-
* Remove the travis & appveyor configurations [Thodoris Greasidis]
|
|
12
|
-
* tsconfig: Enable strict type checking [Thodoris Greasidis]
|
|
13
|
-
* Update devDependencies [Thodoris Greasidis]
|
|
14
|
-
* Update the uuid package to v9 [Thodoris Greasidis]
|
|
15
|
-
* Prevent creating a package-lock.json [Thodoris Greasidis]
|
|
16
|
-
* Drop support for node 10 in favor of 14 & 16 [Thodoris Greasidis]
|
|
17
|
-
|
|
18
|
-
# v7.2.0
|
|
19
|
-
## (2021-04-29)
|
|
20
|
-
|
|
21
|
-
* Support `supervisorVersion`/`osVersion`/`osVariant`/`macAddress` fields [Pagan Gazzard]
|
|
22
|
-
|
|
23
|
-
# v7.1.1
|
|
24
|
-
## (2021-04-29)
|
|
25
|
-
|
|
26
|
-
* Update dependencies [Pagan Gazzard]
|
|
27
|
-
|
|
28
|
-
# v7.1.0
|
|
29
|
-
## (2020-07-13)
|
|
30
|
-
|
|
31
|
-
* Switch from randomstring to uuid for generating device uuids [Pagan Gazzard]
|
|
32
|
-
|
|
33
|
-
# v7.0.1
|
|
34
|
-
## (2020-07-13)
|
|
35
|
-
|
|
36
|
-
* Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
|
|
37
|
-
|
|
38
|
-
# v7.0.0
|
|
39
|
-
## (2020-07-06)
|
|
40
|
-
|
|
41
|
-
* Update to balena-request 11.x [Pagan Gazzard]
|
|
42
|
-
* Switch to returning native promises [Pagan Gazzard]
|
|
43
|
-
* Update to typed-error 3.x [Pagan Gazzard]
|
|
44
|
-
* Convert to typescript [Pagan Gazzard]
|
|
45
|
-
* Switch to a named export [Pagan Gazzard]
|
|
46
|
-
* Drop callback interface in favor of promise interface [Pagan Gazzard]
|
|
47
|
-
|
|
48
|
-
# v6.1.6
|
|
49
|
-
## (2020-05-26)
|
|
50
|
-
|
|
51
|
-
* Export ApiError [Cameron Diver]
|
|
52
|
-
|
|
53
|
-
# v6.1.5
|
|
54
|
-
## (2020-05-21)
|
|
55
|
-
|
|
56
|
-
* Convert tests to js [Thodoris Greasidis]
|
|
57
|
-
|
|
58
|
-
# v6.1.4
|
|
59
|
-
## (2020-05-21)
|
|
60
|
-
|
|
61
|
-
* Install typed-error v2 [Cameron Diver]
|
|
62
|
-
|
|
63
|
-
# v6.1.3
|
|
64
|
-
## (2020-05-20)
|
|
65
|
-
|
|
66
|
-
* Extend API exception to include full response object [Miguel Casqueira]
|
|
67
|
-
|
|
68
|
-
# v6.1.2
|
|
69
|
-
## (2020-05-20)
|
|
70
|
-
|
|
71
|
-
* Update mocha to fix node v12 deprecation warning [Thodoris Greasidis]
|
|
72
|
-
|
|
73
|
-
# v6.1.1
|
|
74
|
-
## (2020-04-27)
|
|
75
|
-
|
|
76
|
-
* Prevent balena-request from overwriting the authorization header [Thodoris Greasidis]
|
|
77
|
-
* Send the api key within the Authorisation header [Cameron Diver]
|
|
78
|
-
|
|
79
|
-
# v6.1.0
|
|
80
|
-
## (2020-04-17)
|
|
81
|
-
|
|
82
|
-
* Make user id optional [Pagan Gazzard]
|
|
83
|
-
|
|
84
|
-
## 6.0.1 - 2020-02-04
|
|
85
|
-
|
|
86
|
-
* GenerateUniqueKey: Reduce generated UUID size to 16 bytes. [James Harton]
|
|
87
|
-
|
|
88
|
-
## 6.0.0 - 2019-04-12
|
|
89
|
-
|
|
90
|
-
* Use a prepare step that doesn't run tests, to be balenaCI compliant [Thodoris Greasidis]
|
|
91
|
-
* Tests: Disable node 10 on appveyor since a warning is inferred as error [Thodoris Greasidis]
|
|
92
|
-
* Drop node 4 in favor of 8 & 10 on appveyor & travis [Thodoris Greasidis]
|
|
93
|
-
* Tests: Use balena-config-karma to get balenaCI compliance [Thodoris Greasidis]
|
|
94
|
-
* Tests: Use headless Chrome instead of phantomjs [Thodoris Greasidis]
|
|
95
|
-
* Tests: Use mockttp to test real requests, instead of fetch-mock [Thodoris Greasidis]
|
|
96
|
-
* Exclude the build output from the repo [Thodoris Greasidis]
|
|
97
|
-
* Rename everything 'resin' to 'balena' [Thodoris Greasidis]
|
|
98
|
-
|
|
99
|
-
### Changed
|
|
100
|
-
|
|
101
|
-
- Updated resin-request peer dependency to ^9.0.2
|
|
102
|
-
|
|
103
|
-
## [4.1.1] - 2018-01-25
|
|
104
|
-
|
|
105
|
-
### Changed
|
|
106
|
-
|
|
107
|
-
- Fixed tests
|
|
108
|
-
|
|
109
|
-
## [4.1.0] - 2017-04-10
|
|
110
|
-
|
|
111
|
-
### Changed
|
|
112
|
-
|
|
113
|
-
- Updated resin-request, removing the need to use a token in the provided resin-request instance
|
|
114
|
-
|
|
115
|
-
## [4.0.1] - 2017-01-06
|
|
116
|
-
|
|
117
|
-
### Changed
|
|
118
|
-
|
|
119
|
-
- Passing `refreshToken: false` to `resin-request` to save unnecessary request to `/whoami`
|
|
120
|
-
- Internal refactoring to tests
|
|
121
|
-
- Run Karma tests again
|
|
122
|
-
|
|
123
|
-
## [4.0.0] - 2017-01-04
|
|
124
|
-
|
|
125
|
-
### Changed
|
|
126
|
-
|
|
127
|
-
- **Breaking**: Moved to factory, in line with Resin-SDK, accepting a Resin-Request instance at runtime
|
|
128
|
-
- **Breaking**: Request errors are now thrown by Resin-Request directly, so their format has changed slightly:
|
|
129
|
-
* Request timeouts now throw Promise.TimeoutError instead of raw Error, with the message "operation timed out" instead of "timeout"
|
|
130
|
-
* Error responses from the server now throw ResinRequestError (see [resin-errors](https://github.com/resin-io-modules/resin-errors)) instead of raw Error, with the body prefixed with "Request error: "
|
|
131
|
-
|
|
132
|
-
## [3.0.0] - 2016-10-04
|
|
133
|
-
|
|
134
|
-
- Changed `register()` to work with the new device registration flow.
|
|
135
|
-
- Changed `generateUUID()` to `generateUniqueKey()` to reflect that it should now be used for both generating a uuid and an api key.
|
|
136
|
-
|
|
137
|
-
## [2.1.1] - 2016-10-03
|
|
138
|
-
|
|
139
|
-
### Changed
|
|
140
|
-
|
|
141
|
-
- Updated dependencies and optimize for SDK browser build.
|
|
142
|
-
- Switched to using the standardized resin-lint module for linting.
|
|
143
|
-
|
|
144
|
-
## [2.1.0] - 2016-02-18
|
|
145
|
-
|
|
146
|
-
### Added
|
|
147
|
-
|
|
148
|
-
- Add optional `apiPrefix` option.
|
|
149
|
-
|
|
150
|
-
## [2.0.1] - 2015-12-04
|
|
151
|
-
|
|
152
|
-
### Changed
|
|
153
|
-
|
|
154
|
-
- Omit tests in NPM package.
|
|
155
|
-
|
|
156
|
-
## [2.0.0] - 2015-09-02
|
|
157
|
-
|
|
158
|
-
### Changed
|
|
159
|
-
|
|
160
|
-
- Make `generateUUID()` asynchronous.
|
|
161
|
-
- Change `generateUUID()` to use `crypto.randomBytes()`.
|
|
162
|
-
|
|
163
|
-
## [1.1.0] - 2015-08-31
|
|
164
|
-
|
|
165
|
-
### Added
|
|
166
|
-
|
|
167
|
-
- Expose `generateUUID()`.
|
|
168
|
-
- Set `registered_at` to the current time when registering a device.
|
|
169
|
-
|
|
170
|
-
### Changed
|
|
171
|
-
|
|
172
|
-
- Fix documentation issues and inconsistencies on `register()`.
|
|
173
|
-
- Return the complete `device` object on `register()`.
|
|
174
|
-
|
|
175
|
-
## [1.0.1] - 2015-05-20
|
|
176
|
-
|
|
177
|
-
### Changed
|
|
178
|
-
- Do not throw sync exceptions on argument expectations.
|
|
179
|
-
|
|
180
|
-
[5.0.0]: https://github.com/resin-io-modules/resin-register-device/compare/v4.1.1...v5.0.0
|
|
181
|
-
[4.1.1]: https://github.com/resin-io-modules/resin-register-device/compare/v4.1.0...v4.1.1
|
|
182
|
-
[4.1.0]: https://github.com/resin-io-modules/resin-register-device/compare/v4.0.1...v4.1.0
|
|
183
|
-
[4.0.1]: https://github.com/resin-io-modules/resin-register-device/compare/v4.0.0...v4.0.1
|
|
184
|
-
[4.0.0]: https://github.com/resin-io-modules/resin-register-device/compare/v3.0.0...v4.0.0
|
|
185
|
-
[3.0.0]: https://github.com/resin-io-modules/resin-register-device/compare/v2.1.1...v3.0.0
|
|
186
|
-
[2.1.1]: https://github.com/resin-io-modules/resin-register-device/compare/v2.1.0...v2.1.1
|
|
187
|
-
[2.1.0]: https://github.com/resin-io-modules/resin-register-device/compare/v2.0.1...v2.1.0
|
|
188
|
-
[2.0.1]: https://github.com/resin-io-modules/resin-register-device/compare/v2.0.0...v2.0.1
|
|
189
|
-
[2.0.0]: https://github.com/resin-io-modules/resin-register-device/compare/v1.1.0...v2.0.0
|
|
190
|
-
[1.1.0]: https://github.com/resin-io-modules/resin-register-device/compare/v1.0.1...v1.1.0
|
|
191
|
-
[1.0.1]: https://github.com/resin-io-modules/resin-register-device/compare/v1.0.0...v1.0.1
|