@kedaruma/revlm-client 1.0.26 → 1.0.27

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/dist/rn-setup.js CHANGED
@@ -23,10 +23,9 @@ var safeRequire = (id) => {
23
23
  return void 0;
24
24
  }
25
25
  };
26
- var webcrypto = safeRequire("react-native-webcrypto");
27
- var cryptoFromWebcrypto = webcrypto?.crypto;
28
- if (cryptoFromWebcrypto && !global.crypto) {
29
- global.crypto = cryptoFromWebcrypto;
26
+ if (!global.crypto) {
27
+ const quickCrypto = safeRequire("react-native-quick-crypto");
28
+ if (quickCrypto) global.crypto = quickCrypto;
30
29
  }
31
30
  safeRequire("react-native-get-random-values");
32
31
  var fastTextEncoding = safeRequire("fast-text-encoding");
package/dist/rn-setup.mjs CHANGED
@@ -10,10 +10,9 @@ var safeRequire = (id) => {
10
10
  return void 0;
11
11
  }
12
12
  };
13
- var webcrypto = safeRequire("react-native-webcrypto");
14
- var cryptoFromWebcrypto = webcrypto?.crypto;
15
- if (cryptoFromWebcrypto && !global.crypto) {
16
- global.crypto = cryptoFromWebcrypto;
13
+ if (!global.crypto) {
14
+ const quickCrypto = safeRequire("react-native-quick-crypto");
15
+ if (quickCrypto) global.crypto = quickCrypto;
17
16
  }
18
17
  safeRequire("react-native-get-random-values");
19
18
  var fastTextEncoding = safeRequire("fast-text-encoding");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kedaruma/revlm-client",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "private": false,
5
5
  "description": "TypeScript client SDK for talking to the Revlm server replacement for MongoDB Realm.",
6
6
  "keywords": [
@@ -46,10 +46,9 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@peculiar/webcrypto": "^1.5.0",
50
49
  "bson": "^6.10.4",
51
50
  "dotenv": "^17.2.3",
52
- "@kedaruma/revlm-shared": "1.0.5"
51
+ "@kedaruma/revlm-shared": "1.0.6"
53
52
  },
54
53
  "devDependencies": {
55
54
  "tsup": "^8.5.1"