@medialane/sdk 0.168.0 → 0.170.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-DOIIAXHD.cjs} +37 -12
  2. package/dist/chunk-DOIIAXHD.cjs.map +1 -0
  3. package/dist/{chunk-3QGECZBS.js → chunk-HUTEU22Y.js} +32 -9
  4. package/dist/chunk-HUTEU22Y.js.map +1 -0
  5. package/dist/{chunk-H7I6TEOA.cjs → chunk-VJVBWHAD.cjs} +5 -4
  6. package/dist/chunk-VJVBWHAD.cjs.map +1 -0
  7. package/dist/{chunk-PBJLHXDB.js → chunk-WYKCGQPN.js} +5 -4
  8. package/dist/chunk-WYKCGQPN.js.map +1 -0
  9. package/dist/{errors-CwqwX-vA.d.cts → errors-CZlv-DJJ.d.cts} +84 -22
  10. package/dist/{errors-CWbsAodQ.d.ts → errors-PGCoVYdU.d.ts} +84 -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
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/chains.ts"],"names":[],"mappings":";AAEO,IAAM,SAAS,CAAC,UAAA,EAAY,YAAY,QAAA,EAAU,MAAA,EAAQ,WAAW,SAAS;AAuFrF,IAAM,WAAA,GAAkC;AAAA,EACtC,QAAA,EAAU;AAAA,IACR,MAAA,EAAQ,iCAAA;AAAA,IACR,cAAA,EAAgB,oEAAA;AAAA,IAChB,uBAAA,EAAyB,oEAAA;AAAA,IACzB,wBAAA,EAA0B,QAAA;AAAA,IAC1B,eAAA,EAAiB,oEAAA;AAAA,IACjB,wBAAA,EAA0B,oEAAA;AAAA,IAC1B,yBAAA,EAA2B,QAAA;AAAA,IAC3B,aAAA,EAAe,oEAAA;AAAA,IACf,uBAAA,EAAyB,QAAA;AAAA,IACzB,mBAAA,EAAqB,oEAAA;AAAA,IACrB,6BAAA,EAA+B,QAAA;AAAA,IAC/B,cAAA,EAAgB,oEAAA;AAAA,IAChB,qBAAA,EAAuB,oEAAA;AAAA,IACvB,cAAA,EAAgB,oEAAA;AAAA,IAChB,8BAAA,EAAgC,oEAAA;AAAA,IAChC,uBAAA,EAAyB,oEAAA;AAAA,IACzB,wBAAA,EAA0B,QAAA;AAAA,IAC1B,UAAA,EAAY,oEAAA;AAAA,IACZ,sBAAA,EAAwB,oEAAA;AAAA,IACxB,oBAAA,EAAsB,QAAA;AAAA,IACtB,WAAA,EAAa,oEAAA;AAAA,IACb,uBAAA,EAAyB,oEAAA;AAAA,IACzB,qBAAA,EAAuB,QAAA;AAAA,IACvB,WAAA,EAAa,oEAAA;AAAA,IACb,kBAAA,EAAoB,mEAAA;AAAA,IACpB,wBAAA,EAA0B,mEAAA;AAAA,IAC1B,oBAAA,EAAsB,mEAAA;AAAA,IACtB,2BAAA,EAA6B,mEAAA;AAAA,IAC7B,qBAAA,EAAuB,QAAA;AAAA,IACvB,SAAA,EAAW,oEAAA;AAAA,IACX,gBAAA,EAAkB,oEAAA;AAAA,IAClB,2BAAA,EAA6B,oEAAA;AAAA,IAC7B,yBAAA,EAA2B,oEAAA;AAAA,IAC3B,mBAAA,EAAqB,QAAA;AAAA,IACrB,aAAA,EAAe,oEAAA;AAAA,IACf,sBAAA,EAAwB,oEAAA;AAAA,IACxB,yBAAA,EAA2B,oEAAA;AAAA,IAC3B,uBAAA,EAAyB,QAAA;AAAA,IAEzB,aAAA,EAAe,oEAAA;AAAA,IACf,sBAAA,EAAwB,oEAAA;AAAA,IACxB,uBAAA,EAAyB,QAAA;AAAA,IACzB,oBAAA,EAAsB,oEAAA;AAAA,IACtB,WAAA,EAAa;AAAA;AAEjB,CAAA;AASO,SAAS,eACd,KAAA,EAC+E;AAC/E,EAAA,MAAM,CAAA,GAAI,YAAY,KAAK,CAAA;AAC3B,EAAA,IAAI,CAAC,CAAA,EAAG,MAAM,IAAI,KAAA,CAAM,CAAA,qCAAA,EAAwC,KAAK,CAAA,CAAA,CAAG,CAAA;AACxE,EAAA,OAAO,CAAA;AACT;AAEO,IAAM,aAAA,GAAuB;AAE7B,SAAS,uBAAuB,KAAA,EAAmC;AACxE,EAAA,IAAI,UAAU,UAAA,EAAY;AACxB,IAAA,MAAM,IAAI,KAAA,CAAM,CAAA,6CAAA,EAAgD,KAAK,CAAA,EAAA,CAAI,CAAA;AAAA,EAC3E;AACA,EAAA,OAAO,eAAe,UAAU,CAAA;AAClC","file":"chunk-WYKCGQPN.js","sourcesContent":["\n\nexport const CHAINS = [\"STARKNET\", \"ETHEREUM\", \"SOLANA\", \"BASE\", \"STELLAR\", \"BITCOIN\"] as const;\nexport type Chain = (typeof CHAINS)[number];\n\nexport interface StarknetCoordinates {\n rpcUrl: string;\n marketplace721?: `0x${string}`;\n marketplace721ClassHash?: `0x${string}`;\n marketplace721StartBlock?: number;\n marketplace1155?: `0x${string}`;\n marketplace1155ClassHash?: `0x${string}`;\n marketplace1155StartBlock?: number;\n collection721?: `0x${string}`;\n collection721StartBlock?: number;\n dataTokenization721?: `0x${string}`;\n dataTokenization721StartBlock?: number;\n ipNftClassHash?: `0x${string}`;\n ipCollectionClassHash?: `0x${string}`;\n collection1155?: `0x${string}`;\n collection1155FactoryClassHash?: `0x${string}`;\n collection1155ClassHash?: `0x${string}`;\n collection1155StartBlock?: number;\n popFactory?: `0x${string}`;\n popCollectionClassHash?: `0x${string}`;\n popFactoryStartBlock?: number;\n dropFactory?: `0x${string}`;\n dropCollectionClassHash?: `0x${string}`;\n dropFactoryStartBlock?: number;\n nftComments?: `0x${string}`;\n creatorCoinFactory?: `0x${string}`;\n creatorCoinEkuboLauncher?: `0x${string}`;\n creatorCoinClassHash?: `0x${string}`;\n creatorCoinFactoryClassHash?: `0x${string}`;\n creatorCoinStartBlock?: number;\n ekuboCore?: `0x${string}`;\n ipTicketsFactory?: `0x${string}`;\n ipTicketCollectionClassHash?: `0x${string}`;\n ipTicketsFactoryClassHash?: `0x${string}`;\n ipTicketsStartBlock?: number;\n ipClubFactory?: `0x${string}`;\n ipClubFactoryClassHash?: `0x${string}`;\n ipClubCollectionClassHash?: `0x${string}`;\n ipClubFactoryStartBlock?: number;\n ipSponsorship?: `0x${string}`;\n ipSponsorshipClassHash?: `0x${string}`;\n ipSponsorshipStartBlock?: number;\n mediaWalletClassHash?: `0x${string}`;\n genesisMint?: `0x${string}`;\n}\n\nexport interface EvmCoordinates {\n rpcUrl: string;\n marketplace721?: `0x${string}`;\n marketplace721StartBlock?: number;\n marketplace1155?: `0x${string}`;\n marketplace1155StartBlock?: number;\n mipRegistry?: `0x${string}`;\n mipRegistryStartBlock?: number;\n mipEditionsRegistry?: `0x${string}`;\n mipEditionsRegistryStartBlock?: number;\n}\n\nexport interface SolanaCoordinates {\n rpcUrl: string;\n mipCollectionsProgram?: string;\n marketplaceProgram?: string;\n startSlot?: number;\n}\n\nexport interface StellarCoordinates {\n rpcUrl: string;\n mipRegistry?: string;\n marketplace?: string;\n collectionWasmHash?: string;\n startLedger?: number;\n}\n\nexport interface CoordinatesByChain {\n STARKNET?: StarknetCoordinates;\n ETHEREUM?: EvmCoordinates;\n BASE?: EvmCoordinates;\n SOLANA?: SolanaCoordinates;\n STELLAR?: StellarCoordinates;\n BITCOIN?: never;\n}\n\nexport type ChainCoordinates = StarknetCoordinates;\n\nconst COORDINATES: CoordinatesByChain = {\n STARKNET: {\n rpcUrl: \"https://rpc.starknet.lava.build\",\n marketplace721: \"0x03eda9a2b6ad90845a43591bac8083ebaf677d51fdf20f503b2c01889e3131fc\",\n marketplace721ClassHash: \"0x0700d9230d07e5203e27778c0dc70f9134d2b25bf319f7cf8348dc66a6923e90\",\n marketplace721StartBlock: 11198146,\n marketplace1155: \"0x07c4ce1c19ea48cc11135ed22b19ff745f5aec508c3828593002e4f76fdb1b38\",\n marketplace1155ClassHash: \"0x0242f5c388da7cee2d99e2a69453c8159bf927fbec4e797a3cfdcbbcb5b68328\",\n marketplace1155StartBlock: 11198267,\n collection721: \"0x0225c3ae09506b8d97adc39649ca740dad5aac195b7f5f0441cc1852947acaea\",\n collection721StartBlock: 11198496,\n dataTokenization721: \"0x07421b4442f7f2052c65408fb3561484154cf8175a0bbb41e3cd38d9087af6d2\",\n dataTokenization721StartBlock: 14670294,\n ipNftClassHash: \"0x012d3ae40ba35c7e2be0946532dac60e48932447912fdf96b674da67c029b9cc\",\n ipCollectionClassHash: \"0x022155a1a130a40e57aac4b89c07fab3f616bc351b1270fc40f756b963afe8b4\",\n collection1155: \"0x015368976d46fae5bfa1c58600f641d5aa5dbbf53ebc6b78aa3922194aad3551\",\n collection1155FactoryClassHash: \"0x04eb6b419770f13bd191f120b9fc9ee624c0613ad4490062d293ca2016b3b1d2\",\n collection1155ClassHash: \"0x06cf3f5a2322dac35e07a6064a5b8802f19fda8aa3f4726f0cb7bc05dea1bd78\",\n collection1155StartBlock: 11199527,\n popFactory: \"0x06af6ffdde310991a40570716dc3681acc7effc610aeb548ea0baa02d4208d5f\",\n popCollectionClassHash: \"0x076200229933dd10b8d6d41ecb1a53ba1972510a42f4d505dae4f6b54d1b317e\",\n popFactoryStartBlock: 16126169,\n dropFactory: \"0x049cae891b9195277e018ae99765a3b0e5f6b0f6a1807c5db789342bccc0e130\",\n dropCollectionClassHash: \"0x0641d0255db1d218e08b367f40559d5ccdc22d34fee8ef0500b4247092a60132\",\n dropFactoryStartBlock: 16240820,\n nftComments: \"0x02cdac70c94447189af0389dfea63f4d5e4154ea8a563de288a5ab1c39e37843\",\n creatorCoinFactory: \"0x50fa807b5274079fb19374673d7bab6d2dc3af7e1032ea43eb6e44bcbde4c3c\",\n creatorCoinEkuboLauncher: \"0x4f7fceb5ac10f12f9544a09580592e5bdf1b7f04f48765eecf12286d8ccb7b4\",\n creatorCoinClassHash: \"0x743e4c8a5b96bb83bbf4af04edbbb482d5ece89eed9b729a79fb7df0cd0b6b6\",\n creatorCoinFactoryClassHash: \"0x51765926b1344c9a20b8cd4b5abe7b7d47375ae97cf6804db3ea5d4b05a9b55\",\n creatorCoinStartBlock: 10474544,\n ekuboCore: \"0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b\",\n ipTicketsFactory: \"0x0767bf5b57e1f812463159b5ed683183e1b0c3f942b74871b5c6cd6a93c15e99\",\n ipTicketCollectionClassHash: \"0x0449e8eb7c117740d07cb8e0157d32c8ba3d19d1cfd2784ed5e139f5a1e04acc\",\n ipTicketsFactoryClassHash: \"0x04a739ac3a673ebd0db96bb24475600797c3ed34827e79517f9b2b1640276e6a\",\n ipTicketsStartBlock: 11933694,\n ipClubFactory: \"0x06a0b0be16d70c78f2e18119dbf90e5911cbfd5d8d484bc555dc61d96f56a2b9\",\n ipClubFactoryClassHash: \"0x05d9d431bd3532b1fa4d5bab572f49c5ad8034ee3cc83951aa41ae82c9cad266\",\n ipClubCollectionClassHash: \"0x05b8477c72e6bf0cf64967d71155021fd4d77d9a57e8805c6b40709121c002c5\",\n ipClubFactoryStartBlock: 11928775,\n\n ipSponsorship: \"0x03729ebe0fedf29ec97fca34db09174772af7f870af26a26e024a61040143e5c\",\n ipSponsorshipClassHash: \"0x0626daac2ed7e2bf630ef5b10104b3202db1559216c0c1a504c0e99be2fbfec3\",\n ipSponsorshipStartBlock: 11896456,\n mediaWalletClassHash: \"0x014b210c7d47392691144bafecdca3c6c7791cc295ea305988da0a724c05ac31\",\n genesisMint: \"0x06ed61abba98a44d45bed2c4b1a456df15053c3321cfd6e007afb33b7226c9f0\",\n },\n};\n\nexport function getCoordinates(chain: \"STARKNET\"): StarknetCoordinates;\nexport function getCoordinates(chain: \"ETHEREUM\" | \"BASE\"): EvmCoordinates;\nexport function getCoordinates(chain: \"SOLANA\"): SolanaCoordinates;\nexport function getCoordinates(chain: \"STELLAR\"): StellarCoordinates;\nexport function getCoordinates(\n chain: Chain,\n): StarknetCoordinates | EvmCoordinates | SolanaCoordinates | StellarCoordinates;\nexport function getCoordinates(\n chain: Chain,\n): StarknetCoordinates | EvmCoordinates | SolanaCoordinates | StellarCoordinates {\n const c = COORDINATES[chain];\n if (!c) throw new Error(`No coordinates configured for chain \"${chain}\"`);\n return c;\n}\n\nexport const DEFAULT_CHAIN: Chain = \"STARKNET\";\n\nexport function getStarknetCoordinates(chain: Chain): StarknetCoordinates {\n if (chain !== \"STARKNET\") {\n throw new Error(`This module is Starknet-only (client chain: \"${chain}\")`);\n }\n return getCoordinates(\"STARKNET\");\n}\n"]}
@@ -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,50 @@ 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
+ }
560
+ type ApiDropListStatus = "live" | "upcoming" | "ended";
561
+ interface ApiDrop {
562
+ contractAddress: string;
563
+ dropId: string;
564
+ organizer: string;
565
+ name: string | null;
566
+ symbol: string | null;
567
+ description: string | null;
568
+ image: string | null;
569
+ /** Token URI = baseUri + token id. */
570
+ baseUri: string | null;
571
+ /** "0" = no cap. */
572
+ maxSupply: string;
573
+ minted: string;
574
+ /** Total paid to the organizer, in the payment token's smallest unit. */
575
+ revenue: string;
576
+ collectors: number;
577
+ terms: DropTermsBody;
578
+ /** "0x0" = open to everyone. */
579
+ allowlistRoot: string;
580
+ createdBlock: string;
581
+ }
582
+ interface ApiDropMint {
583
+ kind: "claim" | "issue";
584
+ wallet: string;
585
+ quantity: string;
586
+ firstTokenId: string;
587
+ totalPaid: string;
588
+ txHash: string;
589
+ blockNumber: string;
590
+ createdAt: string;
591
+ }
548
592
  interface CreateCollectionIntentParams {
549
593
  owner: string;
550
594
  name: string;
@@ -556,13 +600,10 @@ interface CreateCollectionIntentParams {
556
600
  service?: CollectionServiceId;
557
601
  claimEndTimestamp?: number;
558
602
  maxSupply?: string;
559
- conditions?: {
560
- startTime: number;
561
- endTime: number;
562
- price: string;
563
- paymentToken: string;
564
- maxQuantityPerWallet: string;
565
- };
603
+ /** drop-collection */
604
+ terms?: DropTermsBody;
605
+ /** drop-collection — Merkle root of the allowlist; omitted = open to everyone */
606
+ allowlistRoot?: string;
566
607
  }
567
608
  interface CheckoutIntentItem {
568
609
  orderHash: string;
@@ -1268,11 +1309,10 @@ interface CreatePopBurnIntentParams {
1268
1309
  interface CreateDropClaimIntentParams {
1269
1310
  claimer: string;
1270
1311
  collection: string;
1271
- }
1272
- interface CreateDropAllowlistIntentParams {
1273
- owner: string;
1274
- collection: string;
1275
- addresses: string[];
1312
+ /** Tokens to mint, decimal string. */
1313
+ quantity: string;
1314
+ /** Allowlist proof from the claim link; omitted for open drops. */
1315
+ proof?: string[];
1276
1316
  }
1277
1317
  type WalletManageAction = "add_owner" | "remove_owner" | "cancel_escape" | "set_first_guardian" | "trigger_escape" | "complete_escape";
1278
1318
  interface CreateWalletManageIntentParams {
@@ -1294,14 +1334,17 @@ interface CreateFundingTransferIntentParams {
1294
1334
  asset: string;
1295
1335
  amountAtomic: string;
1296
1336
  }
1297
- type DropManageAction = "allowlist_enabled" | "allowlist_add" | "allowlist_remove" | "withdraw_payments";
1337
+ type DropManageAction = "issue" | "set_allowlist_root";
1298
1338
  interface CreateDropManageIntentParams {
1299
1339
  owner: string;
1300
1340
  collection: string;
1301
1341
  action: DropManageAction;
1302
- enabled?: boolean;
1303
- addresses?: string[];
1304
- address?: string;
1342
+ /** issue */
1343
+ recipient?: string;
1344
+ /** issue — decimal string */
1345
+ quantity?: string;
1346
+ /** set_allowlist_root — 0x0 opens the drop to everyone */
1347
+ root?: string;
1305
1348
  }
1306
1349
  type PopManageAction = "issue" | "set_allowlist_root";
1307
1350
  interface CreatePopManageIntentParams {
@@ -1377,7 +1420,6 @@ declare class ApiClient {
1377
1420
  createPopClaimIntent(params: CreatePopClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1378
1421
  createPopBurnIntent(params: CreatePopBurnIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1379
1422
  createDropClaimIntent(params: CreateDropClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1380
- createDropAllowlistIntent(params: CreateDropAllowlistIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1381
1423
  createWalletManageIntent(params: CreateWalletManageIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1382
1424
  createSwapIntent(params: CreateSwapIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1383
1425
  createFundingTransferIntent(params: CreateFundingTransferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
@@ -1554,6 +1596,17 @@ declare class ApiClient {
1554
1596
  getDropMintStatus(collection: string, wallet: string): Promise<DropMintStatus>;
1555
1597
  getDropInfo(contract: string): Promise<ApiDropInfo | null>;
1556
1598
  getDropState(contract: string): Promise<ApiDropState>;
1599
+ getDrops(query?: {
1600
+ status?: ApiDropListStatus;
1601
+ organizer?: string;
1602
+ page?: number;
1603
+ limit?: number;
1604
+ }): Promise<ApiResponse<ApiDrop[]>>;
1605
+ getDrop(contract: string): Promise<ApiDrop | null>;
1606
+ getDropMints(contract: string, opts?: {
1607
+ page?: number;
1608
+ limit?: number;
1609
+ }): Promise<ApiResponse<ApiDropMint[]>>;
1557
1610
  getTicket(contract: string, tokenId: string): Promise<ApiTierOnchain>;
1558
1611
  getTicketCount(contract: string): Promise<number>;
1559
1612
  getClubMembershipCount(contract: string): Promise<number>;
@@ -1714,19 +1767,28 @@ interface CreatePopCollectionParams {
1714
1767
  /** Unix seconds; 0 = no deadline. */
1715
1768
  claimEndTime: number;
1716
1769
  }
1717
- interface ClaimConditions {
1770
+ interface DropTerms {
1771
+ /** Unix seconds; 0 = open from creation. */
1718
1772
  startTime: number;
1773
+ /** Unix seconds; 0 = never closes. */
1719
1774
  endTime: number;
1775
+ /** Per token, in the payment token's smallest unit; 0 = free. */
1720
1776
  price: bigint | string;
1777
+ /** Sent as zero when the drop is free. */
1721
1778
  paymentToken: string;
1722
- maxQuantityPerWallet: bigint | string;
1779
+ /** Claims per wallet; 0 = unlimited. */
1780
+ maxPerWallet: bigint | string;
1723
1781
  }
1724
1782
  interface CreateDropParams {
1725
1783
  name: string;
1726
1784
  symbol: string;
1785
+ /** Token URI = baseUri + token id. */
1727
1786
  baseUri: string;
1787
+ /** 0 = no cap. */
1728
1788
  maxSupply: bigint | string;
1729
- initialConditions: ClaimConditions;
1789
+ terms: DropTerms;
1790
+ /** Merkle root of the allowlist; absent or 0 = open to everyone. */
1791
+ allowlistRoot?: string;
1730
1792
  }
1731
1793
  interface CreateTicketParams {
1732
1794
  collection: string;
@@ -1783,4 +1845,4 @@ declare class UserFacingError extends Error {
1783
1845
  constructor(message: string);
1784
1846
  }
1785
1847
 
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 };
1848
+ export { type ApiOrderTokenMeta as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropConditions as D, type ApiDropInfo as E, type ApiDropListStatus as F, type ApiDropMint as G, type ApiDropState as H, type ApiEmissionCall as I, type ApiEmissionResult as J, type ApiFundingInstructions as K, type ApiFundingIntent as L, type ApiFundingMethod as M, type ApiFundingStatus as N, type ApiFundingSubmit as O, type ApiIntent as P, type ApiIntentCreated as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiIpNftTokenData as T, type ApiMeta as U, type ApiMetadataSignedUrl as V, type ApiMetadataUpload as W, type ApiOrder as X, type ApiOrderConsideration as Y, type ApiOrderOffer as Z, type ApiOrderPrice as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiOrderTxHash as a0, type ApiOrdersQuery as a1, type ApiPlatformStats as a2, type ApiPointEvent as a3, type ApiPortalKey as a4, type ApiPortalKeyCreated as a5, type ApiPortalMe as a6, type ApiPortalSpend as a7, type ApiPricing as a8, type ApiPricingRule as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiPublicRemix as aa, type ApiRemixOffer as ab, type ApiRemixOfferPrice as ac, type ApiRemixOffersQuery as ad, type ApiReportTargetType as ae, type ApiResponse as af, type ApiRewardsBadge as ag, type ApiRewardsBatchEntry as ah, type ApiRewardsConfig as ai, type ApiRewardsLeaderboardEntry as aj, type ApiRewardsLevel as ak, type ApiSearchCollectionResult as al, type ApiSearchCreatorResult as am, type ApiSearchResult as an, type ApiSearchTokenResult as ao, type ApiSession as ap, type ApiSpendByAction as aq, type ApiSponsorshipBid as ar, type ApiSponsorshipLicense as as, type ApiSponsorshipLicensesQuery as at, type ApiSponsorshipOffer as au, type ApiSponsorshipOffersQuery as av, type ApiSponsorshipProposal as aw, type ApiSponsorshipProposalsQuery as ax, type ApiSubmitReport as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TierServiceId as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, type MakeOfferIntentParams as bA, MedialaneApiError as bB, type MedialaneConfig as bC, type MedialaneErrorCode as bD, type MintMembershipsParams as bE, type MintTicketsParams as bF, OPEN_LICENSES as bG, type OfferItem as bH, type OpenLicense as bI, type Order as bJ, type OrderDetails as bK, type OrderParameters as bL, type OrderStatus as bM, PasskeyCancelledError as bN, PasskeyUnsupportedError as bO, type PasskeyUnsupportedReason as bP, type PlaceSponsorshipBidIntentParams as bQ, type PopManageAction as bR, type ProposeSponsorshipParams as bS, type RejectSponsorshipProposalIntentParams as bT, type RemixOfferStatus as bU, type ResolvedConfig as bV, type RetractSponsorshipBidIntentParams as bW, type RetryOptions as bX, type ServiceEventDeclaration as bY, type SetSponsorshipOfferOpenIntentParams as bZ, type SortOrder as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropMintStatus as bk, type DropTerms as bl, type DropTermsBody as bm, type EmissionParams as bn, type EnforcementDeclaration as bo, type FactoryFamilyServiceId as bp, type FeeConfig as bq, FeeConfigSchema as br, type FulfillOrderIntentParams as bs, type IPType as bt, type IntentCall as bu, type IntentStatus as bv, type IntentType as bw, type IpAttribute as bx, type IpNftMetadata as by, type LaunchCoinIntentParams as bz, type ActivityType as c, type TxResult as c0, type UpdateCollectionProfileInput as c1, UserFacingError as c2, type WalletManageAction as c3, type WithdrawSponsorshipProposalIntentParams as c4, resolveConfig as c5, resolveFeeConfig as c6, type SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, InvalidRecoveryKeyError as cd, type OwnerSigner as ce, type PasskeyConfig as cf, type RecoveryKey as cg, createPasskeyOwner as ch, encodeRecoveryKey as ci, parseRecoveryKey as cj, 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.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,50 @@ 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
+ }
560
+ type ApiDropListStatus = "live" | "upcoming" | "ended";
561
+ interface ApiDrop {
562
+ contractAddress: string;
563
+ dropId: string;
564
+ organizer: string;
565
+ name: string | null;
566
+ symbol: string | null;
567
+ description: string | null;
568
+ image: string | null;
569
+ /** Token URI = baseUri + token id. */
570
+ baseUri: string | null;
571
+ /** "0" = no cap. */
572
+ maxSupply: string;
573
+ minted: string;
574
+ /** Total paid to the organizer, in the payment token's smallest unit. */
575
+ revenue: string;
576
+ collectors: number;
577
+ terms: DropTermsBody;
578
+ /** "0x0" = open to everyone. */
579
+ allowlistRoot: string;
580
+ createdBlock: string;
581
+ }
582
+ interface ApiDropMint {
583
+ kind: "claim" | "issue";
584
+ wallet: string;
585
+ quantity: string;
586
+ firstTokenId: string;
587
+ totalPaid: string;
588
+ txHash: string;
589
+ blockNumber: string;
590
+ createdAt: string;
591
+ }
548
592
  interface CreateCollectionIntentParams {
549
593
  owner: string;
550
594
  name: string;
@@ -556,13 +600,10 @@ interface CreateCollectionIntentParams {
556
600
  service?: CollectionServiceId;
557
601
  claimEndTimestamp?: number;
558
602
  maxSupply?: string;
559
- conditions?: {
560
- startTime: number;
561
- endTime: number;
562
- price: string;
563
- paymentToken: string;
564
- maxQuantityPerWallet: string;
565
- };
603
+ /** drop-collection */
604
+ terms?: DropTermsBody;
605
+ /** drop-collection — Merkle root of the allowlist; omitted = open to everyone */
606
+ allowlistRoot?: string;
566
607
  }
567
608
  interface CheckoutIntentItem {
568
609
  orderHash: string;
@@ -1268,11 +1309,10 @@ interface CreatePopBurnIntentParams {
1268
1309
  interface CreateDropClaimIntentParams {
1269
1310
  claimer: string;
1270
1311
  collection: string;
1271
- }
1272
- interface CreateDropAllowlistIntentParams {
1273
- owner: string;
1274
- collection: string;
1275
- addresses: string[];
1312
+ /** Tokens to mint, decimal string. */
1313
+ quantity: string;
1314
+ /** Allowlist proof from the claim link; omitted for open drops. */
1315
+ proof?: string[];
1276
1316
  }
1277
1317
  type WalletManageAction = "add_owner" | "remove_owner" | "cancel_escape" | "set_first_guardian" | "trigger_escape" | "complete_escape";
1278
1318
  interface CreateWalletManageIntentParams {
@@ -1294,14 +1334,17 @@ interface CreateFundingTransferIntentParams {
1294
1334
  asset: string;
1295
1335
  amountAtomic: string;
1296
1336
  }
1297
- type DropManageAction = "allowlist_enabled" | "allowlist_add" | "allowlist_remove" | "withdraw_payments";
1337
+ type DropManageAction = "issue" | "set_allowlist_root";
1298
1338
  interface CreateDropManageIntentParams {
1299
1339
  owner: string;
1300
1340
  collection: string;
1301
1341
  action: DropManageAction;
1302
- enabled?: boolean;
1303
- addresses?: string[];
1304
- address?: string;
1342
+ /** issue */
1343
+ recipient?: string;
1344
+ /** issue — decimal string */
1345
+ quantity?: string;
1346
+ /** set_allowlist_root — 0x0 opens the drop to everyone */
1347
+ root?: string;
1305
1348
  }
1306
1349
  type PopManageAction = "issue" | "set_allowlist_root";
1307
1350
  interface CreatePopManageIntentParams {
@@ -1377,7 +1420,6 @@ declare class ApiClient {
1377
1420
  createPopClaimIntent(params: CreatePopClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1378
1421
  createPopBurnIntent(params: CreatePopBurnIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1379
1422
  createDropClaimIntent(params: CreateDropClaimIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1380
- createDropAllowlistIntent(params: CreateDropAllowlistIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1381
1423
  createWalletManageIntent(params: CreateWalletManageIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1382
1424
  createSwapIntent(params: CreateSwapIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1383
1425
  createFundingTransferIntent(params: CreateFundingTransferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
@@ -1554,6 +1596,17 @@ declare class ApiClient {
1554
1596
  getDropMintStatus(collection: string, wallet: string): Promise<DropMintStatus>;
1555
1597
  getDropInfo(contract: string): Promise<ApiDropInfo | null>;
1556
1598
  getDropState(contract: string): Promise<ApiDropState>;
1599
+ getDrops(query?: {
1600
+ status?: ApiDropListStatus;
1601
+ organizer?: string;
1602
+ page?: number;
1603
+ limit?: number;
1604
+ }): Promise<ApiResponse<ApiDrop[]>>;
1605
+ getDrop(contract: string): Promise<ApiDrop | null>;
1606
+ getDropMints(contract: string, opts?: {
1607
+ page?: number;
1608
+ limit?: number;
1609
+ }): Promise<ApiResponse<ApiDropMint[]>>;
1557
1610
  getTicket(contract: string, tokenId: string): Promise<ApiTierOnchain>;
1558
1611
  getTicketCount(contract: string): Promise<number>;
1559
1612
  getClubMembershipCount(contract: string): Promise<number>;
@@ -1714,19 +1767,28 @@ interface CreatePopCollectionParams {
1714
1767
  /** Unix seconds; 0 = no deadline. */
1715
1768
  claimEndTime: number;
1716
1769
  }
1717
- interface ClaimConditions {
1770
+ interface DropTerms {
1771
+ /** Unix seconds; 0 = open from creation. */
1718
1772
  startTime: number;
1773
+ /** Unix seconds; 0 = never closes. */
1719
1774
  endTime: number;
1775
+ /** Per token, in the payment token's smallest unit; 0 = free. */
1720
1776
  price: bigint | string;
1777
+ /** Sent as zero when the drop is free. */
1721
1778
  paymentToken: string;
1722
- maxQuantityPerWallet: bigint | string;
1779
+ /** Claims per wallet; 0 = unlimited. */
1780
+ maxPerWallet: bigint | string;
1723
1781
  }
1724
1782
  interface CreateDropParams {
1725
1783
  name: string;
1726
1784
  symbol: string;
1785
+ /** Token URI = baseUri + token id. */
1727
1786
  baseUri: string;
1787
+ /** 0 = no cap. */
1728
1788
  maxSupply: bigint | string;
1729
- initialConditions: ClaimConditions;
1789
+ terms: DropTerms;
1790
+ /** Merkle root of the allowlist; absent or 0 = open to everyone. */
1791
+ allowlistRoot?: string;
1730
1792
  }
1731
1793
  interface CreateTicketParams {
1732
1794
  collection: string;
@@ -1783,4 +1845,4 @@ declare class UserFacingError extends Error {
1783
1845
  constructor(message: string);
1784
1846
  }
1785
1847
 
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 };
1848
+ export { type ApiOrderTokenMeta as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropConditions as D, type ApiDropInfo as E, type ApiDropListStatus as F, type ApiDropMint as G, type ApiDropState as H, type ApiEmissionCall as I, type ApiEmissionResult as J, type ApiFundingInstructions as K, type ApiFundingIntent as L, type ApiFundingMethod as M, type ApiFundingStatus as N, type ApiFundingSubmit as O, type ApiIntent as P, type ApiIntentCreated as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiIpNftTokenData as T, type ApiMeta as U, type ApiMetadataSignedUrl as V, type ApiMetadataUpload as W, type ApiOrder as X, type ApiOrderConsideration as Y, type ApiOrderOffer as Z, type ApiOrderPrice as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiOrderTxHash as a0, type ApiOrdersQuery as a1, type ApiPlatformStats as a2, type ApiPointEvent as a3, type ApiPortalKey as a4, type ApiPortalKeyCreated as a5, type ApiPortalMe as a6, type ApiPortalSpend as a7, type ApiPricing as a8, type ApiPricingRule as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiPublicRemix as aa, type ApiRemixOffer as ab, type ApiRemixOfferPrice as ac, type ApiRemixOffersQuery as ad, type ApiReportTargetType as ae, type ApiResponse as af, type ApiRewardsBadge as ag, type ApiRewardsBatchEntry as ah, type ApiRewardsConfig as ai, type ApiRewardsLeaderboardEntry as aj, type ApiRewardsLevel as ak, type ApiSearchCollectionResult as al, type ApiSearchCreatorResult as am, type ApiSearchResult as an, type ApiSearchTokenResult as ao, type ApiSession as ap, type ApiSpendByAction as aq, type ApiSponsorshipBid as ar, type ApiSponsorshipLicense as as, type ApiSponsorshipLicensesQuery as at, type ApiSponsorshipOffer as au, type ApiSponsorshipOffersQuery as av, type ApiSponsorshipProposal as aw, type ApiSponsorshipProposalsQuery as ax, type ApiSubmitReport as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TierServiceId as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, type MakeOfferIntentParams as bA, MedialaneApiError as bB, type MedialaneConfig as bC, type MedialaneErrorCode as bD, type MintMembershipsParams as bE, type MintTicketsParams as bF, OPEN_LICENSES as bG, type OfferItem as bH, type OpenLicense as bI, type Order as bJ, type OrderDetails as bK, type OrderParameters as bL, type OrderStatus as bM, PasskeyCancelledError as bN, PasskeyUnsupportedError as bO, type PasskeyUnsupportedReason as bP, type PlaceSponsorshipBidIntentParams as bQ, type PopManageAction as bR, type ProposeSponsorshipParams as bS, type RejectSponsorshipProposalIntentParams as bT, type RemixOfferStatus as bU, type ResolvedConfig as bV, type RetractSponsorshipBidIntentParams as bW, type RetryOptions as bX, type ServiceEventDeclaration as bY, type SetSponsorshipOfferOpenIntentParams as bZ, type SortOrder as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropMintStatus as bk, type DropTerms as bl, type DropTermsBody as bm, type EmissionParams as bn, type EnforcementDeclaration as bo, type FactoryFamilyServiceId as bp, type FeeConfig as bq, FeeConfigSchema as br, type FulfillOrderIntentParams as bs, type IPType as bt, type IntentCall as bu, type IntentStatus as bv, type IntentType as bw, type IpAttribute as bx, type IpNftMetadata as by, type LaunchCoinIntentParams as bz, type ActivityType as c, type TxResult as c0, type UpdateCollectionProfileInput as c1, UserFacingError as c2, type WalletManageAction as c3, type WithdrawSponsorshipProposalIntentParams as c4, resolveConfig as c5, resolveFeeConfig as c6, type SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, InvalidRecoveryKeyError as cd, type OwnerSigner as ce, type PasskeyConfig as cf, type RecoveryKey as cg, createPasskeyOwner as ch, encodeRecoveryKey as ci, parseRecoveryKey as cj, 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 = {