@b3dotfun/sdk 0.0.40-alpha.16 → 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.
|
@@ -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
|
|
@@ -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
|
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;
|