@volr/react 0.2.0 → 0.2.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.
- package/README.md +0 -1
- package/dist/index.cjs +0 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -7
- package/dist/index.d.ts +0 -7
- package/dist/index.js +0 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -10785,7 +10785,6 @@ function VolrProvider({ config, children }) {
|
|
|
10785
10785
|
);
|
|
10786
10786
|
const [isLoading, setIsLoading] = react.useState(true);
|
|
10787
10787
|
const [error, setError] = react.useState(null);
|
|
10788
|
-
const [chainId] = react.useState(config.defaultChainId);
|
|
10789
10788
|
const userRef = react.useRef(null);
|
|
10790
10789
|
react.useEffect(() => {
|
|
10791
10790
|
userRef.current = user;
|
|
@@ -10902,7 +10901,6 @@ function VolrProvider({ config, children }) {
|
|
|
10902
10901
|
safeStorage.removeItem(STORAGE_KEYS.user);
|
|
10903
10902
|
}
|
|
10904
10903
|
},
|
|
10905
|
-
chainId,
|
|
10906
10904
|
precheck,
|
|
10907
10905
|
relay,
|
|
10908
10906
|
logout,
|
|
@@ -10914,7 +10912,6 @@ function VolrProvider({ config, children }) {
|
|
|
10914
10912
|
user,
|
|
10915
10913
|
provider,
|
|
10916
10914
|
setProvider,
|
|
10917
|
-
chainId,
|
|
10918
10915
|
precheck,
|
|
10919
10916
|
relay,
|
|
10920
10917
|
logout,
|
|
@@ -19631,8 +19628,6 @@ function useVolr() {
|
|
|
19631
19628
|
);
|
|
19632
19629
|
return {
|
|
19633
19630
|
evm,
|
|
19634
|
-
evmAddress: user?.evmAddress,
|
|
19635
|
-
// deprecated, kept for backward compatibility
|
|
19636
19631
|
email: user?.email,
|
|
19637
19632
|
isLoggedIn: user !== null,
|
|
19638
19633
|
signerType: user?.signerType,
|