@getpara/react-native-wallet 2.22.0 → 2.23.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
@@ -3,3 +3,6 @@ export { ParaMobile } from './react-native/ParaMobile.js';
3
3
  export type * from '@getpara/viem-v2-integration/aa';
4
4
  export * from './provider/index.js';
5
5
  export * from '@getpara/react-core';
6
+ import type { ParaMobile as _ParaMobile } from './react-native/ParaMobile.js';
7
+ /** Hook for retrieving the Para client from the provider context. */
8
+ export declare const useClient: () => _ParaMobile | undefined;
package/dist/index.js CHANGED
@@ -4,3 +4,6 @@ export { ParaMobile } from './react-native/ParaMobile.js';
4
4
  export * from './provider/index.js';
5
5
  // Core provider hooks and config types — platform-agnostic, work with any ParaCore subclass
6
6
  export * from '@getpara/react-core';
7
+ import { useClient as _useClient } from '@getpara/react-core';
8
+ /** Hook for retrieving the Para client from the provider context. */
9
+ export const useClient = () => _useClient();
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.22.0",
4
+ "version": "2.23.0",
5
5
  "author": "Para Team <hello@getpara.com> (https://getpara.com)",
6
6
  "dependencies": {
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",
7
+ "@getpara/core-sdk": "2.23.0",
8
+ "@getpara/react-core": "2.23.0",
9
+ "@getpara/user-management-client": "2.23.0",
10
+ "@getpara/viem-v2-integration": "2.23.0",
11
+ "@getpara/web-sdk": "2.23.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",
@@ -222,5 +222,5 @@
222
222
  ]
223
223
  }
224
224
  },
225
- "gitHead": "7191b8c823ec592eb1da16c9a085f8e69c6bf377"
225
+ "gitHead": "6e7d16e0f5ac1d63ba89f023919dee5c9eddda47"
226
226
  }
package/src/index.ts CHANGED
@@ -9,3 +9,8 @@ export * from './provider/index.js';
9
9
 
10
10
  // Core provider hooks and config types — platform-agnostic, work with any ParaCore subclass
11
11
  export * from '@getpara/react-core';
12
+
13
+ import { useClient as _useClient } from '@getpara/react-core';
14
+ import type { ParaMobile as _ParaMobile } from './react-native/ParaMobile.js';
15
+ /** Hook for retrieving the Para client from the provider context. */
16
+ export const useClient = () => _useClient<_ParaMobile>();