@medialane/sdk 0.168.0 → 0.169.0

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 (41) hide show
  1. package/dist/{chunk-BILJIXSP.cjs → chunk-4SZV7J2R.cjs} +17 -12
  2. package/dist/chunk-4SZV7J2R.cjs.map +1 -0
  3. package/dist/{chunk-H7I6TEOA.cjs → chunk-VJVBWHAD.cjs} +5 -4
  4. package/dist/chunk-VJVBWHAD.cjs.map +1 -0
  5. package/dist/{chunk-PBJLHXDB.js → chunk-WYKCGQPN.js} +5 -4
  6. package/dist/chunk-WYKCGQPN.js.map +1 -0
  7. package/dist/{chunk-3QGECZBS.js → chunk-X5RNNPDU.js} +12 -9
  8. package/dist/chunk-X5RNNPDU.js.map +1 -0
  9. package/dist/{errors-CWbsAodQ.d.ts → errors-D6S2d0Oy.d.ts} +41 -22
  10. package/dist/{errors-CwqwX-vA.d.cts → errors-GfSlToOh.d.cts} +41 -22
  11. package/dist/evm/index.cjs +3 -3
  12. package/dist/evm/index.d.cts +1 -1
  13. package/dist/evm/index.d.ts +1 -1
  14. package/dist/evm/index.js +1 -1
  15. package/dist/index.cjs +86 -78
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +15 -8
  18. package/dist/index.d.ts +15 -8
  19. package/dist/index.js +2 -2
  20. package/dist/index.js.map +1 -1
  21. package/dist/solana/index.cjs +2 -2
  22. package/dist/solana/index.d.cts +1 -1
  23. package/dist/solana/index.d.ts +1 -1
  24. package/dist/solana/index.js +1 -1
  25. package/dist/starknet/index.cjs +1105 -372
  26. package/dist/starknet/index.cjs.map +1 -1
  27. package/dist/starknet/index.d.cts +780 -399
  28. package/dist/starknet/index.d.ts +780 -399
  29. package/dist/starknet/index.js +1021 -297
  30. package/dist/starknet/index.js.map +1 -1
  31. package/dist/stellar/index.cjs +2 -2
  32. package/dist/stellar/index.d.cts +1 -1
  33. package/dist/stellar/index.d.ts +1 -1
  34. package/dist/stellar/index.js +1 -1
  35. package/dist/{types-C-y68Ut2.d.cts → types-BTNjkUst.d.cts} +1 -0
  36. package/dist/{types-C-y68Ut2.d.ts → types-BTNjkUst.d.ts} +1 -0
  37. package/package.json +1 -1
  38. package/dist/chunk-3QGECZBS.js.map +0 -1
  39. package/dist/chunk-BILJIXSP.cjs.map +0 -1
  40. package/dist/chunk-H7I6TEOA.cjs.map +0 -1
  41. package/dist/chunk-PBJLHXDB.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { C as Chain } from './types-C-y68Ut2.js';
2
+ import { C as Chain } from './types-BTNjkUst.js';
3
3
  import { Call, TypedData } from 'starknet';
4
4
 
5
5
  interface RetryOptions {
@@ -545,6 +545,18 @@ interface CreateMintIntentParams {
545
545
  value?: string;
546
546
  collectionContract?: string;
547
547
  }
548
+ /** Drop sale terms on the wire: amounts as decimal strings in the token's smallest unit. */
549
+ interface DropTermsBody {
550
+ /** Unix seconds; 0 = open from creation. */
551
+ startTime: number;
552
+ /** Unix seconds; 0 = never closes. */
553
+ endTime: number;
554
+ /** Per token; "0" = free. */
555
+ price: string;
556
+ paymentToken: string;
557
+ /** "0" = unlimited. */
558
+ maxPerWallet: string;
559
+ }
548
560
  interface CreateCollectionIntentParams {
549
561
  owner: string;
550
562
  name: string;
@@ -556,13 +568,10 @@ interface CreateCollectionIntentParams {
556
568
  service?: CollectionServiceId;
557
569
  claimEndTimestamp?: number;
558
570
  maxSupply?: string;
559
- conditions?: {
560
- startTime: number;
561
- endTime: number;
562
- price: string;
563
- paymentToken: string;
564
- maxQuantityPerWallet: string;
565
- };
571
+ /** drop-collection */
572
+ terms?: DropTermsBody;
573
+ /** drop-collection — Merkle root of the allowlist; omitted = open to everyone */
574
+ allowlistRoot?: string;
566
575
  }
567
576
  interface CheckoutIntentItem {
568
577
  orderHash: string;
@@ -1268,11 +1277,10 @@ interface CreatePopBurnIntentParams {
1268
1277
  interface CreateDropClaimIntentParams {
1269
1278
  claimer: string;
1270
1279
  collection: string;
1271
- }
1272
- interface CreateDropAllowlistIntentParams {
1273
- owner: string;
1274
- collection: string;
1275
- addresses: string[];
1280
+ /** Tokens to mint, decimal string. */
1281
+ quantity: string;
1282
+ /** Allowlist proof from the claim link; omitted for open drops. */
1283
+ proof?: string[];
1276
1284
  }
1277
1285
  type WalletManageAction = "add_owner" | "remove_owner" | "cancel_escape" | "set_first_guardian" | "trigger_escape" | "complete_escape";
1278
1286
  interface CreateWalletManageIntentParams {
@@ -1294,14 +1302,17 @@ interface CreateFundingTransferIntentParams {
1294
1302
  asset: string;
1295
1303
  amountAtomic: string;
1296
1304
  }
1297
- type DropManageAction = "allowlist_enabled" | "allowlist_add" | "allowlist_remove" | "withdraw_payments";
1305
+ type DropManageAction = "issue" | "set_allowlist_root";
1298
1306
  interface CreateDropManageIntentParams {
1299
1307
  owner: string;
1300
1308
  collection: string;
1301
1309
  action: DropManageAction;
1302
- enabled?: boolean;
1303
- addresses?: string[];
1304
- address?: string;
1310
+ /** issue */
1311
+ recipient?: string;
1312
+ /** issue — decimal string */
1313
+ quantity?: string;
1314
+ /** set_allowlist_root — 0x0 opens the drop to everyone */
1315
+ root?: string;
1305
1316
  }
1306
1317
  type PopManageAction = "issue" | "set_allowlist_root";
1307
1318
  interface CreatePopManageIntentParams {
@@ -1377,7 +1388,6 @@ declare class ApiClient {
1377
1388
  createPopClaimIntent(params: CreatePopClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1378
1389
  createPopBurnIntent(params: CreatePopBurnIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1379
1390
  createDropClaimIntent(params: CreateDropClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1380
- createDropAllowlistIntent(params: CreateDropAllowlistIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1381
1391
  createWalletManageIntent(params: CreateWalletManageIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1382
1392
  createSwapIntent(params: CreateSwapIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1383
1393
  createFundingTransferIntent(params: CreateFundingTransferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
@@ -1714,19 +1724,28 @@ interface CreatePopCollectionParams {
1714
1724
  /** Unix seconds; 0 = no deadline. */
1715
1725
  claimEndTime: number;
1716
1726
  }
1717
- interface ClaimConditions {
1727
+ interface DropTerms {
1728
+ /** Unix seconds; 0 = open from creation. */
1718
1729
  startTime: number;
1730
+ /** Unix seconds; 0 = never closes. */
1719
1731
  endTime: number;
1732
+ /** Per token, in the payment token's smallest unit; 0 = free. */
1720
1733
  price: bigint | string;
1734
+ /** Sent as zero when the drop is free. */
1721
1735
  paymentToken: string;
1722
- maxQuantityPerWallet: bigint | string;
1736
+ /** Claims per wallet; 0 = unlimited. */
1737
+ maxPerWallet: bigint | string;
1723
1738
  }
1724
1739
  interface CreateDropParams {
1725
1740
  name: string;
1726
1741
  symbol: string;
1742
+ /** Token URI = baseUri + token id. */
1727
1743
  baseUri: string;
1744
+ /** 0 = no cap. */
1728
1745
  maxSupply: bigint | string;
1729
- initialConditions: ClaimConditions;
1746
+ terms: DropTerms;
1747
+ /** Merkle root of the allowlist; absent or 0 = open to everyone. */
1748
+ allowlistRoot?: string;
1730
1749
  }
1731
1750
  interface CreateTicketParams {
1732
1751
  collection: string;
@@ -1783,4 +1802,4 @@ declare class UserFacingError extends Error {
1783
1802
  constructor(message: string);
1784
1803
  }
1785
1804
 
1786
- export { type ApiPlatformStats as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDropConditions as C, type ApiDropInfo as D, type ApiDropState as E, type ApiEmissionCall as F, type ApiEmissionResult as G, type ApiFundingInstructions as H, type ApiFundingIntent as I, type ApiFundingMethod as J, type ApiFundingStatus as K, type ApiFundingSubmit as L, type ApiIntent as M, type ApiIntentCreated as N, type ApiIpNftTokenData as O, type ApiMeta as P, type ApiMetadataSignedUrl as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataUpload as T, type ApiOrder as U, type ApiOrderConsideration as V, type ApiOrderOffer as W, type ApiOrderPrice as X, type ApiOrderTokenMeta as Y, type ApiOrderTxHash as Z, type ApiOrdersQuery as _, type ServiceCapability as a, type CreateGenesisMintIntentParams as a$, type ApiPointEvent as a0, type ApiPortalKey as a1, type ApiPortalKeyCreated as a2, type ApiPortalMe as a3, type ApiPortalSpend as a4, type ApiPricing as a5, type ApiPricingRule as a6, type ApiPublicRemix as a7, type ApiRemixOffer as a8, type ApiRemixOfferPrice as a9, type ApiTokensQuery as aA, type ApiTxSyncResult as aB, type ApiUserRewards as aC, type ApiUserWallet as aD, type ApiUsernameClaim as aE, type ApiWalletActivity as aF, type AutoRemixOfferParams as aG, type CancelOrderIntentParams as aH, type ChainFilter as aI, type CheckoutIntentItem as aJ, type ClaimConditions as aK, type CollectionServiceId as aL, type CollectionSort as aM, type CollectionTokensSort as aN, type ConfirmRemixOfferParams as aO, type ConfirmSelfRemixParams as aP, type ConsiderationItem as aQ, type CreateCheckoutIntentParams as aR, type CreateCoinIntentParams as aS, type CreateCollectionIntentParams as aT, type CreateCommentIntentParams as aU, type CreateCounterOfferIntentParams as aV, type CreateDropAllowlistIntentParams as aW, type CreateDropClaimIntentParams as aX, type CreateDropManageIntentParams as aY, type CreateDropParams as aZ, type CreateFundingTransferIntentParams as a_, type ApiRemixOffersQuery as aa, type ApiReportTargetType as ab, type ApiResponse as ac, type ApiRewardsBadge as ad, type ApiRewardsBatchEntry as ae, type ApiRewardsConfig as af, type ApiRewardsLeaderboardEntry as ag, type ApiRewardsLevel as ah, type ApiSearchCollectionResult as ai, type ApiSearchCreatorResult as aj, type ApiSearchResult as ak, type ApiSearchTokenResult as al, type ApiSession as am, type ApiSpendByAction as an, type ApiSponsorshipBid as ao, type ApiSponsorshipLicense as ap, type ApiSponsorshipLicensesQuery as aq, type ApiSponsorshipOffer as ar, type ApiSponsorshipOffersQuery as as, type ApiSponsorshipProposal as at, type ApiSponsorshipProposalsQuery as au, type ApiSubmitReport as av, type ApiTierOnchain as aw, type ApiToken as ax, type ApiTokenBalance as ay, type ApiTokenMetadata as az, type AcceptSponsorshipProposalIntentParams as b, UserFacingError as b$, type CreateListingIntentParams as b0, type CreateMembershipParams as b1, type CreateMintIntentParams as b2, type CreatePopBurnIntentParams as b3, type CreatePopClaimIntentParams as b4, type CreatePopCollectionParams as b5, type CreatePopManageIntentParams as b6, type CreateRemixOfferParams as b7, type CreateSponsorshipOfferIntentParams as b8, type CreateSponsorshipOfferParams as b9, type MedialaneErrorCode as bA, type MintMembershipsParams as bB, type MintTicketsParams as bC, OPEN_LICENSES as bD, type OfferItem as bE, type OpenLicense as bF, type Order as bG, type OrderDetails as bH, type OrderParameters as bI, type OrderStatus as bJ, PasskeyCancelledError as bK, PasskeyUnsupportedError as bL, type PasskeyUnsupportedReason as bM, type PlaceSponsorshipBidIntentParams as bN, type PopManageAction as bO, type ProposeSponsorshipParams as bP, type RejectSponsorshipProposalIntentParams as bQ, type RemixOfferStatus as bR, type ResolvedConfig as bS, type RetractSponsorshipBidIntentParams as bT, type RetryOptions as bU, type ServiceEventDeclaration as bV, type SetSponsorshipOfferOpenIntentParams as bW, type SortOrder as bX, type TierServiceId as bY, type TxResult as bZ, type UpdateCollectionProfileInput as b_, type CreateSponsorshipProposalIntentParams as ba, type CreateSwapIntentParams as bb, type CreateTicketParams as bc, type CreateTierIntentParams as bd, type CreateTransferCollectionOwnershipIntentParams as be, type CreateTransferNftIntentParams as bf, type CreateTransferTokenIntentParams as bg, type CreateWalletManageIntentParams as bh, type DropManageAction as bi, type DropMintStatus as bj, type EmissionParams as bk, type EnforcementDeclaration as bl, type FactoryFamilyServiceId as bm, type FeeConfig as bn, FeeConfigSchema as bo, type FulfillOrderIntentParams as bp, type IPType as bq, type IntentCall as br, type IntentStatus as bs, type IntentType as bt, type IpAttribute as bu, type IpNftMetadata as bv, type LaunchCoinIntentParams as bw, type MakeOfferIntentParams as bx, MedialaneApiError as by, type MedialaneConfig as bz, type ActivityType as c, type WalletManageAction as c0, type WithdrawSponsorshipProposalIntentParams as c1, resolveConfig as c2, resolveFeeConfig as c3, type SealedOwner as c4, type ReceiptProviderLike as c5, type WalletExecutor as c6, type ExecutedTransaction as c7, type PasskeyOwner as c8, type CreatedOwner as c9, InvalidRecoveryKeyError as ca, type OwnerSigner as cb, type PasskeyConfig as cc, type RecoveryKey as cd, createPasskeyOwner as ce, encodeRecoveryKey as cf, parseRecoveryKey as cg, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
1805
+ export { type ApiPlatformStats as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDropConditions as C, type ApiDropInfo as D, type ApiDropState as E, type ApiEmissionCall as F, type ApiEmissionResult as G, type ApiFundingInstructions as H, type ApiFundingIntent as I, type ApiFundingMethod as J, type ApiFundingStatus as K, type ApiFundingSubmit as L, type ApiIntent as M, type ApiIntentCreated as N, type ApiIpNftTokenData as O, type ApiMeta as P, type ApiMetadataSignedUrl as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataUpload as T, type ApiOrder as U, type ApiOrderConsideration as V, type ApiOrderOffer as W, type ApiOrderPrice as X, type ApiOrderTokenMeta as Y, type ApiOrderTxHash as Z, type ApiOrdersQuery as _, type ServiceCapability as a, type CreateMembershipParams as a$, type ApiPointEvent as a0, type ApiPortalKey as a1, type ApiPortalKeyCreated as a2, type ApiPortalMe as a3, type ApiPortalSpend as a4, type ApiPricing as a5, type ApiPricingRule as a6, type ApiPublicRemix as a7, type ApiRemixOffer as a8, type ApiRemixOfferPrice as a9, type ApiTokensQuery as aA, type ApiTxSyncResult as aB, type ApiUserRewards as aC, type ApiUserWallet as aD, type ApiUsernameClaim as aE, type ApiWalletActivity as aF, type AutoRemixOfferParams as aG, type CancelOrderIntentParams as aH, type ChainFilter as aI, type CheckoutIntentItem as aJ, type CollectionServiceId as aK, type CollectionSort as aL, type CollectionTokensSort as aM, type ConfirmRemixOfferParams as aN, type ConfirmSelfRemixParams as aO, type ConsiderationItem as aP, type CreateCheckoutIntentParams as aQ, type CreateCoinIntentParams as aR, type CreateCollectionIntentParams as aS, type CreateCommentIntentParams as aT, type CreateCounterOfferIntentParams as aU, type CreateDropClaimIntentParams as aV, type CreateDropManageIntentParams as aW, type CreateDropParams as aX, type CreateFundingTransferIntentParams as aY, type CreateGenesisMintIntentParams as aZ, type CreateListingIntentParams as a_, type ApiRemixOffersQuery as aa, type ApiReportTargetType as ab, type ApiResponse as ac, type ApiRewardsBadge as ad, type ApiRewardsBatchEntry as ae, type ApiRewardsConfig as af, type ApiRewardsLeaderboardEntry as ag, type ApiRewardsLevel as ah, type ApiSearchCollectionResult as ai, type ApiSearchCreatorResult as aj, type ApiSearchResult as ak, type ApiSearchTokenResult as al, type ApiSession as am, type ApiSpendByAction as an, type ApiSponsorshipBid as ao, type ApiSponsorshipLicense as ap, type ApiSponsorshipLicensesQuery as aq, type ApiSponsorshipOffer as ar, type ApiSponsorshipOffersQuery as as, type ApiSponsorshipProposal as at, type ApiSponsorshipProposalsQuery as au, type ApiSubmitReport as av, type ApiTierOnchain as aw, type ApiToken as ax, type ApiTokenBalance as ay, type ApiTokenMetadata as az, type AcceptSponsorshipProposalIntentParams as b, UserFacingError as b$, type CreateMintIntentParams as b0, type CreatePopBurnIntentParams as b1, type CreatePopClaimIntentParams as b2, type CreatePopCollectionParams as b3, type CreatePopManageIntentParams as b4, type CreateRemixOfferParams as b5, type CreateSponsorshipOfferIntentParams as b6, type CreateSponsorshipOfferParams as b7, type CreateSponsorshipProposalIntentParams as b8, type CreateSwapIntentParams as b9, type MedialaneErrorCode as bA, type MintMembershipsParams as bB, type MintTicketsParams as bC, OPEN_LICENSES as bD, type OfferItem as bE, type OpenLicense as bF, type Order as bG, type OrderDetails as bH, type OrderParameters as bI, type OrderStatus as bJ, PasskeyCancelledError as bK, PasskeyUnsupportedError as bL, type PasskeyUnsupportedReason as bM, type PlaceSponsorshipBidIntentParams as bN, type PopManageAction as bO, type ProposeSponsorshipParams as bP, type RejectSponsorshipProposalIntentParams as bQ, type RemixOfferStatus as bR, type ResolvedConfig as bS, type RetractSponsorshipBidIntentParams as bT, type RetryOptions as bU, type ServiceEventDeclaration as bV, type SetSponsorshipOfferOpenIntentParams as bW, type SortOrder as bX, type TierServiceId as bY, type TxResult as bZ, type UpdateCollectionProfileInput as b_, type CreateTicketParams as ba, type CreateTierIntentParams as bb, type CreateTransferCollectionOwnershipIntentParams as bc, type CreateTransferNftIntentParams as bd, type CreateTransferTokenIntentParams as be, type CreateWalletManageIntentParams as bf, type DropManageAction as bg, type DropMintStatus as bh, type DropTerms as bi, type DropTermsBody as bj, type EmissionParams as bk, type EnforcementDeclaration as bl, type FactoryFamilyServiceId as bm, type FeeConfig as bn, FeeConfigSchema as bo, type FulfillOrderIntentParams as bp, type IPType as bq, type IntentCall as br, type IntentStatus as bs, type IntentType as bt, type IpAttribute as bu, type IpNftMetadata as bv, type LaunchCoinIntentParams as bw, type MakeOfferIntentParams as bx, MedialaneApiError as by, type MedialaneConfig as bz, type ActivityType as c, type WalletManageAction as c0, type WithdrawSponsorshipProposalIntentParams as c1, resolveConfig as c2, resolveFeeConfig as c3, type SealedOwner as c4, type ReceiptProviderLike as c5, type WalletExecutor as c6, type ExecutedTransaction as c7, type PasskeyOwner as c8, type CreatedOwner as c9, InvalidRecoveryKeyError as ca, type OwnerSigner as cb, type PasskeyConfig as cc, type RecoveryKey as cd, createPasskeyOwner as ce, encodeRecoveryKey as cf, parseRecoveryKey as cg, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { C as Chain } from './types-C-y68Ut2.cjs';
2
+ import { C as Chain } from './types-BTNjkUst.cjs';
3
3
  import { Call, TypedData } from 'starknet';
4
4
 
5
5
  interface RetryOptions {
@@ -545,6 +545,18 @@ interface CreateMintIntentParams {
545
545
  value?: string;
546
546
  collectionContract?: string;
547
547
  }
548
+ /** Drop sale terms on the wire: amounts as decimal strings in the token's smallest unit. */
549
+ interface DropTermsBody {
550
+ /** Unix seconds; 0 = open from creation. */
551
+ startTime: number;
552
+ /** Unix seconds; 0 = never closes. */
553
+ endTime: number;
554
+ /** Per token; "0" = free. */
555
+ price: string;
556
+ paymentToken: string;
557
+ /** "0" = unlimited. */
558
+ maxPerWallet: string;
559
+ }
548
560
  interface CreateCollectionIntentParams {
549
561
  owner: string;
550
562
  name: string;
@@ -556,13 +568,10 @@ interface CreateCollectionIntentParams {
556
568
  service?: CollectionServiceId;
557
569
  claimEndTimestamp?: number;
558
570
  maxSupply?: string;
559
- conditions?: {
560
- startTime: number;
561
- endTime: number;
562
- price: string;
563
- paymentToken: string;
564
- maxQuantityPerWallet: string;
565
- };
571
+ /** drop-collection */
572
+ terms?: DropTermsBody;
573
+ /** drop-collection — Merkle root of the allowlist; omitted = open to everyone */
574
+ allowlistRoot?: string;
566
575
  }
567
576
  interface CheckoutIntentItem {
568
577
  orderHash: string;
@@ -1268,11 +1277,10 @@ interface CreatePopBurnIntentParams {
1268
1277
  interface CreateDropClaimIntentParams {
1269
1278
  claimer: string;
1270
1279
  collection: string;
1271
- }
1272
- interface CreateDropAllowlistIntentParams {
1273
- owner: string;
1274
- collection: string;
1275
- addresses: string[];
1280
+ /** Tokens to mint, decimal string. */
1281
+ quantity: string;
1282
+ /** Allowlist proof from the claim link; omitted for open drops. */
1283
+ proof?: string[];
1276
1284
  }
1277
1285
  type WalletManageAction = "add_owner" | "remove_owner" | "cancel_escape" | "set_first_guardian" | "trigger_escape" | "complete_escape";
1278
1286
  interface CreateWalletManageIntentParams {
@@ -1294,14 +1302,17 @@ interface CreateFundingTransferIntentParams {
1294
1302
  asset: string;
1295
1303
  amountAtomic: string;
1296
1304
  }
1297
- type DropManageAction = "allowlist_enabled" | "allowlist_add" | "allowlist_remove" | "withdraw_payments";
1305
+ type DropManageAction = "issue" | "set_allowlist_root";
1298
1306
  interface CreateDropManageIntentParams {
1299
1307
  owner: string;
1300
1308
  collection: string;
1301
1309
  action: DropManageAction;
1302
- enabled?: boolean;
1303
- addresses?: string[];
1304
- address?: string;
1310
+ /** issue */
1311
+ recipient?: string;
1312
+ /** issue — decimal string */
1313
+ quantity?: string;
1314
+ /** set_allowlist_root — 0x0 opens the drop to everyone */
1315
+ root?: string;
1305
1316
  }
1306
1317
  type PopManageAction = "issue" | "set_allowlist_root";
1307
1318
  interface CreatePopManageIntentParams {
@@ -1377,7 +1388,6 @@ declare class ApiClient {
1377
1388
  createPopClaimIntent(params: CreatePopClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1378
1389
  createPopBurnIntent(params: CreatePopBurnIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1379
1390
  createDropClaimIntent(params: CreateDropClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1380
- createDropAllowlistIntent(params: CreateDropAllowlistIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1381
1391
  createWalletManageIntent(params: CreateWalletManageIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1382
1392
  createSwapIntent(params: CreateSwapIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1383
1393
  createFundingTransferIntent(params: CreateFundingTransferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
@@ -1714,19 +1724,28 @@ interface CreatePopCollectionParams {
1714
1724
  /** Unix seconds; 0 = no deadline. */
1715
1725
  claimEndTime: number;
1716
1726
  }
1717
- interface ClaimConditions {
1727
+ interface DropTerms {
1728
+ /** Unix seconds; 0 = open from creation. */
1718
1729
  startTime: number;
1730
+ /** Unix seconds; 0 = never closes. */
1719
1731
  endTime: number;
1732
+ /** Per token, in the payment token's smallest unit; 0 = free. */
1720
1733
  price: bigint | string;
1734
+ /** Sent as zero when the drop is free. */
1721
1735
  paymentToken: string;
1722
- maxQuantityPerWallet: bigint | string;
1736
+ /** Claims per wallet; 0 = unlimited. */
1737
+ maxPerWallet: bigint | string;
1723
1738
  }
1724
1739
  interface CreateDropParams {
1725
1740
  name: string;
1726
1741
  symbol: string;
1742
+ /** Token URI = baseUri + token id. */
1727
1743
  baseUri: string;
1744
+ /** 0 = no cap. */
1728
1745
  maxSupply: bigint | string;
1729
- initialConditions: ClaimConditions;
1746
+ terms: DropTerms;
1747
+ /** Merkle root of the allowlist; absent or 0 = open to everyone. */
1748
+ allowlistRoot?: string;
1730
1749
  }
1731
1750
  interface CreateTicketParams {
1732
1751
  collection: string;
@@ -1783,4 +1802,4 @@ declare class UserFacingError extends Error {
1783
1802
  constructor(message: string);
1784
1803
  }
1785
1804
 
1786
- export { type ApiPlatformStats as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDropConditions as C, type ApiDropInfo as D, type ApiDropState as E, type ApiEmissionCall as F, type ApiEmissionResult as G, type ApiFundingInstructions as H, type ApiFundingIntent as I, type ApiFundingMethod as J, type ApiFundingStatus as K, type ApiFundingSubmit as L, type ApiIntent as M, type ApiIntentCreated as N, type ApiIpNftTokenData as O, type ApiMeta as P, type ApiMetadataSignedUrl as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataUpload as T, type ApiOrder as U, type ApiOrderConsideration as V, type ApiOrderOffer as W, type ApiOrderPrice as X, type ApiOrderTokenMeta as Y, type ApiOrderTxHash as Z, type ApiOrdersQuery as _, type ServiceCapability as a, type CreateGenesisMintIntentParams as a$, type ApiPointEvent as a0, type ApiPortalKey as a1, type ApiPortalKeyCreated as a2, type ApiPortalMe as a3, type ApiPortalSpend as a4, type ApiPricing as a5, type ApiPricingRule as a6, type ApiPublicRemix as a7, type ApiRemixOffer as a8, type ApiRemixOfferPrice as a9, type ApiTokensQuery as aA, type ApiTxSyncResult as aB, type ApiUserRewards as aC, type ApiUserWallet as aD, type ApiUsernameClaim as aE, type ApiWalletActivity as aF, type AutoRemixOfferParams as aG, type CancelOrderIntentParams as aH, type ChainFilter as aI, type CheckoutIntentItem as aJ, type ClaimConditions as aK, type CollectionServiceId as aL, type CollectionSort as aM, type CollectionTokensSort as aN, type ConfirmRemixOfferParams as aO, type ConfirmSelfRemixParams as aP, type ConsiderationItem as aQ, type CreateCheckoutIntentParams as aR, type CreateCoinIntentParams as aS, type CreateCollectionIntentParams as aT, type CreateCommentIntentParams as aU, type CreateCounterOfferIntentParams as aV, type CreateDropAllowlistIntentParams as aW, type CreateDropClaimIntentParams as aX, type CreateDropManageIntentParams as aY, type CreateDropParams as aZ, type CreateFundingTransferIntentParams as a_, type ApiRemixOffersQuery as aa, type ApiReportTargetType as ab, type ApiResponse as ac, type ApiRewardsBadge as ad, type ApiRewardsBatchEntry as ae, type ApiRewardsConfig as af, type ApiRewardsLeaderboardEntry as ag, type ApiRewardsLevel as ah, type ApiSearchCollectionResult as ai, type ApiSearchCreatorResult as aj, type ApiSearchResult as ak, type ApiSearchTokenResult as al, type ApiSession as am, type ApiSpendByAction as an, type ApiSponsorshipBid as ao, type ApiSponsorshipLicense as ap, type ApiSponsorshipLicensesQuery as aq, type ApiSponsorshipOffer as ar, type ApiSponsorshipOffersQuery as as, type ApiSponsorshipProposal as at, type ApiSponsorshipProposalsQuery as au, type ApiSubmitReport as av, type ApiTierOnchain as aw, type ApiToken as ax, type ApiTokenBalance as ay, type ApiTokenMetadata as az, type AcceptSponsorshipProposalIntentParams as b, UserFacingError as b$, type CreateListingIntentParams as b0, type CreateMembershipParams as b1, type CreateMintIntentParams as b2, type CreatePopBurnIntentParams as b3, type CreatePopClaimIntentParams as b4, type CreatePopCollectionParams as b5, type CreatePopManageIntentParams as b6, type CreateRemixOfferParams as b7, type CreateSponsorshipOfferIntentParams as b8, type CreateSponsorshipOfferParams as b9, type MedialaneErrorCode as bA, type MintMembershipsParams as bB, type MintTicketsParams as bC, OPEN_LICENSES as bD, type OfferItem as bE, type OpenLicense as bF, type Order as bG, type OrderDetails as bH, type OrderParameters as bI, type OrderStatus as bJ, PasskeyCancelledError as bK, PasskeyUnsupportedError as bL, type PasskeyUnsupportedReason as bM, type PlaceSponsorshipBidIntentParams as bN, type PopManageAction as bO, type ProposeSponsorshipParams as bP, type RejectSponsorshipProposalIntentParams as bQ, type RemixOfferStatus as bR, type ResolvedConfig as bS, type RetractSponsorshipBidIntentParams as bT, type RetryOptions as bU, type ServiceEventDeclaration as bV, type SetSponsorshipOfferOpenIntentParams as bW, type SortOrder as bX, type TierServiceId as bY, type TxResult as bZ, type UpdateCollectionProfileInput as b_, type CreateSponsorshipProposalIntentParams as ba, type CreateSwapIntentParams as bb, type CreateTicketParams as bc, type CreateTierIntentParams as bd, type CreateTransferCollectionOwnershipIntentParams as be, type CreateTransferNftIntentParams as bf, type CreateTransferTokenIntentParams as bg, type CreateWalletManageIntentParams as bh, type DropManageAction as bi, type DropMintStatus as bj, type EmissionParams as bk, type EnforcementDeclaration as bl, type FactoryFamilyServiceId as bm, type FeeConfig as bn, FeeConfigSchema as bo, type FulfillOrderIntentParams as bp, type IPType as bq, type IntentCall as br, type IntentStatus as bs, type IntentType as bt, type IpAttribute as bu, type IpNftMetadata as bv, type LaunchCoinIntentParams as bw, type MakeOfferIntentParams as bx, MedialaneApiError as by, type MedialaneConfig as bz, type ActivityType as c, type WalletManageAction as c0, type WithdrawSponsorshipProposalIntentParams as c1, resolveConfig as c2, resolveFeeConfig as c3, type SealedOwner as c4, type ReceiptProviderLike as c5, type WalletExecutor as c6, type ExecutedTransaction as c7, type PasskeyOwner as c8, type CreatedOwner as c9, InvalidRecoveryKeyError as ca, type OwnerSigner as cb, type PasskeyConfig as cc, type RecoveryKey as cd, createPasskeyOwner as ce, encodeRecoveryKey as cf, parseRecoveryKey as cg, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
1805
+ export { type ApiPlatformStats as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDropConditions as C, type ApiDropInfo as D, type ApiDropState as E, type ApiEmissionCall as F, type ApiEmissionResult as G, type ApiFundingInstructions as H, type ApiFundingIntent as I, type ApiFundingMethod as J, type ApiFundingStatus as K, type ApiFundingSubmit as L, type ApiIntent as M, type ApiIntentCreated as N, type ApiIpNftTokenData as O, type ApiMeta as P, type ApiMetadataSignedUrl as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataUpload as T, type ApiOrder as U, type ApiOrderConsideration as V, type ApiOrderOffer as W, type ApiOrderPrice as X, type ApiOrderTokenMeta as Y, type ApiOrderTxHash as Z, type ApiOrdersQuery as _, type ServiceCapability as a, type CreateMembershipParams as a$, type ApiPointEvent as a0, type ApiPortalKey as a1, type ApiPortalKeyCreated as a2, type ApiPortalMe as a3, type ApiPortalSpend as a4, type ApiPricing as a5, type ApiPricingRule as a6, type ApiPublicRemix as a7, type ApiRemixOffer as a8, type ApiRemixOfferPrice as a9, type ApiTokensQuery as aA, type ApiTxSyncResult as aB, type ApiUserRewards as aC, type ApiUserWallet as aD, type ApiUsernameClaim as aE, type ApiWalletActivity as aF, type AutoRemixOfferParams as aG, type CancelOrderIntentParams as aH, type ChainFilter as aI, type CheckoutIntentItem as aJ, type CollectionServiceId as aK, type CollectionSort as aL, type CollectionTokensSort as aM, type ConfirmRemixOfferParams as aN, type ConfirmSelfRemixParams as aO, type ConsiderationItem as aP, type CreateCheckoutIntentParams as aQ, type CreateCoinIntentParams as aR, type CreateCollectionIntentParams as aS, type CreateCommentIntentParams as aT, type CreateCounterOfferIntentParams as aU, type CreateDropClaimIntentParams as aV, type CreateDropManageIntentParams as aW, type CreateDropParams as aX, type CreateFundingTransferIntentParams as aY, type CreateGenesisMintIntentParams as aZ, type CreateListingIntentParams as a_, type ApiRemixOffersQuery as aa, type ApiReportTargetType as ab, type ApiResponse as ac, type ApiRewardsBadge as ad, type ApiRewardsBatchEntry as ae, type ApiRewardsConfig as af, type ApiRewardsLeaderboardEntry as ag, type ApiRewardsLevel as ah, type ApiSearchCollectionResult as ai, type ApiSearchCreatorResult as aj, type ApiSearchResult as ak, type ApiSearchTokenResult as al, type ApiSession as am, type ApiSpendByAction as an, type ApiSponsorshipBid as ao, type ApiSponsorshipLicense as ap, type ApiSponsorshipLicensesQuery as aq, type ApiSponsorshipOffer as ar, type ApiSponsorshipOffersQuery as as, type ApiSponsorshipProposal as at, type ApiSponsorshipProposalsQuery as au, type ApiSubmitReport as av, type ApiTierOnchain as aw, type ApiToken as ax, type ApiTokenBalance as ay, type ApiTokenMetadata as az, type AcceptSponsorshipProposalIntentParams as b, UserFacingError as b$, type CreateMintIntentParams as b0, type CreatePopBurnIntentParams as b1, type CreatePopClaimIntentParams as b2, type CreatePopCollectionParams as b3, type CreatePopManageIntentParams as b4, type CreateRemixOfferParams as b5, type CreateSponsorshipOfferIntentParams as b6, type CreateSponsorshipOfferParams as b7, type CreateSponsorshipProposalIntentParams as b8, type CreateSwapIntentParams as b9, type MedialaneErrorCode as bA, type MintMembershipsParams as bB, type MintTicketsParams as bC, OPEN_LICENSES as bD, type OfferItem as bE, type OpenLicense as bF, type Order as bG, type OrderDetails as bH, type OrderParameters as bI, type OrderStatus as bJ, PasskeyCancelledError as bK, PasskeyUnsupportedError as bL, type PasskeyUnsupportedReason as bM, type PlaceSponsorshipBidIntentParams as bN, type PopManageAction as bO, type ProposeSponsorshipParams as bP, type RejectSponsorshipProposalIntentParams as bQ, type RemixOfferStatus as bR, type ResolvedConfig as bS, type RetractSponsorshipBidIntentParams as bT, type RetryOptions as bU, type ServiceEventDeclaration as bV, type SetSponsorshipOfferOpenIntentParams as bW, type SortOrder as bX, type TierServiceId as bY, type TxResult as bZ, type UpdateCollectionProfileInput as b_, type CreateTicketParams as ba, type CreateTierIntentParams as bb, type CreateTransferCollectionOwnershipIntentParams as bc, type CreateTransferNftIntentParams as bd, type CreateTransferTokenIntentParams as be, type CreateWalletManageIntentParams as bf, type DropManageAction as bg, type DropMintStatus as bh, type DropTerms as bi, type DropTermsBody as bj, type EmissionParams as bk, type EnforcementDeclaration as bl, type FactoryFamilyServiceId as bm, type FeeConfig as bn, FeeConfigSchema as bo, type FulfillOrderIntentParams as bp, type IPType as bq, type IntentCall as br, type IntentStatus as bs, type IntentType as bt, type IpAttribute as bu, type IpNftMetadata as bv, type LaunchCoinIntentParams as bw, type MakeOfferIntentParams as bx, MedialaneApiError as by, type MedialaneConfig as bz, type ActivityType as c, type WalletManageAction as c0, type WithdrawSponsorshipProposalIntentParams as c1, resolveConfig as c2, resolveFeeConfig as c3, type SealedOwner as c4, type ReceiptProviderLike as c5, type WalletExecutor as c6, type ExecutedTransaction as c7, type PasskeyOwner as c8, type CreatedOwner as c9, InvalidRecoveryKeyError as ca, type OwnerSigner as cb, type PasskeyConfig as cc, type RecoveryKey as cd, createPasskeyOwner as ce, encodeRecoveryKey as cf, parseRecoveryKey as cg, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkH7I6TEOA_cjs = require('../chunk-H7I6TEOA.cjs');
3
+ var chunkVJVBWHAD_cjs = require('../chunk-VJVBWHAD.cjs');
4
4
  var viem = require('viem');
5
5
 
6
6
  var EVM_ORDER_TYPES = {
@@ -219,7 +219,7 @@ function commonFields(params) {
219
219
  }
220
220
  function maybeCoords(chain) {
221
221
  try {
222
- return chunkH7I6TEOA_cjs.getCoordinates(chain);
222
+ return chunkVJVBWHAD_cjs.getCoordinates(chain);
223
223
  } catch {
224
224
  return void 0;
225
225
  }
@@ -286,7 +286,7 @@ var EvmIssuance = class {
286
286
  };
287
287
  function maybeCoords2(chain) {
288
288
  try {
289
- return chunkH7I6TEOA_cjs.getCoordinates(chain);
289
+ return chunkVJVBWHAD_cjs.getCoordinates(chain);
290
290
  } catch {
291
291
  return void 0;
292
292
  }
@@ -1,5 +1,5 @@
1
1
  import { TypedDataDomain, WalletClient, PublicClient } from 'viem';
2
- import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-C-y68Ut2.cjs';
2
+ import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-BTNjkUst.cjs';
3
3
 
4
4
  declare const EVM_ORDER_TYPES: {
5
5
  readonly OfferItem: readonly [{
@@ -1,5 +1,5 @@
1
1
  import { TypedDataDomain, WalletClient, PublicClient } from 'viem';
2
- import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-C-y68Ut2.js';
2
+ import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-BTNjkUst.js';
3
3
 
4
4
  declare const EVM_ORDER_TYPES: {
5
5
  readonly OfferItem: readonly [{
package/dist/evm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCoordinates } from '../chunk-PBJLHXDB.js';
1
+ import { getCoordinates } from '../chunk-WYKCGQPN.js';
2
2
  import { parseAbi, hashTypedData, parseEventLogs } from 'viem';
3
3
 
4
4
  var EVM_ORDER_TYPES = {