@formant/data-sdk 1.82.0 → 1.82.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.
@@ -45,9 +45,11 @@ export declare class Device extends BaseDevice {
45
45
  /**
46
46
  * Asynchronously retrieves the configuration document for a device.
47
47
  *
48
- * @param {boolean} getDesiredConfigurationVersion - Whether to retrieve the desired configuration version
48
+ * @param {boolean} getDesiredConfigurationVersion - Whether to retrieve the desired configuration version.
49
+ * If false, uses reportedConfiguration.version, falling back to desiredConfigurationVersion
50
+ * if the device has no reportedConfiguration (e.g., agent never connected).
49
51
  * @returns {Promise<ConfigurationDocument>} A promise that resolves to the configuration document
50
- * @throws {Error} Throws an error if the device has no configuration or has never been turned on
52
+ * @throws {Error} Throws an error if the device has no configuration version
51
53
  */
52
54
  getConfiguration(getDesiredConfigurationVersion?: boolean): Promise<ConfigurationDocument>;
53
55
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formant/data-sdk",
3
- "version": "1.82.0",
3
+ "version": "1.82.1",
4
4
  "description": "A library for getting data from Formant",
5
5
  "repository": {
6
6
  "type": "git",