@b3dotfun/sdk 0.0.40-alpha.15 → 0.0.40-alpha.16
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.
|
@@ -68,7 +68,7 @@ function B3Provider({ theme = "light", children, accountOverride, environment, a
|
|
|
68
68
|
// coinbaseWallet({ appName: "HypeDuel" }),
|
|
69
69
|
],
|
|
70
70
|
}), [partnerId]);
|
|
71
|
-
return ((0, jsx_runtime_1.jsx)(react_3.ThirdwebProvider, { children: (0, jsx_runtime_1.jsx)(wagmi_1.WagmiProvider, { config: wagmiConfig,
|
|
71
|
+
return ((0, jsx_runtime_1.jsx)(react_3.ThirdwebProvider, { children: (0, jsx_runtime_1.jsx)(wagmi_1.WagmiProvider, { config: wagmiConfig, children: (0, jsx_runtime_1.jsx)(react_query_1.QueryClientProvider, { client: queryClient, children: (0, jsx_runtime_1.jsx)(react_1.TooltipProvider, { children: (0, jsx_runtime_1.jsx)(InnerProvider, { accountOverride: accountOverride, environment: environment, theme: theme, automaticallySetFirstEoa: !!automaticallySetFirstEoa, clientType: clientType, children: (0, jsx_runtime_1.jsxs)(react_1.RelayKitProviderWrapper, { simDuneApiKey: simDuneApiKey, children: [children, (0, jsx_runtime_1.jsx)(StyleRoot_1.StyleRoot, { id: "b3-root" }), (0, jsx_runtime_1.jsx)(sonner_1.Toaster, { theme: theme, position: toaster?.position, style: toaster?.style })] }) }) }) }) }) }));
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* Inner provider component that provides the actual B3Context
|
|
@@ -64,7 +64,7 @@ export function B3Provider({ theme = "light", children, accountOverride, environ
|
|
|
64
64
|
// coinbaseWallet({ appName: "HypeDuel" }),
|
|
65
65
|
],
|
|
66
66
|
}), [partnerId]);
|
|
67
|
-
return (_jsx(ThirdwebProvider, { children: _jsx(WagmiProvider, { config: wagmiConfig,
|
|
67
|
+
return (_jsx(ThirdwebProvider, { children: _jsx(WagmiProvider, { config: wagmiConfig, children: _jsx(QueryClientProvider, { client: queryClient, children: _jsx(TooltipProvider, { children: _jsx(InnerProvider, { accountOverride: accountOverride, environment: environment, theme: theme, automaticallySetFirstEoa: !!automaticallySetFirstEoa, clientType: clientType, children: _jsxs(RelayKitProviderWrapper, { simDuneApiKey: simDuneApiKey, children: [children, _jsx(StyleRoot, { id: "b3-root" }), _jsx(Toaster, { theme: theme, position: toaster?.position, style: toaster?.style })] }) }) }) }) }) }));
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Inner provider component that provides the actual B3Context
|
package/package.json
CHANGED
|
@@ -111,7 +111,7 @@ export function B3Provider({
|
|
|
111
111
|
|
|
112
112
|
return (
|
|
113
113
|
<ThirdwebProvider>
|
|
114
|
-
<WagmiProvider config={wagmiConfig}
|
|
114
|
+
<WagmiProvider config={wagmiConfig}>
|
|
115
115
|
<QueryClientProvider client={queryClient}>
|
|
116
116
|
<TooltipProvider>
|
|
117
117
|
<InnerProvider
|