webitel-sdk 0.1.103 → 0.1.104

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.
@@ -2,5 +2,9 @@ export class DeviceNotFoundError extends Error {
2
2
  constructor(msg) {
3
3
  super(msg);
4
4
  }
5
+ get id() {
6
+ return DeviceNotFoundError.id;
7
+ }
5
8
  }
9
+ DeviceNotFoundError.id = `device_not_found`;
6
10
  //# sourceMappingURL=errors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/socket/errors.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,mBAAoB,SAAQ,KAAK;IAC5C,YAAY,GAAW;QACrB,KAAK,CAAC,GAAG,CAAC,CAAA;IACZ,CAAC;CACF"}
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/socket/errors.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,mBAAoB,SAAQ,KAAK;IAE5C,YAAY,GAAW;QACrB,KAAK,CAAC,GAAG,CAAC,CAAA;IACZ,CAAC;IAED,IAAI,EAAE;QACJ,OAAO,mBAAmB,CAAC,EAAE,CAAA;IAC/B,CAAC;;AAPM,sBAAE,GAAG,kBAAkB,CAAA"}
@@ -4,6 +4,14 @@ var DeviceNotFoundError = /** @class */ (function (_super) {
4
4
  function DeviceNotFoundError(msg) {
5
5
  return _super.call(this, msg) || this;
6
6
  }
7
+ Object.defineProperty(DeviceNotFoundError.prototype, "id", {
8
+ get: function () {
9
+ return DeviceNotFoundError.id;
10
+ },
11
+ enumerable: true,
12
+ configurable: true
13
+ });
14
+ DeviceNotFoundError.id = "device_not_found";
7
15
  return DeviceNotFoundError;
8
16
  }(Error));
9
17
  export { DeviceNotFoundError };
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/socket/errors.ts"],"names":[],"mappings":";AAAA;IAAyC,uCAAK;IAC5C,6BAAY,GAAW;eACrB,kBAAM,GAAG,CAAC;IACZ,CAAC;IACH,0BAAC;AAAD,CAAC,AAJD,CAAyC,KAAK,GAI7C"}
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/socket/errors.ts"],"names":[],"mappings":";AAAA;IAAyC,uCAAK;IAE5C,6BAAY,GAAW;eACrB,kBAAM,GAAG,CAAC;IACZ,CAAC;IAED,sBAAI,mCAAE;aAAN;YACE,OAAO,mBAAmB,CAAC,EAAE,CAAA;QAC/B,CAAC;;;OAAA;IAPM,sBAAE,GAAG,kBAAkB,CAAA;IAQhC,0BAAC;CAAA,AATD,CAAyC,KAAK,GAS7C;SATY,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webitel-sdk",
3
- "version": "0.1.103",
3
+ "version": "0.1.104",
4
4
  "description": "A library written in TypeScript",
5
5
  "keywords": [],
6
6
  "main": "./bundles/index.umd.js",
@@ -1,4 +1,6 @@
1
1
  export declare class DeviceNotFoundError extends Error {
2
+ static id: string;
2
3
  constructor(msg: string);
4
+ get id(): string;
3
5
  }
4
6
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/socket/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAoB,SAAQ,KAAK;gBAChC,GAAG,EAAE,MAAM;CAGxB"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/socket/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,MAAM,CAAC,EAAE,SAAqB;gBAClB,GAAG,EAAE,MAAM;IAIvB,IAAI,EAAE,WAEL;CACF"}