@getpara/react-native-wallet 2.15.0 → 2.17.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.
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from '@getpara/web-sdk';
2
2
  export { ParaMobile } from './react-native/ParaMobile.js';
3
+ export * from '@getpara/viem-v2-integration/aa';
package/dist/index.js CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from '@getpara/web-sdk';
2
2
  export { ParaMobile } from './react-native/ParaMobile.js';
3
+ // Smart Account types, errors, utilities — re-exported from viem-v2-integration/aa
4
+ export * from '@getpara/viem-v2-integration/aa';
package/dist/shim.d.ts CHANGED
@@ -23,7 +23,7 @@ export function ensureParaCrypto(): {
23
23
  pseudoRandomBytes: typeof import("react-native-quick-crypto/lib/typescript/src/random").randomBytes;
24
24
  prng: typeof import("react-native-quick-crypto/lib/typescript/src/random").randomBytes;
25
25
  pbkdf2(password: import("react-native-quick-crypto/lib/typescript/src/Utils").BinaryLike, salt: import("react-native-quick-crypto/lib/typescript/src/Utils").BinaryLike, iterations: number, keylen: number, digest: string, callback: (err: Error | null, derivedKey?: Buffer) => void): void;
26
- pbkdf2Sync(password: import("react-native-quick-crypto/lib/typescript/src/Utils").BinaryLike, salt: import("react-native-quick-crypto/lib/typescript/src/Utils").BinaryLike, iterations: number, keylen: number, digest?: string): ArrayBuffer;
26
+ pbkdf2Sync(password: import("react-native-quick-crypto/lib/typescript/src/Utils").BinaryLike, salt: import("react-native-quick-crypto/lib/typescript/src/Utils").BinaryLike, iterations: number, keylen: number, digest?: string): Buffer;
27
27
  pbkdf2DeriveBits(algorithm: import("react-native-quick-crypto/lib/typescript/src/keys").SubtleAlgorithm, baseKey: import("react-native-quick-crypto/lib/typescript/src/keys").CryptoKey, length: number): Promise<ArrayBuffer>;
28
28
  createHmac: typeof import("react-native-quick-crypto/lib/typescript/src/Hmac").createHmac;
29
29
  Hmac: typeof import("react-native-quick-crypto/lib/typescript/src/Hmac").createHmac;
package/package.json CHANGED
@@ -1,29 +1,30 @@
1
1
  {
2
2
  "name": "@getpara/react-native-wallet",
3
3
  "description": "Para Wallet for React Native",
4
- "version": "2.15.0",
4
+ "version": "2.17.0",
5
5
  "author": "Para Team <hello@getpara.com> (https://getpara.com)",
6
6
  "dependencies": {
7
- "@getpara/core-sdk": "2.15.0",
8
- "@getpara/user-management-client": "2.15.0",
9
- "@getpara/web-sdk": "2.15.0",
7
+ "@getpara/core-sdk": "2.17.0",
8
+ "@getpara/user-management-client": "2.17.0",
9
+ "@getpara/viem-v2-integration": "2.17.0",
10
+ "@getpara/web-sdk": "2.17.0",
10
11
  "@peculiar/webcrypto": "^1.5.0",
11
12
  "@ungap/structured-clone": "1.3.0",
12
13
  "react-native-url-polyfill": "2.0.0",
13
14
  "text-encoding": "0.7.0"
14
15
  },
15
16
  "devDependencies": {
16
- "@craftzdog/react-native-buffer": "6.0.5",
17
- "@react-native-async-storage/async-storage": "2.1.2",
18
- "@types/node-forge": "1.3.1",
19
- "@types/react": "^18.0.31",
17
+ "@craftzdog/react-native-buffer": "^6.1.0",
18
+ "@react-native-async-storage/async-storage": "^2.2.0",
19
+ "@types/node-forge": "^1.3.11",
20
+ "@types/react": "^18.3.3",
20
21
  "@types/react-native": "0.70.0",
21
22
  "@types/text-encoding": "0.0.39",
22
- "react-native-keychain": "10.0.0",
23
- "react-native-modpow": "1.1.0",
24
- "react-native-passkey": "3.1.0",
25
- "react-native-quick-base64": "2.1.2",
26
- "react-native-quick-crypto": "0.7.12",
23
+ "react-native-keychain": "^10.0.0",
24
+ "react-native-modpow": "^1.1.0",
25
+ "react-native-passkey": "^3.1.0",
26
+ "react-native-quick-base64": "^2.2.0",
27
+ "react-native-quick-crypto": "^0.7.14",
27
28
  "typescript": "^5.8.3"
28
29
  },
29
30
  "exports": {
@@ -51,16 +52,16 @@
51
52
  "main": "./dist/index.js",
52
53
  "module": "./dist/index.js",
53
54
  "peerDependencies": {
54
- "@craftzdog/react-native-buffer": "*",
55
- "@react-native-async-storage/async-storage": "*",
56
- "react": "*",
57
- "react-native": "*",
58
- "react-native-keychain": "*",
59
- "react-native-modpow": "*",
60
- "react-native-passkey": "*",
61
- "react-native-quick-base64": "*",
62
- "react-native-quick-crypto": "*",
63
- "readable-stream": "*"
55
+ "@craftzdog/react-native-buffer": ">=6.0.0",
56
+ "@react-native-async-storage/async-storage": ">=2.0.0",
57
+ "react": ">=18",
58
+ "react-native": ">=0.70.0",
59
+ "react-native-keychain": ">=8.0.0",
60
+ "react-native-modpow": ">=1.0.0",
61
+ "react-native-passkey": ">=3.0.0",
62
+ "react-native-quick-base64": ">=2.0.0",
63
+ "react-native-quick-crypto": ">=0.7.0",
64
+ "readable-stream": ">=4.0.0"
64
65
  },
65
66
  "publishConfig": {
66
67
  "access": "public"
@@ -92,5 +93,5 @@
92
93
  ]
93
94
  }
94
95
  },
95
- "gitHead": "9cecc178e975a44d8ed4b03f46aeb57ddcb7a152"
96
+ "gitHead": "3ed1f835b97ae720f1ac747611296e3b86f61138"
96
97
  }
package/src/index.ts CHANGED
@@ -1,2 +1,5 @@
1
1
  export * from '@getpara/web-sdk';
2
2
  export { ParaMobile } from './react-native/ParaMobile.js';
3
+
4
+ // Smart Account types, errors, utilities — re-exported from viem-v2-integration/aa
5
+ export * from '@getpara/viem-v2-integration/aa';