sip-connector 5.4.0 → 5.5.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/SipConnector.d.ts +8 -2
- package/dist/SipConnector.d.ts.map +1 -1
- package/dist/SipConnector.js +34 -21
- package/dist/SipConnector.js.map +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +6 -2
- package/dist/constants.js.map +1 -1
- package/dist/eventNames.d.ts +2 -2
- package/dist/eventNames.d.ts.map +1 -1
- package/dist/eventNames.js +4 -0
- package/dist/eventNames.js.map +1 -1
- package/dist/headers.d.ts +1 -2
- package/dist/headers.d.ts.map +1 -1
- package/dist/headers.js +2 -3
- package/dist/headers.js.map +1 -1
- package/dist/index.es5.js +1 -1
- package/dist/index.es5.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/utils/errors.js +2 -2
- package/dist/utils/errors.js.map +1 -1
- package/package.json +3 -3
package/dist/utils/errors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.hasDeclineResponseFromServer = void 0;
|
|
4
|
-
const
|
|
4
|
+
const DECLINE_ERROR_MESSAGE = 'Error decline with 603';
|
|
5
5
|
const hasDeclineResponseFromServer = (error) => {
|
|
6
|
-
return error.message
|
|
6
|
+
return error.message === DECLINE_ERROR_MESSAGE;
|
|
7
7
|
};
|
|
8
8
|
exports.hasDeclineResponseFromServer = hasDeclineResponseFromServer;
|
|
9
9
|
//# sourceMappingURL=errors.js.map
|
package/dist/utils/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":";;;AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":";;;AAAA,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAEhD,MAAM,4BAA4B,GAAG,CAAC,KAAY,EAAW,EAAE;IACpE,OAAO,KAAK,CAAC,OAAO,KAAK,qBAAqB,CAAC;AACjD,CAAC,CAAC;AAFW,QAAA,4BAA4B,gCAEvC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sip-connector",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Module for connect to Vinteo server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webrtc",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@krivega/cancelable-promise": "^0.3.0",
|
|
43
|
-
"@krivega/jssip": "^3.
|
|
43
|
+
"@krivega/jssip": "^3.17.0",
|
|
44
44
|
"events-constructor": "^1.1.4",
|
|
45
45
|
"promise-delay": "^2.1.0",
|
|
46
46
|
"stack-promises": "^0.0.8",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@commitlint/config-conventional": "^16.2.4",
|
|
52
52
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
53
53
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
54
|
-
"@types/jest": "^27.5.
|
|
54
|
+
"@types/jest": "^27.5.1",
|
|
55
55
|
"@types/node": "^17.0.32",
|
|
56
56
|
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
57
57
|
"@typescript-eslint/parser": "^5.23.0",
|