@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.
@@ -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.
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  }
26
26
  },
27
- "version": "1.14.1",
27
+ "version": "1.16.0",
28
28
  "scripts": {
29
29
  "preversion": "npm run verify",
30
30
  "postversion": "make",