@b3dotfun/sdk 0.0.1-alpha.11 → 0.0.1-alpha.12

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.
@@ -280,7 +280,7 @@ function AnySpend({ destinationTokenAddress, destinationTokenChainId, isMainnet
280
280
  // Set default recipient address when wallet changes
281
281
  (0, react_2.useEffect)(() => {
282
282
  setRecipientAddress(recipientAddressFromProps || globalAddress);
283
- }, [globalAddress]);
283
+ }, [recipientAddressFromProps, globalAddress]);
284
284
  // Get anyspend price
285
285
  const activeInputAmountInWei = isSrcInputDirty
286
286
  ? (0, viem_1.parseUnits)(srcAmount.replaceAll(",", ""), selectedSrcToken.decimals).toString()
@@ -273,7 +273,7 @@ export function AnySpend({ destinationTokenAddress, destinationTokenChainId, isM
273
273
  // Set default recipient address when wallet changes
274
274
  useEffect(() => {
275
275
  setRecipientAddress(recipientAddressFromProps || globalAddress);
276
- }, [globalAddress]);
276
+ }, [recipientAddressFromProps, globalAddress]);
277
277
  // Get anyspend price
278
278
  const activeInputAmountInWei = isSrcInputDirty
279
279
  ? parseUnits(srcAmount.replaceAll(",", ""), selectedSrcToken.decimals).toString()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.1-alpha.11",
3
+ "version": "0.0.1-alpha.12",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -376,7 +376,7 @@ export function AnySpend({
376
376
  // Set default recipient address when wallet changes
377
377
  useEffect(() => {
378
378
  setRecipientAddress(recipientAddressFromProps || globalAddress);
379
- }, [globalAddress]);
379
+ }, [recipientAddressFromProps, globalAddress]);
380
380
 
381
381
  // Get anyspend price
382
382
  const activeInputAmountInWei = isSrcInputDirty