@medialane/sdk 0.144.0 → 0.146.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.
@@ -1,5 +1,5 @@
1
- import { bG as ResolvedConfig, bO as TxResult, a$ as CreatePopCollectionParams, aM as ClaimConditions, aX as CreateDropParams, b4 as CreateTicketParams, bq as MintTicketsParams, aZ as CreateMembershipParams, bp as MintMembershipsParams, b2 as CreateSponsorshipOfferParams, bD as ProposeSponsorshipParams, k as ApiClient, bn as MedialaneConfig, bo as MedialaneErrorCode, bv as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bW as SealedOwner, bX as ReceiptProviderLike, bY as WalletExecutor, bZ as ExecutedTransaction, b_ as PasskeyOwner, b$ as CreatedOwner } from '../errors-SGwgtvtF.cjs';
2
- export { c0 as InvalidRecoveryKeyError, c1 as OwnerSigner, by as PasskeyCancelledError, c2 as PasskeyConfig, c3 as RecoveryKey, bQ as UserFacingError, c4 as createPasskeyOwner, c5 as encodeRecoveryKey, c6 as parseRecoveryKey } from '../errors-SGwgtvtF.cjs';
1
+ import { bG as ResolvedConfig, bO as TxResult, a$ as CreatePopCollectionParams, aM as ClaimConditions, aX as CreateDropParams, b4 as CreateTicketParams, bq as MintTicketsParams, aZ as CreateMembershipParams, bp as MintMembershipsParams, b2 as CreateSponsorshipOfferParams, bD as ProposeSponsorshipParams, k as ApiClient, bn as MedialaneConfig, bo as MedialaneErrorCode, bv as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bW as SealedOwner, bX as ReceiptProviderLike, bY as WalletExecutor, bZ as ExecutedTransaction, b_ as PasskeyOwner, b$ as CreatedOwner } from '../errors-BU-LJRp3.cjs';
2
+ export { c0 as InvalidRecoveryKeyError, c1 as OwnerSigner, by as PasskeyCancelledError, c2 as PasskeyConfig, c3 as RecoveryKey, bQ as UserFacingError, c4 as createPasskeyOwner, c5 as encodeRecoveryKey, c6 as parseRecoveryKey } from '../errors-BU-LJRp3.cjs';
3
3
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
4
4
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-CuSlc_YE.cjs';
5
5
  import 'zod';
@@ -582,14 +582,12 @@ interface FundingWallet {
582
582
  txHash: string;
583
583
  }>;
584
584
  }
585
- /** A wallet adapter throws this only when it is certain nothing was broadcast: a rejected prompt, or no sponsor available. */
586
585
  declare class FundingTransferNotSentError extends Error {
587
586
  constructor(message?: string);
588
587
  }
589
588
  type Res<T> = Promise<{
590
589
  data: T;
591
590
  }>;
592
- /** The funding calls with the caller's sign-in already bound. */
593
591
  interface FundingApi {
594
592
  createFunding(input: {
595
593
  method: string;
@@ -7969,13 +7967,6 @@ declare function ownerConstructorCalldata(ownerPubkey: BigNumberish): string[];
7969
7967
  declare function computeAccountAddress(ownerPubkey: BigNumberish, salt?: BigNumberish): string;
7970
7968
 
7971
7969
  declare function computeOwnerGuid(ownerPubkey: BigNumberish): string;
7972
- interface OwnerAliveProof {
7973
- newOwnerPubkey: BigNumberish;
7974
- signature: string[];
7975
- expiration: number;
7976
- }
7977
- declare function ownerAliveTypedData(newOwnerGuid: string, expiration: number, chainId: string): TypedData;
7978
- declare function buildChangeOwnersCall(accountAddress: string, removeOwnerPubkey: BigNumberish, addOwnerPubkey: BigNumberish, ownerAlive?: OwnerAliveProof): Call;
7979
7970
  declare function buildAddOwnerCall(accountAddress: string, addOwnerPubkey: BigNumberish): Call;
7980
7971
  declare function buildRemoveOwnerCall(accountAddress: string, removeOwnerPubkey: BigNumberish): Call;
7981
7972
  declare function buildRemoveOwnerByGuidCall(accountAddress: string, ownerGuid: BigNumberish): Call;
@@ -8059,13 +8050,11 @@ declare function describeRecoveryAction(escape: EscapeInfo): RecoveryAction;
8059
8050
 
8060
8051
  declare function normalizeWalletAddress(address: string): string;
8061
8052
  declare function isValidStarknetAddress(address: string): boolean;
8062
- /** Whether a contract is deployed at the address. Throws when the read itself fails, so a failed read is never "not deployed". */
8063
8053
  declare function isDeployed(provider: ReceiptProviderLike, address: string): Promise<boolean>;
8064
8054
 
8065
8055
  interface SelfFundFeeEstimate {
8066
8056
  feeRaw: bigint;
8067
8057
  unit: string;
8068
- /** The wallet's balance of the fee token; `null` when it could not be read. */
8069
8058
  balanceRaw: bigint | null;
8070
8059
  }
8071
8060
  type SelfFundConsentHandler = (feeEstimate: Promise<SelfFundFeeEstimate | null>) => Promise<boolean>;
@@ -8187,22 +8176,17 @@ declare function createMediaWallet(config: MediaWalletConfig): MediaWallet;
8187
8176
 
8188
8177
  interface SessionWallet {
8189
8178
  walletAddress: string;
8190
- /** The wallet's key is not set up yet: call `setupSessionWalletKey`. */
8191
8179
  needsKeySetup: boolean;
8192
8180
  }
8193
- /**
8194
- * The wallet of the account behind the session, saved as this device's account. `null` only when the account has
8195
- * no wallet; a failed lookup throws, so it is never mistaken for an account without one.
8196
- */
8197
8181
  declare function adoptSessionWallet(api: Pick<ApiClient, "getSessionWallet">, saveAddress: (walletAddress: string) => void): Promise<SessionWallet | null>;
8198
- interface SessionWalletKeyDeps {
8182
+ interface SessionWalletClaimDeps {
8199
8183
  createOwnerKey(): Promise<CreatedOwner>;
8184
+ loadOwner(): SealedOwner | null;
8200
8185
  saveOwner(sealed: SealedOwner): void;
8201
- now?(): number;
8186
+ removeOwner(sealed: SealedOwner, ownerGuid: string): Promise<unknown>;
8202
8187
  }
8203
- /** Creates the owner key and makes it the only owner of the session account's wallet. */
8204
- declare function setupSessionWalletKey(api: Pick<ApiClient, "setupWalletKey">, walletAddress: string, deps: SessionWalletKeyDeps): Promise<void>;
8188
+ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, walletAddress: string, deps: SessionWalletClaimDeps): Promise<void>;
8205
8189
 
8206
8190
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
8207
8191
 
8208
- export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, type ParsedAdminHeaders, PasskeyOwner, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletKeyDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, WalletExecutor, accountFor, adminRequestDigest, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeAdminHeaders, encodeByteArray, encodePairingPayload, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, setupSessionWalletKey, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
8192
+ export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, type ParsedAdminHeaders, PasskeyOwner, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletClaimDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, WalletExecutor, accountFor, adminRequestDigest, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeAdminHeaders, encodeByteArray, encodePairingPayload, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
@@ -1,5 +1,5 @@
1
- import { bG as ResolvedConfig, bO as TxResult, a$ as CreatePopCollectionParams, aM as ClaimConditions, aX as CreateDropParams, b4 as CreateTicketParams, bq as MintTicketsParams, aZ as CreateMembershipParams, bp as MintMembershipsParams, b2 as CreateSponsorshipOfferParams, bD as ProposeSponsorshipParams, k as ApiClient, bn as MedialaneConfig, bo as MedialaneErrorCode, bv as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bW as SealedOwner, bX as ReceiptProviderLike, bY as WalletExecutor, bZ as ExecutedTransaction, b_ as PasskeyOwner, b$ as CreatedOwner } from '../errors-DUiebYFo.js';
2
- export { c0 as InvalidRecoveryKeyError, c1 as OwnerSigner, by as PasskeyCancelledError, c2 as PasskeyConfig, c3 as RecoveryKey, bQ as UserFacingError, c4 as createPasskeyOwner, c5 as encodeRecoveryKey, c6 as parseRecoveryKey } from '../errors-DUiebYFo.js';
1
+ import { bG as ResolvedConfig, bO as TxResult, a$ as CreatePopCollectionParams, aM as ClaimConditions, aX as CreateDropParams, b4 as CreateTicketParams, bq as MintTicketsParams, aZ as CreateMembershipParams, bp as MintMembershipsParams, b2 as CreateSponsorshipOfferParams, bD as ProposeSponsorshipParams, k as ApiClient, bn as MedialaneConfig, bo as MedialaneErrorCode, bv as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bW as SealedOwner, bX as ReceiptProviderLike, bY as WalletExecutor, bZ as ExecutedTransaction, b_ as PasskeyOwner, b$ as CreatedOwner } from '../errors-CTfk25XX.js';
2
+ export { c0 as InvalidRecoveryKeyError, c1 as OwnerSigner, by as PasskeyCancelledError, c2 as PasskeyConfig, c3 as RecoveryKey, bQ as UserFacingError, c4 as createPasskeyOwner, c5 as encodeRecoveryKey, c6 as parseRecoveryKey } from '../errors-CTfk25XX.js';
3
3
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
4
4
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-CuSlc_YE.js';
5
5
  import 'zod';
@@ -582,14 +582,12 @@ interface FundingWallet {
582
582
  txHash: string;
583
583
  }>;
584
584
  }
585
- /** A wallet adapter throws this only when it is certain nothing was broadcast: a rejected prompt, or no sponsor available. */
586
585
  declare class FundingTransferNotSentError extends Error {
587
586
  constructor(message?: string);
588
587
  }
589
588
  type Res<T> = Promise<{
590
589
  data: T;
591
590
  }>;
592
- /** The funding calls with the caller's sign-in already bound. */
593
591
  interface FundingApi {
594
592
  createFunding(input: {
595
593
  method: string;
@@ -7969,13 +7967,6 @@ declare function ownerConstructorCalldata(ownerPubkey: BigNumberish): string[];
7969
7967
  declare function computeAccountAddress(ownerPubkey: BigNumberish, salt?: BigNumberish): string;
7970
7968
 
7971
7969
  declare function computeOwnerGuid(ownerPubkey: BigNumberish): string;
7972
- interface OwnerAliveProof {
7973
- newOwnerPubkey: BigNumberish;
7974
- signature: string[];
7975
- expiration: number;
7976
- }
7977
- declare function ownerAliveTypedData(newOwnerGuid: string, expiration: number, chainId: string): TypedData;
7978
- declare function buildChangeOwnersCall(accountAddress: string, removeOwnerPubkey: BigNumberish, addOwnerPubkey: BigNumberish, ownerAlive?: OwnerAliveProof): Call;
7979
7970
  declare function buildAddOwnerCall(accountAddress: string, addOwnerPubkey: BigNumberish): Call;
7980
7971
  declare function buildRemoveOwnerCall(accountAddress: string, removeOwnerPubkey: BigNumberish): Call;
7981
7972
  declare function buildRemoveOwnerByGuidCall(accountAddress: string, ownerGuid: BigNumberish): Call;
@@ -8059,13 +8050,11 @@ declare function describeRecoveryAction(escape: EscapeInfo): RecoveryAction;
8059
8050
 
8060
8051
  declare function normalizeWalletAddress(address: string): string;
8061
8052
  declare function isValidStarknetAddress(address: string): boolean;
8062
- /** Whether a contract is deployed at the address. Throws when the read itself fails, so a failed read is never "not deployed". */
8063
8053
  declare function isDeployed(provider: ReceiptProviderLike, address: string): Promise<boolean>;
8064
8054
 
8065
8055
  interface SelfFundFeeEstimate {
8066
8056
  feeRaw: bigint;
8067
8057
  unit: string;
8068
- /** The wallet's balance of the fee token; `null` when it could not be read. */
8069
8058
  balanceRaw: bigint | null;
8070
8059
  }
8071
8060
  type SelfFundConsentHandler = (feeEstimate: Promise<SelfFundFeeEstimate | null>) => Promise<boolean>;
@@ -8187,22 +8176,17 @@ declare function createMediaWallet(config: MediaWalletConfig): MediaWallet;
8187
8176
 
8188
8177
  interface SessionWallet {
8189
8178
  walletAddress: string;
8190
- /** The wallet's key is not set up yet: call `setupSessionWalletKey`. */
8191
8179
  needsKeySetup: boolean;
8192
8180
  }
8193
- /**
8194
- * The wallet of the account behind the session, saved as this device's account. `null` only when the account has
8195
- * no wallet; a failed lookup throws, so it is never mistaken for an account without one.
8196
- */
8197
8181
  declare function adoptSessionWallet(api: Pick<ApiClient, "getSessionWallet">, saveAddress: (walletAddress: string) => void): Promise<SessionWallet | null>;
8198
- interface SessionWalletKeyDeps {
8182
+ interface SessionWalletClaimDeps {
8199
8183
  createOwnerKey(): Promise<CreatedOwner>;
8184
+ loadOwner(): SealedOwner | null;
8200
8185
  saveOwner(sealed: SealedOwner): void;
8201
- now?(): number;
8186
+ removeOwner(sealed: SealedOwner, ownerGuid: string): Promise<unknown>;
8202
8187
  }
8203
- /** Creates the owner key and makes it the only owner of the session account's wallet. */
8204
- declare function setupSessionWalletKey(api: Pick<ApiClient, "setupWalletKey">, walletAddress: string, deps: SessionWalletKeyDeps): Promise<void>;
8188
+ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, walletAddress: string, deps: SessionWalletClaimDeps): Promise<void>;
8205
8189
 
8206
8190
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
8207
8191
 
8208
- export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, type ParsedAdminHeaders, PasskeyOwner, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletKeyDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, WalletExecutor, accountFor, adminRequestDigest, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeAdminHeaders, encodeByteArray, encodePairingPayload, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, setupSessionWalletKey, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
8192
+ export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, type ParsedAdminHeaders, PasskeyOwner, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletClaimDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, WalletExecutor, accountFor, adminRequestDigest, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeAdminHeaders, encodeByteArray, encodePairingPayload, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
@@ -350,7 +350,6 @@ var ApiClient = class {
350
350
  getActiveOrdersForToken(contract, tokenId) {
351
351
  return this.get(`/v1/orders/token/${this.addr(contract)}/${tokenId}`);
352
352
  }
353
- /** Offers others made on the address's assets. */
354
353
  getReceivedOffers(address, opts = {}) {
355
354
  const params = new URLSearchParams({ page: String(opts.page ?? 1), limit: String(opts.limit ?? 50) });
356
355
  return this.get(`/v1/orders/received/${this.addr(address)}?${params}`);
@@ -509,7 +508,6 @@ var ApiClient = class {
509
508
  uploadMetadata(metadata) {
510
509
  return this.post("/v1/metadata/upload", metadata);
511
510
  }
512
- /** Pins several JSON files as one IPFS directory, e.g. a drop's token metadata. */
513
511
  async uploadMetadataDirectory(files) {
514
512
  const res = await this.post("/v1/metadata/upload-directory", { files });
515
513
  return res.data;
@@ -563,7 +561,6 @@ var ApiClient = class {
563
561
  headers: this.asSubject(siwsToken)
564
562
  });
565
563
  }
566
- /** @deprecated Use the funding methods (`createFunding`, or `fundWithChainTransfer` from `@medialane/sdk/starknet`). This call only nudges a legacy scanner and never credits anything itself. */
567
564
  checkDeposit(txHash, siwsToken) {
568
565
  return this.request("/v1/portal/credits/check", {
569
566
  method: "POST",
@@ -755,14 +752,9 @@ var ApiClient = class {
755
752
  async verifyEmailCode(email, code) {
756
753
  await this.post("/v1/auth/email/verify-code", { email, code });
757
754
  }
758
- /**
759
- * Makes the passkey the only owner of the session account's wallet. `signature` is the passkey's owner-alive
760
- * proof for the wallet. Answers 409 when the wallet is already set up.
761
- */
762
755
  setupWalletKey(params) {
763
756
  return this.post("/v1/users/me/wallet/key", params);
764
757
  }
765
- /** The session account's wallet, and whether its passkey still has to be set up (`setupWalletKey`). */
766
758
  async getSessionWallet() {
767
759
  const body = await this.post("/v1/users/me/wallet", {});
768
760
  return body.walletAddress ? { walletAddress: body.walletAddress, needsKeySetup: body.needsKeySetup === true } : null;
@@ -12072,6 +12064,25 @@ var SERVICES = {
12072
12064
  ],
12073
12065
  metadataSchema: { licenseDefault: "CC BY-SA" }
12074
12066
  },
12067
+ "certificate-emission": {
12068
+ id: "certificate-emission",
12069
+ displayName: "Certificate Emission",
12070
+ description: "Issue a soulbound credential to a list of recipients in one run \u2014 everyone gets a wallet and their certificate.",
12071
+ standard: "ERC721",
12072
+ provenance: "MEDIALANE",
12073
+ onchain: {
12074
+ STARKNET: {
12075
+ factoryAddress: SN2.popFactory,
12076
+ classHash: SN2.popCollectionClassHash
12077
+ }
12078
+ },
12079
+ uiVariant: "pop",
12080
+ capabilities: ["mint", "airdrop"],
12081
+ events: [
12082
+ { name: "CollectionCreated", emittedBy: "factory" }
12083
+ ],
12084
+ metadataSchema: { licenseDefault: "CC BY-SA" }
12085
+ },
12075
12086
  "drop-collection": {
12076
12087
  id: "drop-collection",
12077
12088
  displayName: "Collection Drop",
@@ -12410,12 +12421,11 @@ function computeAccountAddress(ownerPubkey, salt = 0) {
12410
12421
  }
12411
12422
  var STARKNET_SIGNER_TYPE = "0x537461726b6e6574205369676e6572";
12412
12423
  var OPTION_NONE = "0x1";
12413
- var OPTION_SOME = "0x0";
12414
12424
  var SIGNER_STARKNET = "0x0";
12415
12425
  function computeOwnerGuid(ownerPubkey) {
12416
12426
  return hash.computePoseidonHash(STARKNET_SIGNER_TYPE, num.toHex(ownerPubkey));
12417
12427
  }
12418
- function changeOwners(accountAddress, guidsToRemove, pubkeysToAdd, ownerAlive) {
12428
+ function changeOwners(accountAddress, guidsToRemove, pubkeysToAdd) {
12419
12429
  return {
12420
12430
  contractAddress: accountAddress,
12421
12431
  entrypoint: "change_owners",
@@ -12424,55 +12434,10 @@ function changeOwners(accountAddress, guidsToRemove, pubkeysToAdd, ownerAlive) {
12424
12434
  ...guidsToRemove,
12425
12435
  num.toHex(pubkeysToAdd.length),
12426
12436
  ...pubkeysToAdd.flatMap((p) => [SIGNER_STARKNET, num.toHex(p)]),
12427
- ...ownerAlive ? ownerAliveCalldata(ownerAlive) : [OPTION_NONE]
12437
+ OPTION_NONE
12428
12438
  ]
12429
12439
  };
12430
12440
  }
12431
- function ownerAliveTypedData(newOwnerGuid, expiration, chainId) {
12432
- return {
12433
- types: {
12434
- StarknetDomain: [
12435
- { name: "name", type: "shortstring" },
12436
- { name: "version", type: "shortstring" },
12437
- { name: "chainId", type: "shortstring" },
12438
- { name: "revision", type: "shortstring" }
12439
- ],
12440
- "Owner Alive": [
12441
- { name: "Owner GUID", type: "felt" },
12442
- { name: "Signature expiration", type: "timestamp" }
12443
- ]
12444
- },
12445
- primaryType: "Owner Alive",
12446
- domain: { name: "Owner Alive", version: "1", chainId, revision: "1" },
12447
- message: { "Owner GUID": newOwnerGuid, "Signature expiration": expiration }
12448
- };
12449
- }
12450
- function ownerAliveCalldata(proof) {
12451
- if (proof.signature.length !== 2) {
12452
- throw new Error("owner-alive proof needs an r and s from the incoming owner");
12453
- }
12454
- return [
12455
- OPTION_SOME,
12456
- SIGNER_STARKNET,
12457
- num.toHex(proof.newOwnerPubkey),
12458
- num.toHex(proof.signature[0]),
12459
- num.toHex(proof.signature[1]),
12460
- num.toHex(proof.expiration)
12461
- ];
12462
- }
12463
- function buildChangeOwnersCall(accountAddress, removeOwnerPubkey, addOwnerPubkey, ownerAlive) {
12464
- if (!ownerAlive) {
12465
- throw new Error(
12466
- "Replacing the signing owner requires an owner-alive proof from the new owner. Sign ownerAliveTypedData with the new owner key and pass it here."
12467
- );
12468
- }
12469
- return changeOwners(
12470
- accountAddress,
12471
- [computeOwnerGuid(removeOwnerPubkey)],
12472
- [addOwnerPubkey],
12473
- ownerAlive
12474
- );
12475
- }
12476
12441
  function buildAddOwnerCall(accountAddress, addOwnerPubkey) {
12477
12442
  return changeOwners(accountAddress, [], [addOwnerPubkey]);
12478
12443
  }
@@ -13225,22 +13190,22 @@ function createMediaWallet(config) {
13225
13190
  }
13226
13191
  };
13227
13192
  }
13193
+
13194
+ // src/session/session-wallet.ts
13228
13195
  async function adoptSessionWallet(api, saveAddress) {
13229
13196
  const wallet = await api.getSessionWallet();
13230
13197
  if (wallet) saveAddress(wallet.walletAddress);
13231
13198
  return wallet;
13232
13199
  }
13233
- var PROOF_TTL_SECONDS = 600;
13234
- async function setupSessionWalletKey(api, walletAddress, deps) {
13235
- const { sealed, privateKeyHex } = await deps.createOwnerKey();
13236
- const now = deps.now?.() ?? Math.floor(Date.now() / 1e3);
13237
- const expiration = now + PROOF_TTL_SECONDS;
13238
- const message = ownerAliveTypedData(computeOwnerGuid(sealed.ownerPubKey), expiration, "SN_MAIN");
13239
- const signature = signWithPrivateKey(privateKeyHex, typedData.getMessageHash(message, walletAddress));
13240
- const result = await api.setupWalletKey({ newOwnerPubkey: sealed.ownerPubKey, signature, expiration });
13241
- deps.saveOwner({ ...sealed, address: result.walletAddress });
13200
+ async function claimSessionWallet(api, walletAddress, deps) {
13201
+ const saved = deps.loadOwner();
13202
+ const resuming = saved !== null && normalizeWalletAddress(saved.address) === normalizeWalletAddress(walletAddress);
13203
+ const sealed = resuming ? saved : { ...(await deps.createOwnerKey()).sealed, address: walletAddress };
13204
+ if (!resuming) deps.saveOwner(sealed);
13205
+ const { removeOwnerGuid } = await api.setupWalletKey({ newOwnerPubkey: sealed.ownerPubKey });
13206
+ if (removeOwnerGuid) await deps.removeOwner(sealed, removeOwnerGuid);
13242
13207
  }
13243
13208
 
13244
- export { ADMIN_HEADERS, ADMIN_SCOPE, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreatorCoinFactoryABI, CreatorCoinService, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, FundingTransferNotSentError, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, POPCollectionABI, POPFactoryABI, PasskeyCancelledError, PopService, SUGGESTED_DEFAULT_PRICE, SponsoredCallRejectedError, SponsorshipService, StarknetVenue, TicketService, UserFacingError, VALIDATED_EKUBO_PARAMS, accountFor, adminRequestDigest, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeAdminHeaders, encodeByteArray, encodePairingPayload, encodeRecoveryKey, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, parseRecoveryKey, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, setupSessionWalletKey, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
13209
+ export { ADMIN_HEADERS, ADMIN_SCOPE, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreatorCoinFactoryABI, CreatorCoinService, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, FundingTransferNotSentError, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, POPCollectionABI, POPFactoryABI, PasskeyCancelledError, PopService, SUGGESTED_DEFAULT_PRICE, SponsoredCallRejectedError, SponsorshipService, StarknetVenue, TicketService, UserFacingError, VALIDATED_EKUBO_PARAMS, accountFor, adminRequestDigest, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeAdminHeaders, encodeByteArray, encodePairingPayload, encodeRecoveryKey, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, parseRecoveryKey, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
13245
13210
  //# sourceMappingURL=index.js.map
13246
13211
  //# sourceMappingURL=index.js.map