@formant/data-sdk 1.82.0 → 1.82.9
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/dist/data-sdk.cjs.js +1 -1
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +8 -8
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +8 -8
- package/dist/data-sdk.umd.js +1 -1
- package/dist/types/data-sdk/src/devices/Device.d.ts +4 -2
- package/package.json +1 -1
|
@@ -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
|
|
52
|
+
* @throws {Error} Throws an error if the device has no configuration version
|
|
51
53
|
*/
|
|
52
54
|
getConfiguration(getDesiredConfigurationVersion?: boolean): Promise<ConfigurationDocument>;
|
|
53
55
|
/**
|