@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.
@@ -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,