@matchain/matchid-sdk-react 0.1.44-alpha.1 → 0.1.44-alpha.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/dist/{chunk-KITTHHSR.mjs → chunk-7P4NHPH5.mjs} +4 -4
- package/dist/chunk-7P4NHPH5.mjs.map +1 -0
- package/dist/{chunk-L3G6YN2D.mjs → chunk-Z3USECNP.mjs} +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-KITTHHSR.mjs.map +0 -1
- /package/dist/{chunk-L3G6YN2D.mjs.map → chunk-Z3USECNP.mjs.map} +0 -0
|
@@ -3145,7 +3145,7 @@ function HashPanel_default(props) {
|
|
|
3145
3145
|
import { Fragment as Fragment5, jsx as jsx31, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3146
3146
|
function BusinessProvider({ children }) {
|
|
3147
3147
|
const { overview, token, refreshOverview } = useUserInfo();
|
|
3148
|
-
const { recoveryModal } = useStore_default();
|
|
3148
|
+
const { recoveryModal, walletReady } = useStore_default();
|
|
3149
3149
|
const { wallet: walletConfig } = useLocalStore_default();
|
|
3150
3150
|
const { generateEmbeddedWallets, initCore } = useWallet();
|
|
3151
3151
|
const { type: SOLType, isOpen: SOLIsOpen, close: SOLClose } = useSOLModalStore();
|
|
@@ -3156,7 +3156,7 @@ function BusinessProvider({ children }) {
|
|
|
3156
3156
|
const WalletModalStore = useWalletModalStore();
|
|
3157
3157
|
const { close: HashPanelClose, ...hashPanelProps } = useHashPanelStore();
|
|
3158
3158
|
useEffect17(() => {
|
|
3159
|
-
if (token && overview && !overview.address && overview.did && walletConfig.type == "Base") {
|
|
3159
|
+
if (token && overview && !overview.address && overview.did && walletConfig.type == "Base" && walletReady) {
|
|
3160
3160
|
const onGenerate = async () => {
|
|
3161
3161
|
const did = overview ? overview.did.split(":")[2] : "";
|
|
3162
3162
|
await initCore({
|
|
@@ -3172,7 +3172,7 @@ function BusinessProvider({ children }) {
|
|
|
3172
3172
|
};
|
|
3173
3173
|
onGenerate();
|
|
3174
3174
|
}
|
|
3175
|
-
}, [token, overview, walletConfig]);
|
|
3175
|
+
}, [token, overview, walletConfig, walletReady]);
|
|
3176
3176
|
const walletModalClose = (func) => {
|
|
3177
3177
|
WalletModalStore.close();
|
|
3178
3178
|
func();
|
|
@@ -4754,4 +4754,4 @@ export {
|
|
|
4754
4754
|
MatchProvider,
|
|
4755
4755
|
useMatch
|
|
4756
4756
|
};
|
|
4757
|
-
//# sourceMappingURL=chunk-
|
|
4757
|
+
//# sourceMappingURL=chunk-7P4NHPH5.mjs.map
|