react-native-quick-crypto 0.7.7 → 0.7.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.
@@ -50,7 +50,13 @@ class PropNameIDCache {
50
50
  const jsi::PropNameID &getConstructorNameProp(jsi::Runtime &runtime,
51
51
  MGLTypedArrayKind kind);
52
52
 
53
- void invalidate() { props.erase(props.begin(), props.end()); }
53
+ void invalidate() {
54
+ /** This call (and attempts to use props.clear()) crash 💥 when the
55
+ * JSI runtime has already been destroyed. So we are commenting it out
56
+ * and waiting for Nitro and 1.0 to fix this the proper way.
57
+ */
58
+ //props.erase(props.begin(), props.end());
59
+ }
54
60
 
55
61
  private:
56
62
  std::unordered_map<Prop, std::unique_ptr<jsi::PropNameID>> props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-quick-crypto",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "A fast implementation of Node's `crypto` module written in C/C++ JSI",
5
5
  "packageManager": "bun@1.1.26",
6
6
  "main": "lib/commonjs/index",