@stream-io/video-react-native-sdk 0.5.7 → 0.5.8

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,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.5.8](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.5.7...@stream-io/video-react-native-sdk-0.5.8) (2024-03-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **react-native:** react-native-callkeep optional dependency import issue in SDK ([#1294](https://github.com/GetStream/stream-video-js/issues/1294)) ([6c664a7](https://github.com/GetStream/stream-video-js/commit/6c664a701e6dc838c2a4fcd73ce3f2a24f7f915a))
11
+
5
12
  ### [0.5.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.5.6...@stream-io/video-react-native-sdk-0.5.7) (2024-03-15)
6
13
 
7
14
 
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getCallKeepLib = getCallKeepLib;
7
7
  let callkeep;
8
+ try {
9
+ callkeep = require('react-native-callkeep').default;
10
+ } catch (_e) {}
8
11
  function getCallKeepLib() {
9
12
  if (!callkeep) {
10
13
  throw Error('react-native-callkeep library is not installed. Please see https://github.com/react-native-webrtc/react-native-callkeep#Installation for installation instructions');
@@ -1 +1 @@
1
- {"version":3,"names":["callkeep","getCallKeepLib","Error"],"sourceRoot":"../../../../../src","sources":["utils/push/libs/callkeep.ts"],"mappings":";;;;;;AAEA,IAAIA,QAAoC;AAEjC,SAASC,cAAcA,CAAA,EAAG;EAC/B,IAAI,CAACD,QAAQ,EAAE;IACb,MAAME,KAAK,CACT,oKACF,CAAC;EACH;EACA,OAAOF,QAAQ;AACjB"}
1
+ {"version":3,"names":["callkeep","require","default","_e","getCallKeepLib","Error"],"sourceRoot":"../../../../../src","sources":["utils/push/libs/callkeep.ts"],"mappings":";;;;;;AAEA,IAAIA,QAAoC;AAExC,IAAI;EACFA,QAAQ,GAAGC,OAAO,CAAC,uBAAuB,CAAC,CAACC,OAAO;AACrD,CAAC,CAAC,OAAOC,EAAE,EAAE,CAAC;AAEP,SAASC,cAAcA,CAAA,EAAG;EAC/B,IAAI,CAACJ,QAAQ,EAAE;IACb,MAAMK,KAAK,CACT,oKACF,CAAC;EACH;EACA,OAAOL,QAAQ;AACjB"}
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- const version = exports.version = '0.5.7';
7
+ const version = exports.version = '0.5.8';
8
8
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,7 @@
1
1
  let callkeep;
2
+ try {
3
+ callkeep = require('react-native-callkeep').default;
4
+ } catch (_e) {}
2
5
  export function getCallKeepLib() {
3
6
  if (!callkeep) {
4
7
  throw Error('react-native-callkeep library is not installed. Please see https://github.com/react-native-webrtc/react-native-callkeep#Installation for installation instructions');
@@ -1 +1 @@
1
- {"version":3,"names":["callkeep","getCallKeepLib","Error"],"sourceRoot":"../../../../../src","sources":["utils/push/libs/callkeep.ts"],"mappings":"AAEA,IAAIA,QAAoC;AAExC,OAAO,SAASC,cAAcA,CAAA,EAAG;EAC/B,IAAI,CAACD,QAAQ,EAAE;IACb,MAAME,KAAK,CACT,oKACF,CAAC;EACH;EACA,OAAOF,QAAQ;AACjB"}
1
+ {"version":3,"names":["callkeep","require","default","_e","getCallKeepLib","Error"],"sourceRoot":"../../../../../src","sources":["utils/push/libs/callkeep.ts"],"mappings":"AAEA,IAAIA,QAAoC;AAExC,IAAI;EACFA,QAAQ,GAAGC,OAAO,CAAC,uBAAuB,CAAC,CAACC,OAAO;AACrD,CAAC,CAAC,OAAOC,EAAE,EAAE,CAAC;AAEd,OAAO,SAASC,cAAcA,CAAA,EAAG;EAC/B,IAAI,CAACJ,QAAQ,EAAE;IACb,MAAMK,KAAK,CACT,oKACF,CAAC;EACH;EACA,OAAOL,QAAQ;AACjB"}
@@ -1,2 +1,2 @@
1
- export const version = '0.5.7';
1
+ export const version = '0.5.8';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"callkeep.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/callkeep.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,cAAc,GAAG,cAAc,uBAAuB,EAAE,OAAO,CAAC;AAI5E,wBAAgB,cAAc,mDAO7B"}
1
+ {"version":3,"file":"callkeep.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/callkeep.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,cAAc,GAAG,cAAc,uBAAuB,EAAE,OAAO,CAAC;AAQ5E,wBAAgB,cAAc,mDAO7B"}
@@ -1,2 +1,2 @@
1
- export declare const version = "0.5.7";
1
+ export declare const version = "0.5.8";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "module": "dist/module/index.js",
@@ -2,6 +2,10 @@ export type RNCallKeepType = typeof import('react-native-callkeep').default;
2
2
 
3
3
  let callkeep: RNCallKeepType | undefined;
4
4
 
5
+ try {
6
+ callkeep = require('react-native-callkeep').default;
7
+ } catch (_e) {}
8
+
5
9
  export function getCallKeepLib() {
6
10
  if (!callkeep) {
7
11
  throw Error(
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '0.5.7';
1
+ export const version = '0.5.8';