@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.
- package/dist/{chunk-BILJIXSP.cjs → chunk-DOIIAXHD.cjs} +37 -12
- package/dist/chunk-DOIIAXHD.cjs.map +1 -0
- package/dist/{chunk-3QGECZBS.js → chunk-HUTEU22Y.js} +32 -9
- package/dist/chunk-HUTEU22Y.js.map +1 -0
- package/dist/{chunk-H7I6TEOA.cjs → chunk-VJVBWHAD.cjs} +5 -4
- package/dist/chunk-VJVBWHAD.cjs.map +1 -0
- package/dist/{chunk-PBJLHXDB.js → chunk-WYKCGQPN.js} +5 -4
- package/dist/chunk-WYKCGQPN.js.map +1 -0
- package/dist/{errors-CwqwX-vA.d.cts → errors-CZlv-DJJ.d.cts} +84 -22
- package/dist/{errors-CWbsAodQ.d.ts → errors-PGCoVYdU.d.ts} +84 -22
- package/dist/evm/index.cjs +3 -3
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/index.cjs +86 -78
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -8
- package/dist/index.d.ts +15 -8
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +2 -2
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/starknet/index.cjs +1105 -372
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +780 -399
- package/dist/starknet/index.d.ts +780 -399
- package/dist/starknet/index.js +1021 -297
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +2 -2
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +1 -1
- package/dist/{types-C-y68Ut2.d.cts → types-BTNjkUst.d.cts} +1 -0
- package/dist/{types-C-y68Ut2.d.ts → types-BTNjkUst.d.ts} +1 -0
- package/package.json +1 -1
- package/dist/chunk-3QGECZBS.js.map +0 -1
- package/dist/chunk-BILJIXSP.cjs.map +0 -1
- package/dist/chunk-H7I6TEOA.cjs.map +0 -1
- 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-
|
|
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
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
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
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
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 = "
|
|
1337
|
+
type DropManageAction = "issue" | "set_allowlist_root";
|
|
1298
1338
|
interface CreateDropManageIntentParams {
|
|
1299
1339
|
owner: string;
|
|
1300
1340
|
collection: string;
|
|
1301
1341
|
action: DropManageAction;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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-
|
|
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
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
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
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
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 = "
|
|
1337
|
+
type DropManageAction = "issue" | "set_allowlist_root";
|
|
1298
1338
|
interface CreateDropManageIntentParams {
|
|
1299
1339
|
owner: string;
|
|
1300
1340
|
collection: string;
|
|
1301
1341
|
action: DropManageAction;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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 };
|
package/dist/evm/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
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
|
|
289
|
+
return chunkVJVBWHAD_cjs.getCoordinates(chain);
|
|
290
290
|
} catch {
|
|
291
291
|
return void 0;
|
|
292
292
|
}
|
package/dist/evm/index.d.cts
CHANGED
|
@@ -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-
|
|
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 [{
|
package/dist/evm/index.d.ts
CHANGED
|
@@ -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-
|
|
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