@stream-io/video-client 0.0.21 → 0.0.23

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": "@stream-io/video-client",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -14,12 +14,9 @@
14
14
  "build": "yarn clean && rollup -c",
15
15
  "test": "vitest",
16
16
  "clean:docs": "rimraf generated-docs",
17
- "generate-docs": "yarn clean:docs && yarn generate-docs:classes && yarn generate-docs:utils",
18
17
  "test-ci": "vitest --coverage",
19
18
  "generate:open-api": "./generate-openapi.sh protocol",
20
- "generate:open-api:dev": "./generate-openapi.sh chat",
21
- "generate-docs:classes": "typedoc --options typedoc.json --exclude '!**/*(Call|StreamVideoClient).ts' ./index.ts && replace-in-file '# Class: ' '# ' temp-docs/** && cp -a temp-docs/classes/. generated-docs && rm -r temp-docs",
22
- "generate-docs:utils": "typedoc --options typedoc.json --exclude '!**/*(devices).ts' ./index.ts && replace-in-file '# @stream-io/video-client' '# Utilities' temp-docs/** && cp temp-docs/modules.md generated-docs/utilities.md && rm -r temp-docs"
19
+ "generate:open-api:dev": "./generate-openapi.sh chat"
23
20
  },
24
21
  "files": [
25
22
  "dist",
@@ -56,8 +53,6 @@
56
53
  "replace-in-file": "^6.3.5",
57
54
  "rimraf": "^3.0.2",
58
55
  "rollup": "^3.25.1",
59
- "typedoc": "^0.24.7",
60
- "typedoc-plugin-markdown": "^3.15.3",
61
56
  "typescript": "^4.9.5",
62
57
  "vite": "^4.3.9",
63
58
  "vitest": "^0.30.1",
package/src/Call.ts CHANGED
@@ -1544,7 +1544,11 @@ export class Call {
1544
1544
  prevMeta?.settings.ring.incoming_call_timeout_ms,
1545
1545
  currentMeta.settings.ring.incoming_call_timeout_ms,
1546
1546
  ];
1547
- if (typeof timeoutMs === 'undefined' || timeoutMs === prevTimeoutMs)
1547
+ if (
1548
+ typeof timeoutMs === 'undefined' ||
1549
+ timeoutMs === prevTimeoutMs ||
1550
+ timeoutMs === 0
1551
+ )
1548
1552
  return;
1549
1553
 
1550
1554
  if (this.dropTimeout) clearTimeout(this.dropTimeout);