@formant/data-sdk 1.14.1 → 1.16.0
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 +2 -2
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +84 -67
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +18 -1
- package/dist/data-sdk.umd.js +2 -2
- package/dist/types/data-sdk/src/devices/Device.d.ts +7 -0
- package/package.json +1 -1
|
@@ -36,6 +36,13 @@ export declare class Device extends BaseDevice {
|
|
|
36
36
|
* @throws {Error} Throws an error if the device has no configuration or has never been turned on
|
|
37
37
|
*/
|
|
38
38
|
getConfiguration(getDesiredConfigurationVersion?: boolean): Promise<ConfigurationDocument>;
|
|
39
|
+
/**
|
|
40
|
+
* Asynchronously retrieves the device's agent version string
|
|
41
|
+
*
|
|
42
|
+
* @returns {Promise<string | undefined | null>} A promise that resolves to the agent version
|
|
43
|
+
* @throws {Error} Throws an error if the device info cannot be fetched
|
|
44
|
+
*/
|
|
45
|
+
getAgentVersion(): Promise<string | undefined | null>;
|
|
39
46
|
getFileUrl(fileId: string): Promise<string[]>;
|
|
40
47
|
/**
|
|
41
48
|
* Starts a real-time connection with the remote device using WebRTC.
|