webitel-sdk 0.1.151 → 0.1.154

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.
@@ -25563,7 +25563,7 @@ async function getMediaStream(constraints) {
25563
25563
 
25564
25564
  const getVersion = () => {
25565
25565
  // @ts-ignore
25566
- return '"0.1.151"';
25566
+ return '"0.1.154"';
25567
25567
  };
25568
25568
  var version = getVersion();
25569
25569
 
@@ -27337,10 +27337,12 @@ class Client extends EventEmitter {
27337
27337
  promise.resolve(message.data);
27338
27338
  }
27339
27339
  else {
27340
- const err = message.data;
27341
- if (err.id === TypeError$1.RolePermission) {
27342
- this.emit('error', new RolePermissionError(err.detail));
27340
+ /*
27341
+ const err = message.error as BaseError
27342
+ if (err && err.id === TypeError.RolePermission) {
27343
+ this.emit('error', new RolePermissionError(err.detail))
27343
27344
  }
27345
+ */
27344
27346
  promise.reject(message.error);
27345
27347
  }
27346
27348
  }