@amplitude/plugin-session-replay-react-native 0.4.0 → 0.4.2-prereleasenetworkcapture.0

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.
@@ -109,6 +109,8 @@ class PluginSessionReplayReactNativeModule(private val reactContext: ReactApplic
109
109
  }
110
110
 
111
111
  override fun invalidate() {
112
- sessionReplay.shutdown()
112
+ if (::sessionReplay.isInitialized) {
113
+ sessionReplay.shutdown()
114
+ }
113
115
  }
114
116
  }
@@ -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.4.0';
7
+ const VERSION = exports.VERSION = '0.3.3';
8
8
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.4.0';
1
+ export const VERSION = '0.3.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.4.0";
1
+ export declare const VERSION = "0.3.3";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplitude/plugin-session-replay-react-native",
3
- "version": "0.4.0",
3
+ "version": "0.4.2-prereleasenetworkcapture.0",
4
4
  "description": "Amplitude Session Replay plugin for React Native",
5
5
  "keywords": [
6
6
  "analytics",
@@ -92,5 +92,5 @@
92
92
  ]
93
93
  ]
94
94
  },
95
- "gitHead": "86f3d3dc2abc3494a3d5a65aa6bcd33c2061f04e"
95
+ "gitHead": "bd3f0cbb9079182d6bbb15fe6b6ddaae5f894616"
96
96
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.4.0';
1
+ export const VERSION = '0.4.2-prereleasenetworkcapture.0';