mediasoup-client 3.6.102 → 3.6.103

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
@@ -8,7 +8,7 @@ export { types };
8
8
  /**
9
9
  * Expose mediasoup-client version.
10
10
  */
11
- export declare const version = "3.6.102";
11
+ export declare const version = "3.6.103";
12
12
  /**
13
13
  * Expose Device class and detectDevice() helper.
14
14
  */
package/lib/index.js CHANGED
@@ -37,7 +37,7 @@ exports.types = types;
37
37
  /**
38
38
  * Expose mediasoup-client version.
39
39
  */
40
- exports.version = '3.6.102';
40
+ exports.version = '3.6.103';
41
41
  /**
42
42
  * Expose parseScalabilityMode() function.
43
43
  */
package/npm-scripts.mjs CHANGED
@@ -128,7 +128,8 @@ function replaceVersion()
128
128
  continue;
129
129
  }
130
130
 
131
- const filePath = path.join('lib', file.name);
131
+ // NOTE: dirent.path is only available in Node >= 20.
132
+ const filePath = path.join(file.path ?? 'lib', file.name);
132
133
  const text = fs.readFileSync(filePath, { encoding: 'utf8' });
133
134
  const result = text.replace(/__MEDIASOUP_CLIENT_VERSION__/g, PKG.version);
134
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasoup-client",
3
- "version": "3.6.102",
3
+ "version": "3.6.103",
4
4
  "description": "mediasoup client side JavaScript library",
5
5
  "contributors": [
6
6
  "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@types/debug": "^4.1.10",
68
- "awaitqueue": "^3.0.1",
68
+ "awaitqueue": "^3.0.2",
69
69
  "debug": "^4.3.4",
70
70
  "events": "^3.3.0",
71
71
  "fake-mediastreamtrack": "^1.2.0",
@@ -80,8 +80,8 @@
80
80
  "@types/jest": "^29.5.6",
81
81
  "@types/sdp-transform": "^2.4.8",
82
82
  "@types/ua-parser-js": "^0.7.38",
83
- "@typescript-eslint/eslint-plugin": "^6.8.0",
84
- "@typescript-eslint/parser": "^6.8.0",
83
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
84
+ "@typescript-eslint/parser": "^6.9.0",
85
85
  "eslint": "^8.52.0",
86
86
  "eslint-plugin-jest": "^27.4.3",
87
87
  "jest": "^29.7.0",