@videosdk.live/react-sdk 0.1.87 → 0.1.89

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.
@@ -0,0 +1,27 @@
1
+ export class Stream {
2
+ /**
3
+ * Id of the stream
4
+ */
5
+ id: string;
6
+ /**
7
+ * @description This represents the type of Stream
8
+ */
9
+ kind: 'audio' | 'video' | 'share' | 'shareAudio';
10
+ /**
11
+ * @description This represents the codec of the stream
12
+ */
13
+ codec: string;
14
+ /**
15
+ * @description This represents the track which can be used to play the audio or video of the participant
16
+ */
17
+ track: MediaStreamTrack;
18
+ /**
19
+ * @description This method can be used to pause the incoming audio stream
20
+ */
21
+ pause(): void;
22
+ /**
23
+ * @description This method can be used to resume the incoming audio stream
24
+ */
25
+ resume(): void;
26
+ get paused(): any;
27
+ }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@videosdk.live/react-sdk",
3
- "version": "0.1.87",
3
+ "version": "0.1.89",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.modern.js",
7
7
  "source": "src/index.js",
8
8
  "types": "dist/types/index.d.ts",
9
9
  "scripts": {
10
- "build": "microbundle-crl --no-compress --format modern,cjs && yarn copyTypesFolder",
10
+ "build": "microbundle-crl --no-compress --format modern,cjs && yarn copyTypesFolder && npm publish",
11
11
  "copyTypesFolder": "cp -a ./src/types/ ./dist/types",
12
12
  "prettier": "prettier --write 'src/**/*.js'",
13
13
  "lint": "eslint 'src/**/*.js'"
@@ -73,7 +73,7 @@
73
73
  }
74
74
  },
75
75
  "dependencies": {
76
- "@videosdk.live/js-sdk": "0.0.84",
76
+ "@videosdk.live/js-sdk": "0.0.85",
77
77
  "events": "^3.3.0"
78
78
  }
79
79
  }