@coinlist-co/react 0.10.0 → 0.10.1

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.
@@ -1,4 +1,4 @@
1
- import { d as BlockchainAmount, az as SwapPreview, G as AssetDecimals } from './requirement-CDi5NJI8.js';
1
+ import { d as BlockchainAmount, az as SwapPreview, G as AssetDecimals } from './requirement-oVZA1INj.js';
2
2
 
3
3
  /**
4
4
  * A read-only quote for a swap as domain amounts: how much goes in, the
@@ -1,4 +1,4 @@
1
- import { d as BlockchainAmount, az as SwapPreview, G as AssetDecimals } from './requirement-CDi5NJI8.cjs';
1
+ import { d as BlockchainAmount, az as SwapPreview, G as AssetDecimals } from './requirement-oVZA1INj.cjs';
2
2
 
3
3
  /**
4
4
  * A read-only quote for a swap as domain amounts: how much goes in, the
@@ -717,7 +717,11 @@ type CreateParticipationParams = {
717
717
  chain: Blockchain;
718
718
  /** Wallet address that funds the participation. */
719
719
  walletAddress: WalletAddress;
720
- /** Raw base-unit amount to participate with (e.g. `"100000000"` for 100 USDC with 6 decimals). */
720
+ /**
721
+ * Decimal token amount to participate with (e.g. `"100"` for 100 USDC), NOT
722
+ * raw base units. The backend rescales this by the asset's decimals to verify
723
+ * it against the on-chain approval allowance.
724
+ */
721
725
  amount: string;
722
726
  /** Funding asset id. */
723
727
  assetId: AssetId;
@@ -717,7 +717,11 @@ type CreateParticipationParams = {
717
717
  chain: Blockchain;
718
718
  /** Wallet address that funds the participation. */
719
719
  walletAddress: WalletAddress;
720
- /** Raw base-unit amount to participate with (e.g. `"100000000"` for 100 USDC with 6 decimals). */
720
+ /**
721
+ * Decimal token amount to participate with (e.g. `"100"` for 100 USDC), NOT
722
+ * raw base units. The backend rescales this by the asset's decimals to verify
723
+ * it against the on-chain approval allowance.
724
+ */
721
725
  amount: string;
722
726
  /** Funding asset id. */
723
727
  assetId: AssetId;