@getpara/react-native-wallet 2.21.0 → 2.22.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.
Files changed (49) hide show
  1. package/dist/aa/alchemy.d.ts +1 -0
  2. package/dist/aa/alchemy.js +1 -0
  3. package/dist/aa/biconomy.d.ts +1 -0
  4. package/dist/aa/biconomy.js +1 -0
  5. package/dist/aa/cdp.d.ts +1 -0
  6. package/dist/aa/cdp.js +1 -0
  7. package/dist/aa/gelato.d.ts +1 -0
  8. package/dist/aa/gelato.js +1 -0
  9. package/dist/aa/pimlico.d.ts +1 -0
  10. package/dist/aa/pimlico.js +1 -0
  11. package/dist/aa/porto.d.ts +1 -0
  12. package/dist/aa/porto.js +1 -0
  13. package/dist/aa/rhinestone.d.ts +1 -0
  14. package/dist/aa/rhinestone.js +1 -0
  15. package/dist/aa/safe.d.ts +1 -0
  16. package/dist/aa/safe.js +1 -0
  17. package/dist/aa/thirdweb.d.ts +1 -0
  18. package/dist/aa/thirdweb.js +1 -0
  19. package/dist/aa/zerodev.d.ts +1 -0
  20. package/dist/aa/zerodev.js +1 -0
  21. package/dist/chains/cosmos.d.ts +1 -0
  22. package/dist/chains/cosmos.js +1 -0
  23. package/dist/chains/evm/ethers.d.ts +1 -0
  24. package/dist/chains/evm/ethers.js +1 -0
  25. package/dist/chains/evm/viem.d.ts +1 -0
  26. package/dist/chains/evm/viem.js +1 -0
  27. package/dist/chains/solana.d.ts +1 -0
  28. package/dist/chains/solana.js +1 -0
  29. package/dist/chains/stellar.d.ts +1 -0
  30. package/dist/chains/stellar.js +1 -0
  31. package/dist/provider/ParaProvider.d.ts +8 -11
  32. package/dist/provider/ParaProvider.js +2 -2
  33. package/package.json +134 -8
  34. package/src/aa/alchemy.ts +5 -0
  35. package/src/aa/biconomy.ts +5 -0
  36. package/src/aa/cdp.ts +1 -0
  37. package/src/aa/gelato.ts +5 -0
  38. package/src/aa/pimlico.ts +5 -0
  39. package/src/aa/porto.ts +1 -0
  40. package/src/aa/rhinestone.ts +5 -0
  41. package/src/aa/safe.ts +1 -0
  42. package/src/aa/thirdweb.ts +5 -0
  43. package/src/aa/zerodev.ts +5 -0
  44. package/src/chains/cosmos.ts +1 -0
  45. package/src/chains/evm/ethers.ts +1 -0
  46. package/src/chains/evm/viem.ts +1 -0
  47. package/src/chains/solana.ts +1 -0
  48. package/src/chains/stellar.ts +1 -0
  49. package/src/provider/ParaProvider.tsx +18 -15
@@ -0,0 +1 @@
1
+ export { useAlchemySmartAccount, createAlchemySmartAccountHook, ALCHEMY_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useAlchemySmartAccount, createAlchemySmartAccountHook, ALCHEMY_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useBiconomySmartAccount, createBiconomySmartAccountHook, BICONOMY_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useBiconomySmartAccount, createBiconomySmartAccountHook, BICONOMY_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useCDPSmartAccount, createCDPSmartAccountHook, CDP_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
package/dist/aa/cdp.js ADDED
@@ -0,0 +1 @@
1
+ export { useCDPSmartAccount, createCDPSmartAccountHook, CDP_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useGelatoSmartAccount, createGelatoSmartAccountHook, GELATO_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useGelatoSmartAccount, createGelatoSmartAccountHook, GELATO_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { usePimlicoSmartAccount, createPimlicoSmartAccountHook, PIMLICO_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { usePimlicoSmartAccount, createPimlicoSmartAccountHook, PIMLICO_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { usePortoSmartAccount, createPortoSmartAccountHook, PORTO_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { usePortoSmartAccount, createPortoSmartAccountHook, PORTO_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useRhinestoneSmartAccount, createRhinestoneSmartAccountHook, RHINESTONE_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useRhinestoneSmartAccount, createRhinestoneSmartAccountHook, RHINESTONE_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useSafeSmartAccount, createSafeSmartAccountHook, SAFE_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useSafeSmartAccount, createSafeSmartAccountHook, SAFE_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useThirdwebSmartAccount, createThirdwebSmartAccountHook, THIRDWEB_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useThirdwebSmartAccount, createThirdwebSmartAccountHook, THIRDWEB_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useZeroDevSmartAccount, createZeroDevSmartAccountHook, ZERODEV_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { useZeroDevSmartAccount, createZeroDevSmartAccountHook, ZERODEV_SMART_ACCOUNT_BASE_KEY, } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/cosmos';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/cosmos';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/evm/ethers';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/evm/ethers';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/evm/viem';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/evm/viem';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/solana';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/solana';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/stellar';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/stellar';
@@ -1,19 +1,16 @@
1
- import { type ParaProviderCoreProps, type ParaClientConfig } from '@getpara/react-core/internal';
1
+ import { type ParaProviderBaseProps, type ParaStorageAdapter } from '@getpara/react-core/internal';
2
2
  import { ParaMobile } from '../react-native/ParaMobile.js';
3
3
  /**
4
- * RN provider props. Same as ParaProviderCoreProps but:
5
- * - Defaults to ParaMobile
6
- * - paraClientConfig accepts a simple { apiKey, env?, opts? } config (no createClient needed)
7
- * - storageAdapter defaults to AsyncStorage
8
- * - Omits configureClient, waitForReady, store (internal concerns)
4
+ * React Native Para provider props.
5
+ * paraClientConfig accepts a simple { apiKey, env?, opts? } config or a pre-instantiated ParaMobile instance.
9
6
  */
10
- export type ParaProviderProps = Omit<ParaProviderCoreProps<ParaMobile>, 'paraClientConfig' | 'configureClient' | 'waitForReady' | 'store'> & {
11
- /** A pre-instantiated ParaMobile, or a config with apiKey + optional env/opts. */
12
- paraClientConfig: ParaMobile | ParaClientConfig;
13
- };
7
+ export interface ParaProviderProps extends ParaProviderBaseProps<ParaMobile> {
8
+ /** Override the default AsyncStorage adapter. Defaults to `asyncStorageAdapter`. */
9
+ storageAdapter?: ParaStorageAdapter;
10
+ }
14
11
  /**
15
12
  * React Native Para provider. Wraps ParaProviderCore with AsyncStorage-backed
16
13
  * persistence by default. Accepts either a ParaMobile instance or a simple
17
14
  * `{ apiKey, env?, opts? }` config — the provider creates the client internally.
18
15
  */
19
- export declare function ParaProvider({ children, paraClientConfig: paraClientInput, config, callbacks, storageAdapter, }: ParaProviderProps): import("react").JSX.Element;
16
+ export declare function ParaProvider({ children, paraClientConfig: paraClientInput, config, callbacks, storageAdapter, waitForReady, fallback, }: ParaProviderProps): import("react").JSX.Element;
@@ -7,13 +7,13 @@ import { ParaMobile } from '../react-native/ParaMobile.js';
7
7
  * persistence by default. Accepts either a ParaMobile instance or a simple
8
8
  * `{ apiKey, env?, opts? }` config — the provider creates the client internally.
9
9
  */
10
- export function ParaProvider({ children, paraClientConfig: paraClientInput, config, callbacks, storageAdapter = asyncStorageAdapter, }) {
10
+ export function ParaProvider({ children, paraClientConfig: paraClientInput, config, callbacks, storageAdapter = asyncStorageAdapter, waitForReady, fallback, }) {
11
11
  const coreInput = useMemo(() => {
12
12
  if (paraClientInput instanceof ParaMobile)
13
13
  return paraClientInput;
14
14
  return Object.assign(Object.assign({}, paraClientInput), { createClient: (apiKey, env, opts) => new ParaMobile(apiKey, env, opts) });
15
15
  }, [paraClientInput]);
16
- return (<ParaProviderCore paraClientConfig={coreInput} config={config} callbacks={callbacks} storageAdapter={storageAdapter}>
16
+ return (<ParaProviderCore paraClientConfig={coreInput} config={config} callbacks={callbacks} storageAdapter={storageAdapter} waitForReady={waitForReady} fallback={fallback}>
17
17
  {children}
18
18
  </ParaProviderCore>);
19
19
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@getpara/react-native-wallet",
3
3
  "description": "Para Wallet for React Native",
4
- "version": "2.21.0",
4
+ "version": "2.22.0",
5
5
  "author": "Para Team <hello@getpara.com> (https://getpara.com)",
6
6
  "dependencies": {
7
- "@getpara/core-sdk": "2.21.0",
8
- "@getpara/react-core": "2.21.0",
9
- "@getpara/user-management-client": "2.21.0",
10
- "@getpara/viem-v2-integration": "2.21.0",
11
- "@getpara/web-sdk": "2.21.0",
7
+ "@getpara/core-sdk": "2.22.0",
8
+ "@getpara/react-core": "2.22.0",
9
+ "@getpara/user-management-client": "2.22.0",
10
+ "@getpara/viem-v2-integration": "2.22.0",
11
+ "@getpara/web-sdk": "2.22.0",
12
12
  "@peculiar/webcrypto": "^1.5.0",
13
13
  "@ungap/structured-clone": "1.3.0",
14
14
  "react-native-url-polyfill": "2.0.0",
@@ -39,6 +39,66 @@
39
39
  },
40
40
  "./dist/shim.js": {
41
41
  "default": "./dist/shim.js"
42
+ },
43
+ "./evm/viem": {
44
+ "types": "./dist/chains/evm/viem.d.ts",
45
+ "default": "./dist/chains/evm/viem.js"
46
+ },
47
+ "./evm/ethers": {
48
+ "types": "./dist/chains/evm/ethers.d.ts",
49
+ "default": "./dist/chains/evm/ethers.js"
50
+ },
51
+ "./cosmos": {
52
+ "types": "./dist/chains/cosmos.d.ts",
53
+ "default": "./dist/chains/cosmos.js"
54
+ },
55
+ "./solana": {
56
+ "types": "./dist/chains/solana.d.ts",
57
+ "default": "./dist/chains/solana.js"
58
+ },
59
+ "./stellar": {
60
+ "types": "./dist/chains/stellar.d.ts",
61
+ "default": "./dist/chains/stellar.js"
62
+ },
63
+ "./aa/alchemy": {
64
+ "types": "./dist/aa/alchemy.d.ts",
65
+ "default": "./dist/aa/alchemy.js"
66
+ },
67
+ "./aa/biconomy": {
68
+ "types": "./dist/aa/biconomy.d.ts",
69
+ "default": "./dist/aa/biconomy.js"
70
+ },
71
+ "./aa/cdp": {
72
+ "types": "./dist/aa/cdp.d.ts",
73
+ "default": "./dist/aa/cdp.js"
74
+ },
75
+ "./aa/gelato": {
76
+ "types": "./dist/aa/gelato.d.ts",
77
+ "default": "./dist/aa/gelato.js"
78
+ },
79
+ "./aa/pimlico": {
80
+ "types": "./dist/aa/pimlico.d.ts",
81
+ "default": "./dist/aa/pimlico.js"
82
+ },
83
+ "./aa/porto": {
84
+ "types": "./dist/aa/porto.d.ts",
85
+ "default": "./dist/aa/porto.js"
86
+ },
87
+ "./aa/rhinestone": {
88
+ "types": "./dist/aa/rhinestone.d.ts",
89
+ "default": "./dist/aa/rhinestone.js"
90
+ },
91
+ "./aa/safe": {
92
+ "types": "./dist/aa/safe.d.ts",
93
+ "default": "./dist/aa/safe.js"
94
+ },
95
+ "./aa/thirdweb": {
96
+ "types": "./dist/aa/thirdweb.d.ts",
97
+ "default": "./dist/aa/thirdweb.js"
98
+ },
99
+ "./aa/zerodev": {
100
+ "types": "./dist/aa/zerodev.d.ts",
101
+ "default": "./dist/aa/zerodev.js"
42
102
  }
43
103
  },
44
104
  "files": [
@@ -55,6 +115,7 @@
55
115
  "module": "./dist/index.js",
56
116
  "peerDependencies": {
57
117
  "@craftzdog/react-native-buffer": ">=6.0.0",
118
+ "@getpara/viem-v2-integration": ">=2.18.0",
58
119
  "@react-native-async-storage/async-storage": ">=2.0.0",
59
120
  "@tanstack/react-query": ">=5",
60
121
  "react": ">=18",
@@ -66,13 +127,33 @@
66
127
  "react-native-quick-base64": ">=2.0.0",
67
128
  "react-native-quick-crypto": ">=1.0.0"
68
129
  },
130
+ "peerDependenciesMeta": {
131
+ "@getpara/viem-v2-integration": {
132
+ "optional": true
133
+ }
134
+ },
69
135
  "publishConfig": {
70
136
  "access": "public"
71
137
  },
72
138
  "react-native": {
73
139
  ".": "./dist/index.js",
74
140
  "./shim": "./dist/shim.js",
75
- "./dist/shim.js": "./dist/shim.js"
141
+ "./dist/shim.js": "./dist/shim.js",
142
+ "./evm/viem": "./dist/chains/evm/viem.js",
143
+ "./evm/ethers": "./dist/chains/evm/ethers.js",
144
+ "./cosmos": "./dist/chains/cosmos.js",
145
+ "./solana": "./dist/chains/solana.js",
146
+ "./stellar": "./dist/chains/stellar.js",
147
+ "./aa/alchemy": "./dist/aa/alchemy.js",
148
+ "./aa/biconomy": "./dist/aa/biconomy.js",
149
+ "./aa/cdp": "./dist/aa/cdp.js",
150
+ "./aa/gelato": "./dist/aa/gelato.js",
151
+ "./aa/pimlico": "./dist/aa/pimlico.js",
152
+ "./aa/porto": "./dist/aa/porto.js",
153
+ "./aa/rhinestone": "./dist/aa/rhinestone.js",
154
+ "./aa/safe": "./dist/aa/safe.js",
155
+ "./aa/thirdweb": "./dist/aa/thirdweb.js",
156
+ "./aa/zerodev": "./dist/aa/zerodev.js"
76
157
  },
77
158
  "scripts": {
78
159
  "build": "rm -rf dist && tsc",
@@ -91,10 +172,55 @@
91
172
  "dist/shim.js": [
92
173
  "./dist/shim.d.ts"
93
174
  ],
175
+ "evm/viem": [
176
+ "./dist/chains/evm/viem.d.ts"
177
+ ],
178
+ "evm/ethers": [
179
+ "./dist/chains/evm/ethers.d.ts"
180
+ ],
181
+ "cosmos": [
182
+ "./dist/chains/cosmos.d.ts"
183
+ ],
184
+ "solana": [
185
+ "./dist/chains/solana.d.ts"
186
+ ],
187
+ "stellar": [
188
+ "./dist/chains/stellar.d.ts"
189
+ ],
190
+ "aa/alchemy": [
191
+ "./dist/aa/alchemy.d.ts"
192
+ ],
193
+ "aa/biconomy": [
194
+ "./dist/aa/biconomy.d.ts"
195
+ ],
196
+ "aa/cdp": [
197
+ "./dist/aa/cdp.d.ts"
198
+ ],
199
+ "aa/gelato": [
200
+ "./dist/aa/gelato.d.ts"
201
+ ],
202
+ "aa/pimlico": [
203
+ "./dist/aa/pimlico.d.ts"
204
+ ],
205
+ "aa/porto": [
206
+ "./dist/aa/porto.d.ts"
207
+ ],
208
+ "aa/rhinestone": [
209
+ "./dist/aa/rhinestone.d.ts"
210
+ ],
211
+ "aa/safe": [
212
+ "./dist/aa/safe.d.ts"
213
+ ],
214
+ "aa/thirdweb": [
215
+ "./dist/aa/thirdweb.d.ts"
216
+ ],
217
+ "aa/zerodev": [
218
+ "./dist/aa/zerodev.d.ts"
219
+ ],
94
220
  "*": [
95
221
  "./dist/index.d.ts"
96
222
  ]
97
223
  }
98
224
  },
99
- "gitHead": "61f68bb1344dcec458f9016db39f631bb630b8f4"
225
+ "gitHead": "7191b8c823ec592eb1da16c9a085f8e69c6bf377"
100
226
  }
@@ -0,0 +1,5 @@
1
+ export {
2
+ useAlchemySmartAccount,
3
+ createAlchemySmartAccountHook,
4
+ ALCHEMY_SMART_ACCOUNT_BASE_KEY,
5
+ } from '@getpara/react-core/internal';
@@ -0,0 +1,5 @@
1
+ export {
2
+ useBiconomySmartAccount,
3
+ createBiconomySmartAccountHook,
4
+ BICONOMY_SMART_ACCOUNT_BASE_KEY,
5
+ } from '@getpara/react-core/internal';
package/src/aa/cdp.ts ADDED
@@ -0,0 +1 @@
1
+ export { useCDPSmartAccount, createCDPSmartAccountHook, CDP_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1,5 @@
1
+ export {
2
+ useGelatoSmartAccount,
3
+ createGelatoSmartAccountHook,
4
+ GELATO_SMART_ACCOUNT_BASE_KEY,
5
+ } from '@getpara/react-core/internal';
@@ -0,0 +1,5 @@
1
+ export {
2
+ usePimlicoSmartAccount,
3
+ createPimlicoSmartAccountHook,
4
+ PIMLICO_SMART_ACCOUNT_BASE_KEY,
5
+ } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export { usePortoSmartAccount, createPortoSmartAccountHook, PORTO_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1,5 @@
1
+ export {
2
+ useRhinestoneSmartAccount,
3
+ createRhinestoneSmartAccountHook,
4
+ RHINESTONE_SMART_ACCOUNT_BASE_KEY,
5
+ } from '@getpara/react-core/internal';
package/src/aa/safe.ts ADDED
@@ -0,0 +1 @@
1
+ export { useSafeSmartAccount, createSafeSmartAccountHook, SAFE_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-core/internal';
@@ -0,0 +1,5 @@
1
+ export {
2
+ useThirdwebSmartAccount,
3
+ createThirdwebSmartAccountHook,
4
+ THIRDWEB_SMART_ACCOUNT_BASE_KEY,
5
+ } from '@getpara/react-core/internal';
@@ -0,0 +1,5 @@
1
+ export {
2
+ useZeroDevSmartAccount,
3
+ createZeroDevSmartAccountHook,
4
+ ZERODEV_SMART_ACCOUNT_BASE_KEY,
5
+ } from '@getpara/react-core/internal';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/cosmos';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/evm/ethers';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/evm/viem';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/solana';
@@ -0,0 +1 @@
1
+ export * from '@getpara/react-core/stellar';
@@ -1,27 +1,21 @@
1
1
  import { useMemo } from 'react';
2
2
  import {
3
3
  ParaProviderCore,
4
- type ParaProviderCoreProps,
5
- type ParaClientConfig,
4
+ type ParaProviderBaseProps,
6
5
  type ParaClientConfigWithFactory,
6
+ type ParaStorageAdapter,
7
7
  } from '@getpara/react-core/internal';
8
8
  import { asyncStorageAdapter } from './asyncStorageAdapter.js';
9
9
  import { ParaMobile } from '../react-native/ParaMobile.js';
10
10
 
11
11
  /**
12
- * RN provider props. Same as ParaProviderCoreProps but:
13
- * - Defaults to ParaMobile
14
- * - paraClientConfig accepts a simple { apiKey, env?, opts? } config (no createClient needed)
15
- * - storageAdapter defaults to AsyncStorage
16
- * - Omits configureClient, waitForReady, store (internal concerns)
12
+ * React Native Para provider props.
13
+ * paraClientConfig accepts a simple { apiKey, env?, opts? } config or a pre-instantiated ParaMobile instance.
17
14
  */
18
- export type ParaProviderProps = Omit<
19
- ParaProviderCoreProps<ParaMobile>,
20
- 'paraClientConfig' | 'configureClient' | 'waitForReady' | 'store'
21
- > & {
22
- /** A pre-instantiated ParaMobile, or a config with apiKey + optional env/opts. */
23
- paraClientConfig: ParaMobile | ParaClientConfig;
24
- };
15
+ export interface ParaProviderProps extends ParaProviderBaseProps<ParaMobile> {
16
+ /** Override the default AsyncStorage adapter. Defaults to `asyncStorageAdapter`. */
17
+ storageAdapter?: ParaStorageAdapter;
18
+ }
25
19
 
26
20
  /**
27
21
  * React Native Para provider. Wraps ParaProviderCore with AsyncStorage-backed
@@ -34,6 +28,8 @@ export function ParaProvider({
34
28
  config,
35
29
  callbacks,
36
30
  storageAdapter = asyncStorageAdapter,
31
+ waitForReady,
32
+ fallback,
37
33
  }: ParaProviderProps) {
38
34
  const coreInput = useMemo<ParaMobile | ParaClientConfigWithFactory<ParaMobile>>(() => {
39
35
  if (paraClientInput instanceof ParaMobile) return paraClientInput;
@@ -44,7 +40,14 @@ export function ParaProvider({
44
40
  }, [paraClientInput]);
45
41
 
46
42
  return (
47
- <ParaProviderCore paraClientConfig={coreInput} config={config} callbacks={callbacks} storageAdapter={storageAdapter}>
43
+ <ParaProviderCore
44
+ paraClientConfig={coreInput}
45
+ config={config}
46
+ callbacks={callbacks}
47
+ storageAdapter={storageAdapter}
48
+ waitForReady={waitForReady}
49
+ fallback={fallback}
50
+ >
48
51
  {children}
49
52
  </ParaProviderCore>
50
53
  );