@medialane/sdk 0.118.1 → 0.118.2
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 +2 -2
- 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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{services-FKBetXcu.d.ts → services-B4wvnuIc.d.ts} +6 -6
- package/dist/{services-B4ygB908.d.cts → services-DNFeQEoF.d.cts} +6 -6
- package/dist/starknet/index.cjs +2 -2
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +1 -1
- package/dist/starknet/index.d.ts +1 -1
- package/dist/starknet/index.js +2 -2
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -588,7 +588,7 @@ interface CreateTierIntentParams {
|
|
|
588
588
|
royaltyBps: number;
|
|
589
589
|
metadataUri: string;
|
|
590
590
|
}
|
|
591
|
-
interface
|
|
591
|
+
interface EmissionParams {
|
|
592
592
|
chain?: "STARKNET";
|
|
593
593
|
service: string;
|
|
594
594
|
owner: string;
|
|
@@ -601,16 +601,16 @@ interface MintCallsParams {
|
|
|
601
601
|
amount?: string;
|
|
602
602
|
batchSize?: number;
|
|
603
603
|
}
|
|
604
|
-
interface
|
|
604
|
+
interface ApiEmissionCall {
|
|
605
605
|
contractAddress: string;
|
|
606
606
|
entrypoint: string;
|
|
607
607
|
calldata: string[];
|
|
608
608
|
}
|
|
609
|
-
interface
|
|
609
|
+
interface ApiEmissionResult {
|
|
610
610
|
service: string;
|
|
611
611
|
recipientCount: number;
|
|
612
612
|
callCount: number;
|
|
613
|
-
batches:
|
|
613
|
+
batches: ApiEmissionCall[][];
|
|
614
614
|
}
|
|
615
615
|
interface CreateCoinIntentParams {
|
|
616
616
|
owner: string;
|
|
@@ -1101,7 +1101,7 @@ declare class ApiClient {
|
|
|
1101
1101
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1102
1102
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1103
1103
|
createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1104
|
-
|
|
1104
|
+
emitToRecipients(params: EmissionParams): Promise<ApiResponse<ApiEmissionResult>>;
|
|
1105
1105
|
createCoinIntent(params: CreateCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1106
1106
|
launchCoinIntent(params: LaunchCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1107
1107
|
createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
@@ -1377,4 +1377,4 @@ interface ProposeSponsorshipParams {
|
|
|
1377
1377
|
royaltyBps: bigint | string;
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
|
-
export { type ApiRemixOffersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type
|
|
1380
|
+
export { type ApiRemixOffersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiEmissionCall as C, type ApiEmissionResult as D, type ApiIntent as E, type ApiIntentCreated as F, type ApiKeyStatus as G, type ApiMeta as H, type ApiMetadataSignedUrl as I, type ApiMetadataUpload as J, type ApiOrder as K, type ApiOrderConsideration as L, type ApiOrderOffer as M, type ApiOrderPrice as N, type ApiOrderTokenMeta as O, type ApiOrderTxHash as P, type ApiOrdersQuery as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiPointEvent as T, type ApiPortalKey as U, type ApiPortalKeyCreated as V, type ApiPortalMe as W, type ApiPortalSpend as X, type ApiPublicRemix as Y, type ApiRemixOffer as Z, type ApiRemixOfferPrice as _, type ServiceCapability as a, type MedialaneErrorCode as a$, type ApiResponse as a0, type ApiRewardsBadge as a1, type ApiRewardsBatchEntry as a2, type ApiRewardsConfig as a3, type ApiRewardsLeaderboardEntry as a4, type ApiRewardsLevel as a5, type ApiSearchCollectionResult as a6, type ApiSearchCreatorResult as a7, type ApiSearchResult as a8, type ApiSearchTokenResult as a9, type CreateMembershipParams as aA, type CreateMintIntentParams as aB, type CreatePopCollectionParams as aC, type CreateRemixOfferParams as aD, type CreateSponsorshipOfferIntentParams as aE, type CreateSponsorshipOfferParams as aF, type CreateSponsorshipProposalIntentParams as aG, type CreateTicketParams as aH, type CreateTierIntentParams as aI, type CreateWebhookParams as aJ, type DropMintStatus as aK, type EmissionParams as aL, type EnforcementDeclaration as aM, type FactoryFamilyServiceId as aN, type FeeConfig as aO, FeeConfigSchema as aP, type FulfillOrderIntentParams as aQ, type IPType as aR, type IntentCall as aS, type IntentStatus as aT, type IntentType as aU, type IpAttribute as aV, type IpNftMetadata as aW, type LaunchCoinIntentParams as aX, type MakeOfferIntentParams as aY, MedialaneApiError as aZ, type MedialaneConfig as a_, type ApiSpendByAction as aa, type ApiToken as ab, type ApiTokenBalance as ac, type ApiTokenMetadata as ad, type ApiUserRewards as ae, type ApiUserWallet as af, type ApiWalletActivity as ag, type ApiWebhookCreated as ah, type ApiWebhookEndpoint as ai, type AutoRemixOfferParams as aj, type CancelOrderIntentParams as ak, type ChainFilter as al, type CheckoutIntentItem as am, type ClaimConditions as an, type CollectionServiceId as ao, type CollectionSort as ap, type CollectionTokensSort as aq, type ConfirmRemixOfferParams as ar, type ConfirmSelfRemixParams as as, type ConsiderationItem as at, type CreateCheckoutIntentParams as au, type CreateCoinIntentParams as av, type CreateCollectionIntentParams as aw, type CreateCounterOfferIntentParams as ax, type CreateDropParams as ay, type CreateListingIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type MintMembershipsParams as b0, type MintTicketsParams as b1, OPEN_LICENSES as b2, type OfferItem as b3, type OpenLicense as b4, type Order as b5, type OrderDetails as b6, type OrderParameters as b7, type OrderStatus as b8, type PlaceSponsorshipBidIntentParams as b9, type PopBatchEligibilityItem as ba, type PopClaimStatus as bb, type PopEventType as bc, type ProposeSponsorshipParams as bd, type RejectSponsorshipProposalIntentParams as be, type RemixOfferStatus as bf, type ResolvedConfig as bg, type RetractSponsorshipBidIntentParams as bh, type RetryOptions as bi, type ServiceEventDeclaration as bj, type SetSponsorshipOfferOpenIntentParams as bk, type SortOrder as bl, type TenantPlan as bm, type TierServiceId as bn, type TxResult as bo, type UpdateCollectionProfileInput as bp, type WebhookEventType as bq, type WebhookStatus as br, type WithdrawSponsorshipProposalIntentParams as bs, resolveConfig as bt, resolveFeeConfig as bu, 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 ApiCoinClaimResult as n, type ApiCoinPrice as o, type ApiCoinPrices as p, type ApiCoinsQuery as q, type ApiCollection as r, type ApiCollectionClaim as s, type ApiCollectionProfile as t, type ApiCollectionSlugClaim as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
|
|
@@ -588,7 +588,7 @@ interface CreateTierIntentParams {
|
|
|
588
588
|
royaltyBps: number;
|
|
589
589
|
metadataUri: string;
|
|
590
590
|
}
|
|
591
|
-
interface
|
|
591
|
+
interface EmissionParams {
|
|
592
592
|
chain?: "STARKNET";
|
|
593
593
|
service: string;
|
|
594
594
|
owner: string;
|
|
@@ -601,16 +601,16 @@ interface MintCallsParams {
|
|
|
601
601
|
amount?: string;
|
|
602
602
|
batchSize?: number;
|
|
603
603
|
}
|
|
604
|
-
interface
|
|
604
|
+
interface ApiEmissionCall {
|
|
605
605
|
contractAddress: string;
|
|
606
606
|
entrypoint: string;
|
|
607
607
|
calldata: string[];
|
|
608
608
|
}
|
|
609
|
-
interface
|
|
609
|
+
interface ApiEmissionResult {
|
|
610
610
|
service: string;
|
|
611
611
|
recipientCount: number;
|
|
612
612
|
callCount: number;
|
|
613
|
-
batches:
|
|
613
|
+
batches: ApiEmissionCall[][];
|
|
614
614
|
}
|
|
615
615
|
interface CreateCoinIntentParams {
|
|
616
616
|
owner: string;
|
|
@@ -1101,7 +1101,7 @@ declare class ApiClient {
|
|
|
1101
1101
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1102
1102
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1103
1103
|
createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1104
|
-
|
|
1104
|
+
emitToRecipients(params: EmissionParams): Promise<ApiResponse<ApiEmissionResult>>;
|
|
1105
1105
|
createCoinIntent(params: CreateCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1106
1106
|
launchCoinIntent(params: LaunchCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
1107
1107
|
createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
@@ -1377,4 +1377,4 @@ interface ProposeSponsorshipParams {
|
|
|
1377
1377
|
royaltyBps: bigint | string;
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
|
-
export { type ApiRemixOffersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type
|
|
1380
|
+
export { type ApiRemixOffersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiEmissionCall as C, type ApiEmissionResult as D, type ApiIntent as E, type ApiIntentCreated as F, type ApiKeyStatus as G, type ApiMeta as H, type ApiMetadataSignedUrl as I, type ApiMetadataUpload as J, type ApiOrder as K, type ApiOrderConsideration as L, type ApiOrderOffer as M, type ApiOrderPrice as N, type ApiOrderTokenMeta as O, type ApiOrderTxHash as P, type ApiOrdersQuery as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiPointEvent as T, type ApiPortalKey as U, type ApiPortalKeyCreated as V, type ApiPortalMe as W, type ApiPortalSpend as X, type ApiPublicRemix as Y, type ApiRemixOffer as Z, type ApiRemixOfferPrice as _, type ServiceCapability as a, type MedialaneErrorCode as a$, type ApiResponse as a0, type ApiRewardsBadge as a1, type ApiRewardsBatchEntry as a2, type ApiRewardsConfig as a3, type ApiRewardsLeaderboardEntry as a4, type ApiRewardsLevel as a5, type ApiSearchCollectionResult as a6, type ApiSearchCreatorResult as a7, type ApiSearchResult as a8, type ApiSearchTokenResult as a9, type CreateMembershipParams as aA, type CreateMintIntentParams as aB, type CreatePopCollectionParams as aC, type CreateRemixOfferParams as aD, type CreateSponsorshipOfferIntentParams as aE, type CreateSponsorshipOfferParams as aF, type CreateSponsorshipProposalIntentParams as aG, type CreateTicketParams as aH, type CreateTierIntentParams as aI, type CreateWebhookParams as aJ, type DropMintStatus as aK, type EmissionParams as aL, type EnforcementDeclaration as aM, type FactoryFamilyServiceId as aN, type FeeConfig as aO, FeeConfigSchema as aP, type FulfillOrderIntentParams as aQ, type IPType as aR, type IntentCall as aS, type IntentStatus as aT, type IntentType as aU, type IpAttribute as aV, type IpNftMetadata as aW, type LaunchCoinIntentParams as aX, type MakeOfferIntentParams as aY, MedialaneApiError as aZ, type MedialaneConfig as a_, type ApiSpendByAction as aa, type ApiToken as ab, type ApiTokenBalance as ac, type ApiTokenMetadata as ad, type ApiUserRewards as ae, type ApiUserWallet as af, type ApiWalletActivity as ag, type ApiWebhookCreated as ah, type ApiWebhookEndpoint as ai, type AutoRemixOfferParams as aj, type CancelOrderIntentParams as ak, type ChainFilter as al, type CheckoutIntentItem as am, type ClaimConditions as an, type CollectionServiceId as ao, type CollectionSort as ap, type CollectionTokensSort as aq, type ConfirmRemixOfferParams as ar, type ConfirmSelfRemixParams as as, type ConsiderationItem as at, type CreateCheckoutIntentParams as au, type CreateCoinIntentParams as av, type CreateCollectionIntentParams as aw, type CreateCounterOfferIntentParams as ax, type CreateDropParams as ay, type CreateListingIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type MintMembershipsParams as b0, type MintTicketsParams as b1, OPEN_LICENSES as b2, type OfferItem as b3, type OpenLicense as b4, type Order as b5, type OrderDetails as b6, type OrderParameters as b7, type OrderStatus as b8, type PlaceSponsorshipBidIntentParams as b9, type PopBatchEligibilityItem as ba, type PopClaimStatus as bb, type PopEventType as bc, type ProposeSponsorshipParams as bd, type RejectSponsorshipProposalIntentParams as be, type RemixOfferStatus as bf, type ResolvedConfig as bg, type RetractSponsorshipBidIntentParams as bh, type RetryOptions as bi, type ServiceEventDeclaration as bj, type SetSponsorshipOfferOpenIntentParams as bk, type SortOrder as bl, type TenantPlan as bm, type TierServiceId as bn, type TxResult as bo, type UpdateCollectionProfileInput as bp, type WebhookEventType as bq, type WebhookStatus as br, type WithdrawSponsorshipProposalIntentParams as bs, resolveConfig as bt, resolveFeeConfig as bu, 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 ApiCoinClaimResult as n, type ApiCoinPrice as o, type ApiCoinPrices as p, type ApiCoinsQuery as q, type ApiCollection as r, type ApiCollectionClaim as s, type ApiCollectionProfile as t, type ApiCollectionSlugClaim as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
|
package/dist/starknet/index.cjs
CHANGED
|
@@ -453,8 +453,8 @@ var ApiClient = class {
|
|
|
453
453
|
createTierIntent(params) {
|
|
454
454
|
return this.post("/v1/intents/create-tier", params);
|
|
455
455
|
}
|
|
456
|
-
|
|
457
|
-
return this.post("/v1/business/issuance/
|
|
456
|
+
emitToRecipients(params) {
|
|
457
|
+
return this.post("/v1/business/issuance/emission", params);
|
|
458
458
|
}
|
|
459
459
|
createCoinIntent(params) {
|
|
460
460
|
return this.post("/v1/intents/create-coin", params);
|