@b3dotfun/sdk 0.0.40-alpha.15 → 0.0.40-alpha.17
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/cjs/anyspend/react/components/common/CryptoPaySection.js +1 -1
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +1 -1
- package/dist/esm/anyspend/react/components/common/CryptoPaySection.js +1 -1
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +1 -1
- package/package.json +1 -1
- package/src/anyspend/react/components/common/CryptoPaySection.tsx +1 -1
- package/src/global-account/react/components/B3Provider/B3Provider.tsx +1 -1
|
@@ -18,7 +18,7 @@ function CryptoPaySection({ selectedSrcChainId, setSelectedSrcChainId, selectedS
|
|
|
18
18
|
// Determine which address to use based on payment method
|
|
19
19
|
const walletAddress = selectedCryptoPaymentMethod === CryptoPaymentMethod_1.CryptoPaymentMethodType.GLOBAL_WALLET
|
|
20
20
|
? connectedSmartWallet?.getAccount()?.address
|
|
21
|
-
: connectedEOAWallet?.getAccount()?.address
|
|
21
|
+
: connectedEOAWallet?.getAccount()?.address;
|
|
22
22
|
const { data: profileData } = (0, react_1.useProfile)({ address: walletAddress });
|
|
23
23
|
const connectedName = profileData?.displayName;
|
|
24
24
|
// Add ref to track if we've applied metadata
|
|
@@ -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
|
|
@@ -15,7 +15,7 @@ export function CryptoPaySection({ selectedSrcChainId, setSelectedSrcChainId, se
|
|
|
15
15
|
// Determine which address to use based on payment method
|
|
16
16
|
const walletAddress = selectedCryptoPaymentMethod === CryptoPaymentMethodType.GLOBAL_WALLET
|
|
17
17
|
? connectedSmartWallet?.getAccount()?.address
|
|
18
|
-
: connectedEOAWallet?.getAccount()?.address
|
|
18
|
+
: connectedEOAWallet?.getAccount()?.address;
|
|
19
19
|
const { data: profileData } = useProfile({ address: walletAddress });
|
|
20
20
|
const connectedName = profileData?.displayName;
|
|
21
21
|
// Add ref to track if we've applied metadata
|
|
@@ -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
|
@@ -48,7 +48,7 @@ export function CryptoPaySection({
|
|
|
48
48
|
const walletAddress =
|
|
49
49
|
selectedCryptoPaymentMethod === CryptoPaymentMethodType.GLOBAL_WALLET
|
|
50
50
|
? connectedSmartWallet?.getAccount()?.address
|
|
51
|
-
: connectedEOAWallet?.getAccount()?.address
|
|
51
|
+
: connectedEOAWallet?.getAccount()?.address;
|
|
52
52
|
|
|
53
53
|
const { data: profileData } = useProfile({ address: walletAddress });
|
|
54
54
|
const connectedName = profileData?.displayName;
|
|
@@ -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
|