@medialane/sdk 0.132.0 → 0.134.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.
@@ -801,7 +801,6 @@ interface ApiPortalKey {
801
801
  id: string;
802
802
  prefix: string;
803
803
  label: string | null;
804
- appSource: string | null;
805
804
  status: ApiKeyStatus;
806
805
  lastUsedAt: string | null;
807
806
  createdAt: string;
@@ -941,13 +940,11 @@ interface ApiCreatorListResult {
941
940
  page: number;
942
941
  limit: number;
943
942
  }
944
- type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
945
943
  type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
946
944
  interface ApiUserWallet {
947
945
  walletAddress: string;
948
946
  email?: string | null;
949
947
  emailVerified?: boolean;
950
- requiresEmailVerification?: boolean;
951
948
  }
952
949
  interface ApiCollectionClaim {
953
950
  id: string;
@@ -1023,8 +1020,6 @@ interface ApiRewardsLevel {
1023
1020
  }
1024
1021
  interface ApiUserRewards {
1025
1022
  address: string;
1026
- accountId: string | null;
1027
- publicId: string | null;
1028
1023
  totalXp: number;
1029
1024
  currentLevel: number;
1030
1025
  currentLevelName: string;
@@ -1155,7 +1150,6 @@ declare class ApiClient {
1155
1150
  getApiKeys(siwsToken?: string): Promise<ApiResponse<ApiPortalKey[]>>;
1156
1151
  createApiKey(input?: {
1157
1152
  label?: string;
1158
- appSource?: string;
1159
1153
  }, siwsToken?: string): Promise<ApiResponse<ApiPortalKeyCreated>>;
1160
1154
  deleteApiKey(id: string, siwsToken?: string): Promise<ApiResponse<{
1161
1155
  id: string;
@@ -1242,7 +1236,6 @@ declare class ApiClient {
1242
1236
  registerUser(params: {
1243
1237
  walletAddress: string;
1244
1238
  walletType?: string;
1245
- appSource?: ApiAppSource;
1246
1239
  chain?: ApiChain;
1247
1240
  }): Promise<{
1248
1241
  accountId: string;
@@ -1250,14 +1243,11 @@ declare class ApiClient {
1250
1243
  walletAddress: string;
1251
1244
  chain: string;
1252
1245
  provider: string;
1253
- appSource: ApiAppSource;
1254
1246
  createdAt: string;
1255
1247
  }>;
1256
1248
  upsertMyWallet(siwsToken: string, options?: {
1257
1249
  walletType?: string;
1258
- appSource?: ApiAppSource;
1259
1250
  chain?: ApiChain;
1260
- emailVerificationToken?: string;
1261
1251
  email?: string;
1262
1252
  accountToken?: string;
1263
1253
  }): Promise<ApiUserWallet>;
@@ -1268,7 +1258,6 @@ declare class ApiClient {
1268
1258
  requestEmailCode(email: string): Promise<void>;
1269
1259
  registerEmailAccount(email: string): Promise<void>;
1270
1260
  verifyEmailCode(email: string, code: string): Promise<{
1271
- token: string;
1272
1261
  waitingWallets: string[];
1273
1262
  }>;
1274
1263
  claimWallet(params: {
@@ -1496,4 +1485,4 @@ declare class UserFacingError extends Error {
1496
1485
  constructor(message: string);
1497
1486
  }
1498
1487
 
1499
- export { type ApiPortalMe as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiEmissionCall as C, type ApiEmissionResult as D, type ApiFundingInstructions as E, type ApiFundingIntent as F, type ApiFundingMethod as G, type ApiFundingStatus as H, type ApiFundingSubmit as I, type ApiIntent as J, type ApiIntentCreated as K, type ApiKeyStatus as L, type ApiMeta as M, type ApiMetadataSignedUrl as N, type ApiMetadataUpload as O, type ApiOrder as P, type ApiOrderConsideration as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiOrderOffer as T, type ApiOrderPrice as U, type ApiOrderTokenMeta as V, type ApiOrderTxHash as W, type ApiOrdersQuery as X, type ApiPointEvent as Y, type ApiPortalKey as Z, type ApiPortalKeyCreated as _, type ServiceCapability as a, type IpAttribute as a$, type ApiPortalSpend as a0, type ApiPublicRemix as a1, type ApiRemixOffer as a2, type ApiRemixOfferPrice as a3, type ApiRemixOffersQuery as a4, type ApiResponse as a5, type ApiRewardsBadge as a6, type ApiRewardsBatchEntry as a7, type ApiRewardsConfig as a8, type ApiRewardsLeaderboardEntry as a9, type CreateCheckoutIntentParams as aA, type CreateCoinIntentParams as aB, type CreateCollectionIntentParams as aC, type CreateCounterOfferIntentParams as aD, type CreateDropParams as aE, type CreateListingIntentParams as aF, type CreateMembershipParams as aG, type CreateMintIntentParams as aH, type CreatePopCollectionParams as aI, type CreateRemixOfferParams as aJ, type CreateSponsorshipOfferIntentParams as aK, type CreateSponsorshipOfferParams as aL, type CreateSponsorshipProposalIntentParams as aM, type CreateTicketParams as aN, type CreateTierIntentParams as aO, type CreateWebhookParams as aP, type DropMintStatus as aQ, type EmissionParams as aR, type EnforcementDeclaration as aS, type FactoryFamilyServiceId as aT, type FeeConfig as aU, FeeConfigSchema as aV, type FulfillOrderIntentParams as aW, type IPType as aX, type IntentCall as aY, type IntentStatus as aZ, type IntentType as a_, type ApiRewardsLevel as aa, type ApiSearchCollectionResult as ab, type ApiSearchCreatorResult as ac, type ApiSearchResult as ad, type ApiSearchTokenResult as ae, type ApiSpendByAction as af, type ApiToken as ag, type ApiTokenBalance as ah, type ApiTokenMetadata as ai, type ApiTxSyncResult as aj, type ApiUserRewards as ak, type ApiUserWallet as al, type ApiWalletActivity as am, type ApiWebhookCreated as an, type ApiWebhookEndpoint as ao, type AutoRemixOfferParams as ap, type CancelOrderIntentParams as aq, type ChainFilter as ar, type CheckoutIntentItem as as, type ClaimConditions as at, type CollectionServiceId as au, type CollectionSort as av, type CollectionTokensSort as aw, type ConfirmRemixOfferParams as ax, type ConfirmSelfRemixParams as ay, type ConsiderationItem as az, type AcceptSponsorshipProposalIntentParams as b, type IpNftMetadata as b0, type LaunchCoinIntentParams as b1, type MakeOfferIntentParams as b2, MedialaneApiError as b3, type MedialaneConfig as b4, type MedialaneErrorCode as b5, type MintMembershipsParams as b6, type MintTicketsParams as b7, OPEN_LICENSES as b8, type OfferItem as b9, type WithdrawSponsorshipProposalIntentParams as bA, resolveConfig as bB, resolveFeeConfig as bC, type SealedOwner as bD, type ReceiptProviderLike as bE, type WalletExecutor as bF, type ExecutedTransaction as bG, type PasskeyOwner as bH, type CreatedOwner as bI, type OwnerSigner as bJ, type PasskeyConfig as bK, createPasskeyOwner as bL, type OpenLicense as ba, type Order as bb, type OrderDetails as bc, type OrderParameters as bd, type OrderStatus as be, PasskeyCancelledError as bf, type PlaceSponsorshipBidIntentParams as bg, type PopBatchEligibilityItem as bh, type PopClaimStatus as bi, type PopEventType as bj, type ProposeSponsorshipParams as bk, type RejectSponsorshipProposalIntentParams as bl, type RemixOfferStatus as bm, type ResolvedConfig as bn, type RetractSponsorshipBidIntentParams as bo, type RetryOptions as bp, type ServiceEventDeclaration as bq, type SetSponsorshipOfferOpenIntentParams as br, type SortOrder as bs, type TenantPlan as bt, type TierServiceId as bu, type TxResult as bv, type UpdateCollectionProfileInput as bw, UserFacingError as bx, type WebhookEventType as by, type WebhookStatus as bz, 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 };
1488
+ export { type ApiPortalSpend as $, type AcceptSponsorshipBidIntentParams as A, type ApiEmissionCall as B, type ApiEmissionResult as C, type ApiFundingInstructions as D, type ApiFundingIntent as E, type ApiFundingMethod as F, type ApiFundingStatus as G, type ApiFundingSubmit as H, type ApiIntent as I, type ApiIntentCreated as J, type ApiKeyStatus as K, type ApiMeta as L, type ApiMetadataSignedUrl as M, type ApiMetadataUpload as N, type ApiOrder as O, type ApiOrderConsideration as P, type ApiOrderOffer as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiOrderPrice as T, type ApiOrderTokenMeta as U, type ApiOrderTxHash as V, type ApiOrdersQuery as W, type ApiPointEvent as X, type ApiPortalKey as Y, type ApiPortalKeyCreated as Z, type ApiPortalMe as _, type ServiceCapability as a, type IpNftMetadata as a$, type ApiPublicRemix as a0, type ApiRemixOffer as a1, type ApiRemixOfferPrice as a2, type ApiRemixOffersQuery as a3, type ApiResponse as a4, type ApiRewardsBadge as a5, type ApiRewardsBatchEntry as a6, type ApiRewardsConfig as a7, type ApiRewardsLeaderboardEntry as a8, type ApiRewardsLevel as a9, type CreateCoinIntentParams as aA, type CreateCollectionIntentParams as aB, type CreateCounterOfferIntentParams as aC, type CreateDropParams as aD, type CreateListingIntentParams as aE, type CreateMembershipParams as aF, type CreateMintIntentParams as aG, type CreatePopCollectionParams as aH, type CreateRemixOfferParams as aI, type CreateSponsorshipOfferIntentParams as aJ, type CreateSponsorshipOfferParams as aK, type CreateSponsorshipProposalIntentParams as aL, type CreateTicketParams as aM, type CreateTierIntentParams as aN, type CreateWebhookParams as aO, type DropMintStatus as aP, type EmissionParams as aQ, type EnforcementDeclaration as aR, type FactoryFamilyServiceId as aS, type FeeConfig as aT, FeeConfigSchema as aU, type FulfillOrderIntentParams as aV, type IPType as aW, type IntentCall as aX, type IntentStatus as aY, type IntentType as aZ, type IpAttribute as a_, type ApiSearchCollectionResult as aa, type ApiSearchCreatorResult as ab, type ApiSearchResult as ac, type ApiSearchTokenResult as ad, type ApiSpendByAction as ae, type ApiToken as af, type ApiTokenBalance as ag, type ApiTokenMetadata as ah, type ApiTxSyncResult as ai, type ApiUserRewards as aj, type ApiUserWallet as ak, type ApiWalletActivity as al, type ApiWebhookCreated as am, type ApiWebhookEndpoint as an, type AutoRemixOfferParams as ao, type CancelOrderIntentParams as ap, type ChainFilter as aq, type CheckoutIntentItem as ar, type ClaimConditions as as, type CollectionServiceId as at, type CollectionSort as au, type CollectionTokensSort as av, type ConfirmRemixOfferParams as aw, type ConfirmSelfRemixParams as ax, type ConsiderationItem as ay, type CreateCheckoutIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type LaunchCoinIntentParams as b0, type MakeOfferIntentParams as b1, MedialaneApiError as b2, type MedialaneConfig as b3, type MedialaneErrorCode as b4, type MintMembershipsParams as b5, type MintTicketsParams as b6, OPEN_LICENSES as b7, type OfferItem as b8, type OpenLicense as b9, resolveConfig as bA, resolveFeeConfig as bB, type SealedOwner as bC, type ReceiptProviderLike as bD, type WalletExecutor as bE, type ExecutedTransaction as bF, type PasskeyOwner as bG, type CreatedOwner as bH, type OwnerSigner as bI, type PasskeyConfig as bJ, createPasskeyOwner as bK, type Order as ba, type OrderDetails as bb, type OrderParameters as bc, type OrderStatus as bd, PasskeyCancelledError as be, type PlaceSponsorshipBidIntentParams as bf, type PopBatchEligibilityItem as bg, type PopClaimStatus as bh, type PopEventType as bi, type ProposeSponsorshipParams as bj, type RejectSponsorshipProposalIntentParams as bk, type RemixOfferStatus as bl, type ResolvedConfig as bm, type RetractSponsorshipBidIntentParams as bn, type RetryOptions as bo, type ServiceEventDeclaration as bp, type SetSponsorshipOfferOpenIntentParams as bq, type SortOrder as br, type TenantPlan as bs, type TierServiceId as bt, type TxResult as bu, type UpdateCollectionProfileInput as bv, UserFacingError as bw, type WebhookEventType as bx, type WebhookStatus as by, type WithdrawSponsorshipProposalIntentParams as bz, type ActivityType as c, 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 ApiCollectionsQuery as u, type ApiComment as v, type ApiCounterOffersQuery as w, type ApiCreatorListResult as x, type ApiCreatorProfile as y, type ApiCreditPayment as z };
@@ -801,7 +801,6 @@ interface ApiPortalKey {
801
801
  id: string;
802
802
  prefix: string;
803
803
  label: string | null;
804
- appSource: string | null;
805
804
  status: ApiKeyStatus;
806
805
  lastUsedAt: string | null;
807
806
  createdAt: string;
@@ -941,13 +940,11 @@ interface ApiCreatorListResult {
941
940
  page: number;
942
941
  limit: number;
943
942
  }
944
- type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
945
943
  type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
946
944
  interface ApiUserWallet {
947
945
  walletAddress: string;
948
946
  email?: string | null;
949
947
  emailVerified?: boolean;
950
- requiresEmailVerification?: boolean;
951
948
  }
952
949
  interface ApiCollectionClaim {
953
950
  id: string;
@@ -1023,8 +1020,6 @@ interface ApiRewardsLevel {
1023
1020
  }
1024
1021
  interface ApiUserRewards {
1025
1022
  address: string;
1026
- accountId: string | null;
1027
- publicId: string | null;
1028
1023
  totalXp: number;
1029
1024
  currentLevel: number;
1030
1025
  currentLevelName: string;
@@ -1155,7 +1150,6 @@ declare class ApiClient {
1155
1150
  getApiKeys(siwsToken?: string): Promise<ApiResponse<ApiPortalKey[]>>;
1156
1151
  createApiKey(input?: {
1157
1152
  label?: string;
1158
- appSource?: string;
1159
1153
  }, siwsToken?: string): Promise<ApiResponse<ApiPortalKeyCreated>>;
1160
1154
  deleteApiKey(id: string, siwsToken?: string): Promise<ApiResponse<{
1161
1155
  id: string;
@@ -1242,7 +1236,6 @@ declare class ApiClient {
1242
1236
  registerUser(params: {
1243
1237
  walletAddress: string;
1244
1238
  walletType?: string;
1245
- appSource?: ApiAppSource;
1246
1239
  chain?: ApiChain;
1247
1240
  }): Promise<{
1248
1241
  accountId: string;
@@ -1250,14 +1243,11 @@ declare class ApiClient {
1250
1243
  walletAddress: string;
1251
1244
  chain: string;
1252
1245
  provider: string;
1253
- appSource: ApiAppSource;
1254
1246
  createdAt: string;
1255
1247
  }>;
1256
1248
  upsertMyWallet(siwsToken: string, options?: {
1257
1249
  walletType?: string;
1258
- appSource?: ApiAppSource;
1259
1250
  chain?: ApiChain;
1260
- emailVerificationToken?: string;
1261
1251
  email?: string;
1262
1252
  accountToken?: string;
1263
1253
  }): Promise<ApiUserWallet>;
@@ -1268,7 +1258,6 @@ declare class ApiClient {
1268
1258
  requestEmailCode(email: string): Promise<void>;
1269
1259
  registerEmailAccount(email: string): Promise<void>;
1270
1260
  verifyEmailCode(email: string, code: string): Promise<{
1271
- token: string;
1272
1261
  waitingWallets: string[];
1273
1262
  }>;
1274
1263
  claimWallet(params: {
@@ -1496,4 +1485,4 @@ declare class UserFacingError extends Error {
1496
1485
  constructor(message: string);
1497
1486
  }
1498
1487
 
1499
- export { type ApiPortalMe as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiEmissionCall as C, type ApiEmissionResult as D, type ApiFundingInstructions as E, type ApiFundingIntent as F, type ApiFundingMethod as G, type ApiFundingStatus as H, type ApiFundingSubmit as I, type ApiIntent as J, type ApiIntentCreated as K, type ApiKeyStatus as L, type ApiMeta as M, type ApiMetadataSignedUrl as N, type ApiMetadataUpload as O, type ApiOrder as P, type ApiOrderConsideration as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiOrderOffer as T, type ApiOrderPrice as U, type ApiOrderTokenMeta as V, type ApiOrderTxHash as W, type ApiOrdersQuery as X, type ApiPointEvent as Y, type ApiPortalKey as Z, type ApiPortalKeyCreated as _, type ServiceCapability as a, type IpAttribute as a$, type ApiPortalSpend as a0, type ApiPublicRemix as a1, type ApiRemixOffer as a2, type ApiRemixOfferPrice as a3, type ApiRemixOffersQuery as a4, type ApiResponse as a5, type ApiRewardsBadge as a6, type ApiRewardsBatchEntry as a7, type ApiRewardsConfig as a8, type ApiRewardsLeaderboardEntry as a9, type CreateCheckoutIntentParams as aA, type CreateCoinIntentParams as aB, type CreateCollectionIntentParams as aC, type CreateCounterOfferIntentParams as aD, type CreateDropParams as aE, type CreateListingIntentParams as aF, type CreateMembershipParams as aG, type CreateMintIntentParams as aH, type CreatePopCollectionParams as aI, type CreateRemixOfferParams as aJ, type CreateSponsorshipOfferIntentParams as aK, type CreateSponsorshipOfferParams as aL, type CreateSponsorshipProposalIntentParams as aM, type CreateTicketParams as aN, type CreateTierIntentParams as aO, type CreateWebhookParams as aP, type DropMintStatus as aQ, type EmissionParams as aR, type EnforcementDeclaration as aS, type FactoryFamilyServiceId as aT, type FeeConfig as aU, FeeConfigSchema as aV, type FulfillOrderIntentParams as aW, type IPType as aX, type IntentCall as aY, type IntentStatus as aZ, type IntentType as a_, type ApiRewardsLevel as aa, type ApiSearchCollectionResult as ab, type ApiSearchCreatorResult as ac, type ApiSearchResult as ad, type ApiSearchTokenResult as ae, type ApiSpendByAction as af, type ApiToken as ag, type ApiTokenBalance as ah, type ApiTokenMetadata as ai, type ApiTxSyncResult as aj, type ApiUserRewards as ak, type ApiUserWallet as al, type ApiWalletActivity as am, type ApiWebhookCreated as an, type ApiWebhookEndpoint as ao, type AutoRemixOfferParams as ap, type CancelOrderIntentParams as aq, type ChainFilter as ar, type CheckoutIntentItem as as, type ClaimConditions as at, type CollectionServiceId as au, type CollectionSort as av, type CollectionTokensSort as aw, type ConfirmRemixOfferParams as ax, type ConfirmSelfRemixParams as ay, type ConsiderationItem as az, type AcceptSponsorshipProposalIntentParams as b, type IpNftMetadata as b0, type LaunchCoinIntentParams as b1, type MakeOfferIntentParams as b2, MedialaneApiError as b3, type MedialaneConfig as b4, type MedialaneErrorCode as b5, type MintMembershipsParams as b6, type MintTicketsParams as b7, OPEN_LICENSES as b8, type OfferItem as b9, type WithdrawSponsorshipProposalIntentParams as bA, resolveConfig as bB, resolveFeeConfig as bC, type SealedOwner as bD, type ReceiptProviderLike as bE, type WalletExecutor as bF, type ExecutedTransaction as bG, type PasskeyOwner as bH, type CreatedOwner as bI, type OwnerSigner as bJ, type PasskeyConfig as bK, createPasskeyOwner as bL, type OpenLicense as ba, type Order as bb, type OrderDetails as bc, type OrderParameters as bd, type OrderStatus as be, PasskeyCancelledError as bf, type PlaceSponsorshipBidIntentParams as bg, type PopBatchEligibilityItem as bh, type PopClaimStatus as bi, type PopEventType as bj, type ProposeSponsorshipParams as bk, type RejectSponsorshipProposalIntentParams as bl, type RemixOfferStatus as bm, type ResolvedConfig as bn, type RetractSponsorshipBidIntentParams as bo, type RetryOptions as bp, type ServiceEventDeclaration as bq, type SetSponsorshipOfferOpenIntentParams as br, type SortOrder as bs, type TenantPlan as bt, type TierServiceId as bu, type TxResult as bv, type UpdateCollectionProfileInput as bw, UserFacingError as bx, type WebhookEventType as by, type WebhookStatus as bz, 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 };
1488
+ export { type ApiPortalSpend as $, type AcceptSponsorshipBidIntentParams as A, type ApiEmissionCall as B, type ApiEmissionResult as C, type ApiFundingInstructions as D, type ApiFundingIntent as E, type ApiFundingMethod as F, type ApiFundingStatus as G, type ApiFundingSubmit as H, type ApiIntent as I, type ApiIntentCreated as J, type ApiKeyStatus as K, type ApiMeta as L, type ApiMetadataSignedUrl as M, type ApiMetadataUpload as N, type ApiOrder as O, type ApiOrderConsideration as P, type ApiOrderOffer as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiOrderPrice as T, type ApiOrderTokenMeta as U, type ApiOrderTxHash as V, type ApiOrdersQuery as W, type ApiPointEvent as X, type ApiPortalKey as Y, type ApiPortalKeyCreated as Z, type ApiPortalMe as _, type ServiceCapability as a, type IpNftMetadata as a$, type ApiPublicRemix as a0, type ApiRemixOffer as a1, type ApiRemixOfferPrice as a2, type ApiRemixOffersQuery as a3, type ApiResponse as a4, type ApiRewardsBadge as a5, type ApiRewardsBatchEntry as a6, type ApiRewardsConfig as a7, type ApiRewardsLeaderboardEntry as a8, type ApiRewardsLevel as a9, type CreateCoinIntentParams as aA, type CreateCollectionIntentParams as aB, type CreateCounterOfferIntentParams as aC, type CreateDropParams as aD, type CreateListingIntentParams as aE, type CreateMembershipParams as aF, type CreateMintIntentParams as aG, type CreatePopCollectionParams as aH, type CreateRemixOfferParams as aI, type CreateSponsorshipOfferIntentParams as aJ, type CreateSponsorshipOfferParams as aK, type CreateSponsorshipProposalIntentParams as aL, type CreateTicketParams as aM, type CreateTierIntentParams as aN, type CreateWebhookParams as aO, type DropMintStatus as aP, type EmissionParams as aQ, type EnforcementDeclaration as aR, type FactoryFamilyServiceId as aS, type FeeConfig as aT, FeeConfigSchema as aU, type FulfillOrderIntentParams as aV, type IPType as aW, type IntentCall as aX, type IntentStatus as aY, type IntentType as aZ, type IpAttribute as a_, type ApiSearchCollectionResult as aa, type ApiSearchCreatorResult as ab, type ApiSearchResult as ac, type ApiSearchTokenResult as ad, type ApiSpendByAction as ae, type ApiToken as af, type ApiTokenBalance as ag, type ApiTokenMetadata as ah, type ApiTxSyncResult as ai, type ApiUserRewards as aj, type ApiUserWallet as ak, type ApiWalletActivity as al, type ApiWebhookCreated as am, type ApiWebhookEndpoint as an, type AutoRemixOfferParams as ao, type CancelOrderIntentParams as ap, type ChainFilter as aq, type CheckoutIntentItem as ar, type ClaimConditions as as, type CollectionServiceId as at, type CollectionSort as au, type CollectionTokensSort as av, type ConfirmRemixOfferParams as aw, type ConfirmSelfRemixParams as ax, type ConsiderationItem as ay, type CreateCheckoutIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type LaunchCoinIntentParams as b0, type MakeOfferIntentParams as b1, MedialaneApiError as b2, type MedialaneConfig as b3, type MedialaneErrorCode as b4, type MintMembershipsParams as b5, type MintTicketsParams as b6, OPEN_LICENSES as b7, type OfferItem as b8, type OpenLicense as b9, resolveConfig as bA, resolveFeeConfig as bB, type SealedOwner as bC, type ReceiptProviderLike as bD, type WalletExecutor as bE, type ExecutedTransaction as bF, type PasskeyOwner as bG, type CreatedOwner as bH, type OwnerSigner as bI, type PasskeyConfig as bJ, createPasskeyOwner as bK, type Order as ba, type OrderDetails as bb, type OrderParameters as bc, type OrderStatus as bd, PasskeyCancelledError as be, type PlaceSponsorshipBidIntentParams as bf, type PopBatchEligibilityItem as bg, type PopClaimStatus as bh, type PopEventType as bi, type ProposeSponsorshipParams as bj, type RejectSponsorshipProposalIntentParams as bk, type RemixOfferStatus as bl, type ResolvedConfig as bm, type RetractSponsorshipBidIntentParams as bn, type RetryOptions as bo, type ServiceEventDeclaration as bp, type SetSponsorshipOfferOpenIntentParams as bq, type SortOrder as br, type TenantPlan as bs, type TierServiceId as bt, type TxResult as bu, type UpdateCollectionProfileInput as bv, UserFacingError as bw, type WebhookEventType as bx, type WebhookStatus as by, type WithdrawSponsorshipProposalIntentParams as bz, type ActivityType as c, 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 ApiCollectionsQuery as u, type ApiComment as v, type ApiCounterOffersQuery as w, type ApiCreatorListResult as x, type ApiCreatorProfile as y, type ApiCreditPayment as z };
package/dist/index.cjs CHANGED
@@ -760,11 +760,9 @@ var ApiClient = class {
760
760
  }
761
761
  async upsertMyWallet(siwsToken, options = {}) {
762
762
  const body = {
763
- walletType: options.walletType ?? "UNKNOWN",
764
- appSource: options.appSource ?? "MEDIALANE_SDK"
763
+ walletType: options.walletType ?? "UNKNOWN"
765
764
  };
766
765
  if (options.chain) body.chain = options.chain;
767
- if (options.emailVerificationToken) body.emailVerificationToken = options.emailVerificationToken;
768
766
  if (options.email) body.email = options.email;
769
767
  if (options.accountToken) body.accountToken = options.accountToken;
770
768
  return this.request("/v1/users/me", {
@@ -787,7 +785,7 @@ var ApiClient = class {
787
785
  }
788
786
  async verifyEmailCode(email, code) {
789
787
  const body = await this.post("/v1/auth/email/verify-code", { email, code });
790
- return { token: body.token, waitingWallets: body.waitingWallets ?? [] };
788
+ return { waitingWallets: body.waitingWallets ?? [] };
791
789
  }
792
790
  claimWallet(params) {
793
791
  return this.post("/v1/users/me/claim-wallet", params);