@coinlist-co/react 0.12.0 → 0.12.1-rc.0fa5c3b

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.
Files changed (31) hide show
  1. package/dist/{chunk-ZFBEI3BW.js → chunk-3EOK47CQ.js} +20 -330
  2. package/dist/chunk-3EOK47CQ.js.map +1 -0
  3. package/dist/{chunk-F6WGUKZC.js → chunk-I5EHOV7V.js} +129 -3
  4. package/dist/chunk-I5EHOV7V.js.map +1 -0
  5. package/dist/{chunk-6CQHDASY.js → chunk-VSYGGTI6.js} +1173 -156
  6. package/dist/chunk-VSYGGTI6.js.map +1 -0
  7. package/dist/client/index.cjs +8559 -7690
  8. package/dist/client/index.cjs.map +1 -1
  9. package/dist/client/index.d.cts +116 -48
  10. package/dist/client/index.d.ts +116 -48
  11. package/dist/client/index.js +4059 -4007
  12. package/dist/client/index.js.map +1 -1
  13. package/dist/{collections-DOm9VKVm.d.cts → collections-C6b-rJpx.d.ts} +1 -1
  14. package/dist/{collections-aCv-Wr2a.d.ts → collections-UYVlXbEh.d.cts} +1 -1
  15. package/dist/server/index.cjs +1291 -166
  16. package/dist/server/index.cjs.map +1 -1
  17. package/dist/server/index.d.cts +1 -1
  18. package/dist/server/index.d.ts +1 -1
  19. package/dist/server/index.js +5 -3
  20. package/dist/server/index.js.map +1 -1
  21. package/dist/{config-DIaFzrMW.d.cts → tokens-namespace-C-BxcYMj.d.cts} +362 -188
  22. package/dist/{config-DIaFzrMW.d.ts → tokens-namespace-C-BxcYMj.d.ts} +362 -188
  23. package/dist/universal/index.cjs +1103 -405
  24. package/dist/universal/index.cjs.map +1 -1
  25. package/dist/universal/index.d.cts +427 -45
  26. package/dist/universal/index.d.ts +427 -45
  27. package/dist/universal/index.js +16 -14
  28. package/package.json +1 -1
  29. package/dist/chunk-6CQHDASY.js.map +0 -1
  30. package/dist/chunk-F6WGUKZC.js.map +0 -1
  31. package/dist/chunk-ZFBEI3BW.js.map +0 -1
@@ -9,7 +9,6 @@ import {
9
9
  DEFAULT_ONDO_AMOUNT_TO_COMPUTE_PRICE,
10
10
  DEFAULT_ONDO_SELL_TOKENS_TO_COMPUTE_PRICE,
11
11
  DEFAULT_SLIPPAGE_BPS,
12
- ERC20_ABI,
13
12
  ONDO_POLL_INTERVAL_MS,
14
13
  ONDO_QUOTE_EXPIRY_THRESHOLD_MS,
15
14
  ONDO_SETTLEMENT_ASSET,
@@ -21,8 +20,8 @@ import {
21
20
  SLIPPAGE_OPTIONS_BPS,
22
21
  SUPERSTATE_ISSUER_NAME,
23
22
  SUPERSTATE_SUPPORTED_INPUT_ASSETS,
24
- SUPERSTATE_SWAP_ABI,
25
23
  SUPERSTATE_SWAP_CONTRACT_ADDRESS_SEPOLIA,
24
+ SWAP_LEVEL,
26
25
  SWAP_POLL_INTERVAL_MS,
27
26
  SwapQuote,
28
27
  TOKEN_REGISTRY,
@@ -41,10 +40,10 @@ import {
41
40
  decodeSwappedOutputAmount,
42
41
  formattedPricePerShare,
43
42
  generatePKCEParams,
44
- isStopped,
43
+ isSwapAvailable,
45
44
  superstateSwapContractAddress,
46
45
  swapSpender
47
- } from "../chunk-ZFBEI3BW.js";
46
+ } from "../chunk-3EOK47CQ.js";
48
47
  import {
49
48
  AllowWalletResponse,
50
49
  Asset,
@@ -65,6 +64,7 @@ import {
65
64
  Cursor,
66
65
  DecimalString,
67
66
  DocumentSubmission,
67
+ ERC20_ABI,
68
68
  ETHEREUM_CHAINS,
69
69
  Erc20NamespaceImpl,
70
70
  EthereumChain,
@@ -77,6 +77,7 @@ import {
77
77
  HexEncodedTransactionData,
78
78
  HttpError,
79
79
  InvariantError,
80
+ Isin,
80
81
  Iso2CountryCode,
81
82
  KnownAssetSymbol,
82
83
  KycToken,
@@ -111,6 +112,7 @@ import {
111
112
  Participation,
112
113
  ParticipationId,
113
114
  ParticipationsPaginationParams,
115
+ PauseFlags,
114
116
  Pii,
115
117
  PiiAddress,
116
118
  PiiJurisdiction,
@@ -120,17 +122,15 @@ import {
120
122
  RequirementsNamespaceImpl,
121
123
  SOLANA_CHAINS,
122
124
  STABLE_DECIMALS,
125
+ SUPERSTATE_SWAP_ABI,
123
126
  ShortenedWalletAddress,
124
127
  SolanaChain,
125
128
  StablecoinSymbol,
126
129
  SuperstateSwapNamespaceImpl,
127
- SwapAuthorization,
128
130
  SwapPreview,
129
131
  SwapStatus,
130
132
  TermItem,
131
133
  Ticker,
132
- TokenAllowance,
133
- TokenBalance,
134
134
  TokenLogo,
135
135
  TokenLogoUrl,
136
136
  TokenMetadata,
@@ -158,8 +158,9 @@ import {
158
158
  parseUint256,
159
159
  shortenAddress,
160
160
  txExplorerUrl,
161
- usdAmount
162
- } from "../chunk-6CQHDASY.js";
161
+ usdAmount,
162
+ viemChain
163
+ } from "../chunk-VSYGGTI6.js";
163
164
  export {
164
165
  AllowWalletResponse,
165
166
  Asset,
@@ -203,6 +204,7 @@ export {
203
204
  HexEncodedTransactionData,
204
205
  HttpError,
205
206
  InvariantError,
207
+ Isin,
206
208
  Iso2CountryCode,
207
209
  KnownAssetSymbol,
208
210
  KycToken,
@@ -243,6 +245,7 @@ export {
243
245
  Participation,
244
246
  ParticipationId,
245
247
  ParticipationsPaginationParams,
248
+ PauseFlags,
246
249
  Pii,
247
250
  PiiAddress,
248
251
  PiiJurisdiction,
@@ -259,20 +262,18 @@ export {
259
262
  SUPERSTATE_SUPPORTED_INPUT_ASSETS,
260
263
  SUPERSTATE_SWAP_ABI,
261
264
  SUPERSTATE_SWAP_CONTRACT_ADDRESS_SEPOLIA,
265
+ SWAP_LEVEL,
262
266
  SWAP_POLL_INTERVAL_MS,
263
267
  ShortenedWalletAddress,
264
268
  SolanaChain,
265
269
  StablecoinSymbol,
266
270
  SuperstateSwapNamespaceImpl,
267
- SwapAuthorization,
268
271
  SwapPreview,
269
272
  SwapQuote,
270
273
  SwapStatus,
271
274
  TOKEN_REGISTRY,
272
275
  TermItem,
273
276
  Ticker,
274
- TokenAllowance,
275
- TokenBalance,
276
277
  TokenLogo,
277
278
  TokenLogoUrl,
278
279
  TokenMetadata,
@@ -311,13 +312,14 @@ export {
311
312
  getChainId,
312
313
  getNetworkName,
313
314
  isChain,
314
- isStopped,
315
+ isSwapAvailable,
315
316
  parseBlockchainAmount,
316
317
  parseUint256,
317
318
  shortenAddress,
318
319
  superstateSwapContractAddress,
319
320
  swapSpender,
320
321
  txExplorerUrl,
321
- usdAmount
322
+ usdAmount,
323
+ viemChain
322
324
  };
323
325
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinlist-co/react",
3
- "version": "0.12.0",
3
+ "version": "0.12.1-rc.0fa5c3b",
4
4
  "description": "CoinList Partner SDK",
5
5
  "type": "module",
6
6
  "scripts": {