@volr/react 0.1.53 → 0.1.55

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/README.md CHANGED
@@ -29,7 +29,7 @@ function App() {
29
29
  }
30
30
 
31
31
  function YourApp() {
32
- const { evm, address, isLoggedIn, logout } = useVolr();
32
+ const { evm, evmAddress, isLoggedIn, logout } = useVolr();
33
33
 
34
34
  if (!isLoggedIn) {
35
35
  return <div>Please login</div>;
@@ -40,7 +40,7 @@ function YourApp() {
40
40
  address: '0x...',
41
41
  abi: erc20Abi,
42
42
  functionName: 'balanceOf',
43
- args: [address],
43
+ args: [evmAddress],
44
44
  });
45
45
 
46
46
  // Send transaction
@@ -70,7 +70,7 @@ Main hook for wallet operations.
70
70
  ```tsx
71
71
  const {
72
72
  evm, // (chainId: number) => EvmClient
73
- address, // `0x${string}` | undefined
73
+ evmAddress, // `0x${string}` | undefined
74
74
  email, // string | undefined
75
75
  isLoggedIn, // boolean
76
76
  signerType, // 'passkey' | 'external_wallet' | 'mpc' | undefined
package/dist/index.cjs CHANGED
@@ -18486,7 +18486,7 @@ function useVolr() {
18486
18486
  );
18487
18487
  return {
18488
18488
  evm,
18489
- address: user?.evmAddress,
18489
+ evmAddress: user?.evmAddress,
18490
18490
  email: user?.email,
18491
18491
  isLoggedIn: user !== null,
18492
18492
  signerType: user?.signerType,