@stream-io/video-react-sdk 0.0.81 → 0.0.83

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/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.0.83](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.0.82...@stream-io/video-react-sdk-0.0.83) (2023-07-14)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@stream-io/video-client` updated to version `0.0.1`
10
+ * `@stream-io/video-react-bindings` updated to version `0.0.46`
11
+
12
+ ### Features
13
+
14
+ * SDK version header ([#790](https://github.com/GetStream/stream-video-js/issues/790)) ([6c662db](https://github.com/GetStream/stream-video-js/commit/6c662db59321db4060b5499d8eaad8a18b1eaf6c))
15
+
16
+ ### [0.0.82](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.0.81...@stream-io/video-react-sdk-0.0.82) (2023-07-12)
17
+
18
+ ### Dependency Updates
19
+
20
+ * `@stream-io/video-client` updated to version `0.0.1`
21
+ * `@stream-io/video-react-bindings` updated to version `0.0.45`
5
22
  ### [0.0.81](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.0.80...@stream-io/video-react-sdk-0.0.81) (2023-07-12)
6
23
 
7
24
  ### Dependency Updates
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { setSdkInfo, SfuModels } from '@stream-io/video-client';
2
+ import { version } from './version';
2
3
  export * from '@stream-io/video-client';
3
4
  export * from '@stream-io/video-react-bindings';
4
5
  export * from '@stream-io/i18n';
@@ -6,11 +7,11 @@ export * from './src/core';
6
7
  export * from './src/components';
7
8
  export * from './src/types';
8
9
  export { useHorizontalScrollPosition, useVerticalScrollPosition, useToggleAudioMuteState, useToggleVideoMuteState, } from './src/hooks';
9
- // TODO: set valid version
10
+ const [major, minor, patch] = version.split('.');
10
11
  setSdkInfo({
11
12
  type: SfuModels.SdkType.REACT,
12
- major: '0',
13
- minor: '0',
14
- patch: '0',
13
+ major,
14
+ minor,
15
+ patch,
15
16
  });
16
17
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEhE,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAEhC,cAAc,YAAY,CAAC;AAE3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AAErB,0BAA0B;AAC1B,UAAU,CAAC;IACT,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK;IAC7B,KAAK,EAAE,GAAG;IACV,KAAK,EAAE,GAAG;IACV,KAAK,EAAE,GAAG;CACX,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAEhC,cAAc,YAAY,CAAC;AAE3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAEjD,UAAU,CAAC;IACT,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK;IAC7B,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const version = "0.0.82";
@@ -0,0 +1 @@
1
+ export const version = '0.0.83'; -- 0.0.83
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
package/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { setSdkInfo, SfuModels } from '@stream-io/video-client';
2
+ import { version } from './version';
2
3
 
3
4
  export * from '@stream-io/video-client';
4
5
  export * from '@stream-io/video-react-bindings';
@@ -15,10 +16,11 @@ export {
15
16
  useToggleVideoMuteState,
16
17
  } from './src/hooks';
17
18
 
18
- // TODO: set valid version
19
+ const [major, minor, patch] = version.split('.');
20
+
19
21
  setSdkInfo({
20
22
  type: SfuModels.SdkType.REACT,
21
- major: '0',
22
- minor: '0',
23
- patch: '0',
23
+ major,
24
+ minor,
25
+ patch,
24
26
  });
package/package.json CHANGED
@@ -9,7 +9,8 @@
9
9
  "start": "tsc --project tsconfig.json --watch",
10
10
  "build": "tsc --project tsconfig.production.json && yarn copy-css",
11
11
  "copy-css": "cp -R ../../node_modules/@stream-io/video-styling/dist/* dist/",
12
- "start:docs": "npx stream-chat-docusaurus -s"
12
+ "start:docs": "npx stream-chat-docusaurus -s",
13
+ "copy-version": "VERSION=\"$1\" && echo \"export const version = '$VERSION';\" > ./version.ts && echo \"export const version = '$VERSION';\" > ./dist/version.js"
13
14
  },
14
15
  "repository": {
15
16
  "type": "git",
@@ -30,8 +31,8 @@
30
31
  "@nivo/core": "^0.80.0",
31
32
  "@nivo/line": "^0.80.0",
32
33
  "@stream-io/i18n": "^0.0.8",
33
- "@stream-io/video-client": "^0.0.42",
34
- "@stream-io/video-react-bindings": "^0.0.44",
34
+ "@stream-io/video-client": "^0.0.44",
35
+ "@stream-io/video-react-bindings": "^0.0.46",
35
36
  "clsx": "^1.2.1",
36
37
  "rxjs": "~7.8.1"
37
38
  },
@@ -50,5 +51,5 @@
50
51
  "rimraf": "^3.0.2",
51
52
  "typescript": "^4.9.5"
52
53
  },
53
- "version": "0.0.81"
54
+ "version": "0.0.83"
54
55
  }