@matchain/matchid-sdk-react 0.1.55 → 0.1.56-alpha.0
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/api.js.map +1 -1
- package/dist/api.mjs +2 -2
- package/dist/{chunk-PAXASLBR.mjs → chunk-FGJ25ONR.mjs} +6 -6
- package/dist/chunk-FGJ25ONR.mjs.map +1 -0
- package/dist/{chunk-6PWLEXC3.mjs → chunk-SG45XKMV.mjs} +2 -2
- package/dist/components.js +1 -1
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +1 -1
- package/example/package.json +3 -0
- package/example/src/App.tsx +7 -0
- package/example/src/pages/User/index.tsx +49 -4
- package/example/src/store/useStore.ts +14 -0
- package/example/yarn.lock +15 -0
- package/package.json +1 -1
- package/dist/chunk-PAXASLBR.mjs.map +0 -1
- /package/dist/{chunk-6PWLEXC3.mjs.map → chunk-SG45XKMV.mjs.map} +0 -0
package/dist/api.mjs
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
bind_exports,
|
|
3
3
|
poh_exports,
|
|
4
4
|
user_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SG45XKMV.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isSuccess,
|
|
8
8
|
wallet_exports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FGJ25ONR.mjs";
|
|
10
10
|
import "./chunk-JX73EY6V.mjs";
|
|
11
11
|
import "./chunk-UA6XHZHX.mjs";
|
|
12
12
|
import "./chunk-IZOOVZAD.mjs";
|
|
@@ -4365,7 +4365,7 @@ var messages = {
|
|
|
4365
4365
|
};
|
|
4366
4366
|
|
|
4367
4367
|
// src/MatchContext.tsx
|
|
4368
|
-
import { getDefaultConfig
|
|
4368
|
+
import { getDefaultConfig } from "@rainbow-me/rainbowkit";
|
|
4369
4369
|
import {
|
|
4370
4370
|
bitgetWallet,
|
|
4371
4371
|
injectedWallet,
|
|
@@ -4414,7 +4414,7 @@ var MatchProvider = ({
|
|
|
4414
4414
|
useWalletInit({
|
|
4415
4415
|
config: wallet
|
|
4416
4416
|
});
|
|
4417
|
-
return /* @__PURE__ */ jsx26(IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ jsx26(WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ jsx26(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx26(
|
|
4417
|
+
return /* @__PURE__ */ jsx26(IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ jsx26(WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ jsx26(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx26(
|
|
4418
4418
|
MatchContext.Provider,
|
|
4419
4419
|
{
|
|
4420
4420
|
value: {
|
|
@@ -4427,7 +4427,7 @@ var MatchProvider = ({
|
|
|
4427
4427
|
},
|
|
4428
4428
|
children: /* @__PURE__ */ jsx26(context_default, { children })
|
|
4429
4429
|
}
|
|
4430
|
-
) }) }) })
|
|
4430
|
+
) }) }) });
|
|
4431
4431
|
};
|
|
4432
4432
|
var useMatch = () => {
|
|
4433
4433
|
const context = useContext3(MatchContext);
|
|
@@ -5627,7 +5627,7 @@ function WalletModalContentV2(props) {
|
|
|
5627
5627
|
}
|
|
5628
5628
|
|
|
5629
5629
|
// src/components/EVMModal/index.tsx
|
|
5630
|
-
import { useConnectModal } from "@rainbow-me/rainbowkit";
|
|
5630
|
+
import { RainbowKitProvider as RainbowKitProvider2, useConnectModal } from "@rainbow-me/rainbowkit";
|
|
5631
5631
|
import { useAccount, useChainId, useConfig, useDisconnect } from "wagmi";
|
|
5632
5632
|
|
|
5633
5633
|
// src/hooks/useWalletBox.ts
|
|
@@ -6077,7 +6077,7 @@ function EVMConnectModal({
|
|
|
6077
6077
|
}), children: /* @__PURE__ */ jsx37(WalletContent, { onSuccess, type }) });
|
|
6078
6078
|
}
|
|
6079
6079
|
function EVMModal(props) {
|
|
6080
|
-
return props.isOpen && /* @__PURE__ */ jsx37(EVMConnectModal, { ...props });
|
|
6080
|
+
return props.isOpen && /* @__PURE__ */ jsx37(RainbowKitProvider2, { children: /* @__PURE__ */ jsx37(EVMConnectModal, { ...props }) });
|
|
6081
6081
|
}
|
|
6082
6082
|
|
|
6083
6083
|
// src/components/TRONModal/index.tsx
|
|
@@ -7618,4 +7618,4 @@ export {
|
|
|
7618
7618
|
MatchProvider,
|
|
7619
7619
|
useMatch
|
|
7620
7620
|
};
|
|
7621
|
-
//# sourceMappingURL=chunk-
|
|
7621
|
+
//# sourceMappingURL=chunk-FGJ25ONR.mjs.map
|