@coinlist-co/react 0.12.1-rc.f51a0c2 → 0.12.2-rc.0fda52c

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 (33) hide show
  1. package/dist/{chunk-MOE5S6CE.js → chunk-BNMF2HMW.js} +114 -4
  2. package/dist/chunk-BNMF2HMW.js.map +1 -0
  3. package/dist/{chunk-QIAM2VUU.js → chunk-KRA6EM2L.js} +50 -2
  4. package/dist/chunk-KRA6EM2L.js.map +1 -0
  5. package/dist/{chunk-DCW7NQXH.js → chunk-STAHYDLY.js} +52 -19
  6. package/dist/chunk-STAHYDLY.js.map +1 -0
  7. package/dist/client/index.cjs +1718 -1127
  8. package/dist/client/index.cjs.map +1 -1
  9. package/dist/client/index.d.cts +320 -132
  10. package/dist/client/index.d.ts +320 -132
  11. package/dist/client/index.js +1535 -1094
  12. package/dist/client/index.js.map +1 -1
  13. package/dist/server/index.cjs +442 -80
  14. package/dist/server/index.cjs.map +1 -1
  15. package/dist/server/index.d.cts +65 -41
  16. package/dist/server/index.d.ts +65 -41
  17. package/dist/server/index.js +321 -65
  18. package/dist/server/index.js.map +1 -1
  19. package/dist/time-B5YOQxuh.d.ts +50 -0
  20. package/dist/time-BY3apBpc.d.cts +50 -0
  21. package/dist/{collections-Biy3pQQL.d.cts → token-registry-snapshot-C1NxdBmF.d.ts} +65 -2
  22. package/dist/{collections-JfNDG8Tc.d.ts → token-registry-snapshot-DyjrA32p.d.cts} +65 -2
  23. package/dist/{tokens-namespace-CIWBtgt2.d.cts → tokens-namespace-BJfFeowE.d.cts} +53 -1
  24. package/dist/{tokens-namespace-CIWBtgt2.d.ts → tokens-namespace-BJfFeowE.d.ts} +53 -1
  25. package/dist/universal/index.cjs +150 -3
  26. package/dist/universal/index.cjs.map +1 -1
  27. package/dist/universal/index.d.cts +23 -5
  28. package/dist/universal/index.d.ts +23 -5
  29. package/dist/universal/index.js +16 -2
  30. package/package.json +1 -1
  31. package/dist/chunk-DCW7NQXH.js.map +0 -1
  32. package/dist/chunk-MOE5S6CE.js.map +0 -1
  33. package/dist/chunk-QIAM2VUU.js.map +0 -1
@@ -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 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 } from '../collections-JfNDG8Tc.js';
6
- export { B as BroadcastTxParams, c as EvmSigner, W as WriteContractParams } from '../collections-JfNDG8Tc.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-BJfFeowE.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-BJfFeowE.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-C1NxdBmF.js';
6
+ export { B as BroadcastTxParams, d as EvmSigner, W as WriteContractParams } from '../token-registry-snapshot-C1NxdBmF.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';
@@ -698,10 +698,24 @@ declare class ClientSupportNamespaceImpl implements ClientSupportNamespace {
698
698
 
699
699
  interface ClientConfig extends Config {
700
700
  /**
701
- * The SDK user must provide this function. It is responsible for fetching a
702
- * valid {@link OAuthAccessToken}, or **null** for logged-out users. If your
703
- * backend is in TypeScript, it is recommended to use
704
- * `CoinListServer#auth.getAccessToken` from `@/server/core/coinlist-server`.
701
+ * The SDK user must provide this function. It fetches a valid
702
+ * {@link OAuthAccessToken} from your backend. If your backend is in
703
+ * TypeScript, serve `CoinListServer#auth.getAccessToken` from it.
704
+ *
705
+ * Two answers, and they must not be confused:
706
+ *
707
+ * - **Resolve `null`** when there is no session - e.g. your endpoint
708
+ * answered 204. After a 401 the SDK asks once more a second later before
709
+ * it believes it, then signs the user out and calls
710
+ * {@link Config.onSessionExpired}.
711
+ * - **Throw** when you could not find out - a 5xx, a network failure. The
712
+ * SDK keeps its current auth state and fails only the request in hand.
713
+ *
714
+ * So a backend that answers "no session" for its own failures turns every
715
+ * outage into a logout. Map those to an error status and throw on it.
716
+ *
717
+ * The SDK calls this at most once at a time: concurrent requests that all
718
+ * need a new token share one call.
705
719
  */
706
720
  getAccessToken: () => Promise<OAuthAccessToken | null>;
707
721
  /**
@@ -810,6 +824,10 @@ interface CoinListClient {
810
824
  * the user's {@link AuthState}. This is called automatically by
811
825
  * {@link CoinListProvider}; you typically do not need to call it yourself
812
826
  * unless you are using the client outside of the provider.
827
+ *
828
+ * @throws whatever {@link ClientConfig.getAccessToken} throws. The auth
829
+ * state is then left as it was (`'unknown'` on a first call), since a
830
+ * failure to find out is not a logout.
813
831
  */
814
832
  init(): Promise<AuthState>;
815
833
  }
@@ -2786,9 +2804,9 @@ interface SuperstateAmountViewProps {
2786
2804
  * Step 2 of the Superstate checkout. Pure: amounts arrive already formatted,
2787
2805
  * and every interaction leaves through `onEvent`.
2788
2806
  *
2789
- * The field is dollar-denominated, so the `$` goes in `CheckoutAmountInput`'s
2790
- * `prefix` slot — where Ondo puts the symbol of the token it charges. Nothing
2791
- * here is submitted: confirming only moves the flow to the review step.
2807
+ * The field is dollar-denominated, so the `$` leads the number via
2808
+ * `CheckoutAmountInput`'s `prefix` slot. Nothing here is submitted: confirming
2809
+ * only moves the flow to the review step.
2792
2810
  *
2793
2811
  * Self-scoped: renders fully styled on its own, with no `CoinListStyleScope`
2794
2812
  * needed around it.
@@ -2977,8 +2995,6 @@ type SuperstateOrderConfirmedUiState = {
2977
2995
  type: 'visible';
2978
2996
  /** What was bought. */
2979
2997
  asset: CheckoutAssetUi;
2980
- /** Who issues it, e.g. `Superstate`. */
2981
- issuer: string;
2982
2998
  /** How much of it arrived, e.g. `981.2431 USTB`. */
2983
2999
  outputAmount: FormattedAmountAssetUi;
2984
3000
  /**
@@ -3188,25 +3204,71 @@ interface SuperstateWalletViewProps {
3188
3204
  */
3189
3205
  declare function SuperstateWalletView(props: SuperstateWalletViewProps): ReactNode;
3190
3206
 
3207
+ /**
3208
+ * One image as an `<img>` renders it: a `src` for a consumer that takes a
3209
+ * single URL, and the `srcSet` candidates for one that also knows the size
3210
+ * it renders at. `srcSet` is absent for a vector logo and for the offer's own
3211
+ * artwork, neither of which offers the browser a choice.
3212
+ */
3213
+ type LogoImageUi = {
3214
+ src: string;
3215
+ srcSet?: string;
3216
+ };
3217
+ /**
3218
+ * The logo a catalogue card renders for an offer, with the registry's
3219
+ * dark-theme counterpart when it configures one.
3220
+ *
3221
+ * `dark` is `null` rather than absent so a renderer has to decide what to do
3222
+ * without one: fall back to `light`, which is the registry's own rule.
3223
+ */
3224
+ type OfferLogoUi = {
3225
+ light: LogoImageUi;
3226
+ dark: LogoImageUi | null;
3227
+ };
3228
+ declare const OfferLogoUi: {
3229
+ /**
3230
+ * The registry's logo for the token an offer is about, or the offer's own
3231
+ * artwork otherwise, or `null` when neither exists.
3232
+ *
3233
+ * The registry wins when both exist because it is the token's real artwork
3234
+ * where `Offer.logoUrl` is catalogue artwork, and because a swap publishes
3235
+ * without artwork more often than not - which is why `logoUrl` is `null`
3236
+ * on the swap variants.
3237
+ */
3238
+ fromOffer: (offer: {
3239
+ logoUrl: string | null;
3240
+ }, tokenMetadata: TokenMetadata | null) => OfferLogoUi | null;
3241
+ };
3242
+
3191
3243
  /**
3192
3244
  * 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.
3245
+ * `logo`, `name`, and asset `symbol`. No wordmark.
3246
+ *
3247
+ * All three come from the public token registry when the caller hands over
3248
+ * the metadata of the token the offer is about. Without it, `fromOffer`
3249
+ * omits `name` and `symbol` - the list payload has neither - so a list-mapped
3250
+ * card is honest about being logo-only, and `fromDetail` reads them from the
3251
+ * detail payload (`name`, `asset.code`).
3197
3252
  */
3198
3253
  type OfferAssetCardUi = {
3199
3254
  id: OfferId;
3200
- /** Absent when the list payload has no display name. */
3255
+ /** Absent when neither the registry nor a detail payload names the offer. */
3201
3256
  name?: string;
3202
- /** Absent when the list payload has no asset. Display form of `asset.code`. */
3257
+ /** Absent when neither the registry nor a detail payload carries a ticker. */
3203
3258
  symbol?: string;
3204
- /** Null when the offer carries no artwork; the card then omits the icon. */
3205
- logoUrl: string | null;
3259
+ /** `null` when neither the registry nor the offer carries artwork. */
3260
+ logo: OfferLogoUi | null;
3206
3261
  };
3207
3262
  declare const OfferAssetCardUi: {
3208
- fromOffer: (offer: Offer) => OfferAssetCardUi;
3209
- fromDetail: (detail: OfferDetail) => OfferAssetCardUi;
3263
+ /**
3264
+ * `tokenMetadata` is the registry's entry for the token the offer is about
3265
+ * (`TokenRegistrySnapshot.forOffer`), or `null` when it lists none. The
3266
+ * registry names win over the offer's own where both exist: they are the
3267
+ * token's canonical name, ticker and artwork, where the offer's are
3268
+ * catalogue copy.
3269
+ */
3270
+ fromOffer: (offer: Offer, tokenMetadata?: TokenMetadata | null) => OfferAssetCardUi;
3271
+ fromDetail: (detail: OfferDetail, tokenMetadata?: TokenMetadata | null) => OfferAssetCardUi;
3210
3272
  };
3211
3273
 
3212
3274
  interface OffersAssetGridProps {
@@ -3231,60 +3293,18 @@ interface OffersAssetGridProps {
3231
3293
  */
3232
3294
  declare function OffersAssetGrid({ offers, onOfferClick, maxColumns, className, containerClassName, }: OffersAssetGridProps): ReactNode;
3233
3295
 
3234
- interface OffersGridContainerProps {
3235
- /** Maximum number of columns to render when horizontal space allows. */
3236
- maxColumns?: number;
3237
- /** Optional className applied to the grid element. */
3238
- className?: string;
3239
- /** Optional className applied to the outer wrapper element. */
3240
- containerClassName?: string;
3241
- /** Optional loading slot shown while offers are being fetched. */
3242
- loading?: ReactNode;
3243
- /** Optional error slot shown when loading offers fails. */
3244
- error?: ReactNode;
3245
- /** Optional empty state slot shown when there are no available offers. */
3246
- emptyState?: ReactNode;
3247
- /** Optional per-offer click handler; when omitted, cards are not clickable. */
3248
- onOfferClick?: (offer: Offer) => void;
3249
- /**
3250
- * Offers pre-fetched on the server (e.g. via `CoinListServer#offers.list()`).
3251
- * When provided, the component uses this data as-is and skips the client-side
3252
- * fetch entirely.
3253
- */
3254
- data?: Offer[];
3255
- /**
3256
- * Default `true`. When `false` nothing is fetched, so the container can be
3257
- * mounted while the grid is not needed yet.
3258
- */
3259
- enabled?: boolean;
3260
- }
3261
- /**
3262
- * Displays a responsive live-sale grid of {@link OfferSaleCard}, backed by
3263
- * {@link useOffersGridViewModel}. List offers have no display name — the card
3264
- * shows logo + tagline until the host maps from detail. For equities /
3265
- * past-sales browse rows, compose {@link OffersAssetGrid} instead.
3266
- *
3267
- * Pass `data` (pre-fetched server-side) to use that data as-is and skip the
3268
- * client-side fetch entirely. Pass `enabled={false}` to skip the fetch when
3269
- * the container is mounted but the grid is not needed yet. Uses the
3270
- * `loading` / `error` / `emptyState` slots when provided; otherwise renders
3271
- * the standard fallbacks. Cards are interactive only when `onOfferClick` is
3272
- * provided.
3273
- *
3274
- * Self-scoped: renders fully styled on its own, with no `CoinListStyleScope`
3275
- * needed.
3276
- */
3277
- declare function OffersGridContainer({ data, onOfferClick, enabled, ...viewProps }?: OffersGridContainerProps): ReactNode;
3278
-
3279
3296
  /**
3280
3297
  * An offer as {@link OfferSaleCard} renders it. Countdown copy is derived in
3281
3298
  * the leaf from `startsAt` / `endsAt` so it can tick; the mapper does not
3282
- * invent a name, price, FDV, unlock schedule, banner overlay, or wordmark.
3283
- * `fromOffer` omits `name` because the list payload has none — do not derive
3284
- * one from `slug`, and do not expect a wordmark. The card pairs `logoUrl` with
3285
- * `name` as an h2 and renders the h2 only when the field is present. Prefer
3286
- * {@link OfferSaleCardUi.fromDetail} when the host has a name. Missing logo
3287
- * omits the icon — name and tagline only.
3299
+ * invent a price, FDV, unlock schedule, banner overlay, or wordmark.
3300
+ *
3301
+ * `name` and `logo` come from the public token registry when the caller
3302
+ * hands over the metadata of the token the offer is about, and from the
3303
+ * offer otherwise. The list payload carries no name, so `fromOffer` leaves
3304
+ * `name` absent without registry metadata - do not derive one from `slug`.
3305
+ * The card pairs `logo` with `name` as an h2 and renders each only when
3306
+ * present. Prefer {@link OfferSaleCardUi.fromDetail} when the host has a
3307
+ * name and no registry answer.
3288
3308
  *
3289
3309
  * `tagline` and `startsAt` are null for an offer that runs no sale window, an
3290
3310
  * Ondo swap: the card then omits the tagline and, with nothing to count down
@@ -3292,16 +3312,23 @@ declare function OffersGridContainer({ data, onOfferClick, enabled, ...viewProps
3292
3312
  */
3293
3313
  type OfferSaleCardUi = {
3294
3314
  id: OfferId;
3295
- /** Absent when the list payload has no display name; only `fromDetail` sets it. */
3315
+ /** Absent when neither the registry nor a detail payload names the offer. */
3296
3316
  name?: string;
3297
3317
  tagline: string | null;
3298
- logoUrl: string | null;
3318
+ /** `null` when neither the registry nor the offer carries artwork. */
3319
+ logo: OfferLogoUi | null;
3299
3320
  startsAt: Date | null;
3300
3321
  endsAt: Date | null;
3301
3322
  };
3302
3323
  declare const OfferSaleCardUi: {
3303
- fromOffer: (offer: Offer) => OfferSaleCardUi;
3304
- fromDetail: (detail: OfferDetail) => OfferSaleCardUi;
3324
+ /**
3325
+ * `tokenMetadata` is the registry's entry for the token the offer is about
3326
+ * (`TokenRegistrySnapshot.forOffer`), or `null` when it lists none. The
3327
+ * registry names win over the offer's own where both exist: they are the
3328
+ * token's canonical name and artwork, where the offer's are catalogue copy.
3329
+ */
3330
+ fromOffer: (offer: Offer, tokenMetadata?: TokenMetadata | null) => OfferSaleCardUi;
3331
+ fromDetail: (detail: OfferDetail, tokenMetadata?: TokenMetadata | null) => OfferSaleCardUi;
3305
3332
  };
3306
3333
 
3307
3334
  type OffersGridUiState = {
@@ -3322,6 +3349,96 @@ type OffersGridUiEvent = {
3322
3349
  offerId: OfferId;
3323
3350
  };
3324
3351
 
3352
+ /**
3353
+ * What the grid fetches, pre-fetched on the server instead. Each half is
3354
+ * independent: seed `offers` (via `CoinListServer#offers.list()`) and the
3355
+ * client still fetches the registry, seed `tokens` (via
3356
+ * `CoinListServer#tokens.list()`) and it still fetches the offers, seed both
3357
+ * and the grid makes no request of its own.
3358
+ */
3359
+ interface OffersGridData {
3360
+ offers?: Offer[];
3361
+ tokens?: TokenMetadata[];
3362
+ }
3363
+ interface UseOffersGridViewModelOptions {
3364
+ /** See {@link OffersGridData}. */
3365
+ data?: OffersGridData;
3366
+ /**
3367
+ * Default `true`. When `false` nothing is fetched, so the hook can be called
3368
+ * unconditionally while the grid is not needed yet.
3369
+ */
3370
+ enabled?: boolean;
3371
+ /** Called with the domain offer behind the card the user clicked. */
3372
+ onOfferClick?: (offer: Offer) => void;
3373
+ }
3374
+ interface UseOffersGridViewModelResult {
3375
+ state: OffersGridUiState;
3376
+ onEvent: (event: OffersGridUiEvent) => void;
3377
+ }
3378
+ /**
3379
+ * Drives {@link OffersGridView}: loads the offers and the public token
3380
+ * registry, formats each offer for its card - registry name and logo where
3381
+ * the registry lists its token, the offer's own fields otherwise - and
3382
+ * resolves a clicked card back to its domain offer for the host callback.
3383
+ *
3384
+ * The grid waits for both loads before showing content, so a card paints
3385
+ * once with its final artwork rather than flashing the catalogue logo and
3386
+ * then the registry's. A registry failure degrades rather than blanks: every
3387
+ * card falls back to the offer's own fields.
3388
+ *
3389
+ * Pass `enabled: false` to skip both fetches when the hook must be called but
3390
+ * the grid is not needed yet.
3391
+ */
3392
+ declare function useOffersGridViewModel(options?: UseOffersGridViewModelOptions): UseOffersGridViewModelResult;
3393
+
3394
+ interface OffersGridContainerProps {
3395
+ /** Maximum number of columns to render when horizontal space allows. */
3396
+ maxColumns?: number;
3397
+ /** Optional className applied to the grid element. */
3398
+ className?: string;
3399
+ /** Optional className applied to the outer wrapper element. */
3400
+ containerClassName?: string;
3401
+ /** Optional loading slot shown while offers are being fetched. */
3402
+ loading?: ReactNode;
3403
+ /** Optional error slot shown when loading offers fails. */
3404
+ error?: ReactNode;
3405
+ /** Optional empty state slot shown when there are no available offers. */
3406
+ emptyState?: ReactNode;
3407
+ /** Optional per-offer click handler; when omitted, cards are not clickable. */
3408
+ onOfferClick?: (offer: Offer) => void;
3409
+ /**
3410
+ * What the grid would otherwise fetch, pre-fetched on the server: `offers`
3411
+ * via `CoinListServer#offers.list()`, `tokens` via
3412
+ * `CoinListServer#tokens.list()`. Each half skips its own client-side
3413
+ * fetch; pass both for a grid that makes no request of its own.
3414
+ */
3415
+ data?: OffersGridData;
3416
+ /**
3417
+ * Default `true`. When `false` nothing is fetched, so the container can be
3418
+ * mounted while the grid is not needed yet.
3419
+ */
3420
+ enabled?: boolean;
3421
+ }
3422
+ /**
3423
+ * Displays a responsive live-sale grid of {@link OfferSaleCard}, backed by
3424
+ * {@link useOffersGridViewModel}. Each card is named and illustrated by the
3425
+ * public token registry where it lists the offer's token, and by the offer's
3426
+ * own fields otherwise - list offers carry no display name, so an unlisted
3427
+ * one shows logo + tagline until the host maps from detail. For equities /
3428
+ * past-sales browse rows, compose {@link OffersAssetGrid} instead.
3429
+ *
3430
+ * Pass `data` (offers and tokens pre-fetched server-side) to use them as-is
3431
+ * and skip the client-side fetches. Pass `enabled={false}` to skip the fetches
3432
+ * when the container is mounted but the grid is not needed yet. Uses the
3433
+ * `loading` / `error` / `emptyState` slots when provided; otherwise renders
3434
+ * the standard fallbacks. Cards are interactive only when `onOfferClick` is
3435
+ * provided.
3436
+ *
3437
+ * Self-scoped: renders fully styled on its own, with no `CoinListStyleScope`
3438
+ * needed.
3439
+ */
3440
+ declare function OffersGridContainer({ data, onOfferClick, enabled, ...viewProps }?: OffersGridContainerProps): ReactNode;
3441
+
3325
3442
  interface OffersGridViewProps {
3326
3443
  state: OffersGridUiState;
3327
3444
  onEvent: (event: OffersGridUiEvent) => void;
@@ -3360,8 +3477,10 @@ interface OfferAssetCardProps {
3360
3477
  containerClassName?: string;
3361
3478
  }
3362
3479
  /**
3363
- * Light browse-row catalogue card. Self-scoped. Header is API `logoUrl`
3364
- * beside company `name` (h2) and asset `symbol` under it — not a wordmark.
3480
+ * Light browse-row catalogue card. Self-scoped. Header is the offer's `logo`
3481
+ * (the token registry's where it lists the token, with its dark-theme
3482
+ * variant, the catalogue's otherwise) beside `name` (h2) and asset `symbol`
3483
+ * under it — not a wordmark.
3365
3484
  * Responsive hug: tighter pad / logo / type below `md`, desktop keeps the
3366
3485
  * H4 + 48px logo row. Hosts compose this beside {@link OfferSaleCard}; the
3367
3486
  * card does not pick a variant itself.
@@ -3378,8 +3497,9 @@ interface OfferSaleCardProps {
3378
3497
  containerClassName?: string;
3379
3498
  }
3380
3499
  /**
3381
- * Dark live-sale catalogue card. Self-scoped. Header is API `logoUrl` beside
3382
- * the company `name` as an h2, then the tagline — not a wordmark. The same
3500
+ * Dark live-sale catalogue card. Self-scoped. Header is the offer's `logo`
3501
+ * (the token registry's where it lists the token, the catalogue's otherwise)
3502
+ * beside the `name` as an h2, then the tagline — not a wordmark. The same
3383
3503
  * logo is painted as a faint right-shifted watermark over the gradient.
3384
3504
  * Responsive hug layout; View offer always renders. No token price, FDV or unlock.
3385
3505
  */
@@ -3387,16 +3507,23 @@ declare function OfferSaleCard({ offer, onClick, className, containerClassName,
3387
3507
 
3388
3508
  type RequirementsChecklistUiState = {
3389
3509
  type: 'loading';
3390
- } | {
3391
- type: 'not-authenticated';
3510
+ title: string;
3511
+ description: string;
3392
3512
  } | {
3393
3513
  type: 'error';
3514
+ title: string;
3394
3515
  } | {
3395
3516
  type: 'content';
3396
3517
  title: string;
3397
3518
  description: string;
3398
3519
  items: RequirementsChecklistItemUi[];
3399
3520
  ineligible: boolean;
3521
+ /**
3522
+ * Unsupported jurisdiction, once the country is known. When set, the
3523
+ * description, rows, and Continue are replaced by this neutral banner.
3524
+ * Absent otherwise.
3525
+ */
3526
+ blockedMessage?: string;
3400
3527
  /** `null` when the host passed no `onContinue`, so no button is shown. */
3401
3528
  continueAction: {
3402
3529
  enabled: boolean;
@@ -3472,6 +3599,14 @@ type RequirementItemUi = {
3472
3599
  multiWallet: boolean;
3473
3600
  /** The user's connected wallets. Single-slot requirements have at most one. */
3474
3601
  connectedWallets: ConnectedWalletUi[];
3602
+ /** Absent means the shared verification sentences. */
3603
+ statusMessages?: {
3604
+ /** Absent for tax documentation: `in_progress` stays a required step. */
3605
+ pending?: string;
3606
+ completed: string;
3607
+ /** Full sentence. "Contact support" inside it is the support link. */
3608
+ rejected: string;
3609
+ };
3475
3610
  };
3476
3611
  declare const RequirementItemUi: {
3477
3612
  fromDomain(req: Requirement, statusInfo: RequirementStatusInfo | undefined, label: string, description: string, addresses?: OfferOptionAddress[]): RequirementItemUi;
@@ -3624,13 +3759,19 @@ interface RequirementItemProps {
3624
3759
  */
3625
3760
  walletsStatus?: WalletsStatus;
3626
3761
  onContactSupport?: (() => void) | null;
3762
+ /**
3763
+ * 16px under the open section, so its button does not sit on the next row's
3764
+ * divider. The last row omits this: the checklist's own gap is the space
3765
+ * before the footer.
3766
+ */
3767
+ spaceBeforeNextRow?: boolean;
3627
3768
  }
3628
3769
  /**
3629
3770
  * A single requirement row (label, status, expandable action zone). Self-scoped:
3630
3771
  * renders fully styled on its own, with no `CoinListStyleScope` needed. Also composed
3631
3772
  * by {@link RequirementsChecklist}.
3632
3773
  */
3633
- declare function RequirementItem({ ui, expanded, onToggle, className, onAction, onRemoveWallet, walletsStatus, onContactSupport, }: RequirementItemProps): react.JSX.Element;
3774
+ declare function RequirementItem({ ui, expanded, onToggle, className, onAction, onRemoveWallet, walletsStatus, onContactSupport, spaceBeforeNextRow, }: RequirementItemProps): react.JSX.Element;
3634
3775
 
3635
3776
  type LoadRequirementsReason = 'not-authenticated' | 'generic-error';
3636
3777
  type LoadRequirementsState = {
@@ -3726,12 +3867,8 @@ interface RequirementsChecklistContainerProps {
3726
3867
  /** Optional loading slot. */
3727
3868
  loading?: ReactNode;
3728
3869
  /**
3729
- * Rendered when the user is not authenticated. Defaults to
3730
- * {@link CoinListSignInCardContainer}, which prompts the user to sign in and starts
3731
- * the CoinList OAuth flow. Pass `null` to render nothing.
3870
+ * Replaces the error banner under the title. The title still renders.
3732
3871
  */
3733
- unauthenticatedState?: ReactNode;
3734
- /** Optional error slot. */
3735
3872
  error?: ReactNode;
3736
3873
  className?: string;
3737
3874
  /**
@@ -3770,9 +3907,8 @@ interface RequirementsChecklistContainerProps {
3770
3907
  * initial client-side fetch. Pass `enabled={false}` to skip fetches when the
3771
3908
  * container is mounted but the checklist is not needed yet.
3772
3909
  *
3773
- * When the user is not authenticated, renders a sign-in card instead of the
3774
- * checklist - without fetching. Pass `unauthenticatedState` to customize that
3775
- * state, or `null` to render nothing.
3910
+ * A logged-out session renders the error state and does not fetch. The host
3911
+ * should not mount the checklist when it already knows the user is logged out.
3776
3912
  *
3777
3913
  * By default, clicking a requirement's action button opens the corresponding
3778
3914
  * CoinList page in a new tab via {@link CoinListClient#requirements.handle}. It
@@ -3782,26 +3918,21 @@ interface RequirementsChecklistContainerProps {
3782
3918
  *
3783
3919
  * Self-scoped: renders fully styled on its own, with no `CoinListStyleScope` needed.
3784
3920
  */
3785
- declare function RequirementsChecklistContainer({ loading, error, unauthenticatedState, className, enabled, ...options }: RequirementsChecklistContainerProps): ReactNode;
3921
+ declare function RequirementsChecklistContainer({ loading, error, className, enabled, ...options }: RequirementsChecklistContainerProps): ReactNode;
3786
3922
 
3787
3923
  interface RequirementsChecklistViewProps {
3788
3924
  state: RequirementsChecklistUiState;
3789
3925
  onEvent: (event: RequirementsChecklistUiEvent) => void;
3790
3926
  /** Optional loading slot. */
3791
3927
  loading?: ReactNode;
3792
- /** Optional error slot. */
3928
+ /** Replaces the error banner under the title. The title still renders. */
3793
3929
  error?: ReactNode;
3794
- /**
3795
- * Rendered when the user is not authenticated. Nothing is rendered when
3796
- * omitted; `RequirementsChecklistContainer` passes a connected sign-in card.
3797
- */
3798
- unauthenticatedState?: ReactNode;
3799
3930
  className?: string;
3800
3931
  }
3801
3932
  /**
3802
- * Renders the requirements checklist: its header, one row per requirement, the
3803
- * eligibility banner and the continue action. Pure: the rows arrive already
3804
- * shaped in `state`, and every interaction leaves through `onEvent`.
3933
+ * Renders the requirements checklist: its header, one row per requirement, and
3934
+ * the continue row. Pure: the rows arrive already shaped in `state`, and every
3935
+ * interaction leaves through `onEvent`.
3805
3936
  *
3806
3937
  * The flows the checklist can open (tax document, wallet connect, identity
3807
3938
  * verification) are composed by `RequirementsChecklistContainer`, which owns
@@ -5306,7 +5437,9 @@ interface UseCheckoutOfferTokenMetadataResult {
5306
5437
  * its chain; a `distribution` entry names the same token for a sale product,
5307
5438
  * so it is accepted as the fallback. `funding` entries name what a swap is
5308
5439
  * paid with, never what it sells, so they are skipped — the funding row has
5309
- * its own icon source in `stablecoinIconUrl`.
5440
+ * its own icon source in `stablecoinIconUrl`. That ordering is
5441
+ * `offerDisplayTokens`', shared with the catalogue's any-chain lookup; the
5442
+ * checkout adds only the chain it executes on.
5310
5443
  */
5311
5444
  declare function offerTokenIdentifier(offer: OfferDetail, chain: EthereumChain): TokenIdentifier | null;
5312
5445
  /**
@@ -5755,33 +5888,6 @@ interface UseOffersResult {
5755
5888
  */
5756
5889
  declare function useOffers(options?: UseOffersOptions): UseOffersResult;
5757
5890
 
5758
- interface UseOffersGridViewModelOptions {
5759
- /**
5760
- * Offers pre-fetched on the server (e.g. via `CoinListServer#offers.list()`).
5761
- * When provided, the client-side fetch is skipped entirely.
5762
- */
5763
- data?: Offer[];
5764
- /**
5765
- * Default `true`. When `false` nothing is fetched, so the hook can be called
5766
- * unconditionally while the grid is not needed yet.
5767
- */
5768
- enabled?: boolean;
5769
- /** Called with the domain offer behind the card the user clicked. */
5770
- onOfferClick?: (offer: Offer) => void;
5771
- }
5772
- interface UseOffersGridViewModelResult {
5773
- state: OffersGridUiState;
5774
- onEvent: (event: OffersGridUiEvent) => void;
5775
- }
5776
- /**
5777
- * Drives {@link OffersGridView}: loads the offers, formats them for the cards,
5778
- * and resolves a clicked card back to its domain offer for the host callback.
5779
- *
5780
- * Pass `enabled: false` to skip the fetch when the hook must be called but
5781
- * the grid is not needed yet.
5782
- */
5783
- declare function useOffersGridViewModel(options?: UseOffersGridViewModelOptions): UseOffersGridViewModelResult;
5784
-
5785
5891
  /**
5786
5892
  * A display-ready connect-wallet error: the core flow's machine-readable code
5787
5893
  * and `retryable` flag, plus copy for the UI.
@@ -6224,6 +6330,65 @@ interface UseErc20TokenBalancesResult {
6224
6330
  */
6225
6331
  declare function useErc20TokenBalances(options: UseErc20TokenBalancesOptions): UseErc20TokenBalancesResult;
6226
6332
 
6333
+ /**
6334
+ * The state of a token-registry snapshot load.
6335
+ *
6336
+ * `CONTENT` holds the whole snapshot, indexed: ask it
6337
+ * `TokenRegistrySnapshot.forOffer(registry, offer)` per card. `ERROR` means
6338
+ * the snapshot could not be read - the registry always publishes it, so this
6339
+ * is an outage or a blocked request, and callers render their own display
6340
+ * defaults for every offer rather than nothing. `DISABLED` means the hook was
6341
+ * switched off before an answer arrived, so there is nothing to render a
6342
+ * loading UI for. No `not-authenticated` reason: the registry is public.
6343
+ */
6344
+ type LoadTokenRegistryState = {
6345
+ type: 'DISABLED';
6346
+ } | {
6347
+ type: 'LOADING';
6348
+ } | {
6349
+ type: 'ERROR';
6350
+ reason: 'generic-error';
6351
+ } | {
6352
+ type: 'CONTENT';
6353
+ registry: TokenRegistrySnapshot;
6354
+ };
6355
+ interface UseTokenRegistryOptions {
6356
+ /**
6357
+ * The snapshot pre-fetched on the server (via `CoinListServer#tokens.list()`).
6358
+ * When provided, the hook indexes it as-is and skips the initial
6359
+ * client-side fetch; {@link UseTokenRegistryResult.refetch} still fetches.
6360
+ */
6361
+ data?: TokenMetadata[];
6362
+ /** When false: no request; see {@link LoadTokenRegistryState}. Default true. */
6363
+ enabled?: boolean;
6364
+ }
6365
+ interface UseTokenRegistryResult {
6366
+ state: LoadTokenRegistryState;
6367
+ /**
6368
+ * Fetches again: the recovery path after a transient `ERROR`, and the way
6369
+ * past a server seed (`data`), which only the first fetch honours. No-op
6370
+ * while disabled.
6371
+ */
6372
+ refetch: () => void;
6373
+ }
6374
+ /**
6375
+ * Loads the complete public token registry - every token on every chain the
6376
+ * SDK models, in one request - and indexes it for per-offer lookups. This is
6377
+ * what a catalogue mounts once, where `useTokenMetadata` is what a single
6378
+ * screen mounts for one token.
6379
+ *
6380
+ * No polling: registry content is immutable per version, so the answer does
6381
+ * not change under the page. `refetch` exists for error recovery and for
6382
+ * bypassing a server seed, not for freshness.
6383
+ *
6384
+ * Disabled without an answer in hand it reports `DISABLED` rather than
6385
+ * `LOADING` (nothing is in flight, so a spinner would wait forever) and
6386
+ * rather than an empty `CONTENT` (an empty snapshot asserts "the registry
6387
+ * lists nothing" - an answer this hook would not actually have). A seeded or
6388
+ * already-fetched `CONTENT` survives disabling.
6389
+ */
6390
+ declare function useTokenRegistry(options?: UseTokenRegistryOptions): UseTokenRegistryResult;
6391
+
6227
6392
  interface UseCoinListResult {
6228
6393
  /**
6229
6394
  * Indicates whether the CoinList client has been initialized and ready to use.
@@ -6304,6 +6469,29 @@ declare function offerIconUrl(offer: OfferDetail): AssetIconUrl | null;
6304
6469
  * edge length `AssetIcon` renders a checkout asset at.
6305
6470
  */
6306
6471
  declare function tokenLogoUrl(logo: TokenLogo, minWidth?: number): AssetIconUrl | null;
6472
+ /**
6473
+ * The `srcset` candidates for a registry logo, or `null` when the browser has
6474
+ * nothing to choose between.
6475
+ *
6476
+ * A raster logo ships webp variants at ascending widths (32, 64, 128, 256,
6477
+ * 512, capped at the source width), and listing every one with its width
6478
+ * descriptor lets the browser pick the smallest that covers the rendered size
6479
+ * at the screen's pixel density - a choice `tokenLogoUrl` can only make for
6480
+ * one width, and only at 1x. The registry's contract is that the variants
6481
+ * *are* the complete candidate list and the original is never merged in: the
6482
+ * largest variant already is the original's width (capped at 512), sharing
6483
+ * its URL below that. Candidates are listed by ascending width whatever order
6484
+ * the wire used. A vector logo scales itself and offers no candidates.
6485
+ *
6486
+ * A raster logo with no variants is unrepresentable under that contract, but
6487
+ * the type allows it, so the original stands in as the one candidate rather
6488
+ * than an empty `srcset` that would render nothing.
6489
+ *
6490
+ * The companion of `tokenLogoUrl`, not a replacement: `src` still carries the
6491
+ * one-width answer for a consumer that takes a single URL, and `srcset` is
6492
+ * only ever meaningful next to a `sizes` the renderer knows.
6493
+ */
6494
+ declare function tokenLogoSrcSet(logo: TokenLogo): string | null;
6307
6495
  /**
6308
6496
  * The artwork a checkout shows for the asset an offer sells.
6309
6497
  *
@@ -6417,4 +6605,4 @@ interface UseCountdownOptions {
6417
6605
  */
6418
6606
  declare function useCountdown({ until, tickMs, enabled, }: UseCountdownOptions): number | null;
6419
6607
 
6420
- 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 };
6608
+ 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 };