@coinlist-co/react 0.12.1-rc.6b77fc6 → 0.12.1-rc.9aec85a

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,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, ButtonHTMLAttributes } from 'react';
3
- import { A as AuthorizationCode, C as CodeVerifier, L as Logger, W as WalletError, E as Erc20Namespace, a as EthereumChain, b as EvmContractAddress, B as BlockchainAmount, c as CoinListTokenSaleNamespace, O as OfferId, d as OfferOptionId, e as AssetId, P as Participation, f as CoinListTokenSaleNamespaceImpl, U as UniversalNamespaceContext, g as OndoNamespace, h as AssetSymbol, i as OfferSwapContract, j as OndoBuyTransaction, k as OndoSellTransaction, l as OndoSwapTransactionCore, m as OrderBookSide, n as OndoNamespaceImpl, S as SuperstateSwapNamespace, o as WalletsNamespace, p as Bps, q as EvmWalletAddress, r as SuperstateSwapNamespaceImpl, R as RequirementsNamespace, s as Requirement, t as RequirementsNamespaceImpl, u as Config, v as OAuthAccessToken, w as OffersNamespace, T as TokensNamespace, x as StablecoinSymbol, y as Erc20Asset, z as OfferDetail, D as TokenMetadata, F as OfferType, G as Offer, H as RequirementStatusInfo, I as RequirementType, J as RequirementStatusValue, K as OfferOptionAddress, M as RequirementId, N as KycLevelName, Q as DocumentSubmission, V as WalletChallengeType, X as PinoLoggerOptions, Y as OndoTradingStatus, Z as AssetDecimals, _ as BuildOndoBuyParams, $ as BuildOndoSellParams, a0 as OndoQuote, a1 as OndoQuoteSize, a2 as TokenIdentifier, a3 as OfferOptionAddressId, a4 as TokenLogo } from '../tokens-namespace-C-BxcYMj.js';
4
- export { a5 as DebugEvent, a6 as FrontlineEventId, a7 as HttpError, a8 as HttpResponse, a9 as KycToken, aa as LogBinding, ab as LogBindings, ac as LogCause, ad as LogLevel, ae as LogScope, af as LogValue, ag as ProductionLogLevel, ah as RedactedWalletError, ai as RequestId, aj as RpcFailureReason, ak as SafeEvent, al as SafeFields, am as UnredactedFields } from '../tokens-namespace-C-BxcYMj.js';
5
- import { P as PKCEConfig, E as EvmWallet, S as SwapQuote, A as AssetIconUrl, a as ShortenedWalletAddress, F as FormattedAmountAssetUi, b as FormattedPercentUi, T as TxExplorerUrl, C as ConnectWallet, N as NonEmptyArray } from '../collections-C6b-rJpx.js';
6
- export { B as BroadcastTxParams, c as EvmSigner, W as WriteContractParams } from '../collections-C6b-rJpx.js';
3
+ import { A as AuthorizationCode, C as CodeVerifier, L as Logger, W as WalletError, E as Erc20Namespace, a as EthereumChain, b as EvmContractAddress, B as BlockchainAmount, c as CoinListTokenSaleNamespace, O as OfferId, d as OfferOptionId, e as AssetId, P as Participation, f as CoinListTokenSaleNamespaceImpl, U as UniversalNamespaceContext, g as OndoNamespace, h as AssetSymbol, i as OfferSwapContract, j as OndoBuyTransaction, k as OndoSellTransaction, l as OndoSwapTransactionCore, m as OrderBookSide, n as OndoNamespaceImpl, S as SuperstateSwapNamespace, o as WalletsNamespace, p as Bps, q as EvmWalletAddress, r as SuperstateSwapNamespaceImpl, R as RequirementsNamespace, s as Requirement, t as RequirementsNamespaceImpl, u as Config, v as OAuthAccessToken, w as OffersNamespace, T as TokensNamespace, x as StablecoinSymbol, y as Erc20Asset, z as OfferDetail, D as TokenMetadata, F as OfferType, G as OndoSwapOfferDetail, H as CoinListTokenSaleOfferDetail, I as SuperstateSwapOfferDetail, J as Offer, K as RequirementStatusInfo, M as RequirementType, N as RequirementStatusValue, Q as OfferOptionAddress, V as RequirementId, X as KycLevelName, Y as DocumentSubmission, Z as WalletChallengeType, _ as PinoLoggerOptions, $ as OndoTradingStatus, a0 as AssetDecimals, a1 as BuildOndoBuyParams, a2 as BuildOndoSellParams, a3 as OndoQuote, a4 as OndoQuoteSize, a5 as TokenIdentifier, a6 as OfferOptionAddressId, a7 as TokenLogo } from '../tokens-namespace-CIWBtgt2.js';
4
+ export { a8 as DebugEvent, a9 as FrontlineEventId, aa as HttpError, ab as HttpResponse, ac as KycToken, ad as LogBinding, ae as LogBindings, af as LogCause, ag as LogLevel, ah as LogScope, ai as LogValue, aj as ProductionLogLevel, ak as RedactedWalletError, al as RequestId, am as RpcFailureReason, an as SafeEvent, ao as SafeFields, ap as UnredactedFields } from '../tokens-namespace-CIWBtgt2.js';
5
+ import { P as PKCEConfig, E as EvmWallet, S as SwapQuote, A as AssetIconUrl, a as ShortenedWalletAddress, F as FormattedAmountAssetUi, b as FormattedPercentUi, T as TxExplorerUrl, C as ConnectWallet, N as NonEmptyArray, c as TokenRegistrySnapshot } from '../token-registry-snapshot-BNBNuDu1.js';
6
+ export { B as BroadcastTxParams, d as EvmSigner, W as WriteContractParams } from '../token-registry-snapshot-BNBNuDu1.js';
7
7
  import { Hash } from 'viem';
8
8
  import * as class_variance_authority_types from 'class-variance-authority/types';
9
9
  import { VariantProps } from 'class-variance-authority';
@@ -1518,7 +1518,7 @@ type OndoCheckoutConfig = {
1518
1518
  * Called only for an `ondo::swap` offer, when that branch is mounted. A
1519
1519
  * Superstate or token-sale checkout never runs it.
1520
1520
  */
1521
- symbol: (offer: OfferDetail) => AssetSymbol;
1521
+ symbol: (offer: OndoSwapOfferDetail) => AssetSymbol;
1522
1522
  /**
1523
1523
  * Which way the trade runs: `buy` invests in the asset, `sell` liquidates a
1524
1524
  * holding of it.
@@ -1564,7 +1564,7 @@ type SuperstateCheckoutConfig = {
1564
1564
  * offers returns `null`.
1565
1565
  */
1566
1566
  type CoinListTokenSaleCheckoutConfig = {
1567
- render: (offer: OfferDetail) => ReactNode;
1567
+ render: (offer: CoinListTokenSaleOfferDetail) => ReactNode;
1568
1568
  };
1569
1569
  /**
1570
1570
  * The parts of {@link CheckoutConfig} only the host can know.
@@ -2109,7 +2109,7 @@ declare function OndoBuyOrderConfirmed({ state, onEvent, className, }: OndoOrder
2109
2109
 
2110
2110
  interface OndoBuyCheckoutContainerProps {
2111
2111
  /** The offer being bought: names the asset and supplies its logo. */
2112
- offer: OfferDetail;
2112
+ offer: OndoSwapOfferDetail;
2113
2113
  /**
2114
2114
  * Ondo's API symbol for the asset, e.g. `AAPLon`.
2115
2115
  *
@@ -2541,7 +2541,7 @@ declare function OndoSellOrderConfirmed({ state, onEvent, className, }: OndoSell
2541
2541
 
2542
2542
  interface OndoSellCheckoutContainerProps {
2543
2543
  /** The offer being sold: names the asset and supplies its logo. */
2544
- offer: OfferDetail;
2544
+ offer: OndoSwapOfferDetail;
2545
2545
  /**
2546
2546
  * Ondo's API symbol for the asset, e.g. `TSLAon`.
2547
2547
  *
@@ -3094,7 +3094,7 @@ declare function SuperstateReviewView(props: SuperstateReviewViewProps): ReactNo
3094
3094
 
3095
3095
  interface SuperstateSwapCheckoutContainerProps {
3096
3096
  /** The offer being bought: names the asset, the window and the minimum. */
3097
- offer: OfferDetail;
3097
+ offer: SuperstateSwapOfferDetail;
3098
3098
  /**
3099
3099
  * The chain the order executes on: the balance reads, the approval and the
3100
3100
  * swap. The swap contract is looked up from it, so a chain with none
@@ -3188,24 +3188,71 @@ interface SuperstateWalletViewProps {
3188
3188
  */
3189
3189
  declare function SuperstateWalletView(props: SuperstateWalletViewProps): ReactNode;
3190
3190
 
3191
+ /**
3192
+ * One image as an `<img>` renders it: a `src` for a consumer that takes a
3193
+ * single URL, and the `srcSet` candidates for one that also knows the size
3194
+ * it renders at. `srcSet` is absent for a vector logo and for the offer's own
3195
+ * artwork, neither of which offers the browser a choice.
3196
+ */
3197
+ type LogoImageUi = {
3198
+ src: string;
3199
+ srcSet?: string;
3200
+ };
3201
+ /**
3202
+ * The logo a catalogue card renders for an offer, with the registry's
3203
+ * dark-theme counterpart when it configures one.
3204
+ *
3205
+ * `dark` is `null` rather than absent so a renderer has to decide what to do
3206
+ * without one: fall back to `light`, which is the registry's own rule.
3207
+ */
3208
+ type OfferLogoUi = {
3209
+ light: LogoImageUi;
3210
+ dark: LogoImageUi | null;
3211
+ };
3212
+ declare const OfferLogoUi: {
3213
+ /**
3214
+ * The registry's logo for the token an offer is about, or the offer's own
3215
+ * artwork otherwise, or `null` when neither exists.
3216
+ *
3217
+ * The registry wins when both exist because it is the token's real artwork
3218
+ * where `Offer.logoUrl` is catalogue artwork, and because a swap publishes
3219
+ * without artwork more often than not - which is why `logoUrl` is `null`
3220
+ * on the swap variants.
3221
+ */
3222
+ fromOffer: (offer: {
3223
+ logoUrl: string | null;
3224
+ }, tokenMetadata: TokenMetadata | null) => OfferLogoUi | null;
3225
+ };
3226
+
3191
3227
  /**
3192
3228
  * An offer as {@link OfferAssetCard} renders it. Browse chrome: circular
3193
- * `logoUrl`, company `name`, and asset `symbol` (`asset.code`). No wordmark.
3194
- * `fromOffer` omits `name` and `symbol` — the list payload has neither — so a
3195
- * list-mapped card is honest about being logo-only. Prefer
3196
- * {@link OfferAssetCardUi.fromDetail} when the host has detail.
3229
+ * `logo`, `name`, and asset `symbol`. No wordmark.
3230
+ *
3231
+ * All three come from the public token registry when the caller hands over
3232
+ * the metadata of the token the offer is about. Without it, `fromOffer`
3233
+ * omits `name` and `symbol` - the list payload has neither - so a list-mapped
3234
+ * card is honest about being logo-only, and `fromDetail` reads them from the
3235
+ * detail payload (`name`, `asset.code`).
3197
3236
  */
3198
3237
  type OfferAssetCardUi = {
3199
3238
  id: OfferId;
3200
- /** Absent when the list payload has no display name. */
3239
+ /** Absent when neither the registry nor a detail payload names the offer. */
3201
3240
  name?: string;
3202
- /** Absent when the list payload has no asset. Display form of `asset.code`. */
3241
+ /** Absent when neither the registry nor a detail payload carries a ticker. */
3203
3242
  symbol?: string;
3204
- logoUrl: string;
3243
+ /** `null` when neither the registry nor the offer carries artwork. */
3244
+ logo: OfferLogoUi | null;
3205
3245
  };
3206
3246
  declare const OfferAssetCardUi: {
3207
- fromOffer: (offer: Offer) => OfferAssetCardUi;
3208
- fromDetail: (detail: OfferDetail) => OfferAssetCardUi;
3247
+ /**
3248
+ * `tokenMetadata` is the registry's entry for the token the offer is about
3249
+ * (`TokenRegistrySnapshot.forOffer`), or `null` when it lists none. The
3250
+ * registry names win over the offer's own where both exist: they are the
3251
+ * token's canonical name, ticker and artwork, where the offer's are
3252
+ * catalogue copy.
3253
+ */
3254
+ fromOffer: (offer: Offer, tokenMetadata?: TokenMetadata | null) => OfferAssetCardUi;
3255
+ fromDetail: (detail: OfferDetail, tokenMetadata?: TokenMetadata | null) => OfferAssetCardUi;
3209
3256
  };
3210
3257
 
3211
3258
  interface OffersAssetGridProps {
@@ -3230,6 +3277,104 @@ interface OffersAssetGridProps {
3230
3277
  */
3231
3278
  declare function OffersAssetGrid({ offers, onOfferClick, maxColumns, className, containerClassName, }: OffersAssetGridProps): ReactNode;
3232
3279
 
3280
+ /**
3281
+ * An offer as {@link OfferSaleCard} renders it. Countdown copy is derived in
3282
+ * the leaf from `startsAt` / `endsAt` so it can tick; the mapper does not
3283
+ * invent a price, FDV, unlock schedule, banner overlay, or wordmark.
3284
+ *
3285
+ * `name` and `logo` come from the public token registry when the caller
3286
+ * hands over the metadata of the token the offer is about, and from the
3287
+ * offer otherwise. The list payload carries no name, so `fromOffer` leaves
3288
+ * `name` absent without registry metadata - do not derive one from `slug`.
3289
+ * The card pairs `logo` with `name` as an h2 and renders each only when
3290
+ * present. Prefer {@link OfferSaleCardUi.fromDetail} when the host has a
3291
+ * name and no registry answer.
3292
+ *
3293
+ * `tagline` and `startsAt` are null for an offer that runs no sale window, an
3294
+ * Ondo swap: the card then omits the tagline and, with nothing to count down
3295
+ * to, reads as live.
3296
+ */
3297
+ type OfferSaleCardUi = {
3298
+ id: OfferId;
3299
+ /** Absent when neither the registry nor a detail payload names the offer. */
3300
+ name?: string;
3301
+ tagline: string | null;
3302
+ /** `null` when neither the registry nor the offer carries artwork. */
3303
+ logo: OfferLogoUi | null;
3304
+ startsAt: Date | null;
3305
+ endsAt: Date | null;
3306
+ };
3307
+ declare const OfferSaleCardUi: {
3308
+ /**
3309
+ * `tokenMetadata` is the registry's entry for the token the offer is about
3310
+ * (`TokenRegistrySnapshot.forOffer`), or `null` when it lists none. The
3311
+ * registry names win over the offer's own where both exist: they are the
3312
+ * token's canonical name and artwork, where the offer's are catalogue copy.
3313
+ */
3314
+ fromOffer: (offer: Offer, tokenMetadata?: TokenMetadata | null) => OfferSaleCardUi;
3315
+ fromDetail: (detail: OfferDetail, tokenMetadata?: TokenMetadata | null) => OfferSaleCardUi;
3316
+ };
3317
+
3318
+ type OffersGridUiState = {
3319
+ type: 'loading';
3320
+ } | {
3321
+ type: 'error';
3322
+ message: string;
3323
+ } | {
3324
+ type: 'empty';
3325
+ } | {
3326
+ type: 'content';
3327
+ offers: OfferSaleCardUi[];
3328
+ /** Whole card is clickable only when the host passed `onOfferClick`. View offer always shows. */
3329
+ interactive: boolean;
3330
+ };
3331
+ type OffersGridUiEvent = {
3332
+ type: 'ON_OFFER_CLICK';
3333
+ offerId: OfferId;
3334
+ };
3335
+
3336
+ /**
3337
+ * What the grid fetches, pre-fetched on the server instead. Each half is
3338
+ * independent: seed `offers` (via `CoinListServer#offers.list()`) and the
3339
+ * client still fetches the registry, seed `tokens` (via
3340
+ * `CoinListServer#tokens.list()`) and it still fetches the offers, seed both
3341
+ * and the grid makes no request of its own.
3342
+ */
3343
+ interface OffersGridData {
3344
+ offers?: Offer[];
3345
+ tokens?: TokenMetadata[];
3346
+ }
3347
+ interface UseOffersGridViewModelOptions {
3348
+ /** See {@link OffersGridData}. */
3349
+ data?: OffersGridData;
3350
+ /**
3351
+ * Default `true`. When `false` nothing is fetched, so the hook can be called
3352
+ * unconditionally while the grid is not needed yet.
3353
+ */
3354
+ enabled?: boolean;
3355
+ /** Called with the domain offer behind the card the user clicked. */
3356
+ onOfferClick?: (offer: Offer) => void;
3357
+ }
3358
+ interface UseOffersGridViewModelResult {
3359
+ state: OffersGridUiState;
3360
+ onEvent: (event: OffersGridUiEvent) => void;
3361
+ }
3362
+ /**
3363
+ * Drives {@link OffersGridView}: loads the offers and the public token
3364
+ * registry, formats each offer for its card - registry name and logo where
3365
+ * the registry lists its token, the offer's own fields otherwise - and
3366
+ * resolves a clicked card back to its domain offer for the host callback.
3367
+ *
3368
+ * The grid waits for both loads before showing content, so a card paints
3369
+ * once with its final artwork rather than flashing the catalogue logo and
3370
+ * then the registry's. A registry failure degrades rather than blanks: every
3371
+ * card falls back to the offer's own fields.
3372
+ *
3373
+ * Pass `enabled: false` to skip both fetches when the hook must be called but
3374
+ * the grid is not needed yet.
3375
+ */
3376
+ declare function useOffersGridViewModel(options?: UseOffersGridViewModelOptions): UseOffersGridViewModelResult;
3377
+
3233
3378
  interface OffersGridContainerProps {
3234
3379
  /** Maximum number of columns to render when horizontal space allows. */
3235
3380
  maxColumns?: number;
@@ -3246,11 +3391,12 @@ interface OffersGridContainerProps {
3246
3391
  /** Optional per-offer click handler; when omitted, cards are not clickable. */
3247
3392
  onOfferClick?: (offer: Offer) => void;
3248
3393
  /**
3249
- * Offers pre-fetched on the server (e.g. via `CoinListServer#offers.list()`).
3250
- * When provided, the component uses this data as-is and skips the client-side
3251
- * fetch entirely.
3394
+ * What the grid would otherwise fetch, pre-fetched on the server: `offers`
3395
+ * via `CoinListServer#offers.list()`, `tokens` via
3396
+ * `CoinListServer#tokens.list()`. Each half skips its own client-side
3397
+ * fetch; pass both for a grid that makes no request of its own.
3252
3398
  */
3253
- data?: Offer[];
3399
+ data?: OffersGridData;
3254
3400
  /**
3255
3401
  * Default `true`. When `false` nothing is fetched, so the container can be
3256
3402
  * mounted while the grid is not needed yet.
@@ -3259,13 +3405,15 @@ interface OffersGridContainerProps {
3259
3405
  }
3260
3406
  /**
3261
3407
  * Displays a responsive live-sale grid of {@link OfferSaleCard}, backed by
3262
- * {@link useOffersGridViewModel}. List offers have no display name — the card
3263
- * shows logo + tagline until the host maps from detail. For equities /
3408
+ * {@link useOffersGridViewModel}. Each card is named and illustrated by the
3409
+ * public token registry where it lists the offer's token, and by the offer's
3410
+ * own fields otherwise - list offers carry no display name, so an unlisted
3411
+ * one shows logo + tagline until the host maps from detail. For equities /
3264
3412
  * past-sales browse rows, compose {@link OffersAssetGrid} instead.
3265
3413
  *
3266
- * Pass `data` (pre-fetched server-side) to use that data as-is and skip the
3267
- * client-side fetch entirely. Pass `enabled={false}` to skip the fetch when
3268
- * the container is mounted but the grid is not needed yet. Uses the
3414
+ * Pass `data` (offers and tokens pre-fetched server-side) to use them as-is
3415
+ * and skip the client-side fetches. Pass `enabled={false}` to skip the fetches
3416
+ * when the container is mounted but the grid is not needed yet. Uses the
3269
3417
  * `loading` / `error` / `emptyState` slots when provided; otherwise renders
3270
3418
  * the standard fallbacks. Cards are interactive only when `onOfferClick` is
3271
3419
  * provided.
@@ -3275,48 +3423,6 @@ interface OffersGridContainerProps {
3275
3423
  */
3276
3424
  declare function OffersGridContainer({ data, onOfferClick, enabled, ...viewProps }?: OffersGridContainerProps): ReactNode;
3277
3425
 
3278
- /**
3279
- * An offer as {@link OfferSaleCard} renders it. Countdown copy is derived in
3280
- * the leaf from `startsAt` / `endsAt` so it can tick; the mapper does not
3281
- * invent a name, price, FDV, unlock schedule, banner overlay, or wordmark.
3282
- * `fromOffer` omits `name` because the list payload has none — do not derive
3283
- * one from `slug`, and do not expect a wordmark. The card pairs `logoUrl` with
3284
- * `name` as an h2 and renders the h2 only when the field is present. Prefer
3285
- * {@link OfferSaleCardUi.fromDetail} when the host has a name. Missing logo
3286
- * omits the icon — name and tagline only.
3287
- */
3288
- type OfferSaleCardUi = {
3289
- id: OfferId;
3290
- /** Absent when the list payload has no display name; only `fromDetail` sets it. */
3291
- name?: string;
3292
- tagline: string;
3293
- logoUrl: string;
3294
- startsAt: Date;
3295
- endsAt: Date | null;
3296
- };
3297
- declare const OfferSaleCardUi: {
3298
- fromOffer: (offer: Offer) => OfferSaleCardUi;
3299
- fromDetail: (detail: OfferDetail) => OfferSaleCardUi;
3300
- };
3301
-
3302
- type OffersGridUiState = {
3303
- type: 'loading';
3304
- } | {
3305
- type: 'error';
3306
- message: string;
3307
- } | {
3308
- type: 'empty';
3309
- } | {
3310
- type: 'content';
3311
- offers: OfferSaleCardUi[];
3312
- /** Whole card is clickable only when the host passed `onOfferClick`. View offer always shows. */
3313
- interactive: boolean;
3314
- };
3315
- type OffersGridUiEvent = {
3316
- type: 'ON_OFFER_CLICK';
3317
- offerId: OfferId;
3318
- };
3319
-
3320
3426
  interface OffersGridViewProps {
3321
3427
  state: OffersGridUiState;
3322
3428
  onEvent: (event: OffersGridUiEvent) => void;
@@ -3355,8 +3461,10 @@ interface OfferAssetCardProps {
3355
3461
  containerClassName?: string;
3356
3462
  }
3357
3463
  /**
3358
- * Light browse-row catalogue card. Self-scoped. Header is API `logoUrl`
3359
- * beside company `name` (h2) and asset `symbol` under it — not a wordmark.
3464
+ * Light browse-row catalogue card. Self-scoped. Header is the offer's `logo`
3465
+ * (the token registry's where it lists the token, with its dark-theme
3466
+ * variant, the catalogue's otherwise) beside `name` (h2) and asset `symbol`
3467
+ * under it — not a wordmark.
3360
3468
  * Responsive hug: tighter pad / logo / type below `md`, desktop keeps the
3361
3469
  * H4 + 48px logo row. Hosts compose this beside {@link OfferSaleCard}; the
3362
3470
  * card does not pick a variant itself.
@@ -3373,8 +3481,9 @@ interface OfferSaleCardProps {
3373
3481
  containerClassName?: string;
3374
3482
  }
3375
3483
  /**
3376
- * Dark live-sale catalogue card. Self-scoped. Header is API `logoUrl` beside
3377
- * the company `name` as an h2, then the tagline — not a wordmark. The same
3484
+ * Dark live-sale catalogue card. Self-scoped. Header is the offer's `logo`
3485
+ * (the token registry's where it lists the token, the catalogue's otherwise)
3486
+ * beside the `name` as an h2, then the tagline — not a wordmark. The same
3378
3487
  * logo is painted as a faint right-shifted watermark over the gradient.
3379
3488
  * Responsive hug layout; View offer always renders. No token price, FDV or unlock.
3380
3489
  */
@@ -3382,16 +3491,23 @@ declare function OfferSaleCard({ offer, onClick, className, containerClassName,
3382
3491
 
3383
3492
  type RequirementsChecklistUiState = {
3384
3493
  type: 'loading';
3385
- } | {
3386
- type: 'not-authenticated';
3494
+ title: string;
3495
+ description: string;
3387
3496
  } | {
3388
3497
  type: 'error';
3498
+ title: string;
3389
3499
  } | {
3390
3500
  type: 'content';
3391
3501
  title: string;
3392
3502
  description: string;
3393
3503
  items: RequirementsChecklistItemUi[];
3394
3504
  ineligible: boolean;
3505
+ /**
3506
+ * Unsupported jurisdiction, once the country is known. When set, the
3507
+ * description, rows, and Continue are replaced by this neutral banner.
3508
+ * Absent otherwise.
3509
+ */
3510
+ blockedMessage?: string;
3395
3511
  /** `null` when the host passed no `onContinue`, so no button is shown. */
3396
3512
  continueAction: {
3397
3513
  enabled: boolean;
@@ -3467,6 +3583,14 @@ type RequirementItemUi = {
3467
3583
  multiWallet: boolean;
3468
3584
  /** The user's connected wallets. Single-slot requirements have at most one. */
3469
3585
  connectedWallets: ConnectedWalletUi[];
3586
+ /** Absent means the shared verification sentences. */
3587
+ statusMessages?: {
3588
+ /** Absent for tax documentation: `in_progress` stays a required step. */
3589
+ pending?: string;
3590
+ completed: string;
3591
+ /** Full sentence. "Contact support" inside it is the support link. */
3592
+ rejected: string;
3593
+ };
3470
3594
  };
3471
3595
  declare const RequirementItemUi: {
3472
3596
  fromDomain(req: Requirement, statusInfo: RequirementStatusInfo | undefined, label: string, description: string, addresses?: OfferOptionAddress[]): RequirementItemUi;
@@ -3619,13 +3743,19 @@ interface RequirementItemProps {
3619
3743
  */
3620
3744
  walletsStatus?: WalletsStatus;
3621
3745
  onContactSupport?: (() => void) | null;
3746
+ /**
3747
+ * 16px under the open section, so its button does not sit on the next row's
3748
+ * divider. The last row omits this: the checklist's own gap is the space
3749
+ * before the footer.
3750
+ */
3751
+ spaceBeforeNextRow?: boolean;
3622
3752
  }
3623
3753
  /**
3624
3754
  * A single requirement row (label, status, expandable action zone). Self-scoped:
3625
3755
  * renders fully styled on its own, with no `CoinListStyleScope` needed. Also composed
3626
3756
  * by {@link RequirementsChecklist}.
3627
3757
  */
3628
- declare function RequirementItem({ ui, expanded, onToggle, className, onAction, onRemoveWallet, walletsStatus, onContactSupport, }: RequirementItemProps): react.JSX.Element;
3758
+ declare function RequirementItem({ ui, expanded, onToggle, className, onAction, onRemoveWallet, walletsStatus, onContactSupport, spaceBeforeNextRow, }: RequirementItemProps): react.JSX.Element;
3629
3759
 
3630
3760
  type LoadRequirementsReason = 'not-authenticated' | 'generic-error';
3631
3761
  type LoadRequirementsState = {
@@ -3721,12 +3851,8 @@ interface RequirementsChecklistContainerProps {
3721
3851
  /** Optional loading slot. */
3722
3852
  loading?: ReactNode;
3723
3853
  /**
3724
- * Rendered when the user is not authenticated. Defaults to
3725
- * {@link CoinListSignInCardContainer}, which prompts the user to sign in and starts
3726
- * the CoinList OAuth flow. Pass `null` to render nothing.
3854
+ * Replaces the error banner under the title. The title still renders.
3727
3855
  */
3728
- unauthenticatedState?: ReactNode;
3729
- /** Optional error slot. */
3730
3856
  error?: ReactNode;
3731
3857
  className?: string;
3732
3858
  /**
@@ -3765,9 +3891,8 @@ interface RequirementsChecklistContainerProps {
3765
3891
  * initial client-side fetch. Pass `enabled={false}` to skip fetches when the
3766
3892
  * container is mounted but the checklist is not needed yet.
3767
3893
  *
3768
- * When the user is not authenticated, renders a sign-in card instead of the
3769
- * checklist - without fetching. Pass `unauthenticatedState` to customize that
3770
- * state, or `null` to render nothing.
3894
+ * A logged-out session renders the error state and does not fetch. The host
3895
+ * should not mount the checklist when it already knows the user is logged out.
3771
3896
  *
3772
3897
  * By default, clicking a requirement's action button opens the corresponding
3773
3898
  * CoinList page in a new tab via {@link CoinListClient#requirements.handle}. It
@@ -3777,26 +3902,21 @@ interface RequirementsChecklistContainerProps {
3777
3902
  *
3778
3903
  * Self-scoped: renders fully styled on its own, with no `CoinListStyleScope` needed.
3779
3904
  */
3780
- declare function RequirementsChecklistContainer({ loading, error, unauthenticatedState, className, enabled, ...options }: RequirementsChecklistContainerProps): ReactNode;
3905
+ declare function RequirementsChecklistContainer({ loading, error, className, enabled, ...options }: RequirementsChecklistContainerProps): ReactNode;
3781
3906
 
3782
3907
  interface RequirementsChecklistViewProps {
3783
3908
  state: RequirementsChecklistUiState;
3784
3909
  onEvent: (event: RequirementsChecklistUiEvent) => void;
3785
3910
  /** Optional loading slot. */
3786
3911
  loading?: ReactNode;
3787
- /** Optional error slot. */
3912
+ /** Replaces the error banner under the title. The title still renders. */
3788
3913
  error?: ReactNode;
3789
- /**
3790
- * Rendered when the user is not authenticated. Nothing is rendered when
3791
- * omitted; `RequirementsChecklistContainer` passes a connected sign-in card.
3792
- */
3793
- unauthenticatedState?: ReactNode;
3794
3914
  className?: string;
3795
3915
  }
3796
3916
  /**
3797
- * Renders the requirements checklist: its header, one row per requirement, the
3798
- * eligibility banner and the continue action. Pure: the rows arrive already
3799
- * shaped in `state`, and every interaction leaves through `onEvent`.
3917
+ * Renders the requirements checklist: its header, one row per requirement, and
3918
+ * the continue row. Pure: the rows arrive already shaped in `state`, and every
3919
+ * interaction leaves through `onEvent`.
3800
3920
  *
3801
3921
  * The flows the checklist can open (tax document, wallet connect, identity
3802
3922
  * verification) are composed by `RequirementsChecklistContainer`, which owns
@@ -4470,7 +4590,7 @@ interface UseOndoBuyReviewViewModelOptions {
4470
4590
  * agrees with the reference panel beside it and a dropped poll cannot leave
4471
4591
  * the review unable to say what was bought.
4472
4592
  */
4473
- offer: OfferDetail;
4593
+ offer: OndoSwapOfferDetail;
4474
4594
  /**
4475
4595
  * Registry metadata for the bought asset; `null` falls back to the offer's
4476
4596
  * logo.
@@ -4500,10 +4620,8 @@ interface UseOndoBuyReviewViewModelResult {
4500
4620
  * price holds, and placing it.
4501
4621
  *
4502
4622
  * The quote is firm and short-lived, so most of this is about time. The
4503
- * countdown drives the line above the CTA, and a quote inside
4504
- * {@link ONDO_QUOTE_EXPIRY_THRESHOLD_MS} of its deadline is treated as already
4505
- * gone: placing an order is not instant, and a transaction that arrives after
4506
- * the deadline reverts at the user's expense.
4623
+ * countdown drives the line above the CTA. The SDK offers the quote for at
4624
+ * most {@link ONDO_QUOTE_MAX_TTL_MS}.
4507
4625
  *
4508
4626
  * Refreshing is always something the user asks for. Each refresh builds a new
4509
4627
  * transaction, which spends an attestation, so nothing here is on a timer.
@@ -4538,7 +4656,7 @@ interface UseOndoBuyCheckoutViewModelOptions {
4538
4656
  * Fixed for the lifetime of the hook — see the note on
4539
4657
  * {@link useOndoBuyCheckoutViewModel} about switching offers.
4540
4658
  */
4541
- offer: OfferDetail;
4659
+ offer: OndoSwapOfferDetail;
4542
4660
  /**
4543
4661
  * Ondo's API symbol for the asset, e.g. `AAPLon`.
4544
4662
  *
@@ -4673,7 +4791,7 @@ interface UseOndoSellAmountViewModelOptions {
4673
4791
  * The offer being sold: supplies the asset's display name and its fallback
4674
4792
  * artwork.
4675
4793
  */
4676
- offer: OfferDetail;
4794
+ offer: OndoSwapOfferDetail;
4677
4795
  /**
4678
4796
  * Registry metadata for the sold asset; `null` falls back to the offer's
4679
4797
  * logo.
@@ -4864,10 +4982,9 @@ interface UseOndoSellReviewViewModelResult {
4864
4982
  * long the price holds, and placing it.
4865
4983
  *
4866
4984
  * The same shape as its buy counterpart, and the same reasoning about time: the
4867
- * quote is firm and short-lived, a quote inside
4868
- * {@link ONDO_QUOTE_EXPIRY_THRESHOLD_MS} of its deadline is treated as already
4869
- * gone, and refreshing is always something the user asks for because each
4870
- * refresh spends an attestation.
4985
+ * SDK offers the quote for at most {@link ONDO_QUOTE_MAX_TTL_MS}, and
4986
+ * refreshing is always something the user asks for because each refresh spends
4987
+ * an attestation.
4871
4988
  *
4872
4989
  * What differs is what it reads off the transaction. A sale has no
4873
4990
  * `notionalValue` and therefore no total to render; it publishes an expected
@@ -4912,7 +5029,7 @@ interface UseOndoSellCheckoutViewModelOptions {
4912
5029
  * Fixed for the lifetime of the hook — see the note on
4913
5030
  * {@link useOndoSellCheckoutViewModel} about switching offers.
4914
5031
  */
4915
- offer: OfferDetail;
5032
+ offer: OndoSwapOfferDetail;
4916
5033
  /**
4917
5034
  * Ondo's API symbol for the asset, e.g. `TSLAon`.
4918
5035
  *
@@ -5137,7 +5254,7 @@ declare function useOndoTradingStatus(options: UseOndoTradingStatusOptions): Use
5137
5254
 
5138
5255
  interface UseOndoSidebarViewModelOptions {
5139
5256
  /** Where the asset's identity comes from: name and logo. */
5140
- offer: OfferDetail;
5257
+ offer: OndoSwapOfferDetail;
5141
5258
  /** Ondo's API symbol, e.g. `AAPLon`. */
5142
5259
  ondoSymbol: AssetSymbol;
5143
5260
  /** The chain the order executes on, and so the network shown. */
@@ -5304,7 +5421,9 @@ interface UseCheckoutOfferTokenMetadataResult {
5304
5421
  * its chain; a `distribution` entry names the same token for a sale product,
5305
5422
  * so it is accepted as the fallback. `funding` entries name what a swap is
5306
5423
  * paid with, never what it sells, so they are skipped — the funding row has
5307
- * its own icon source in `stablecoinIconUrl`.
5424
+ * its own icon source in `stablecoinIconUrl`. That ordering is
5425
+ * `offerDisplayTokens`', shared with the catalogue's any-chain lookup; the
5426
+ * checkout adds only the chain it executes on.
5308
5427
  */
5309
5428
  declare function offerTokenIdentifier(offer: OfferDetail, chain: EthereumChain): TokenIdentifier | null;
5310
5429
  /**
@@ -5503,7 +5622,7 @@ declare function useSwapQuote(options: UseSwapQuoteOptions): UseSwapQuoteResult;
5503
5622
 
5504
5623
  interface UseSuperstateSidebarViewModelOptions {
5505
5624
  /** The offer being bought: names the asset, the window and the minimum. */
5506
- offer: OfferDetail;
5625
+ offer: SuperstateSwapOfferDetail;
5507
5626
  /** The chain the token lives on, which names the network row. */
5508
5627
  chain: EthereumChain;
5509
5628
  /**
@@ -5567,7 +5686,7 @@ interface UseSuperstateSwapCheckoutViewModelOptions {
5567
5686
  * Fixed for the lifetime of the hook — see the note on
5568
5687
  * {@link useSuperstateSwapCheckoutViewModel} about switching offers.
5569
5688
  */
5570
- offer: OfferDetail;
5689
+ offer: SuperstateSwapOfferDetail;
5571
5690
  /**
5572
5691
  * The chain the order executes on: the balance reads, the approval and the
5573
5692
  * swap. The swap contract is looked up from it; a chain with none deployed
@@ -5753,33 +5872,6 @@ interface UseOffersResult {
5753
5872
  */
5754
5873
  declare function useOffers(options?: UseOffersOptions): UseOffersResult;
5755
5874
 
5756
- interface UseOffersGridViewModelOptions {
5757
- /**
5758
- * Offers pre-fetched on the server (e.g. via `CoinListServer#offers.list()`).
5759
- * When provided, the client-side fetch is skipped entirely.
5760
- */
5761
- data?: Offer[];
5762
- /**
5763
- * Default `true`. When `false` nothing is fetched, so the hook can be called
5764
- * unconditionally while the grid is not needed yet.
5765
- */
5766
- enabled?: boolean;
5767
- /** Called with the domain offer behind the card the user clicked. */
5768
- onOfferClick?: (offer: Offer) => void;
5769
- }
5770
- interface UseOffersGridViewModelResult {
5771
- state: OffersGridUiState;
5772
- onEvent: (event: OffersGridUiEvent) => void;
5773
- }
5774
- /**
5775
- * Drives {@link OffersGridView}: loads the offers, formats them for the cards,
5776
- * and resolves a clicked card back to its domain offer for the host callback.
5777
- *
5778
- * Pass `enabled: false` to skip the fetch when the hook must be called but
5779
- * the grid is not needed yet.
5780
- */
5781
- declare function useOffersGridViewModel(options?: UseOffersGridViewModelOptions): UseOffersGridViewModelResult;
5782
-
5783
5875
  /**
5784
5876
  * A display-ready connect-wallet error: the core flow's machine-readable code
5785
5877
  * and `retryable` flag, plus copy for the UI.
@@ -6222,6 +6314,65 @@ interface UseErc20TokenBalancesResult {
6222
6314
  */
6223
6315
  declare function useErc20TokenBalances(options: UseErc20TokenBalancesOptions): UseErc20TokenBalancesResult;
6224
6316
 
6317
+ /**
6318
+ * The state of a token-registry snapshot load.
6319
+ *
6320
+ * `CONTENT` holds the whole snapshot, indexed: ask it
6321
+ * `TokenRegistrySnapshot.forOffer(registry, offer)` per card. `ERROR` means
6322
+ * the snapshot could not be read - the registry always publishes it, so this
6323
+ * is an outage or a blocked request, and callers render their own display
6324
+ * defaults for every offer rather than nothing. `DISABLED` means the hook was
6325
+ * switched off before an answer arrived, so there is nothing to render a
6326
+ * loading UI for. No `not-authenticated` reason: the registry is public.
6327
+ */
6328
+ type LoadTokenRegistryState = {
6329
+ type: 'DISABLED';
6330
+ } | {
6331
+ type: 'LOADING';
6332
+ } | {
6333
+ type: 'ERROR';
6334
+ reason: 'generic-error';
6335
+ } | {
6336
+ type: 'CONTENT';
6337
+ registry: TokenRegistrySnapshot;
6338
+ };
6339
+ interface UseTokenRegistryOptions {
6340
+ /**
6341
+ * The snapshot pre-fetched on the server (via `CoinListServer#tokens.list()`).
6342
+ * When provided, the hook indexes it as-is and skips the initial
6343
+ * client-side fetch; {@link UseTokenRegistryResult.refetch} still fetches.
6344
+ */
6345
+ data?: TokenMetadata[];
6346
+ /** When false: no request; see {@link LoadTokenRegistryState}. Default true. */
6347
+ enabled?: boolean;
6348
+ }
6349
+ interface UseTokenRegistryResult {
6350
+ state: LoadTokenRegistryState;
6351
+ /**
6352
+ * Fetches again: the recovery path after a transient `ERROR`, and the way
6353
+ * past a server seed (`data`), which only the first fetch honours. No-op
6354
+ * while disabled.
6355
+ */
6356
+ refetch: () => void;
6357
+ }
6358
+ /**
6359
+ * Loads the complete public token registry - every token on every chain the
6360
+ * SDK models, in one request - and indexes it for per-offer lookups. This is
6361
+ * what a catalogue mounts once, where `useTokenMetadata` is what a single
6362
+ * screen mounts for one token.
6363
+ *
6364
+ * No polling: registry content is immutable per version, so the answer does
6365
+ * not change under the page. `refetch` exists for error recovery and for
6366
+ * bypassing a server seed, not for freshness.
6367
+ *
6368
+ * Disabled without an answer in hand it reports `DISABLED` rather than
6369
+ * `LOADING` (nothing is in flight, so a spinner would wait forever) and
6370
+ * rather than an empty `CONTENT` (an empty snapshot asserts "the registry
6371
+ * lists nothing" - an answer this hook would not actually have). A seeded or
6372
+ * already-fetched `CONTENT` survives disabling.
6373
+ */
6374
+ declare function useTokenRegistry(options?: UseTokenRegistryOptions): UseTokenRegistryResult;
6375
+
6225
6376
  interface UseCoinListResult {
6226
6377
  /**
6227
6378
  * Indicates whether the CoinList client has been initialized and ready to use.
@@ -6274,11 +6425,12 @@ declare function stablecoinIconUrl(symbol: StablecoinSymbol): AssetIconUrl;
6274
6425
  * The artwork an offer carries for the asset it sells, or `null` where it
6275
6426
  * carries none.
6276
6427
  *
6277
- * Frontline publishes a missing logo as an empty string rather than omitting
6278
- * the field, so the absent case has to be recognised rather than merely
6279
- * falsy-checked into a `""` that renders as a broken image. Every consumer
6280
- * wants the same answer, and writing the convention out at each of them is how
6281
- * one of them ends up disagreeing.
6428
+ * A swap publishes without artwork, which `OfferDetail.fromDto` maps to
6429
+ * `null`. The empty string frontline has sent in its place is recognised here
6430
+ * too, because an `OfferDetail` need not have come through `fromDto` - a host
6431
+ * may build one - and a `""` that reaches an `<img>` renders as a broken
6432
+ * image. Every consumer wants the same answer, and writing the convention out
6433
+ * at each of them is how one of them ends up disagreeing.
6282
6434
  *
6283
6435
  * Absence is ordinary, not an error: `AssetIcon` renders a neutral placeholder
6284
6436
  * for `null`, which is what the offers grid already does.
@@ -6301,6 +6453,29 @@ declare function offerIconUrl(offer: OfferDetail): AssetIconUrl | null;
6301
6453
  * edge length `AssetIcon` renders a checkout asset at.
6302
6454
  */
6303
6455
  declare function tokenLogoUrl(logo: TokenLogo, minWidth?: number): AssetIconUrl | null;
6456
+ /**
6457
+ * The `srcset` candidates for a registry logo, or `null` when the browser has
6458
+ * nothing to choose between.
6459
+ *
6460
+ * A raster logo ships webp variants at ascending widths (32, 64, 128, 256,
6461
+ * 512, capped at the source width), and listing every one with its width
6462
+ * descriptor lets the browser pick the smallest that covers the rendered size
6463
+ * at the screen's pixel density - a choice `tokenLogoUrl` can only make for
6464
+ * one width, and only at 1x. The registry's contract is that the variants
6465
+ * *are* the complete candidate list and the original is never merged in: the
6466
+ * largest variant already is the original's width (capped at 512), sharing
6467
+ * its URL below that. Candidates are listed by ascending width whatever order
6468
+ * the wire used. A vector logo scales itself and offers no candidates.
6469
+ *
6470
+ * A raster logo with no variants is unrepresentable under that contract, but
6471
+ * the type allows it, so the original stands in as the one candidate rather
6472
+ * than an empty `srcset` that would render nothing.
6473
+ *
6474
+ * The companion of `tokenLogoUrl`, not a replacement: `src` still carries the
6475
+ * one-width answer for a consumer that takes a single URL, and `srcset` is
6476
+ * only ever meaningful next to a `sizes` the renderer knows.
6477
+ */
6478
+ declare function tokenLogoSrcSet(logo: TokenLogo): string | null;
6304
6479
  /**
6305
6480
  * The artwork a checkout shows for the asset an offer sells.
6306
6481
  *
@@ -6414,4 +6589,4 @@ interface UseCountdownOptions {
6414
6589
  */
6415
6590
  declare function useCountdown({ until, tickMs, enabled, }: UseCountdownOptions): number | null;
6416
6591
 
6417
- export { type AuthState, type AuthorizeWalletParams, ChecklistStatus, CheckoutAssetUi, type CheckoutConfig, type CheckoutConfirmedWalletUi, CheckoutContainer, type CheckoutContainerProps, type CheckoutCtaUi, type CheckoutEmbeddedWalletUi, type CheckoutNetworkUi, type CheckoutSelectableInputAssetUi, type CheckoutStatusUi, type CheckoutWalletSelection, type CheckoutWalletTypeUi, type CheckoutWalletUi, type ClientAuthConfig, type ClientAuthNamespace, ClientAuthNamespaceImpl, type ClientAuthSession, type ClientCoinListTokenSaleNamespace, ClientCoinListTokenSaleNamespaceImpl, type ClientConfig, type ClientOndoNamespace, ClientOndoNamespaceImpl, type ClientRequirementsNamespace, ClientRequirementsNamespaceImpl, type ClientSuperstateSwapNamespace, ClientSuperstateSwapNamespaceImpl, type ClientSupportNamespace, ClientSupportNamespaceImpl, type CoinListClient, CoinListClientInitializationError, CoinListContext, CoinListContextProvider, type CoinListContextValue, CoinListProvider, type CoinListProviderProps, CoinListSignInButton, CoinListSignInCardContainer, type CoinListSignInCardContainerProps, type CoinListSignInCardUiEvent, type CoinListSignInCardUiState, CoinListSignInCardView, type CoinListSignInCardViewProps, CoinListStyleScope, type CoinListStyleScopeProps, type CoinListTokenSaleCheckoutConfig, type CompleteOAuthFailureReason, ConnectWallet, type ConnectWalletError, type ConnectWalletErrorCode, type ConnectWalletFlowError, type ConnectWalletFlowParams, type ConnectWalletFlowResult, ConnectWalletModalContainer, type ConnectWalletModalContainerProps, type ConnectWalletModalUiEvent, type ConnectWalletModalUiState, ConnectWalletModalView, type ConnectWalletModalViewProps, type ConnectWalletPhase, type ConnectWalletScreenUi, type ConnectWalletSignState, type ConnectWalletState, ConnectedWalletList, type ConnectedWalletListProps, type ConnectedWalletUi, ERC20_BALANCE_POLL_INTERVAL_MS, type Erc20AllowanceError, type Erc20AllowancePhase, type Erc20AllowanceResult, type Erc20ApprovalError, EvmWallet, type ExecuteOndoSwapParams, type ExecuteSwapParams, type ExecuteTokenSaleParams, IdentityVerificationContainer, type IdentityVerificationContainerProps, type IdentityVerificationUiEvent, type IdentityVerificationUiState, IdentityVerificationView, type IdentityVerificationViewProps, KycLevelName, type KycTokenErrorReason, type KycTokenState, type LoadOfferDetailsReason, type LoadOfferDetailsState, type LoadOffersReason, type LoadOffersState, type LoadOndoBuyTransactionState, type LoadOndoPriceState, type LoadOndoSellTransactionState, type LoadOndoTradingStatusState, type LoadOptionAddressesReason, type LoadOptionAddressesState, type LoadParticipationsReason, type LoadParticipationsState, type LoadRequirementsReason, type LoadRequirementsState, type LoadTokenMetadataState, Logger, OAUTH_CODE_VERIFIER_KEY, OAUTH_STATE_KEY, type OauthClientErrorReason, type OauthClientResult, OfferAssetCard, type OfferAssetCardProps, OfferAssetCardUi, OfferSaleCard, type OfferSaleCardProps, OfferSaleCardUi, OffersAssetGrid, type OffersAssetGridProps, OffersGridContainer, type OffersGridContainerProps, type OffersGridUiEvent, type OffersGridUiState, OffersGridView, type OffersGridViewProps, type OndoBuyAmountConfirmed, type OndoBuyAmountStepInput, type OndoBuyAmountUiEvent, type OndoBuyAmountUiState, type OndoBuyAmountValidation, OndoBuyAmountView, type OndoBuyAmountViewProps, OndoBuyCheckoutContainer, type OndoBuyCheckoutContainerProps, type OndoBuyCheckoutUiEvent, type OndoBuyCheckoutUiState, OndoBuyCheckoutView, type OndoBuyCheckoutViewProps, type OndoBuyExecutionResult, OndoBuyOrderConfirmed, type OndoBuyOrderPlaced, type OndoBuyOrderTerms, type OndoBuyPreparationResult, type OndoBuyQuoteStatusUi, type OndoBuyReviewStepInput, type OndoBuyReviewUiEvent, type OndoBuyReviewUiState, OndoBuyReviewView, type OndoBuyReviewViewProps, type OndoBuyStep, type OndoCheckoutConfig, OndoCheckoutError, type OndoCheckoutErrorProps, type OndoCheckoutErrorReason, type OndoLoadErrorReason, type OndoOrderConfirmedProps, type OndoOrderConfirmedUiEvent, type OndoOrderConfirmedUiState, type OndoOrderPlaced, type OndoOrderPlacedCore, type OndoSellAmountConfirmed, type OndoSellAmountStepInput, type OndoSellAmountUiEvent, type OndoSellAmountUiState, type OndoSellAmountValidation, OndoSellAmountView, type OndoSellAmountViewProps, type OndoSellAsset, type OndoSellBalanceUi, OndoSellCheckoutContainer, type OndoSellCheckoutContainerProps, type OndoSellCheckoutUiEvent, type OndoSellCheckoutUiState, OndoSellCheckoutView, type OndoSellCheckoutViewProps, type OndoSellExecutionResult, OndoSellOrderConfirmed, type OndoSellOrderConfirmedProps, type OndoSellOrderConfirmedUiEvent, type OndoSellOrderConfirmedUiState, type OndoSellOrderPlaced, type OndoSellOrderTerms, type OndoSellOutcomeUi, type OndoSellPreparationResult, type OndoSellQuoteStatusUi, type OndoSellReviewStepInput, type OndoSellReviewUiEvent, type OndoSellReviewUiState, OndoSellReviewView, type OndoSellReviewViewProps, type OndoSellSourceWalletUi, type OndoSellStep, type OndoSidebarPriceUi, type OndoSidebarUiState, OndoSidebarView, type OndoSidebarViewProps, type OndoSwapExecutionError, type OndoSwapExecutionPhase, type OndoSwapExecutionResult, type OndoSwapPreparationError, type OndoSwapPreparationPhase, type OndoSwapPreparationResult, type OndoWalletSelectStepInput, type OndoWalletSelectUiEvent, type OndoWalletSelectUiState, OndoWalletSelectView, type OndoWalletSelectViewProps, PinoLoggerOptions, type PrepareOndoBuyParams, type PrepareOndoSellParams, type PrepareOndoSwapParamsCore, type RequiredCheckoutConfig, RequirementItem, type RequirementItemProps, RequirementItemUi, RequirementStatus, RequirementVariant, RequirementsChecklistContainer, type RequirementsChecklistContainerProps, type RequirementsChecklistItemUi, type RequirementsChecklistUiEvent, type RequirementsChecklistUiState, RequirementsChecklistView, type RequirementsChecklistViewProps, type RequirementsData, type RequirementsVerificationUi, type SignState, SlippagePicker, type SlippagePickerProps, type SubmitErc20ApprovalResult, type SuperstateAmountConfirmed, type SuperstateAmountStepInput, type SuperstateAmountUiEvent, type SuperstateAmountUiState, type SuperstateAmountValidation, SuperstateAmountView, type SuperstateAmountViewProps, type SuperstateCheckoutConfig, SuperstateOrderConfirmed, type SuperstateOrderConfirmedProps, type SuperstateOrderConfirmedUiEvent, type SuperstateOrderConfirmedUiState, type SuperstateOrderPlaced, type SuperstateReviewStepInput, type SuperstateReviewUiEvent, type SuperstateReviewUiState, SuperstateReviewView, type SuperstateReviewViewProps, type SuperstateSidebarPriceUi, type SuperstateSidebarUiState, SuperstateSidebarView, type SuperstateSidebarViewProps, type SuperstateSlippageOptionUi, type SuperstateSlippageUi, SuperstateSwapCheckoutContainer, type SuperstateSwapCheckoutContainerProps, type SuperstateSwapCheckoutRetryUiEvent, type SuperstateSwapCheckoutUiEvent, type SuperstateSwapCheckoutUiState, SuperstateSwapCheckoutView, type SuperstateSwapCheckoutViewProps, type SuperstateSwapLoadErrorReason, type SuperstateSwapStep, type SuperstateWalletStepInput, type SuperstateWalletUiEvent, type SuperstateWalletUiState, SuperstateWalletView, type SuperstateWalletViewProps, type SwapExecutionError, type SwapExecutionPhase, type SwapExecutionResult, type SwapOutputTokenState, type TaxDocumentAddressParts, type TaxDocumentFieldUi, type TaxDocumentFields, TaxDocumentModalContainer, type TaxDocumentModalContainerProps, type TaxDocumentModalUiEvent, type TaxDocumentModalUiState, TaxDocumentModalView, type TaxDocumentModalViewProps, type TaxDocumentScreenUi, type TaxDocumentState, type TokenSaleExecutionError, type TokenSaleExecutionPhase, type TokenSaleExecutionResult, USDC_ICON_URL, USDT_ICON_URL, type UseCheckoutOfferTokenMetadataOptions, type UseCheckoutOfferTokenMetadataResult, type UseCoinListResult, type UseCoinListSignInCardViewModelOptions, type UseCoinListSignInCardViewModelResult, type UseCompleteOAuthOptions, type UseConnectWalletModalViewModelOptions, type UseConnectWalletModalViewModelResult, type UseConnectWalletOptions, type UseConnectWalletResult, type UseCountdownOptions, type UseErc20BalanceOptions, type UseErc20BalanceResult, type UseErc20TokenBalancesOptions, type UseErc20TokenBalancesResult, type UseIdentityVerificationViewModelOptions, type UseIdentityVerificationViewModelResult, type UseKycTokenResult, type UseOfferDetailsOptions, type UseOfferDetailsResult, type UseOffersGridViewModelOptions, type UseOffersGridViewModelResult, type UseOffersOptions, type UseOffersResult, type UseOndoBuyAmountViewModelOptions, type UseOndoBuyAmountViewModelResult, type UseOndoBuyCheckoutViewModelOptions, type UseOndoBuyCheckoutViewModelResult, type UseOndoBuyReviewViewModelOptions, type UseOndoBuyReviewViewModelResult, type UseOndoBuyTransactionOptions, type UseOndoBuyTransactionResult, type UseOndoPriceOptions, type UseOndoPriceResult, type UseOndoSellAmountViewModelOptions, type UseOndoSellAmountViewModelResult, type UseOndoSellCheckoutViewModelOptions, type UseOndoSellCheckoutViewModelResult, type UseOndoSellReviewViewModelOptions, type UseOndoSellReviewViewModelResult, type UseOndoSellTransactionOptions, type UseOndoSellTransactionResult, type UseOndoSidebarViewModelOptions, type UseOndoSidebarViewModelResult, type UseOndoTradingStatusOptions, type UseOndoTradingStatusResult, type UseOndoWalletSelectViewModelOptions, type UseOndoWalletSelectViewModelResult, type UseOptionAddressesOptions, type UseOptionAddressesResult, type UseParticipationsOptions, type UseParticipationsResult, type UseRequirementsChecklistViewModelOptions, type UseRequirementsChecklistViewModelResult, type UseRequirementsOptions, type UseRequirementsResult, type UseSuperstateAmountViewModelOptions, type UseSuperstateAmountViewModelResult, type UseSuperstateReviewViewModelOptions, type UseSuperstateReviewViewModelResult, type UseSuperstateSidebarViewModelOptions, type UseSuperstateSidebarViewModelResult, type UseSuperstateSwapCheckoutViewModelOptions, type UseSuperstateSwapCheckoutViewModelResult, type UseSuperstateWalletViewModelOptions, type UseSuperstateWalletViewModelResult, type UseSwapOutputTokenOptions, type UseSwapOutputTokenResult, type UseSwapQuoteOptions, type UseSwapQuoteResult, type UseTaxDocumentModalViewModelOptions, type UseTaxDocumentModalViewModelResult, type UseTaxDocumentOptions, type UseTaxDocumentResult, type UseTokenMetadataOptions, type UseTokenMetadataResult, VerificationOverlay, type VerificationOverlayProps, type WalletAuthorizationError, type WalletAuthorizationPhase, type WalletAuthorizationResult, WalletError, type WalletsStatus, authorizeWallet, classifyWalletError, connectExternalWalletFlow, createCoinListClient, defaultCheckoutConfig, ensureErc20Allowance, executeOndoSwap, executeSwap, executeTokenSale, formatCountdown, formatMonthYear, formatSaleCardCountdown, offerAssetIconUrl, offerIconUrl, offerTokenIdentifier, ondoLoadErrorReason, pinoClientLogger, prepareOndoBuy, prepareOndoSell, quoteIsStale, quoteOverAsks, stablecoinIconUrl, submitErc20Approval, tokenLogoUrl, tokenMetadataOf, useCheckoutOfferTokenMetadata, useCoinList, useCoinListSignInCardViewModel, useCompleteOAuth, useConnectWallet, useConnectWalletModalViewModel, useCountdown, useErc20Balance, useErc20TokenBalances, useIdentityVerificationViewModel, useKycToken, useOfferDetails, useOffers, useOffersGridViewModel, useOndoBuyAmountViewModel, useOndoBuyCheckoutViewModel, useOndoBuyReviewViewModel, useOndoBuyTransaction, useOndoPrice, useOndoSellAmountViewModel, useOndoSellCheckoutViewModel, useOndoSellReviewViewModel, useOndoSellTransaction, useOndoSidebarViewModel, useOndoTradingStatus, useOndoWalletSelectViewModel, useOptionAddresses, useParticipations, useRequirements, useRequirementsChecklistViewModel, useSuperstateAmountViewModel, useSuperstateReviewViewModel, useSuperstateSidebarViewModel, useSuperstateSwapCheckoutViewModel, useSuperstateWalletViewModel, useSwapOutputToken, useSwapQuote, useTaxDocument, useTaxDocumentModalViewModel, useTokenMetadata, validateAmount, validateSellAmount, validateSuperstateAmount };
6592
+ export { type AuthState, type AuthorizeWalletParams, ChecklistStatus, CheckoutAssetUi, type CheckoutConfig, type CheckoutConfirmedWalletUi, CheckoutContainer, type CheckoutContainerProps, type CheckoutCtaUi, type CheckoutEmbeddedWalletUi, type CheckoutNetworkUi, type CheckoutSelectableInputAssetUi, type CheckoutStatusUi, type CheckoutWalletSelection, type CheckoutWalletTypeUi, type CheckoutWalletUi, type ClientAuthConfig, type ClientAuthNamespace, ClientAuthNamespaceImpl, type ClientAuthSession, type ClientCoinListTokenSaleNamespace, ClientCoinListTokenSaleNamespaceImpl, type ClientConfig, type ClientOndoNamespace, ClientOndoNamespaceImpl, type ClientRequirementsNamespace, ClientRequirementsNamespaceImpl, type ClientSuperstateSwapNamespace, ClientSuperstateSwapNamespaceImpl, type ClientSupportNamespace, ClientSupportNamespaceImpl, type CoinListClient, CoinListClientInitializationError, CoinListContext, CoinListContextProvider, type CoinListContextValue, CoinListProvider, type CoinListProviderProps, CoinListSignInButton, CoinListSignInCardContainer, type CoinListSignInCardContainerProps, type CoinListSignInCardUiEvent, type CoinListSignInCardUiState, CoinListSignInCardView, type CoinListSignInCardViewProps, CoinListStyleScope, type CoinListStyleScopeProps, type CoinListTokenSaleCheckoutConfig, type CompleteOAuthFailureReason, ConnectWallet, type ConnectWalletError, type ConnectWalletErrorCode, type ConnectWalletFlowError, type ConnectWalletFlowParams, type ConnectWalletFlowResult, ConnectWalletModalContainer, type ConnectWalletModalContainerProps, type ConnectWalletModalUiEvent, type ConnectWalletModalUiState, ConnectWalletModalView, type ConnectWalletModalViewProps, type ConnectWalletPhase, type ConnectWalletScreenUi, type ConnectWalletSignState, type ConnectWalletState, ConnectedWalletList, type ConnectedWalletListProps, type ConnectedWalletUi, ERC20_BALANCE_POLL_INTERVAL_MS, type Erc20AllowanceError, type Erc20AllowancePhase, type Erc20AllowanceResult, type Erc20ApprovalError, EvmWallet, type ExecuteOndoSwapParams, type ExecuteSwapParams, type ExecuteTokenSaleParams, IdentityVerificationContainer, type IdentityVerificationContainerProps, type IdentityVerificationUiEvent, type IdentityVerificationUiState, IdentityVerificationView, type IdentityVerificationViewProps, KycLevelName, type KycTokenErrorReason, type KycTokenState, type LoadOfferDetailsReason, type LoadOfferDetailsState, type LoadOffersReason, type LoadOffersState, type LoadOndoBuyTransactionState, type LoadOndoPriceState, type LoadOndoSellTransactionState, type LoadOndoTradingStatusState, type LoadOptionAddressesReason, type LoadOptionAddressesState, type LoadParticipationsReason, type LoadParticipationsState, type LoadRequirementsReason, type LoadRequirementsState, type LoadTokenMetadataState, type LoadTokenRegistryState, Logger, type LogoImageUi, OAUTH_CODE_VERIFIER_KEY, OAUTH_STATE_KEY, type OauthClientErrorReason, type OauthClientResult, OfferAssetCard, type OfferAssetCardProps, OfferAssetCardUi, OfferLogoUi, OfferSaleCard, type OfferSaleCardProps, OfferSaleCardUi, OffersAssetGrid, type OffersAssetGridProps, OffersGridContainer, type OffersGridContainerProps, type OffersGridData, type OffersGridUiEvent, type OffersGridUiState, OffersGridView, type OffersGridViewProps, type OndoBuyAmountConfirmed, type OndoBuyAmountStepInput, type OndoBuyAmountUiEvent, type OndoBuyAmountUiState, type OndoBuyAmountValidation, OndoBuyAmountView, type OndoBuyAmountViewProps, OndoBuyCheckoutContainer, type OndoBuyCheckoutContainerProps, type OndoBuyCheckoutUiEvent, type OndoBuyCheckoutUiState, OndoBuyCheckoutView, type OndoBuyCheckoutViewProps, type OndoBuyExecutionResult, OndoBuyOrderConfirmed, type OndoBuyOrderPlaced, type OndoBuyOrderTerms, type OndoBuyPreparationResult, type OndoBuyQuoteStatusUi, type OndoBuyReviewStepInput, type OndoBuyReviewUiEvent, type OndoBuyReviewUiState, OndoBuyReviewView, type OndoBuyReviewViewProps, type OndoBuyStep, type OndoCheckoutConfig, OndoCheckoutError, type OndoCheckoutErrorProps, type OndoCheckoutErrorReason, type OndoLoadErrorReason, type OndoOrderConfirmedProps, type OndoOrderConfirmedUiEvent, type OndoOrderConfirmedUiState, type OndoOrderPlaced, type OndoOrderPlacedCore, type OndoSellAmountConfirmed, type OndoSellAmountStepInput, type OndoSellAmountUiEvent, type OndoSellAmountUiState, type OndoSellAmountValidation, OndoSellAmountView, type OndoSellAmountViewProps, type OndoSellAsset, type OndoSellBalanceUi, OndoSellCheckoutContainer, type OndoSellCheckoutContainerProps, type OndoSellCheckoutUiEvent, type OndoSellCheckoutUiState, OndoSellCheckoutView, type OndoSellCheckoutViewProps, type OndoSellExecutionResult, OndoSellOrderConfirmed, type OndoSellOrderConfirmedProps, type OndoSellOrderConfirmedUiEvent, type OndoSellOrderConfirmedUiState, type OndoSellOrderPlaced, type OndoSellOrderTerms, type OndoSellOutcomeUi, type OndoSellPreparationResult, type OndoSellQuoteStatusUi, type OndoSellReviewStepInput, type OndoSellReviewUiEvent, type OndoSellReviewUiState, OndoSellReviewView, type OndoSellReviewViewProps, type OndoSellSourceWalletUi, type OndoSellStep, type OndoSidebarPriceUi, type OndoSidebarUiState, OndoSidebarView, type OndoSidebarViewProps, type OndoSwapExecutionError, type OndoSwapExecutionPhase, type OndoSwapExecutionResult, type OndoSwapPreparationError, type OndoSwapPreparationPhase, type OndoSwapPreparationResult, type OndoWalletSelectStepInput, type OndoWalletSelectUiEvent, type OndoWalletSelectUiState, OndoWalletSelectView, type OndoWalletSelectViewProps, PinoLoggerOptions, type PrepareOndoBuyParams, type PrepareOndoSellParams, type PrepareOndoSwapParamsCore, type RequiredCheckoutConfig, RequirementItem, type RequirementItemProps, RequirementItemUi, RequirementStatus, RequirementVariant, RequirementsChecklistContainer, type RequirementsChecklistContainerProps, type RequirementsChecklistItemUi, type RequirementsChecklistUiEvent, type RequirementsChecklistUiState, RequirementsChecklistView, type RequirementsChecklistViewProps, type RequirementsData, type RequirementsVerificationUi, type SignState, SlippagePicker, type SlippagePickerProps, type SubmitErc20ApprovalResult, type SuperstateAmountConfirmed, type SuperstateAmountStepInput, type SuperstateAmountUiEvent, type SuperstateAmountUiState, type SuperstateAmountValidation, SuperstateAmountView, type SuperstateAmountViewProps, type SuperstateCheckoutConfig, SuperstateOrderConfirmed, type SuperstateOrderConfirmedProps, type SuperstateOrderConfirmedUiEvent, type SuperstateOrderConfirmedUiState, type SuperstateOrderPlaced, type SuperstateReviewStepInput, type SuperstateReviewUiEvent, type SuperstateReviewUiState, SuperstateReviewView, type SuperstateReviewViewProps, type SuperstateSidebarPriceUi, type SuperstateSidebarUiState, SuperstateSidebarView, type SuperstateSidebarViewProps, type SuperstateSlippageOptionUi, type SuperstateSlippageUi, SuperstateSwapCheckoutContainer, type SuperstateSwapCheckoutContainerProps, type SuperstateSwapCheckoutRetryUiEvent, type SuperstateSwapCheckoutUiEvent, type SuperstateSwapCheckoutUiState, SuperstateSwapCheckoutView, type SuperstateSwapCheckoutViewProps, type SuperstateSwapLoadErrorReason, type SuperstateSwapStep, type SuperstateWalletStepInput, type SuperstateWalletUiEvent, type SuperstateWalletUiState, SuperstateWalletView, type SuperstateWalletViewProps, type SwapExecutionError, type SwapExecutionPhase, type SwapExecutionResult, type SwapOutputTokenState, type TaxDocumentAddressParts, type TaxDocumentFieldUi, type TaxDocumentFields, TaxDocumentModalContainer, type TaxDocumentModalContainerProps, type TaxDocumentModalUiEvent, type TaxDocumentModalUiState, TaxDocumentModalView, type TaxDocumentModalViewProps, type TaxDocumentScreenUi, type TaxDocumentState, type TokenSaleExecutionError, type TokenSaleExecutionPhase, type TokenSaleExecutionResult, USDC_ICON_URL, USDT_ICON_URL, type UseCheckoutOfferTokenMetadataOptions, type UseCheckoutOfferTokenMetadataResult, type UseCoinListResult, type UseCoinListSignInCardViewModelOptions, type UseCoinListSignInCardViewModelResult, type UseCompleteOAuthOptions, type UseConnectWalletModalViewModelOptions, type UseConnectWalletModalViewModelResult, type UseConnectWalletOptions, type UseConnectWalletResult, type UseCountdownOptions, type UseErc20BalanceOptions, type UseErc20BalanceResult, type UseErc20TokenBalancesOptions, type UseErc20TokenBalancesResult, type UseIdentityVerificationViewModelOptions, type UseIdentityVerificationViewModelResult, type UseKycTokenResult, type UseOfferDetailsOptions, type UseOfferDetailsResult, type UseOffersGridViewModelOptions, type UseOffersGridViewModelResult, type UseOffersOptions, type UseOffersResult, type UseOndoBuyAmountViewModelOptions, type UseOndoBuyAmountViewModelResult, type UseOndoBuyCheckoutViewModelOptions, type UseOndoBuyCheckoutViewModelResult, type UseOndoBuyReviewViewModelOptions, type UseOndoBuyReviewViewModelResult, type UseOndoBuyTransactionOptions, type UseOndoBuyTransactionResult, type UseOndoPriceOptions, type UseOndoPriceResult, type UseOndoSellAmountViewModelOptions, type UseOndoSellAmountViewModelResult, type UseOndoSellCheckoutViewModelOptions, type UseOndoSellCheckoutViewModelResult, type UseOndoSellReviewViewModelOptions, type UseOndoSellReviewViewModelResult, type UseOndoSellTransactionOptions, type UseOndoSellTransactionResult, type UseOndoSidebarViewModelOptions, type UseOndoSidebarViewModelResult, type UseOndoTradingStatusOptions, type UseOndoTradingStatusResult, type UseOndoWalletSelectViewModelOptions, type UseOndoWalletSelectViewModelResult, type UseOptionAddressesOptions, type UseOptionAddressesResult, type UseParticipationsOptions, type UseParticipationsResult, type UseRequirementsChecklistViewModelOptions, type UseRequirementsChecklistViewModelResult, type UseRequirementsOptions, type UseRequirementsResult, type UseSuperstateAmountViewModelOptions, type UseSuperstateAmountViewModelResult, type UseSuperstateReviewViewModelOptions, type UseSuperstateReviewViewModelResult, type UseSuperstateSidebarViewModelOptions, type UseSuperstateSidebarViewModelResult, type UseSuperstateSwapCheckoutViewModelOptions, type UseSuperstateSwapCheckoutViewModelResult, type UseSuperstateWalletViewModelOptions, type UseSuperstateWalletViewModelResult, type UseSwapOutputTokenOptions, type UseSwapOutputTokenResult, type UseSwapQuoteOptions, type UseSwapQuoteResult, type UseTaxDocumentModalViewModelOptions, type UseTaxDocumentModalViewModelResult, type UseTaxDocumentOptions, type UseTaxDocumentResult, type UseTokenMetadataOptions, type UseTokenMetadataResult, type UseTokenRegistryOptions, type UseTokenRegistryResult, VerificationOverlay, type VerificationOverlayProps, type WalletAuthorizationError, type WalletAuthorizationPhase, type WalletAuthorizationResult, WalletError, type WalletsStatus, authorizeWallet, classifyWalletError, connectExternalWalletFlow, createCoinListClient, defaultCheckoutConfig, ensureErc20Allowance, executeOndoSwap, executeSwap, executeTokenSale, formatCountdown, formatMonthYear, formatSaleCardCountdown, offerAssetIconUrl, offerIconUrl, offerTokenIdentifier, ondoLoadErrorReason, pinoClientLogger, prepareOndoBuy, prepareOndoSell, quoteIsStale, quoteOverAsks, stablecoinIconUrl, submitErc20Approval, tokenLogoSrcSet, tokenLogoUrl, tokenMetadataOf, useCheckoutOfferTokenMetadata, useCoinList, useCoinListSignInCardViewModel, useCompleteOAuth, useConnectWallet, useConnectWalletModalViewModel, useCountdown, useErc20Balance, useErc20TokenBalances, useIdentityVerificationViewModel, useKycToken, useOfferDetails, useOffers, useOffersGridViewModel, useOndoBuyAmountViewModel, useOndoBuyCheckoutViewModel, useOndoBuyReviewViewModel, useOndoBuyTransaction, useOndoPrice, useOndoSellAmountViewModel, useOndoSellCheckoutViewModel, useOndoSellReviewViewModel, useOndoSellTransaction, useOndoSidebarViewModel, useOndoTradingStatus, useOndoWalletSelectViewModel, useOptionAddresses, useParticipations, useRequirements, useRequirementsChecklistViewModel, useSuperstateAmountViewModel, useSuperstateReviewViewModel, useSuperstateSidebarViewModel, useSuperstateSwapCheckoutViewModel, useSuperstateWalletViewModel, useSwapOutputToken, useSwapQuote, useTaxDocument, useTaxDocumentModalViewModel, useTokenMetadata, useTokenRegistry, validateAmount, validateSellAmount, validateSuperstateAmount };