@medialane/sdk 0.84.0 → 0.85.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/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/{services-CRWVGLDq.d.cts → services-IzFS_1ge.d.cts} +51 -3
- package/dist/{services-BggxMBlL.d.ts → services-L8GY_ETW.d.ts} +51 -3
- package/dist/starknet/index.cjs +7 -0
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +11 -2
- package/dist/starknet/index.d.ts +11 -2
- package/dist/starknet/index.js +7 -1
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -644,6 +644,10 @@ interface CancelOrderIntentParams {
|
|
|
644
644
|
type FactoryFamilyServiceId = "mip-erc1155" | "ip-tickets" | "ip-club";
|
|
645
645
|
/** The subset of FactoryFamilyServiceId that supports CREATE_TIER (ip-tickets, ip-club). */
|
|
646
646
|
type TierServiceId = "ip-tickets" | "ip-club";
|
|
647
|
+
/** Services CREATE_COLLECTION can deploy — the factory-family ones plus pop-protocol/drop-collection,
|
|
648
|
+
* which take extra service-specific fields (see CreateCollectionIntentParams) since their factories
|
|
649
|
+
* don't share the uniform `deploy_collection(name, symbol, baseUri)` entrypoint. */
|
|
650
|
+
type CollectionServiceId = FactoryFamilyServiceId | "pop-protocol" | "drop-collection";
|
|
647
651
|
interface CreateMintIntentParams {
|
|
648
652
|
/** Collection owner wallet address — must be the collection owner on-chain */
|
|
649
653
|
owner: string;
|
|
@@ -679,10 +683,24 @@ interface CreateCollectionIntentParams {
|
|
|
679
683
|
/** Optional: override the default collection contract address (registry path only). */
|
|
680
684
|
collectionContract?: string;
|
|
681
685
|
/**
|
|
682
|
-
* Omit for the registry path (mip-erc721/ip-erc721). Pass a
|
|
686
|
+
* Omit for the registry path (mip-erc721/ip-erc721). Pass a collection-service id to
|
|
683
687
|
* deploy a new per-creator contract via that service's factory instead.
|
|
684
688
|
*/
|
|
685
|
-
service?:
|
|
689
|
+
service?: CollectionServiceId;
|
|
690
|
+
/** pop-protocol only: unix seconds after which `claim()` stops working. */
|
|
691
|
+
claimEndTimestamp?: number;
|
|
692
|
+
/** pop-protocol only: the POPFactory's EventType variant name (e.g. "Conference"). */
|
|
693
|
+
eventType?: PopEventType;
|
|
694
|
+
/** drop-collection only: total mintable supply across the whole drop. */
|
|
695
|
+
maxSupply?: string;
|
|
696
|
+
/** drop-collection only: the initial claim window/price/per-wallet cap. */
|
|
697
|
+
conditions?: {
|
|
698
|
+
startTime: number;
|
|
699
|
+
endTime: number;
|
|
700
|
+
price: string;
|
|
701
|
+
paymentToken: string;
|
|
702
|
+
maxQuantityPerWallet: string;
|
|
703
|
+
};
|
|
686
704
|
}
|
|
687
705
|
interface CreateCheckoutIntentParams {
|
|
688
706
|
fulfiller: string;
|
|
@@ -713,6 +731,34 @@ interface CreateTierIntentParams {
|
|
|
713
731
|
royaltyBps: number;
|
|
714
732
|
metadataUri: string;
|
|
715
733
|
}
|
|
734
|
+
interface CreateCoinIntentParams {
|
|
735
|
+
/** Owner of the new coin — the only address allowed to launch it. */
|
|
736
|
+
owner: string;
|
|
737
|
+
name: string;
|
|
738
|
+
symbol: string;
|
|
739
|
+
/** Full fixed supply (raw, 18 decimals). Minted to the Factory until launch. */
|
|
740
|
+
initialSupply: string;
|
|
741
|
+
/** Deterministic deploy salt. Omitted = timestamp-derived. */
|
|
742
|
+
salt?: string;
|
|
743
|
+
}
|
|
744
|
+
interface LaunchCoinIntentParams {
|
|
745
|
+
/** Wallet that must own the coin — the contract itself is the authority; an
|
|
746
|
+
* unauthorized caller simply reverts. */
|
|
747
|
+
owner: string;
|
|
748
|
+
/** The deployed CreatorCoin contract (from a prior createCoinIntent deploy). */
|
|
749
|
+
creatorCoin: string;
|
|
750
|
+
/** Quote token (e.g. STRK). Must NOT itself be a Creator Coin. */
|
|
751
|
+
quoteToken: string;
|
|
752
|
+
/** Team-allocation recipients (≤10% of supply, summed). */
|
|
753
|
+
initialHolders: string[];
|
|
754
|
+
initialHoldersAmounts: string[];
|
|
755
|
+
/** Anti-snipe window in seconds. Omitted = none. */
|
|
756
|
+
transferRestrictionDelay?: number;
|
|
757
|
+
/** Max % of supply buyable per tx during the window, in bps. Omitted = the SDK default. */
|
|
758
|
+
maxPercentageBuyLaunch?: number;
|
|
759
|
+
/** Quote (raw units) to transfer to the Factory in the same multicall, to fund the team-allocation buyback. */
|
|
760
|
+
quoteFundAmount?: string;
|
|
761
|
+
}
|
|
716
762
|
interface CreateSponsorshipOfferIntentParams {
|
|
717
763
|
/** The offer author — must currently own (nftContract, tokenId) on-chain. */
|
|
718
764
|
author: string;
|
|
@@ -1189,6 +1235,8 @@ declare class ApiClient {
|
|
|
1189
1235
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1190
1236
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1191
1237
|
createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1238
|
+
createCoinIntent(params: CreateCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1239
|
+
launchCoinIntent(params: LaunchCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1192
1240
|
createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1193
1241
|
setSponsorshipOfferOpenIntent(params: SetSponsorshipOfferOpenIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1194
1242
|
placeSponsorshipBidIntent(params: PlaceSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
@@ -1547,4 +1595,4 @@ interface ProposeSponsorshipParams {
|
|
|
1547
1595
|
royaltyBps: bigint | string;
|
|
1548
1596
|
}
|
|
1549
1597
|
|
|
1550
|
-
export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type
|
|
1598
|
+
export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PlaceSponsorshipBidIntentParams as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type CreateWebhookParams as aA, type DropMintStatus as aB, type EnforcementDeclaration as aC, type FactoryFamilyServiceId as aD, type FeeConfig as aE, FeeConfigSchema as aF, type FulfillOrderIntentParams as aG, type IPType as aH, type IntentCall as aI, type IntentStatus as aJ, type IntentType as aK, type IpAttribute as aL, type IpNftMetadata as aM, type LaunchCoinIntentParams as aN, type MakeOfferIntentParams as aO, MedialaneApiError as aP, type MedialaneConfig as aQ, type MedialaneErrorCode as aR, type MintMembershipsParams as aS, type MintTicketsParams as aT, OPEN_LICENSES as aU, type OfferItem as aV, type OpenLicense as aW, type Order as aX, type OrderDetails as aY, type OrderParameters as aZ, type OrderStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionServiceId as af, type CollectionSort as ag, type CollectionTokensSort as ah, type ConfirmRemixOfferParams as ai, type ConfirmSelfRemixParams as aj, type ConsiderationItem as ak, type CreateCheckoutIntentParams as al, type CreateCoinIntentParams as am, type CreateCollectionIntentParams as an, type CreateCounterOfferIntentParams as ao, type CreateDropParams as ap, type CreateListingIntentParams as aq, type CreateMembershipParams as ar, type CreateMintIntentParams as as, type CreatePopCollectionParams as at, type CreateRemixOfferParams as au, type CreateSponsorshipOfferIntentParams as av, type CreateSponsorshipOfferParams as aw, type CreateSponsorshipProposalIntentParams as ax, type CreateTicketParams as ay, type CreateTierIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type PopBatchEligibilityItem as b0, type PopClaimStatus as b1, type PopEventType as b2, type ProposeSponsorshipParams as b3, type RejectSponsorshipProposalIntentParams as b4, type RemixOfferStatus as b5, type ResolvedConfig as b6, type ResolvedFeeConfig as b7, type RetractSponsorshipBidIntentParams as b8, type RetryOptions as b9, type ServiceEventDeclaration as ba, type SetSponsorshipOfferOpenIntentParams as bb, type SortOrder as bc, type TenantPlan as bd, type TierServiceId as be, type TxResult as bf, type WebhookEventType as bg, type WebhookStatus as bh, type WithdrawSponsorshipProposalIntentParams as bi, resolveConfig as bj, resolveFeeConfig as bk, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
|
|
@@ -644,6 +644,10 @@ interface CancelOrderIntentParams {
|
|
|
644
644
|
type FactoryFamilyServiceId = "mip-erc1155" | "ip-tickets" | "ip-club";
|
|
645
645
|
/** The subset of FactoryFamilyServiceId that supports CREATE_TIER (ip-tickets, ip-club). */
|
|
646
646
|
type TierServiceId = "ip-tickets" | "ip-club";
|
|
647
|
+
/** Services CREATE_COLLECTION can deploy — the factory-family ones plus pop-protocol/drop-collection,
|
|
648
|
+
* which take extra service-specific fields (see CreateCollectionIntentParams) since their factories
|
|
649
|
+
* don't share the uniform `deploy_collection(name, symbol, baseUri)` entrypoint. */
|
|
650
|
+
type CollectionServiceId = FactoryFamilyServiceId | "pop-protocol" | "drop-collection";
|
|
647
651
|
interface CreateMintIntentParams {
|
|
648
652
|
/** Collection owner wallet address — must be the collection owner on-chain */
|
|
649
653
|
owner: string;
|
|
@@ -679,10 +683,24 @@ interface CreateCollectionIntentParams {
|
|
|
679
683
|
/** Optional: override the default collection contract address (registry path only). */
|
|
680
684
|
collectionContract?: string;
|
|
681
685
|
/**
|
|
682
|
-
* Omit for the registry path (mip-erc721/ip-erc721). Pass a
|
|
686
|
+
* Omit for the registry path (mip-erc721/ip-erc721). Pass a collection-service id to
|
|
683
687
|
* deploy a new per-creator contract via that service's factory instead.
|
|
684
688
|
*/
|
|
685
|
-
service?:
|
|
689
|
+
service?: CollectionServiceId;
|
|
690
|
+
/** pop-protocol only: unix seconds after which `claim()` stops working. */
|
|
691
|
+
claimEndTimestamp?: number;
|
|
692
|
+
/** pop-protocol only: the POPFactory's EventType variant name (e.g. "Conference"). */
|
|
693
|
+
eventType?: PopEventType;
|
|
694
|
+
/** drop-collection only: total mintable supply across the whole drop. */
|
|
695
|
+
maxSupply?: string;
|
|
696
|
+
/** drop-collection only: the initial claim window/price/per-wallet cap. */
|
|
697
|
+
conditions?: {
|
|
698
|
+
startTime: number;
|
|
699
|
+
endTime: number;
|
|
700
|
+
price: string;
|
|
701
|
+
paymentToken: string;
|
|
702
|
+
maxQuantityPerWallet: string;
|
|
703
|
+
};
|
|
686
704
|
}
|
|
687
705
|
interface CreateCheckoutIntentParams {
|
|
688
706
|
fulfiller: string;
|
|
@@ -713,6 +731,34 @@ interface CreateTierIntentParams {
|
|
|
713
731
|
royaltyBps: number;
|
|
714
732
|
metadataUri: string;
|
|
715
733
|
}
|
|
734
|
+
interface CreateCoinIntentParams {
|
|
735
|
+
/** Owner of the new coin — the only address allowed to launch it. */
|
|
736
|
+
owner: string;
|
|
737
|
+
name: string;
|
|
738
|
+
symbol: string;
|
|
739
|
+
/** Full fixed supply (raw, 18 decimals). Minted to the Factory until launch. */
|
|
740
|
+
initialSupply: string;
|
|
741
|
+
/** Deterministic deploy salt. Omitted = timestamp-derived. */
|
|
742
|
+
salt?: string;
|
|
743
|
+
}
|
|
744
|
+
interface LaunchCoinIntentParams {
|
|
745
|
+
/** Wallet that must own the coin — the contract itself is the authority; an
|
|
746
|
+
* unauthorized caller simply reverts. */
|
|
747
|
+
owner: string;
|
|
748
|
+
/** The deployed CreatorCoin contract (from a prior createCoinIntent deploy). */
|
|
749
|
+
creatorCoin: string;
|
|
750
|
+
/** Quote token (e.g. STRK). Must NOT itself be a Creator Coin. */
|
|
751
|
+
quoteToken: string;
|
|
752
|
+
/** Team-allocation recipients (≤10% of supply, summed). */
|
|
753
|
+
initialHolders: string[];
|
|
754
|
+
initialHoldersAmounts: string[];
|
|
755
|
+
/** Anti-snipe window in seconds. Omitted = none. */
|
|
756
|
+
transferRestrictionDelay?: number;
|
|
757
|
+
/** Max % of supply buyable per tx during the window, in bps. Omitted = the SDK default. */
|
|
758
|
+
maxPercentageBuyLaunch?: number;
|
|
759
|
+
/** Quote (raw units) to transfer to the Factory in the same multicall, to fund the team-allocation buyback. */
|
|
760
|
+
quoteFundAmount?: string;
|
|
761
|
+
}
|
|
716
762
|
interface CreateSponsorshipOfferIntentParams {
|
|
717
763
|
/** The offer author — must currently own (nftContract, tokenId) on-chain. */
|
|
718
764
|
author: string;
|
|
@@ -1189,6 +1235,8 @@ declare class ApiClient {
|
|
|
1189
1235
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1190
1236
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1191
1237
|
createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1238
|
+
createCoinIntent(params: CreateCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1239
|
+
launchCoinIntent(params: LaunchCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1192
1240
|
createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1193
1241
|
setSponsorshipOfferOpenIntent(params: SetSponsorshipOfferOpenIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1194
1242
|
placeSponsorshipBidIntent(params: PlaceSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
@@ -1547,4 +1595,4 @@ interface ProposeSponsorshipParams {
|
|
|
1547
1595
|
royaltyBps: bigint | string;
|
|
1548
1596
|
}
|
|
1549
1597
|
|
|
1550
|
-
export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type
|
|
1598
|
+
export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PlaceSponsorshipBidIntentParams as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type CreateWebhookParams as aA, type DropMintStatus as aB, type EnforcementDeclaration as aC, type FactoryFamilyServiceId as aD, type FeeConfig as aE, FeeConfigSchema as aF, type FulfillOrderIntentParams as aG, type IPType as aH, type IntentCall as aI, type IntentStatus as aJ, type IntentType as aK, type IpAttribute as aL, type IpNftMetadata as aM, type LaunchCoinIntentParams as aN, type MakeOfferIntentParams as aO, MedialaneApiError as aP, type MedialaneConfig as aQ, type MedialaneErrorCode as aR, type MintMembershipsParams as aS, type MintTicketsParams as aT, OPEN_LICENSES as aU, type OfferItem as aV, type OpenLicense as aW, type Order as aX, type OrderDetails as aY, type OrderParameters as aZ, type OrderStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionServiceId as af, type CollectionSort as ag, type CollectionTokensSort as ah, type ConfirmRemixOfferParams as ai, type ConfirmSelfRemixParams as aj, type ConsiderationItem as ak, type CreateCheckoutIntentParams as al, type CreateCoinIntentParams as am, type CreateCollectionIntentParams as an, type CreateCounterOfferIntentParams as ao, type CreateDropParams as ap, type CreateListingIntentParams as aq, type CreateMembershipParams as ar, type CreateMintIntentParams as as, type CreatePopCollectionParams as at, type CreateRemixOfferParams as au, type CreateSponsorshipOfferIntentParams as av, type CreateSponsorshipOfferParams as aw, type CreateSponsorshipProposalIntentParams as ax, type CreateTicketParams as ay, type CreateTierIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type PopBatchEligibilityItem as b0, type PopClaimStatus as b1, type PopEventType as b2, type ProposeSponsorshipParams as b3, type RejectSponsorshipProposalIntentParams as b4, type RemixOfferStatus as b5, type ResolvedConfig as b6, type ResolvedFeeConfig as b7, type RetractSponsorshipBidIntentParams as b8, type RetryOptions as b9, type ServiceEventDeclaration as ba, type SetSponsorshipOfferOpenIntentParams as bb, type SortOrder as bc, type TenantPlan as bd, type TierServiceId as be, type TxResult as bf, type WebhookEventType as bg, type WebhookStatus as bh, type WithdrawSponsorshipProposalIntentParams as bi, resolveConfig as bj, resolveFeeConfig as bk, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
|
package/dist/starknet/index.cjs
CHANGED
|
@@ -459,6 +459,12 @@ var ApiClient = class {
|
|
|
459
459
|
createTierIntent(params) {
|
|
460
460
|
return this.post("/v1/intents/create-tier", params);
|
|
461
461
|
}
|
|
462
|
+
createCoinIntent(params) {
|
|
463
|
+
return this.post("/v1/intents/create-coin", params);
|
|
464
|
+
}
|
|
465
|
+
launchCoinIntent(params) {
|
|
466
|
+
return this.post("/v1/intents/launch-coin", params);
|
|
467
|
+
}
|
|
462
468
|
createSponsorshipOfferIntent(params) {
|
|
463
469
|
return this.post("/v1/intents/sponsorship-offer", params);
|
|
464
470
|
}
|
|
@@ -11867,6 +11873,7 @@ exports.sessionKeyHashOf = sessionKeyHashOf;
|
|
|
11867
11873
|
exports.signAdminRequest = signAdminRequest;
|
|
11868
11874
|
exports.storeSiwsToken = storeSiwsToken;
|
|
11869
11875
|
exports.teamCoinsRaw = teamCoinsRaw;
|
|
11876
|
+
exports.toDropContractConditions = toContractConditions;
|
|
11870
11877
|
exports.validateCoinName = validateName;
|
|
11871
11878
|
exports.validateCoinSupply = validateSupply;
|
|
11872
11879
|
exports.validateCoinSymbol = validateSymbol;
|