@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.
- package/dist/{chunk-GSSAB4K5.js → chunk-AQVCOWOV.js} +163 -69
- package/dist/chunk-AQVCOWOV.js.map +1 -0
- package/dist/{chunk-7BJ2HAG7.js → chunk-TBU3EBNM.js} +2 -2
- package/dist/{chunk-TUZKKFNW.js → chunk-UOHD7US2.js} +53 -34
- package/dist/chunk-UOHD7US2.js.map +1 -0
- package/dist/client/index.cjs +292 -295
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +5 -4
- package/dist/client/index.js.map +1 -1
- package/dist/{collections-ZYLKp8JB.d.ts → collections-Bv1Oxzu_.d.ts} +1 -1
- package/dist/{collections-CJ24dOda.d.cts → collections-DDyxbOPZ.d.cts} +1 -1
- package/dist/{requirement-CDi5NJI8.d.cts → requirement-oVZA1INj.d.cts} +5 -1
- package/dist/{requirement-CDi5NJI8.d.ts → requirement-oVZA1INj.d.ts} +5 -1
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -5
- package/dist/server/index.js.map +1 -1
- package/dist/shared/index.cjs.map +1 -1
- package/dist/shared/index.d.cts +4 -4
- package/dist/shared/index.d.ts +4 -4
- package/dist/shared/index.js +12 -92
- package/dist/shared/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-AAER5LOL.js +0 -22
- package/dist/chunk-AAER5LOL.js.map +0 -1
- package/dist/chunk-GSSAB4K5.js.map +0 -1
- package/dist/chunk-TUZKKFNW.js.map +0 -1
- /package/dist/{chunk-7BJ2HAG7.js.map → chunk-TBU3EBNM.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as BlockchainAmount, az as SwapPreview, G as AssetDecimals } from './requirement-
|
|
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-
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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;
|