@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/hooks.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4099,7 +4099,7 @@ function EVMConnectModal({
|
|
|
4099
4099
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(WalletContent, { onSuccess, type }) });
|
|
4100
4100
|
}
|
|
4101
4101
|
function EVMModal(props) {
|
|
4102
|
-
return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(EVMConnectModal, { ...props });
|
|
4102
|
+
return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_rainbowkit.RainbowKitProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(EVMConnectModal, { ...props }) });
|
|
4103
4103
|
}
|
|
4104
4104
|
|
|
4105
4105
|
// src/components/TRONModal/index.tsx
|
|
@@ -8986,7 +8986,7 @@ var MatchProvider = ({
|
|
|
8986
8986
|
useWalletInit({
|
|
8987
8987
|
config: wallet
|
|
8988
8988
|
});
|
|
8989
|
-
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_intl23.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_wagmi3.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_query10.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
8989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_intl23.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_wagmi3.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_query10.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
8990
8990
|
MatchContext.Provider,
|
|
8991
8991
|
{
|
|
8992
8992
|
value: {
|
|
@@ -8999,7 +8999,7 @@ var MatchProvider = ({
|
|
|
8999
8999
|
},
|
|
9000
9000
|
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(context_default, { children })
|
|
9001
9001
|
}
|
|
9002
|
-
) }) }) })
|
|
9002
|
+
) }) }) });
|
|
9003
9003
|
};
|
|
9004
9004
|
var useMatch = () => {
|
|
9005
9005
|
const context = (0, import_react42.useContext)(MatchContext);
|