sip-connector 7.0.2 → 7.0.4
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-BbhXaowv.js → SipConnector-CxSB1Bmp.js} +2 -1
- package/dist/{SipConnector-jXZTwQ41.cjs → SipConnector-DxGNVRHG.cjs} +1 -1
- package/dist/SipConnector.d.ts +2 -2
- package/dist/__fixtures__/BaseSession.mock.d.ts +2 -2
- package/dist/__fixtures__/RTCPeerConnectionMock.d.ts +1 -1
- package/dist/__fixtures__/Session.mock.d.ts +1 -1
- package/dist/__fixtures__/UA.mock.d.ts +4 -4
- package/dist/__fixtures__/jssip.mock.d.ts +2 -2
- package/dist/doMock.cjs +1 -1
- package/dist/doMock.js +298 -335
- package/dist/index.cjs +1 -1
- package/dist/index.js +345 -464
- package/dist/tools/connectToServer.d.ts +1 -1
- package/dist/tools/resolveOnUseLicense.d.ts +1 -1
- package/dist/videoSendingBalancer/balance.d.ts +1 -1
- package/dist/videoSendingBalancer/index.d.ts +1 -1
- package/dist/videoSendingBalancer/processSender.d.ts +1 -1
- package/package.json +17 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EUseLicense } from '../types';
|
|
2
1
|
import { default as SipConnector } from '../SipConnector';
|
|
2
|
+
import { EUseLicense } from '../types';
|
|
3
3
|
|
|
4
4
|
declare const resolveOnUseLicense: (sipConnector: SipConnector) => (handler: (license: EUseLicense) => void) => (() => void);
|
|
5
5
|
export default resolveOnUseLicense;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TOnSetParameters, TResult } from './setEncodingsToSender';
|
|
2
1
|
import { EEventsMainCAM } from '../types';
|
|
2
|
+
import { TOnSetParameters, TResult } from './setEncodingsToSender';
|
|
3
3
|
|
|
4
4
|
declare const balance: ({ mainCam, resolutionMainCam, connection, onSetParameters, ignoreForCodec, }: {
|
|
5
5
|
mainCam?: EEventsMainCAM;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TOnSetParameters } from './setEncodingsToSender';
|
|
2
1
|
import { default as SipConnector } from '../SipConnector';
|
|
2
|
+
import { TOnSetParameters } from './setEncodingsToSender';
|
|
3
3
|
|
|
4
4
|
declare const resolveVideoSendingBalancer: (sipConnector: SipConnector, { ignoreForCodec, onSetParameters, }?: {
|
|
5
5
|
ignoreForCodec?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TOnSetParameters, TResult } from './setEncodingsToSender';
|
|
2
1
|
import { EEventsMainCAM } from '../types';
|
|
2
|
+
import { TOnSetParameters, TResult } from './setEncodingsToSender';
|
|
3
3
|
|
|
4
4
|
declare const processSender: ({ mainCam, resolutionMainCam, sender, track, codec, }: {
|
|
5
5
|
mainCam?: EEventsMainCAM;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sip-connector",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Module for connect to Vinteo server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webrtc",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "vite build",
|
|
50
|
-
"lint": "yarn lint:
|
|
50
|
+
"lint": "yarn lint:ts && yarn lint:js",
|
|
51
51
|
"lint:js": "eslint src --ext ts,tsx --ignore-path .gitignore --report-unused-disable-directives --max-warnings 0",
|
|
52
52
|
"lint:ts": "tsc",
|
|
53
53
|
"prepare": "husky",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"test:coverage": "yarn test:ci --coverage --reporters=default --reporters=jest-junit"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@krivega/cancelable-promise": "^1.1.
|
|
66
|
-
"@krivega/jssip": "^3.
|
|
65
|
+
"@krivega/cancelable-promise": "^1.1.2",
|
|
66
|
+
"@krivega/jssip": "^3.24.0",
|
|
67
67
|
"debug": "^4.3.4",
|
|
68
68
|
"events-constructor": "^1.2.2",
|
|
69
|
-
"sequent-promises": "^
|
|
69
|
+
"sequent-promises": "^2.0.0",
|
|
70
70
|
"stack-promises": "^1.0.2",
|
|
71
71
|
"ts-debounce": "^4.0.0",
|
|
72
72
|
"webrtc-mock": "^1.0.2"
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"@nabla/vite-plugin-eslint": "^2.0.4",
|
|
79
79
|
"@types/debug": "^4.1.12",
|
|
80
80
|
"@types/jest": "^29.5.12",
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
82
|
-
"@typescript-eslint/parser": "^7.
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
82
|
+
"@typescript-eslint/parser": "^7.9.0",
|
|
83
83
|
"cross-env": "^7.0.3",
|
|
84
84
|
"eslint": "^8.57.0",
|
|
85
85
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
89
89
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
90
90
|
"eslint-plugin-import": "^2.29.1",
|
|
91
|
-
"eslint-plugin-jest": "^28.
|
|
91
|
+
"eslint-plugin-jest": "^28.5.0",
|
|
92
92
|
"eslint-plugin-prettier": "^5.1.3",
|
|
93
|
-
"eslint-plugin-unicorn": "^
|
|
93
|
+
"eslint-plugin-unicorn": "^53.0.0",
|
|
94
94
|
"husky": "^9.0.11",
|
|
95
95
|
"jest": "^29.7.0",
|
|
96
96
|
"jest-environment-jsdom": "^29.7.0",
|
|
@@ -103,16 +103,19 @@
|
|
|
103
103
|
"ts-node": "^10.9.2",
|
|
104
104
|
"tsc-files": "^1.1.4",
|
|
105
105
|
"typescript": "^5.4.5",
|
|
106
|
-
"vite": "^5.2.
|
|
107
|
-
"vite-plugin-dts": "^3.9.
|
|
106
|
+
"vite": "^5.2.11",
|
|
107
|
+
"vite-plugin-dts": "^3.9.1",
|
|
108
108
|
"vite-tsconfig-paths": "^4.3.2"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
|
-
"@krivega/cancelable-promise": "^1.1.
|
|
112
|
-
"@krivega/jssip": "^3.
|
|
111
|
+
"@krivega/cancelable-promise": "^1.1.2",
|
|
112
|
+
"@krivega/jssip": "^3.24.0",
|
|
113
113
|
"debug": "^4.3.4",
|
|
114
114
|
"events-constructor": "^1.2.2",
|
|
115
|
-
"
|
|
115
|
+
"sequent-promises": "^2.0.0",
|
|
116
|
+
"stack-promises": "^1.0.2",
|
|
117
|
+
"ts-debounce": "^4.0.0",
|
|
118
|
+
"webrtc-mock": "^1.0.2"
|
|
116
119
|
},
|
|
117
120
|
"main:src": "src/index.ts"
|
|
118
121
|
}
|