@medialane/sdk 0.90.0 → 0.91.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.
@@ -548,9 +548,14 @@ interface CreateCollectionIntentParams {
548
548
  maxQuantityPerWallet: string;
549
549
  };
550
550
  }
551
+ interface CheckoutIntentItem {
552
+ orderHash: string;
553
+ quantity?: string;
554
+ }
551
555
  interface CreateCheckoutIntentParams {
552
556
  fulfiller: string;
553
- orderHashes: string[];
557
+ items?: CheckoutIntentItem[];
558
+ orderHashes?: string[];
554
559
  }
555
560
  interface ApiCheckoutIntentResult {
556
561
  id?: string;
@@ -1280,4 +1285,4 @@ interface ProposeSponsorshipParams {
1280
1285
  royaltyBps: bigint | string;
1281
1286
  }
1282
1287
 
1283
- export { type ApiSearchCollectionResult 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 ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiRemixOfferPrice as T, type ApiRemixOffersQuery as U, type ApiResponse as V, type ApiRewardsBadge as W, type ApiRewardsBatchEntry as X, type ApiRewardsConfig as Y, type ApiRewardsLeaderboardEntry as Z, type ApiRewardsLevel as _, type ServiceCapability as a, type OrderStatus as a$, type ApiSearchCreatorResult as a0, type ApiSearchResult as a1, type ApiSearchTokenResult as a2, type ApiToken as a3, type ApiTokenBalance as a4, type ApiTokenMetadata as a5, type ApiUsageDay as a6, type ApiUserRewards as a7, type ApiUserWallet as a8, type ApiWalletActivity as a9, type CreateTierIntentParams as aA, type CreateWebhookParams as aB, type DropMintStatus as aC, type EnforcementDeclaration as aD, type FactoryFamilyServiceId as aE, type FeeConfig as aF, FeeConfigSchema as aG, type FulfillOrderIntentParams as aH, type IPType as aI, type IntentCall as aJ, type IntentStatus as aK, type IntentType as aL, type IpAttribute as aM, type IpNftMetadata as aN, type LaunchCoinIntentParams as aO, type MakeOfferIntentParams as aP, MedialaneApiError as aQ, type MedialaneConfig as aR, type MedialaneErrorCode as aS, type MintMembershipsParams as aT, type MintTicketsParams as aU, OPEN_LICENSES as aV, type OfferItem as aW, type OpenLicense as aX, type Order as aY, type OrderDetails as aZ, type OrderParameters as a_, type ApiWebhookCreated as aa, type ApiWebhookEndpoint as ab, type AutoRemixOfferParams as ac, type CancelOrderIntentParams as ad, type ChainFilter as ae, type ClaimConditions as af, type CollectionServiceId as ag, type CollectionSort as ah, type CollectionTokensSort as ai, type ConfirmRemixOfferParams as aj, type ConfirmSelfRemixParams as ak, type ConsiderationItem as al, type CreateCheckoutIntentParams as am, type CreateCoinIntentParams as an, type CreateCollectionIntentParams as ao, type CreateCounterOfferIntentParams as ap, type CreateDropParams as aq, type CreateListingIntentParams as ar, type CreateMembershipParams as as, type CreateMintIntentParams as at, type CreatePopCollectionParams as au, type CreateRemixOfferParams as av, type CreateSponsorshipOfferIntentParams as aw, type CreateSponsorshipOfferParams as ax, type CreateSponsorshipProposalIntentParams as ay, type CreateTicketParams as az, type AcceptSponsorshipProposalIntentParams as b, type PlaceSponsorshipBidIntentParams as b0, type PopBatchEligibilityItem as b1, type PopClaimStatus as b2, type PopEventType as b3, type ProposeSponsorshipParams as b4, type RejectSponsorshipProposalIntentParams as b5, type RemixOfferStatus as b6, type ResolvedConfig 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 };
1288
+ export { type ApiSearchCollectionResult 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 ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiRemixOfferPrice as T, type ApiRemixOffersQuery as U, type ApiResponse as V, type ApiRewardsBadge as W, type ApiRewardsBatchEntry as X, type ApiRewardsConfig as Y, type ApiRewardsLeaderboardEntry as Z, type ApiRewardsLevel as _, type ServiceCapability as a, type OrderParameters as a$, type ApiSearchCreatorResult as a0, type ApiSearchResult as a1, type ApiSearchTokenResult as a2, type ApiToken as a3, type ApiTokenBalance as a4, type ApiTokenMetadata as a5, type ApiUsageDay as a6, type ApiUserRewards as a7, type ApiUserWallet as a8, type ApiWalletActivity as a9, type CreateTicketParams as aA, type CreateTierIntentParams as aB, type CreateWebhookParams as aC, type DropMintStatus as aD, type EnforcementDeclaration as aE, type FactoryFamilyServiceId as aF, type FeeConfig as aG, FeeConfigSchema as aH, type FulfillOrderIntentParams as aI, type IPType as aJ, type IntentCall as aK, type IntentStatus as aL, type IntentType as aM, type IpAttribute as aN, type IpNftMetadata as aO, type LaunchCoinIntentParams as aP, type MakeOfferIntentParams as aQ, MedialaneApiError as aR, type MedialaneConfig as aS, type MedialaneErrorCode as aT, type MintMembershipsParams as aU, type MintTicketsParams as aV, OPEN_LICENSES as aW, type OfferItem as aX, type OpenLicense as aY, type Order as aZ, type OrderDetails as a_, type ApiWebhookCreated as aa, type ApiWebhookEndpoint as ab, type AutoRemixOfferParams as ac, type CancelOrderIntentParams as ad, type ChainFilter as ae, type CheckoutIntentItem as af, type ClaimConditions as ag, type CollectionServiceId as ah, type CollectionSort as ai, type CollectionTokensSort as aj, type ConfirmRemixOfferParams as ak, type ConfirmSelfRemixParams as al, type ConsiderationItem as am, type CreateCheckoutIntentParams as an, type CreateCoinIntentParams as ao, type CreateCollectionIntentParams as ap, type CreateCounterOfferIntentParams as aq, type CreateDropParams as ar, type CreateListingIntentParams as as, type CreateMembershipParams as at, type CreateMintIntentParams as au, type CreatePopCollectionParams as av, type CreateRemixOfferParams as aw, type CreateSponsorshipOfferIntentParams as ax, type CreateSponsorshipOfferParams as ay, type CreateSponsorshipProposalIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type OrderStatus as b0, type PlaceSponsorshipBidIntentParams as b1, type PopBatchEligibilityItem as b2, type PopClaimStatus as b3, type PopEventType as b4, type ProposeSponsorshipParams as b5, type RejectSponsorshipProposalIntentParams as b6, type RemixOfferStatus as b7, type ResolvedConfig as b8, type RetractSponsorshipBidIntentParams as b9, type RetryOptions as ba, type ServiceEventDeclaration as bb, type SetSponsorshipOfferOpenIntentParams as bc, type SortOrder as bd, type TenantPlan as be, type TierServiceId as bf, type TxResult as bg, type WebhookEventType as bh, type WebhookStatus as bi, type WithdrawSponsorshipProposalIntentParams as bj, resolveConfig as bk, resolveFeeConfig as bl, 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 };
@@ -548,9 +548,14 @@ interface CreateCollectionIntentParams {
548
548
  maxQuantityPerWallet: string;
549
549
  };
550
550
  }
551
+ interface CheckoutIntentItem {
552
+ orderHash: string;
553
+ quantity?: string;
554
+ }
551
555
  interface CreateCheckoutIntentParams {
552
556
  fulfiller: string;
553
- orderHashes: string[];
557
+ items?: CheckoutIntentItem[];
558
+ orderHashes?: string[];
554
559
  }
555
560
  interface ApiCheckoutIntentResult {
556
561
  id?: string;
@@ -1280,4 +1285,4 @@ interface ProposeSponsorshipParams {
1280
1285
  royaltyBps: bigint | string;
1281
1286
  }
1282
1287
 
1283
- export { type ApiSearchCollectionResult 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 ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiRemixOfferPrice as T, type ApiRemixOffersQuery as U, type ApiResponse as V, type ApiRewardsBadge as W, type ApiRewardsBatchEntry as X, type ApiRewardsConfig as Y, type ApiRewardsLeaderboardEntry as Z, type ApiRewardsLevel as _, type ServiceCapability as a, type OrderStatus as a$, type ApiSearchCreatorResult as a0, type ApiSearchResult as a1, type ApiSearchTokenResult as a2, type ApiToken as a3, type ApiTokenBalance as a4, type ApiTokenMetadata as a5, type ApiUsageDay as a6, type ApiUserRewards as a7, type ApiUserWallet as a8, type ApiWalletActivity as a9, type CreateTierIntentParams as aA, type CreateWebhookParams as aB, type DropMintStatus as aC, type EnforcementDeclaration as aD, type FactoryFamilyServiceId as aE, type FeeConfig as aF, FeeConfigSchema as aG, type FulfillOrderIntentParams as aH, type IPType as aI, type IntentCall as aJ, type IntentStatus as aK, type IntentType as aL, type IpAttribute as aM, type IpNftMetadata as aN, type LaunchCoinIntentParams as aO, type MakeOfferIntentParams as aP, MedialaneApiError as aQ, type MedialaneConfig as aR, type MedialaneErrorCode as aS, type MintMembershipsParams as aT, type MintTicketsParams as aU, OPEN_LICENSES as aV, type OfferItem as aW, type OpenLicense as aX, type Order as aY, type OrderDetails as aZ, type OrderParameters as a_, type ApiWebhookCreated as aa, type ApiWebhookEndpoint as ab, type AutoRemixOfferParams as ac, type CancelOrderIntentParams as ad, type ChainFilter as ae, type ClaimConditions as af, type CollectionServiceId as ag, type CollectionSort as ah, type CollectionTokensSort as ai, type ConfirmRemixOfferParams as aj, type ConfirmSelfRemixParams as ak, type ConsiderationItem as al, type CreateCheckoutIntentParams as am, type CreateCoinIntentParams as an, type CreateCollectionIntentParams as ao, type CreateCounterOfferIntentParams as ap, type CreateDropParams as aq, type CreateListingIntentParams as ar, type CreateMembershipParams as as, type CreateMintIntentParams as at, type CreatePopCollectionParams as au, type CreateRemixOfferParams as av, type CreateSponsorshipOfferIntentParams as aw, type CreateSponsorshipOfferParams as ax, type CreateSponsorshipProposalIntentParams as ay, type CreateTicketParams as az, type AcceptSponsorshipProposalIntentParams as b, type PlaceSponsorshipBidIntentParams as b0, type PopBatchEligibilityItem as b1, type PopClaimStatus as b2, type PopEventType as b3, type ProposeSponsorshipParams as b4, type RejectSponsorshipProposalIntentParams as b5, type RemixOfferStatus as b6, type ResolvedConfig 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 };
1288
+ export { type ApiSearchCollectionResult 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 ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiRemixOfferPrice as T, type ApiRemixOffersQuery as U, type ApiResponse as V, type ApiRewardsBadge as W, type ApiRewardsBatchEntry as X, type ApiRewardsConfig as Y, type ApiRewardsLeaderboardEntry as Z, type ApiRewardsLevel as _, type ServiceCapability as a, type OrderParameters as a$, type ApiSearchCreatorResult as a0, type ApiSearchResult as a1, type ApiSearchTokenResult as a2, type ApiToken as a3, type ApiTokenBalance as a4, type ApiTokenMetadata as a5, type ApiUsageDay as a6, type ApiUserRewards as a7, type ApiUserWallet as a8, type ApiWalletActivity as a9, type CreateTicketParams as aA, type CreateTierIntentParams as aB, type CreateWebhookParams as aC, type DropMintStatus as aD, type EnforcementDeclaration as aE, type FactoryFamilyServiceId as aF, type FeeConfig as aG, FeeConfigSchema as aH, type FulfillOrderIntentParams as aI, type IPType as aJ, type IntentCall as aK, type IntentStatus as aL, type IntentType as aM, type IpAttribute as aN, type IpNftMetadata as aO, type LaunchCoinIntentParams as aP, type MakeOfferIntentParams as aQ, MedialaneApiError as aR, type MedialaneConfig as aS, type MedialaneErrorCode as aT, type MintMembershipsParams as aU, type MintTicketsParams as aV, OPEN_LICENSES as aW, type OfferItem as aX, type OpenLicense as aY, type Order as aZ, type OrderDetails as a_, type ApiWebhookCreated as aa, type ApiWebhookEndpoint as ab, type AutoRemixOfferParams as ac, type CancelOrderIntentParams as ad, type ChainFilter as ae, type CheckoutIntentItem as af, type ClaimConditions as ag, type CollectionServiceId as ah, type CollectionSort as ai, type CollectionTokensSort as aj, type ConfirmRemixOfferParams as ak, type ConfirmSelfRemixParams as al, type ConsiderationItem as am, type CreateCheckoutIntentParams as an, type CreateCoinIntentParams as ao, type CreateCollectionIntentParams as ap, type CreateCounterOfferIntentParams as aq, type CreateDropParams as ar, type CreateListingIntentParams as as, type CreateMembershipParams as at, type CreateMintIntentParams as au, type CreatePopCollectionParams as av, type CreateRemixOfferParams as aw, type CreateSponsorshipOfferIntentParams as ax, type CreateSponsorshipOfferParams as ay, type CreateSponsorshipProposalIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type OrderStatus as b0, type PlaceSponsorshipBidIntentParams as b1, type PopBatchEligibilityItem as b2, type PopClaimStatus as b3, type PopEventType as b4, type ProposeSponsorshipParams as b5, type RejectSponsorshipProposalIntentParams as b6, type RemixOfferStatus as b7, type ResolvedConfig as b8, type RetractSponsorshipBidIntentParams as b9, type RetryOptions as ba, type ServiceEventDeclaration as bb, type SetSponsorshipOfferOpenIntentParams as bc, type SortOrder as bd, type TenantPlan as be, type TierServiceId as bf, type TxResult as bg, type WebhookEventType as bh, type WebhookStatus as bi, type WithdrawSponsorshipProposalIntentParams as bj, resolveConfig as bk, resolveFeeConfig as bl, 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 };
@@ -1,4 +1,4 @@
1
- import { b7 as ResolvedConfig, bf as TxResult, au as CreatePopCollectionParams, af as ClaimConditions, aq as CreateDropParams, az as CreateTicketParams, aU as MintTicketsParams, as as CreateMembershipParams, aT as MintMembershipsParams, ax as CreateSponsorshipOfferParams, b4 as ProposeSponsorshipParams, l as ApiClient, aR as MedialaneConfig, aS as MedialaneErrorCode, aZ as OrderDetails, R as ResolvedFeeConfig } from '../services-vwXIiRBm.cjs';
1
+ import { b8 as ResolvedConfig, bg as TxResult, av as CreatePopCollectionParams, ag as ClaimConditions, ar as CreateDropParams, aA as CreateTicketParams, aV as MintTicketsParams, at as CreateMembershipParams, aU as MintMembershipsParams, ay as CreateSponsorshipOfferParams, b5 as ProposeSponsorshipParams, l as ApiClient, aS as MedialaneConfig, aT as MedialaneErrorCode, a_ as OrderDetails, R as ResolvedFeeConfig } from '../services-D3M9dJZg.cjs';
2
2
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload } from 'starknet';
3
3
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-nPIXtCF5.cjs';
4
4
  import 'zod';
@@ -1,4 +1,4 @@
1
- import { b7 as ResolvedConfig, bf as TxResult, au as CreatePopCollectionParams, af as ClaimConditions, aq as CreateDropParams, az as CreateTicketParams, aU as MintTicketsParams, as as CreateMembershipParams, aT as MintMembershipsParams, ax as CreateSponsorshipOfferParams, b4 as ProposeSponsorshipParams, l as ApiClient, aR as MedialaneConfig, aS as MedialaneErrorCode, aZ as OrderDetails, R as ResolvedFeeConfig } from '../services-CELm1bdL.js';
1
+ import { b8 as ResolvedConfig, bg as TxResult, av as CreatePopCollectionParams, ag as ClaimConditions, ar as CreateDropParams, aA as CreateTicketParams, aV as MintTicketsParams, at as CreateMembershipParams, aU as MintMembershipsParams, ay as CreateSponsorshipOfferParams, b5 as ProposeSponsorshipParams, l as ApiClient, aS as MedialaneConfig, aT as MedialaneErrorCode, a_ as OrderDetails, R as ResolvedFeeConfig } from '../services-DTkc0lLx.js';
2
2
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload } from 'starknet';
3
3
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-nPIXtCF5.js';
4
4
  import 'zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medialane/sdk",
3
- "version": "0.90.0",
3
+ "version": "0.91.0",
4
4
  "description": "Framework-agnostic TypeScript SDK for Medialane.io — the IP marketplace on Starknet",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",