mediasoup-client 3.6.93 → 3.6.94
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/lib/Transport.js +7 -7
- package/lib/handlers/Chrome111.d.ts +2 -0
- package/lib/handlers/Chrome111.d.ts.map +1 -1
- package/lib/handlers/Chrome111.js +35 -0
- package/lib/handlers/Chrome74.d.ts +2 -0
- package/lib/handlers/Chrome74.d.ts.map +1 -1
- package/lib/handlers/Chrome74.js +34 -0
- package/lib/handlers/FakeHandler.d.ts +2 -0
- package/lib/handlers/FakeHandler.d.ts.map +1 -1
- package/lib/handlers/FakeHandler.js +35 -2
- package/lib/handlers/Firefox60.d.ts +2 -0
- package/lib/handlers/Firefox60.d.ts.map +1 -1
- package/lib/handlers/Firefox60.js +34 -0
- package/lib/handlers/ReactNativeUnifiedPlan.d.ts +2 -0
- package/lib/handlers/ReactNativeUnifiedPlan.d.ts.map +1 -1
- package/lib/handlers/ReactNativeUnifiedPlan.js +35 -0
- package/lib/handlers/Safari12.d.ts +2 -0
- package/lib/handlers/Safari12.d.ts.map +1 -1
- package/lib/handlers/Safari12.js +35 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/types.d.ts +9 -9
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +1 -9
- package/npm-scripts.mjs +1 -2
- package/package.json +9 -9
package/lib/types.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './Device';
|
|
2
|
-
export * from './Transport';
|
|
3
|
-
export * from './Producer';
|
|
4
|
-
export * from './Consumer';
|
|
5
|
-
export * from './DataProducer';
|
|
6
|
-
export * from './DataConsumer';
|
|
7
|
-
export * from './RtpParameters';
|
|
8
|
-
export * from './SctpParameters';
|
|
9
|
-
export * from './handlers/HandlerInterface';
|
|
1
|
+
export type * from './Device';
|
|
2
|
+
export type * from './Transport';
|
|
3
|
+
export type * from './Producer';
|
|
4
|
+
export type * from './Consumer';
|
|
5
|
+
export type * from './DataProducer';
|
|
6
|
+
export type * from './DataConsumer';
|
|
7
|
+
export type * from './RtpParameters';
|
|
8
|
+
export type * from './SctpParameters';
|
|
9
|
+
export type * from './handlers/HandlerInterface';
|
|
10
10
|
export * from './errors';
|
|
11
11
|
export type { ScalabilityMode } from './scalabilityModes';
|
|
12
12
|
export type AppData = {
|
package/lib/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,mBAAmB,UAAU,CAAC;AAC9B,mBAAmB,aAAa,CAAC;AACjC,mBAAmB,YAAY,CAAC;AAChC,mBAAmB,YAAY,CAAC;AAChC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,6BAA6B,CAAC;AAEjD,cAAc,UAAU,CAAC;AACzB,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,OAAO,GACnB;IACC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvB,CAAC"}
|
package/lib/types.js
CHANGED
|
@@ -14,13 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./Transport"), exports);
|
|
19
|
-
__exportStar(require("./Producer"), exports);
|
|
20
|
-
__exportStar(require("./Consumer"), exports);
|
|
21
|
-
__exportStar(require("./DataProducer"), exports);
|
|
22
|
-
__exportStar(require("./DataConsumer"), exports);
|
|
23
|
-
__exportStar(require("./RtpParameters"), exports);
|
|
24
|
-
__exportStar(require("./SctpParameters"), exports);
|
|
25
|
-
__exportStar(require("./handlers/HandlerInterface"), exports);
|
|
17
|
+
// We cannot export only the type of error classes because those are useless.
|
|
26
18
|
__exportStar(require("./errors"), exports);
|
package/npm-scripts.mjs
CHANGED
|
@@ -45,7 +45,6 @@ async function run()
|
|
|
45
45
|
case 'typescript:watch':
|
|
46
46
|
{
|
|
47
47
|
deleteLib();
|
|
48
|
-
|
|
49
48
|
executeCmd('tsc --watch');
|
|
50
49
|
|
|
51
50
|
break;
|
|
@@ -94,7 +93,6 @@ async function run()
|
|
|
94
93
|
case 'release':
|
|
95
94
|
{
|
|
96
95
|
checkRelease();
|
|
97
|
-
|
|
98
96
|
executeCmd(`git commit -am '${PKG.version}'`);
|
|
99
97
|
executeCmd(`git tag -a ${PKG.version} -m '${PKG.version}'`);
|
|
100
98
|
executeCmd(`git push origin v${MAYOR_VERSION}`);
|
|
@@ -219,6 +217,7 @@ function executeCmd(command, exitOnError = true)
|
|
|
219
217
|
if (exitOnError)
|
|
220
218
|
{
|
|
221
219
|
logError(`executeCmd() failed, exiting: ${error}`);
|
|
220
|
+
|
|
222
221
|
exitWithError();
|
|
223
222
|
}
|
|
224
223
|
else
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mediasoup-client",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.94",
|
|
4
4
|
"description": "mediasoup client side JavaScript library",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
|
|
7
7
|
"José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://mediasoup.org",
|
|
10
9
|
"license": "ISC",
|
|
10
|
+
"homepage": "https://mediasoup.org",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "https://github.com/versatica/mediasoup-client.git"
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"npm-scripts.mjs",
|
|
23
23
|
"lib"
|
|
24
24
|
],
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=16"
|
|
27
|
+
},
|
|
25
28
|
"keywords": [
|
|
26
29
|
"webrtc",
|
|
27
30
|
"ortc",
|
|
28
31
|
"browser",
|
|
29
32
|
"nodejs"
|
|
30
33
|
],
|
|
31
|
-
"engines": {
|
|
32
|
-
"node": ">=16"
|
|
33
|
-
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"prepare": "node npm-scripts.mjs prepare",
|
|
36
36
|
"typescript:build": "node npm-scripts.mjs typescript:build",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/events": "^3.0.0",
|
|
77
|
-
"@types/jest": "^29.5.
|
|
77
|
+
"@types/jest": "^29.5.3",
|
|
78
78
|
"@types/sdp-transform": "^2.4.6",
|
|
79
79
|
"@types/ua-parser-js": "^0.7.36",
|
|
80
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
81
|
-
"@typescript-eslint/parser": "^5.
|
|
80
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
81
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
82
82
|
"eslint": "^8.44.0",
|
|
83
83
|
"eslint-plugin-jest": "^27.2.2",
|
|
84
|
-
"jest": "^29.6.
|
|
84
|
+
"jest": "^29.6.1",
|
|
85
85
|
"open-cli": "^7.2.0",
|
|
86
86
|
"ts-jest": "^29.1.1",
|
|
87
87
|
"typescript": "^5.1.6"
|