@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 +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -443,13 +443,13 @@ type VolrClient = {
|
|
|
443
443
|
/**
|
|
444
444
|
* Get EVM client for a specific chain
|
|
445
445
|
* @param chainId - The chain ID to operate on
|
|
446
|
-
* @returns EVM client
|
|
446
|
+
* @returns EVM client with readContract, sendTransaction, sendBatch
|
|
447
447
|
*/
|
|
448
448
|
evm: (chainId: number) => EvmClient;
|
|
449
449
|
/**
|
|
450
450
|
* User's EVM wallet address
|
|
451
451
|
*/
|
|
452
|
-
|
|
452
|
+
evmAddress: `0x${string}` | undefined;
|
|
453
453
|
/**
|
|
454
454
|
* User's email (if logged in with email)
|
|
455
455
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -443,13 +443,13 @@ type VolrClient = {
|
|
|
443
443
|
/**
|
|
444
444
|
* Get EVM client for a specific chain
|
|
445
445
|
* @param chainId - The chain ID to operate on
|
|
446
|
-
* @returns EVM client
|
|
446
|
+
* @returns EVM client with readContract, sendTransaction, sendBatch
|
|
447
447
|
*/
|
|
448
448
|
evm: (chainId: number) => EvmClient;
|
|
449
449
|
/**
|
|
450
450
|
* User's EVM wallet address
|
|
451
451
|
*/
|
|
452
|
-
|
|
452
|
+
evmAddress: `0x${string}` | undefined;
|
|
453
453
|
/**
|
|
454
454
|
* User's email (if logged in with email)
|
|
455
455
|
*/
|
package/dist/index.js
CHANGED
|
@@ -18462,7 +18462,7 @@ function useVolr() {
|
|
|
18462
18462
|
);
|
|
18463
18463
|
return {
|
|
18464
18464
|
evm,
|
|
18465
|
-
|
|
18465
|
+
evmAddress: user?.evmAddress,
|
|
18466
18466
|
email: user?.email,
|
|
18467
18467
|
isLoggedIn: user !== null,
|
|
18468
18468
|
signerType: user?.signerType,
|