mediasoup-client 3.8.0 → 3.8.1

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/index.d.ts CHANGED
@@ -1,19 +1,14 @@
1
1
  import debug from 'debug';
2
2
  import { Device, detectDevice } from './Device';
3
3
  import * as types from './types';
4
- import * as extras from './extras';
5
4
  /**
6
5
  * Expose all types.
7
6
  */
8
7
  export { types };
9
- /**
10
- * Expose all extras.
11
- */
12
- export { extras };
13
8
  /**
14
9
  * Expose mediasoup-client version.
15
10
  */
16
- export declare const version = "3.8.0";
11
+ export declare const version = "3.8.1";
17
12
  /**
18
13
  * Expose Device class and detectDevice() helper.
19
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC;;GAEG;AACH,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB;;GAEG;AACH,eAAO,MAAM,OAAO,iCAAiC,CAAC;AAEtD;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;AAEhC;;GAEG;AACH,OAAO,EAAE,KAAK,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;GAEG;AACH,OAAO,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC;;GAEG;AACH,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,OAAO,iCAAiC,CAAC;AAEtD;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;AAEhC;;GAEG;AACH,OAAO,EAAE,KAAK,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;GAEG;AACH,OAAO,EAAE,KAAK,EAAE,CAAC"}
package/lib/index.js CHANGED
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
36
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.debug = exports.parseScalabilityMode = exports.detectDevice = exports.Device = exports.version = exports.extras = exports.types = void 0;
39
+ exports.debug = exports.parseScalabilityMode = exports.detectDevice = exports.Device = exports.version = exports.types = void 0;
40
40
  const debug_1 = __importDefault(require("debug"));
41
41
  exports.debug = debug_1.default;
42
42
  const Device_1 = require("./Device");
@@ -44,12 +44,10 @@ Object.defineProperty(exports, "Device", { enumerable: true, get: function () {
44
44
  Object.defineProperty(exports, "detectDevice", { enumerable: true, get: function () { return Device_1.detectDevice; } });
45
45
  const types = __importStar(require("./types"));
46
46
  exports.types = types;
47
- const extras = __importStar(require("./extras"));
48
- exports.extras = extras;
49
47
  /**
50
48
  * Expose mediasoup-client version.
51
49
  */
52
- exports.version = '3.8.0';
50
+ exports.version = '3.8.1';
53
51
  /**
54
52
  * Expose parseScalabilityMode() function.
55
53
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasoup-client",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "mediasoup client side TypeScript library",
5
5
  "contributors": [
6
6
  "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
@@ -18,31 +18,9 @@
18
18
  },
19
19
  "main": "lib/index.js",
20
20
  "types": "lib/index.d.ts",
21
- "exports": {
22
- ".": {
23
- "import": "./lib/index.js",
24
- "types": "./lib/index.d.ts"
25
- },
26
- "./types": {
27
- "import": "./lib/types.js",
28
- "types": "./lib/types.d.ts"
29
- },
30
- "./extras/HandlerInterface": {
31
- "import": "./lib/handlers/HandlerInterface.js",
32
- "types": "./lib/handlers/HandlerInterface.d.ts"
33
- },
34
- "./extras/FakeHandler": {
35
- "import": "./lib/handlers/FakeHandler.js",
36
- "types": "./lib/handlers/FakeHandler.d.ts"
37
- },
38
- "./extras/fakeParameters": {
39
- "import": "./lib/test/fakeParameters.js",
40
- "types": "./lib/test/fakeParameters.d.ts"
41
- }
42
- },
43
21
  "files": [
44
- "./npm-scripts.mjs",
45
- "./lib"
22
+ "npm-scripts.mjs",
23
+ "lib"
46
24
  ],
47
25
  "engines": {
48
26
  "node": ">=18"
package/lib/extras.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * as HandlerInterface from './handlers/HandlerInterface';
2
- export * as FakeHandler from './handlers/FakeHandler';
3
- export * as fakeParameters from './test/fakeParameters';
4
- //# sourceMappingURL=extras.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extras.d.ts","sourceRoot":"","sources":["../src/extras.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC"}
package/lib/extras.js DELETED
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.fakeParameters = exports.FakeHandler = exports.HandlerInterface = void 0;
37
- exports.HandlerInterface = __importStar(require("./handlers/HandlerInterface"));
38
- exports.FakeHandler = __importStar(require("./handlers/FakeHandler"));
39
- exports.fakeParameters = __importStar(require("./test/fakeParameters"));