Balena-sdk

Latest version: v14.4.2

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 115 of 125

6.0.0beta1

Changed

- **Breaking!** Changed `register()` to work with the new device registration flow. `register()` now return device registration information (`{ id: "...", uuid: "...", api_key: "..." }`), but not the full device object.
- **Breaking!** Changed `generateUUID()` to `generateUniqueKey()` to reflect that it should now be used for both generating a uuid and an api key.
- **Breaking!** The error message on timeout has changed from "timeout" to "operation timed out". In addition the error thrown is now a Bluebird Promise.TimeoutError, instead of a raw Error.
- Resin-SDK now works in a browser environment (experimental)
- UMD and UMD-minified builds are now available at `build/resin-browser.js` and `build/resin-browser.min.js`

5.4.0

Added

- Allow passing an optional `force` option to `resin.models.device.reboot()` and `resin.models.device.shutdown()`.

5.3.6

Changed

- Update pine filter expressions to avoid deprecation warnings.
- Return full uuid in `resin.models.device.getDeviceUrl()`.

5.3.5

Changed

- Upgrade `resin-device-logs` to v3.0.0.

5.3.4

Changed

- Make sure device functions expand shorter UUIDs before passing then to `pine`.

5.3.3

Changed

- Fix bug that caused `resin.models.device.move()` to not move devices referenced with shorter uuids.

Page 115 of 125

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.