@b3dotfun/sdk 0.0.40-test.4 → 0.0.40-test.6
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.
|
@@ -62,7 +62,7 @@ function B3Provider({ theme = "light", children, accountOverride, environment, a
|
|
|
62
62
|
// coinbaseWallet({ appName: "HypeDuel" }),
|
|
63
63
|
],
|
|
64
64
|
}), [partnerId]);
|
|
65
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
65
|
+
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 })] }) }) }) }) }) }));
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Inner provider component that provides the actual B3Context
|
|
@@ -58,7 +58,7 @@ export function B3Provider({ theme = "light", children, accountOverride, environ
|
|
|
58
58
|
// coinbaseWallet({ appName: "HypeDuel" }),
|
|
59
59
|
],
|
|
60
60
|
}), [partnerId]);
|
|
61
|
-
return (_jsx(WagmiProvider, { config: wagmiConfig, children: _jsx(QueryClientProvider, { client: queryClient, children: _jsx(
|
|
61
|
+
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 })] }) }) }) }) }) }));
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Inner provider component that provides the actual B3Context
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@b3dotfun/sdk",
|
|
3
|
-
"version": "0.0.40-test.
|
|
3
|
+
"version": "0.0.40-test.6",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"react-native": "./dist/cjs/index.native.js",
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"react": "^18.0.0 || ^19.0.0",
|
|
331
331
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
332
332
|
"react-native-mmkv": "^3.2.0",
|
|
333
|
-
"thirdweb": "
|
|
333
|
+
"thirdweb": "5.106.0",
|
|
334
334
|
"three": "^0.175.0",
|
|
335
335
|
"viem": "^2.28.1",
|
|
336
336
|
"wagmi": "^2.14.15"
|
|
@@ -101,9 +101,9 @@ export function B3Provider({
|
|
|
101
101
|
);
|
|
102
102
|
|
|
103
103
|
return (
|
|
104
|
-
<
|
|
105
|
-
<
|
|
106
|
-
<
|
|
104
|
+
<ThirdwebProvider>
|
|
105
|
+
<WagmiProvider config={wagmiConfig}>
|
|
106
|
+
<QueryClientProvider client={queryClient}>
|
|
107
107
|
<TooltipProvider>
|
|
108
108
|
<InnerProvider
|
|
109
109
|
accountOverride={accountOverride}
|
|
@@ -120,9 +120,9 @@ export function B3Provider({
|
|
|
120
120
|
</RelayKitProviderWrapper>
|
|
121
121
|
</InnerProvider>
|
|
122
122
|
</TooltipProvider>
|
|
123
|
-
</
|
|
124
|
-
</
|
|
125
|
-
</
|
|
123
|
+
</QueryClientProvider>
|
|
124
|
+
</WagmiProvider>
|
|
125
|
+
</ThirdwebProvider>
|
|
126
126
|
);
|
|
127
127
|
}
|
|
128
128
|
|