@medialane/sdk 0.129.2 → 0.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{errors-DQJIxfVu.d.ts → errors-HTG0DcWa.d.ts} +70 -13
- package/dist/{errors-Fgqpww_8.d.cts → errors-JkeKc3cu.d.cts} +70 -13
- package/dist/index.cjs +68 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +68 -7
- package/dist/index.js.map +1 -1
- package/dist/starknet/index.cjs +135 -7
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +63 -3
- package/dist/starknet/index.d.ts +63 -3
- package/dist/starknet/index.js +132 -8
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bn as ResolvedConfig, bv as TxResult, aI as CreatePopCollectionParams, at as ClaimConditions, aE as CreateDropParams, aN as CreateTicketParams, b7 as MintTicketsParams, aG as CreateMembershipParams, b6 as MintMembershipsParams, aL as CreateSponsorshipOfferParams, bk as ProposeSponsorshipParams, l as ApiClient, b4 as MedialaneConfig, b5 as MedialaneErrorCode, bc as OrderDetails, R as ResolvedFeeConfig, F as ApiFundingIntent, E as ApiFundingInstructions, I as ApiFundingSubmit, K as ApiIntentCreated, bD as SealedOwner, bE as ReceiptProviderLike, bF as WalletExecutor, bG as ExecutedTransaction, bH as PasskeyOwner } from '../errors-JkeKc3cu.cjs';
|
|
2
|
+
export { bI as CreatedOwner, bJ as OwnerSigner, bf as PasskeyCancelledError, bK as PasskeyConfig, bx as UserFacingError, bL as createPasskeyOwner } from '../errors-JkeKc3cu.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';
|
|
@@ -570,6 +570,66 @@ declare function storeSiwsToken(address: string, token: string): void;
|
|
|
570
570
|
declare function normalizeSiwsSignature(signature: unknown): string[];
|
|
571
571
|
declare function requestSiwsToken({ backendUrl, walletAddress, signer, appSource, }: RequestSiwsTokenArgs): Promise<string>;
|
|
572
572
|
|
|
573
|
+
interface FundingTransferCall {
|
|
574
|
+
contractAddress: string;
|
|
575
|
+
entrypoint: "transfer";
|
|
576
|
+
calldata: string[];
|
|
577
|
+
}
|
|
578
|
+
interface FundingWallet {
|
|
579
|
+
address: string;
|
|
580
|
+
signTypedData(typedData: TypedData): Promise<string[]>;
|
|
581
|
+
sendTransfer(call: FundingTransferCall): Promise<{
|
|
582
|
+
txHash: string;
|
|
583
|
+
}>;
|
|
584
|
+
}
|
|
585
|
+
/** A wallet adapter throws this only when it is certain nothing was broadcast: a rejected prompt, or no sponsor available. */
|
|
586
|
+
declare class FundingTransferNotSentError extends Error {
|
|
587
|
+
constructor(message?: string);
|
|
588
|
+
}
|
|
589
|
+
type Res<T> = Promise<{
|
|
590
|
+
data: T;
|
|
591
|
+
}>;
|
|
592
|
+
/** The funding calls with the caller's sign-in already bound. */
|
|
593
|
+
interface FundingApi {
|
|
594
|
+
createFunding(input: {
|
|
595
|
+
method: string;
|
|
596
|
+
params: Record<string, unknown>;
|
|
597
|
+
}): Res<ApiFundingIntent>;
|
|
598
|
+
getFundingChallenge(id: string, payer: string): Res<{
|
|
599
|
+
typedData: unknown;
|
|
600
|
+
}>;
|
|
601
|
+
authorizeFunding(id: string, input: {
|
|
602
|
+
payer: string;
|
|
603
|
+
signature: string[];
|
|
604
|
+
}): Res<{
|
|
605
|
+
instructions: ApiFundingInstructions;
|
|
606
|
+
}>;
|
|
607
|
+
submitFunding(id: string, txHash: string): Res<ApiFundingSubmit>;
|
|
608
|
+
cancelFunding(id: string): Res<{
|
|
609
|
+
status: string;
|
|
610
|
+
}>;
|
|
611
|
+
}
|
|
612
|
+
declare function fundingApiFor(client: ApiClient, siwsToken?: string): FundingApi;
|
|
613
|
+
declare function buildFundingTransferCall(instructions: ApiFundingInstructions): FundingTransferCall;
|
|
614
|
+
type FundingStep = "creating" | "signing" | "authorizing" | "paying" | "confirming";
|
|
615
|
+
type FundingResult = {
|
|
616
|
+
status: "SETTLED";
|
|
617
|
+
intentId: string;
|
|
618
|
+
credited?: number;
|
|
619
|
+
} | {
|
|
620
|
+
status: "PENDING";
|
|
621
|
+
intentId: string;
|
|
622
|
+
reason: string;
|
|
623
|
+
};
|
|
624
|
+
interface FundWithTransferOptions {
|
|
625
|
+
amountUsdc: string;
|
|
626
|
+
onStep?: (step: FundingStep) => void;
|
|
627
|
+
pollMs?: number;
|
|
628
|
+
maxPolls?: number;
|
|
629
|
+
sleep?: (ms: number) => Promise<void>;
|
|
630
|
+
}
|
|
631
|
+
declare function fundWithChainTransfer(api: FundingApi, wallet: FundingWallet, options: FundWithTransferOptions): Promise<FundingResult>;
|
|
632
|
+
|
|
573
633
|
declare const IPMarketplaceABI: readonly [{
|
|
574
634
|
readonly type: "impl";
|
|
575
635
|
readonly name: "Medialane721Impl";
|
|
@@ -8126,4 +8186,4 @@ declare function createMediaWallet(config: MediaWalletConfig): MediaWallet;
|
|
|
8126
8186
|
|
|
8127
8187
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8128
8188
|
|
|
8129
|
-
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, 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 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 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, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, 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, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isRecoveryKeyForWallet, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, userMayPayInstead, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
|
|
8189
|
+
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, 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 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, 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, isRecoveryKeyForWallet, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, userMayPayInstead, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
|
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bn as ResolvedConfig, bv as TxResult, aI as CreatePopCollectionParams, at as ClaimConditions, aE as CreateDropParams, aN as CreateTicketParams, b7 as MintTicketsParams, aG as CreateMembershipParams, b6 as MintMembershipsParams, aL as CreateSponsorshipOfferParams, bk as ProposeSponsorshipParams, l as ApiClient, b4 as MedialaneConfig, b5 as MedialaneErrorCode, bc as OrderDetails, R as ResolvedFeeConfig, F as ApiFundingIntent, E as ApiFundingInstructions, I as ApiFundingSubmit, K as ApiIntentCreated, bD as SealedOwner, bE as ReceiptProviderLike, bF as WalletExecutor, bG as ExecutedTransaction, bH as PasskeyOwner } from '../errors-HTG0DcWa.js';
|
|
2
|
+
export { bI as CreatedOwner, bJ as OwnerSigner, bf as PasskeyCancelledError, bK as PasskeyConfig, bx as UserFacingError, bL as createPasskeyOwner } from '../errors-HTG0DcWa.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';
|
|
@@ -570,6 +570,66 @@ declare function storeSiwsToken(address: string, token: string): void;
|
|
|
570
570
|
declare function normalizeSiwsSignature(signature: unknown): string[];
|
|
571
571
|
declare function requestSiwsToken({ backendUrl, walletAddress, signer, appSource, }: RequestSiwsTokenArgs): Promise<string>;
|
|
572
572
|
|
|
573
|
+
interface FundingTransferCall {
|
|
574
|
+
contractAddress: string;
|
|
575
|
+
entrypoint: "transfer";
|
|
576
|
+
calldata: string[];
|
|
577
|
+
}
|
|
578
|
+
interface FundingWallet {
|
|
579
|
+
address: string;
|
|
580
|
+
signTypedData(typedData: TypedData): Promise<string[]>;
|
|
581
|
+
sendTransfer(call: FundingTransferCall): Promise<{
|
|
582
|
+
txHash: string;
|
|
583
|
+
}>;
|
|
584
|
+
}
|
|
585
|
+
/** A wallet adapter throws this only when it is certain nothing was broadcast: a rejected prompt, or no sponsor available. */
|
|
586
|
+
declare class FundingTransferNotSentError extends Error {
|
|
587
|
+
constructor(message?: string);
|
|
588
|
+
}
|
|
589
|
+
type Res<T> = Promise<{
|
|
590
|
+
data: T;
|
|
591
|
+
}>;
|
|
592
|
+
/** The funding calls with the caller's sign-in already bound. */
|
|
593
|
+
interface FundingApi {
|
|
594
|
+
createFunding(input: {
|
|
595
|
+
method: string;
|
|
596
|
+
params: Record<string, unknown>;
|
|
597
|
+
}): Res<ApiFundingIntent>;
|
|
598
|
+
getFundingChallenge(id: string, payer: string): Res<{
|
|
599
|
+
typedData: unknown;
|
|
600
|
+
}>;
|
|
601
|
+
authorizeFunding(id: string, input: {
|
|
602
|
+
payer: string;
|
|
603
|
+
signature: string[];
|
|
604
|
+
}): Res<{
|
|
605
|
+
instructions: ApiFundingInstructions;
|
|
606
|
+
}>;
|
|
607
|
+
submitFunding(id: string, txHash: string): Res<ApiFundingSubmit>;
|
|
608
|
+
cancelFunding(id: string): Res<{
|
|
609
|
+
status: string;
|
|
610
|
+
}>;
|
|
611
|
+
}
|
|
612
|
+
declare function fundingApiFor(client: ApiClient, siwsToken?: string): FundingApi;
|
|
613
|
+
declare function buildFundingTransferCall(instructions: ApiFundingInstructions): FundingTransferCall;
|
|
614
|
+
type FundingStep = "creating" | "signing" | "authorizing" | "paying" | "confirming";
|
|
615
|
+
type FundingResult = {
|
|
616
|
+
status: "SETTLED";
|
|
617
|
+
intentId: string;
|
|
618
|
+
credited?: number;
|
|
619
|
+
} | {
|
|
620
|
+
status: "PENDING";
|
|
621
|
+
intentId: string;
|
|
622
|
+
reason: string;
|
|
623
|
+
};
|
|
624
|
+
interface FundWithTransferOptions {
|
|
625
|
+
amountUsdc: string;
|
|
626
|
+
onStep?: (step: FundingStep) => void;
|
|
627
|
+
pollMs?: number;
|
|
628
|
+
maxPolls?: number;
|
|
629
|
+
sleep?: (ms: number) => Promise<void>;
|
|
630
|
+
}
|
|
631
|
+
declare function fundWithChainTransfer(api: FundingApi, wallet: FundingWallet, options: FundWithTransferOptions): Promise<FundingResult>;
|
|
632
|
+
|
|
573
633
|
declare const IPMarketplaceABI: readonly [{
|
|
574
634
|
readonly type: "impl";
|
|
575
635
|
readonly name: "Medialane721Impl";
|
|
@@ -8126,4 +8186,4 @@ declare function createMediaWallet(config: MediaWalletConfig): MediaWallet;
|
|
|
8126
8186
|
|
|
8127
8187
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8128
8188
|
|
|
8129
|
-
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, 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 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 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, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, 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, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isRecoveryKeyForWallet, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, userMayPayInstead, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
|
|
8189
|
+
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, 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 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, 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, isRecoveryKeyForWallet, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, userMayPayInstead, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
|
package/dist/starknet/index.js
CHANGED
|
@@ -564,6 +564,7 @@ var ApiClient = class {
|
|
|
564
564
|
headers: this.asSubject(siwsToken)
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
|
+
/** @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
568
|
checkDeposit(txHash, siwsToken) {
|
|
568
569
|
return this.request("/v1/portal/credits/check", {
|
|
569
570
|
method: "POST",
|
|
@@ -571,6 +572,52 @@ var ApiClient = class {
|
|
|
571
572
|
headers: this.asSubject(siwsToken)
|
|
572
573
|
});
|
|
573
574
|
}
|
|
575
|
+
getFundingMethods(siwsToken) {
|
|
576
|
+
return this.request("/v1/portal/funding/methods", {
|
|
577
|
+
method: "GET",
|
|
578
|
+
headers: this.asSubject(siwsToken)
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
createFunding(input, siwsToken) {
|
|
582
|
+
return this.request("/v1/portal/funding", {
|
|
583
|
+
method: "POST",
|
|
584
|
+
body: JSON.stringify({ method: input.method, params: input.params }),
|
|
585
|
+
headers: this.asSubject(siwsToken)
|
|
586
|
+
});
|
|
587
|
+
}
|
|
588
|
+
getFunding(id, siwsToken) {
|
|
589
|
+
return this.request(`/v1/portal/funding/${encodeURIComponent(id)}`, {
|
|
590
|
+
method: "GET",
|
|
591
|
+
headers: this.asSubject(siwsToken)
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
getFundingChallenge(id, payer, siwsToken) {
|
|
595
|
+
return this.request(`/v1/portal/funding/${encodeURIComponent(id)}/challenge`, {
|
|
596
|
+
method: "POST",
|
|
597
|
+
body: JSON.stringify({ payer }),
|
|
598
|
+
headers: this.asSubject(siwsToken)
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
authorizeFunding(id, input, siwsToken) {
|
|
602
|
+
return this.request(
|
|
603
|
+
`/v1/portal/funding/${encodeURIComponent(id)}/authorize`,
|
|
604
|
+
{ method: "POST", body: JSON.stringify({ payer: input.payer, signature: input.signature }), headers: this.asSubject(siwsToken) }
|
|
605
|
+
);
|
|
606
|
+
}
|
|
607
|
+
submitFunding(id, txHash, siwsToken) {
|
|
608
|
+
return this.request(`/v1/portal/funding/${encodeURIComponent(id)}/submit`, {
|
|
609
|
+
method: "POST",
|
|
610
|
+
body: JSON.stringify({ txHash }),
|
|
611
|
+
headers: this.asSubject(siwsToken)
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
cancelFunding(id, siwsToken) {
|
|
615
|
+
return this.request(`/v1/portal/funding/${encodeURIComponent(id)}/cancel`, {
|
|
616
|
+
method: "POST",
|
|
617
|
+
body: JSON.stringify({}),
|
|
618
|
+
headers: this.asSubject(siwsToken)
|
|
619
|
+
});
|
|
620
|
+
}
|
|
574
621
|
getWebhooks() {
|
|
575
622
|
return this.get("/v1/portal/webhooks");
|
|
576
623
|
}
|
|
@@ -598,12 +645,9 @@ var ApiClient = class {
|
|
|
598
645
|
registerBusinessProvisioning(params) {
|
|
599
646
|
return this.post(
|
|
600
647
|
"/v1/business/provisioning",
|
|
601
|
-
params
|
|
648
|
+
{ chain: params.chain ?? "STARKNET", recipientScheme: params.recipientScheme, recipientValue: params.recipientValue }
|
|
602
649
|
);
|
|
603
650
|
}
|
|
604
|
-
completeBusinessProvisioning(id) {
|
|
605
|
-
return this.post(`/v1/business/provisioning/${id}/complete`, {});
|
|
606
|
-
}
|
|
607
651
|
getCollectionProfile(contractAddress) {
|
|
608
652
|
return this.request(
|
|
609
653
|
`/v1/collections/${this.addr(contractAddress)}/profile`,
|
|
@@ -700,11 +744,28 @@ var ApiClient = class {
|
|
|
700
744
|
headers: this.bearer(siwsToken)
|
|
701
745
|
});
|
|
702
746
|
}
|
|
703
|
-
async
|
|
704
|
-
const
|
|
747
|
+
async checkEmail(email) {
|
|
748
|
+
const body = await this.get(
|
|
705
749
|
`/v1/auth/email/exists?email=${encodeURIComponent(email)}`
|
|
706
750
|
);
|
|
707
|
-
return exists;
|
|
751
|
+
return { exists: body.exists, walletWaiting: body.walletWaiting === true };
|
|
752
|
+
}
|
|
753
|
+
async requestEmailCode(email) {
|
|
754
|
+
await this.post("/v1/auth/email/request-code", { email });
|
|
755
|
+
}
|
|
756
|
+
async registerEmailAccount(email) {
|
|
757
|
+
await this.post("/v1/auth/email/register-account", { email });
|
|
758
|
+
}
|
|
759
|
+
async verifyEmailCode(email, code) {
|
|
760
|
+
const body = await this.post("/v1/auth/email/verify-code", { email, code });
|
|
761
|
+
return { token: body.token, waitingWallets: body.waitingWallets ?? [] };
|
|
762
|
+
}
|
|
763
|
+
claimWallet(params) {
|
|
764
|
+
return this.post("/v1/users/me/claim-wallet", params);
|
|
765
|
+
}
|
|
766
|
+
async getSessionWallet() {
|
|
767
|
+
const body = await this.post("/v1/users/me/wallet", {});
|
|
768
|
+
return body.walletAddress ?? null;
|
|
708
769
|
}
|
|
709
770
|
getMyWallet(siwsToken) {
|
|
710
771
|
return this.request(
|
|
@@ -11616,6 +11677,69 @@ async function requestSiwsToken({
|
|
|
11616
11677
|
return token;
|
|
11617
11678
|
}
|
|
11618
11679
|
|
|
11680
|
+
// src/starknet/funding/chain-transfer.ts
|
|
11681
|
+
var FundingTransferNotSentError = class extends Error {
|
|
11682
|
+
constructor(message = "The transfer was not sent.") {
|
|
11683
|
+
super(message);
|
|
11684
|
+
this.name = "FundingTransferNotSentError";
|
|
11685
|
+
}
|
|
11686
|
+
};
|
|
11687
|
+
function fundingApiFor(client, siwsToken) {
|
|
11688
|
+
return {
|
|
11689
|
+
createFunding: (input) => client.createFunding(input, siwsToken),
|
|
11690
|
+
getFundingChallenge: (id, payer) => client.getFundingChallenge(id, payer, siwsToken),
|
|
11691
|
+
authorizeFunding: (id, input) => client.authorizeFunding(id, input, siwsToken),
|
|
11692
|
+
submitFunding: (id, txHash) => client.submitFunding(id, txHash, siwsToken),
|
|
11693
|
+
cancelFunding: (id) => client.cancelFunding(id, siwsToken)
|
|
11694
|
+
};
|
|
11695
|
+
}
|
|
11696
|
+
function buildFundingTransferCall(instructions) {
|
|
11697
|
+
const amount = BigInt(instructions.amountAtomic);
|
|
11698
|
+
const mask = (1n << 128n) - 1n;
|
|
11699
|
+
return {
|
|
11700
|
+
contractAddress: instructions.asset,
|
|
11701
|
+
entrypoint: "transfer",
|
|
11702
|
+
calldata: [instructions.payTo, (amount & mask).toString(), (amount >> 128n).toString()]
|
|
11703
|
+
};
|
|
11704
|
+
}
|
|
11705
|
+
async function fundWithChainTransfer(api, wallet, options) {
|
|
11706
|
+
const step = options.onStep ?? (() => {
|
|
11707
|
+
});
|
|
11708
|
+
const sleep2 = options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
11709
|
+
const pollMs = options.pollMs ?? 3e3;
|
|
11710
|
+
const maxPolls = options.maxPolls ?? 20;
|
|
11711
|
+
step("creating");
|
|
11712
|
+
const { data: intent } = await api.createFunding({ method: "chain-transfer", params: { amountUsdc: options.amountUsdc } });
|
|
11713
|
+
let txHash;
|
|
11714
|
+
let transferStarted = false;
|
|
11715
|
+
try {
|
|
11716
|
+
step("signing");
|
|
11717
|
+
const challenge = await api.getFundingChallenge(intent.id, wallet.address);
|
|
11718
|
+
const signature = await wallet.signTypedData(challenge.data.typedData);
|
|
11719
|
+
step("authorizing");
|
|
11720
|
+
const authorized = await api.authorizeFunding(intent.id, { payer: wallet.address, signature });
|
|
11721
|
+
step("paying");
|
|
11722
|
+
transferStarted = true;
|
|
11723
|
+
({ txHash } = await wallet.sendTransfer(buildFundingTransferCall(authorized.data.instructions)));
|
|
11724
|
+
} catch (err) {
|
|
11725
|
+
if (!transferStarted || err instanceof FundingTransferNotSentError) {
|
|
11726
|
+
await api.cancelFunding(intent.id).catch(() => void 0);
|
|
11727
|
+
}
|
|
11728
|
+
throw err;
|
|
11729
|
+
}
|
|
11730
|
+
step("confirming");
|
|
11731
|
+
let reason = "waiting for the transfer to confirm";
|
|
11732
|
+
for (let attempt = 0; attempt < maxPolls; attempt++) {
|
|
11733
|
+
const res = await api.submitFunding(intent.id, txHash);
|
|
11734
|
+
if (res.data.status === "SETTLED") {
|
|
11735
|
+
return { status: "SETTLED", intentId: intent.id, credited: res.data.credited };
|
|
11736
|
+
}
|
|
11737
|
+
reason = res.data.reason;
|
|
11738
|
+
await sleep2(pollMs);
|
|
11739
|
+
}
|
|
11740
|
+
return { status: "PENDING", intentId: intent.id, reason };
|
|
11741
|
+
}
|
|
11742
|
+
|
|
11619
11743
|
// src/errors.ts
|
|
11620
11744
|
var UserFacingError = class extends Error {
|
|
11621
11745
|
constructor(message) {
|
|
@@ -12893,6 +13017,6 @@ function createMediaWallet(config) {
|
|
|
12893
13017
|
};
|
|
12894
13018
|
}
|
|
12895
13019
|
|
|
12896
|
-
export { ADMIN_HEADERS, ADMIN_SCOPE, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreatorCoinFactoryABI, CreatorCoinService, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, 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, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, 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, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isRecoveryKeyForWallet, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, userMayPayInstead, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
|
|
13020
|
+
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, 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, 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, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isRecoveryKeyForWallet, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerAliveTypedData, ownerConstructorCalldata, parseAccountAddress, parseAdminHeaders, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, selfFundedExecutor, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, userMayPayInstead, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig, waitUntilDeployed };
|
|
12897
13021
|
//# sourceMappingURL=index.js.map
|
|
12898
13022
|
//# sourceMappingURL=index.js.map
|