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