@b3dotfun/sdk 0.0.40-alpha.23 → 0.0.40-alpha.24

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.
@@ -117,8 +117,7 @@ function useAnyspendFlow({ paymentType = "crypto", recipientAddress, loadOrder,
117
117
  dstChain: isDepositMode ? chains_1.base.id : selectedDstChainId, // For deposits, always Base; for swaps, use selected destination
118
118
  srcTokenAddress: paymentType === "fiat" ? anyspend_1.USDC_BASE.address : selectedSrcToken.address,
119
119
  dstTokenAddress: isDepositMode ? anyspend_1.B3_TOKEN.address : selectedSrcToken.address, // For deposits, always B3
120
- type: "swap",
121
- tradeType: "EXACT_INPUT",
120
+ type: "hype_duel",
122
121
  amount: activeInputAmountInWei,
123
122
  recipientAddress: selectedRecipientAddress,
124
123
  onrampVendor: paymentType === "fiat" ? getOnrampVendor(selectedFiatPaymentMethod) : undefined,
@@ -113,8 +113,7 @@ export function useAnyspendFlow({ paymentType = "crypto", recipientAddress, load
113
113
  dstChain: isDepositMode ? base.id : selectedDstChainId, // For deposits, always Base; for swaps, use selected destination
114
114
  srcTokenAddress: paymentType === "fiat" ? USDC_BASE.address : selectedSrcToken.address,
115
115
  dstTokenAddress: isDepositMode ? B3_TOKEN.address : selectedSrcToken.address, // For deposits, always B3
116
- type: "swap",
117
- tradeType: "EXACT_INPUT",
116
+ type: "hype_duel",
118
117
  amount: activeInputAmountInWei,
119
118
  recipientAddress: selectedRecipientAddress,
120
119
  onrampVendor: paymentType === "fiat" ? getOnrampVendor(selectedFiatPaymentMethod) : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.40-alpha.23",
3
+ "version": "0.0.40-alpha.24",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -163,8 +163,7 @@ export function useAnyspendFlow({
163
163
  dstChain: isDepositMode ? base.id : selectedDstChainId, // For deposits, always Base; for swaps, use selected destination
164
164
  srcTokenAddress: paymentType === "fiat" ? USDC_BASE.address : selectedSrcToken.address,
165
165
  dstTokenAddress: isDepositMode ? B3_TOKEN.address : selectedSrcToken.address, // For deposits, always B3
166
- type: "swap",
167
- tradeType: "EXACT_INPUT",
166
+ type: "hype_duel",
168
167
  amount: activeInputAmountInWei,
169
168
  recipientAddress: selectedRecipientAddress,
170
169
  onrampVendor: paymentType === "fiat" ? getOnrampVendor(selectedFiatPaymentMethod) : undefined,