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.
- package/bundles/index.esm.js +6 -4
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +7 -5
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/socket/client.js +6 -4
- package/esm2015/socket/client.js.map +1 -1
- package/esm5/socket/client.js +7 -5
- package/esm5/socket/client.js.map +1 -1
- package/package.json +1 -1
- package/types/socket/client.d.ts.map +1 -1
- package/types/socket/socket.d.ts +1 -1
- package/types/socket/socket.d.ts.map +1 -1
package/bundles/index.umd.js
CHANGED
|
@@ -28516,7 +28516,7 @@
|
|
|
28516
28516
|
|
|
28517
28517
|
var getVersion = function () {
|
|
28518
28518
|
// @ts-ignore
|
|
28519
|
-
return '"0.1.
|
|
28519
|
+
return '"0.1.154"';
|
|
28520
28520
|
};
|
|
28521
28521
|
var version = getVersion();
|
|
28522
28522
|
|
|
@@ -30961,7 +30961,7 @@
|
|
|
30961
30961
|
};
|
|
30962
30962
|
Client.prototype.onMessage = function (message) {
|
|
30963
30963
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
30964
|
-
var promise,
|
|
30964
|
+
var promise, _a;
|
|
30965
30965
|
return tslib.__generator(this, function (_b) {
|
|
30966
30966
|
switch (_b.label) {
|
|
30967
30967
|
case 0:
|
|
@@ -30974,10 +30974,12 @@
|
|
|
30974
30974
|
promise.resolve(message.data);
|
|
30975
30975
|
}
|
|
30976
30976
|
else {
|
|
30977
|
-
|
|
30978
|
-
|
|
30979
|
-
|
|
30977
|
+
/*
|
|
30978
|
+
const err = message.error as BaseError
|
|
30979
|
+
if (err && err.id === TypeError.RolePermission) {
|
|
30980
|
+
this.emit('error', new RolePermissionError(err.detail))
|
|
30980
30981
|
}
|
|
30982
|
+
*/
|
|
30981
30983
|
promise.reject(message.error);
|
|
30982
30984
|
}
|
|
30983
30985
|
}
|