@openfort/react-native 0.1.1 → 0.1.2

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.
@@ -5,3 +5,4 @@
5
5
  */
6
6
  // Embedded wallet hooks
7
7
  export { useWallets } from './useWallets';
8
+ export { useWallet } from './useWallet';
@@ -0,0 +1,5 @@
1
+ import { useWallets } from "./useWallets";
2
+ export function useWallet() {
3
+ const { activeWallet } = useWallets();
4
+ return activeWallet;
5
+ }
@@ -4,3 +4,4 @@
4
4
  * This module re-exports all wallet-related hooks for convenient importing.
5
5
  */
6
6
  export { useWallets } from './useWallets';
7
+ export { useWallet } from './useWallet';
@@ -0,0 +1 @@
1
+ export declare function useWallet(): import("../..").UserWallet | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openfort/react-native",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "license": "MIT",
6
6
  "description": "React Native SDK for Openfort platform integration",
7
7
  "scripts": {