@volr/react-ui 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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -70,7 +70,7 @@ After login, use `useVolr` to interact with the blockchain.
70
70
  import { useVolr } from '@volr/react-ui';
71
71
 
72
72
  function Example() {
73
- const { evm, address, isLoggedIn, logout } = useVolr();
73
+ const { evm, evmAddress, isLoggedIn, logout } = useVolr();
74
74
 
75
75
  if (!isLoggedIn) {
76
76
  return <LoginButton />;
@@ -89,7 +89,7 @@ function Example() {
89
89
 
90
90
  return (
91
91
  <div className="flex flex-col gap-4">
92
- <p className="text-sm text-gray-600">Wallet: {address}</p>
92
+ <p className="text-sm text-gray-600">Wallet: {evmAddress}</p>
93
93
  <div className="flex gap-2">
94
94
  <button onClick={handleTransfer} className="bg-blue-500 text-white rounded">
95
95
  Transfer
@@ -137,7 +137,7 @@ import { useVolr } from '@volr/react-ui';
137
137
 
138
138
  const {
139
139
  evm, // (chainId: number) => EvmClient
140
- address, // `0x${string}` | undefined
140
+ evmAddress, // `0x${string}` | undefined
141
141
  email, // string | undefined
142
142
  isLoggedIn, // boolean
143
143
  signerType, // 'passkey' | 'external_wallet' | 'mpc' | undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volr/react-ui",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "description": "Volr React UI - UI components for Volr built on top of @volr/react",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -75,8 +75,8 @@
75
75
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
76
76
  "dependencies": {
77
77
  "@noble/hashes": "^2.0.1",
78
- "@volr/react": "0.1.53",
79
- "@volr/sdk-core": "0.1.53",
78
+ "@volr/react": "0.1.55",
79
+ "@volr/sdk-core": "0.1.55",
80
80
  "axios": "^1.13.2",
81
81
  "class-variance-authority": "^0.7.1",
82
82
  "clsx": "^2.1.1",