@matchain/matchid-sdk-react 0.1.42-alpha.6 → 0.1.42-alpha.8
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-MRGV6YS3.mjs → chunk-FXRUBZOM.mjs} +37 -11
- package/dist/chunk-FXRUBZOM.mjs.map +1 -0
- package/dist/{chunk-XPTMBR7D.mjs → chunk-NFWID5ZW.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 +31 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-MRGV6YS3.mjs.map +0 -1
- /package/dist/{chunk-XPTMBR7D.mjs.map → chunk-NFWID5ZW.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -5591,19 +5591,45 @@ var MatchProvider = ({
|
|
|
5591
5591
|
theme = "light",
|
|
5592
5592
|
endpoints,
|
|
5593
5593
|
locale,
|
|
5594
|
-
wallet
|
|
5595
|
-
type: "UserPasscode"
|
|
5596
|
-
}
|
|
5594
|
+
wallet
|
|
5597
5595
|
}) => {
|
|
5598
|
-
const {
|
|
5596
|
+
const { login, endpoints: realEndPoints, locale: realLocale } = useInit({
|
|
5599
5597
|
theme,
|
|
5600
5598
|
appid,
|
|
5601
5599
|
events,
|
|
5602
5600
|
endpoints,
|
|
5603
5601
|
locale
|
|
5604
5602
|
});
|
|
5603
|
+
matchlog_default.log("config", {
|
|
5604
|
+
appid,
|
|
5605
|
+
events,
|
|
5606
|
+
theme,
|
|
5607
|
+
endpoints,
|
|
5608
|
+
locale,
|
|
5609
|
+
wallet
|
|
5610
|
+
});
|
|
5611
|
+
(0, import_react30.useEffect)(() => {
|
|
5612
|
+
console.log("appid", appid);
|
|
5613
|
+
}, [appid]);
|
|
5614
|
+
(0, import_react30.useEffect)(() => {
|
|
5615
|
+
console.log("events", events);
|
|
5616
|
+
}, [events]);
|
|
5617
|
+
(0, import_react30.useEffect)(() => {
|
|
5618
|
+
console.log("theme", theme);
|
|
5619
|
+
}, [theme]);
|
|
5620
|
+
(0, import_react30.useEffect)(() => {
|
|
5621
|
+
console.log("endpoints", endpoints);
|
|
5622
|
+
}, [endpoints]);
|
|
5623
|
+
(0, import_react30.useEffect)(() => {
|
|
5624
|
+
console.log("locale", locale);
|
|
5625
|
+
}, [locale]);
|
|
5626
|
+
(0, import_react30.useEffect)(() => {
|
|
5627
|
+
console.log("wallet", wallet);
|
|
5628
|
+
}, [wallet]);
|
|
5605
5629
|
useWalletInit({
|
|
5606
|
-
config: wallet
|
|
5630
|
+
config: wallet || {
|
|
5631
|
+
type: "UserPasscode"
|
|
5632
|
+
}
|
|
5607
5633
|
});
|
|
5608
5634
|
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_intl16.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_query2.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
5609
5635
|
MatchContext.Provider,
|