@vonage/client-sdk 2.7.0 → 2.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/client-sdk",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "module": "dist/client/index.mjs",
@@ -16,7 +16,8 @@
16
16
  }
17
17
  },
18
18
  "scripts": {
19
- "test": "echo \"Error: no test specified\" && exit 1",
19
+ "pretest": "npm run build",
20
+ "test": "node --test src/lib/*.test.mjs",
20
21
  "copy:core:clean": "rm -rf src/kotlin; mkdir src/kotlin",
21
22
  "copy:core:ksp": "cp ../clientcore_js/build/generated/ksp/js/jsMain/resources/vonage/*.* ./src/kotlin/",
22
23
  "copy:core:kotlin": "cp ../build/js/packages/clientsdk-clientcore_js/kotlin/*.* ./src/kotlin/",
@@ -52,21 +53,16 @@
52
53
  "@eslint/js": "^9.39.2",
53
54
  "@rollup/plugin-commonjs": "^28.0.9",
54
55
  "@rollup/plugin-json": "^6.0.0",
55
- "@rollup/plugin-multi-entry": "^7.1.0",
56
56
  "@rollup/plugin-node-resolve": "^15.0.1",
57
- "@rollup/plugin-terser": "^0.2.1",
58
- "@swc/core": "^1.3.24",
57
+ "@rollup/plugin-terser": "^1.0.0",
59
58
  "@types/node": "^18.16.2",
60
59
  "@types/sdp-transform": "^2.4.5",
61
- "@types/socket.io-client": "^1.4.32",
62
- "@types/util.promisify": "^1.0.4",
63
60
  "eslint": "^10.8.0",
64
61
  "eslint-config-prettier": "^10.1.5",
65
62
  "eslint-plugin-prettier": "^5.4.1",
66
63
  "prettier": "^3.0.0",
67
- "rollup": "^3.9.0",
64
+ "rollup": "^4.63.1",
68
65
  "rollup-plugin-sizes": "^1.0.5",
69
- "rollup-plugin-swc3": "^0.8.0",
70
66
  "rollup-plugin-typescript2": "^0.34.1",
71
67
  "tslib": "^2.4.1",
72
68
  "typedoc": "^0.28.20",
@@ -74,12 +70,8 @@
74
70
  "typescript-eslint": "^8.57.0"
75
71
  },
76
72
  "dependencies": {
77
- "@js-joda/timezone": "^2.3.0",
78
- "events": "^3.3.0",
79
73
  "sdp-transform": "^2.14.1",
80
74
  "socket.io-client": "^4.8.3",
81
- "socketio-wildcard": "^2.0.0",
82
- "typedoc-plugin-missing-exports": "^4.1.4",
83
75
  "webrtc-adapter": "^8.2.3"
84
76
  },
85
77
  "overrides": {
package/rollup.config.js CHANGED
@@ -55,13 +55,14 @@ const browserBundles = [
55
55
  const npmBundles = [
56
56
  {
57
57
  input: 'src/client/index.ts',
58
+ // Kept deliberately short: `clientcore` no longer depends on
59
+ // kotlinx-datetime (it uses the stdlib's `kotlin.time`), so the generated
60
+ // output no longer requires `@js-joda/core` and neither package appears
61
+ // here or in `dependencies`.
58
62
  external: [
59
63
  'socket.io-client',
60
- 'socketio-wildcard',
61
64
  'sdp-transform',
62
- 'events',
63
- 'webrtc-adapter',
64
- '@js-joda/timezone'
65
+ 'webrtc-adapter'
65
66
  ],
66
67
  treeshake: false,
67
68
  output: [