@formant/data-sdk 1.23.0 → 1.25.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 +1 -1
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +3 -0
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +3 -0
- package/dist/data-sdk.umd.js +1 -1
- package/dist/types/data-sdk/src/devices/PeerDevice.d.ts +3 -0
- package/dist/types/data-sdk/src/stores/IAuthenticationStore.d.ts +1 -0
- package/package.json +1 -1
package/dist/data-sdk.es.js
CHANGED
|
@@ -24415,6 +24415,9 @@ class PeerDevice extends BaseDevice {
|
|
|
24415
24415
|
if (n)
|
|
24416
24416
|
throw new Error(`Realtime connection hasn't been started for ${this.id}`);
|
|
24417
24417
|
}
|
|
24418
|
+
async getCommandMetadata() {
|
|
24419
|
+
return (await fetch(`${this.peerUrl}/v1/commands`)).json();
|
|
24420
|
+
}
|
|
24418
24421
|
async sendCommand(n, r, o, l) {
|
|
24419
24422
|
const u = {
|
|
24420
24423
|
value: r,
|