@medialane/sdk 0.206.0 → 0.208.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,12 +1,12 @@
1
1
  import * as starknet from 'starknet';
2
2
  import { RpcProvider, ProviderInterface, TypedData, Call, constants } from 'starknet';
3
- import { b as ApiClient, q as MedialaneConfig, E as ResolvedConfig, H as ResolvedFeeConfig, p as FundingApi, I as IntentsApi, h as CreateDropParams, n as DropTerms, U as UserFacingError, i as CreateMembershipParams, v as MintMembershipsParams, u as MintEditionParams, B as BatchMintEditionParams, a as AddSupplyParams, j as CreatePopCollectionParams, k as CreateSponsorshipOfferParams, y as ProposeSponsorshipParams, l as CreateTicketParams, w as MintTicketsParams } from '../services-Cy5FH8sP.cjs';
4
- export { V as ApiKeyAction, W as ApiKeyConfirmation, X as ApiKeyConfirmationInput, Y as CreateCreatorCoinParams, Z as CreatorCoinGuarantees, _ as CreatorCoinReceiptLike, D as DeployCollectionParams, $ as DropMintState, a0 as DropMintStateKind, a1 as DropOnchain, a2 as EkuboLaunchParams, a3 as EkuboPoolParams, a4 as MAX_HOLDERS_AT_LAUNCH, a5 as MAX_TEAM_ALLOCATION_PERCENT, r as MedialaneError, a6 as PopAllowlist, a7 as PopClaimInfo, a8 as PopClaimLink, a9 as PopClaimState, aa as VALIDATED_EKUBO_PARAMS, ab as apiKeyConfirmationTypedData, ac as buildCreateCreatorCoinCall, ad as buildDropClaimCalls, ae as buildLaunchOnEkuboCalls, af as buildPopAllowlist, ag as decodePopClaimFragment, ah as dropClaimLinks, ai as dropClaimedBy, aj as dropMintState, ak as encodePopClaimFragment, al as getCreatorCoinGuarantees, am as isCreatorCoin, an as parseCreatorCoinCreated, ao as popCalls, ap as popClaimInfo, aq as popClaimLinks, ar as popClaimLinksCsv, as as popClaimState, at as popHasClaimed, au as priceToEkuboParams, av as readDrop, aw as validatePrice, ax as verifyPopProof } from '../services-Cy5FH8sP.cjs';
3
+ import { b as ApiClient, q as MedialaneConfig, E as ResolvedConfig, H as ResolvedFeeConfig, p as FundingApi, I as IntentsApi, h as CreateDropParams, n as DropTerms, U as UserFacingError, i as CreateMembershipParams, v as MintMembershipsParams, u as MintEditionParams, B as BatchMintEditionParams, a as AddSupplyParams, j as CreatePopCollectionParams, k as CreateSponsorshipOfferParams, y as ProposeSponsorshipParams, l as CreateTicketParams, w as MintTicketsParams } from '../services-DRi5P1K0.cjs';
4
+ export { V as ApiKeyAction, W as ApiKeyConfirmation, X as ApiKeyConfirmationInput, Y as CreateCreatorCoinParams, Z as CreatorCoinGuarantees, _ as CreatorCoinReceiptLike, D as DeployCollectionParams, $ as DropMintState, a0 as DropMintStateKind, a1 as DropOnchain, a2 as EkuboLaunchParams, a3 as EkuboPoolParams, a4 as MAX_HOLDERS_AT_LAUNCH, a5 as MAX_TEAM_ALLOCATION_PERCENT, r as MedialaneError, a6 as PopAllowlist, a7 as PopClaimInfo, a8 as PopClaimLink, a9 as PopClaimState, aa as VALIDATED_EKUBO_PARAMS, ab as apiKeyConfirmationTypedData, ac as buildCreateCreatorCoinCall, ad as buildDropClaimCalls, ae as buildLaunchOnEkuboCalls, af as buildPopAllowlist, ag as decodePopClaimFragment, ah as dropClaimLinks, ai as dropClaimedBy, aj as dropMintState, ak as encodePopClaimFragment, al as getCreatorCoinGuarantees, am as isCreatorCoin, an as parseCreatorCoinCreated, ao as popCalls, ap as popClaimInfo, aq as popClaimLinks, ar as popClaimLinksCsv, as as popClaimState, at as popHasClaimed, au as priceToEkuboParams, av as readDrop, aw as validatePrice, ax as verifyPopProof } from '../services-DRi5P1K0.cjs';
5
5
  import { b as VenueSigner, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams } from '../types-BftPOVEJ.cjs';
6
- import { I as ApiFundingInstructions, O as ApiIntentCreated } from '../passkey-errors-BjqEFmu_.cjs';
7
- export { bc as DeviceKeyMissingError, bv as PasskeyCancelledError, bw as PasskeyUnsupportedError, bx as PasskeyUnsupportedReason } from '../passkey-errors-BjqEFmu_.cjs';
6
+ import { I as ApiFundingInstructions, O as ApiIntentCreated } from '../passkey-errors-BMpbMEGO.cjs';
7
+ export { bc as DeviceKeyMissingError, bv as PasskeyCancelledError, bw as PasskeyUnsupportedError, bx as PasskeyUnsupportedReason } from '../passkey-errors-BMpbMEGO.cjs';
8
8
  import { F as FetchLike } from '../fetch-Cx9Pr7-B.cjs';
9
- export { CreatedOwner, DeploymentCoordinator, DeploymentDeps, DeploymentResult, DeploymentStep, DeviceEntry, DeviceKeyStore, EscapeInfo, EscapeStatusName, EscapeTypeName, ExecutedTransaction, GuardianInfo, GuardianStatus, InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, MediaWallet, MediaWalletConfig, OwnerSigner, OwnerStore, PairingPayload, PasskeyConfig, PasskeyOwner, ReceiptProviderLike, RecoveryAction, RecoveryKey, SealedOwner, SelfFundConsent, SelfFundConsentHandler, SelfFundFeeEstimate, SelfFundedDeps, SessionWallet, SessionWalletClaimDeps, SponsoredDeps, WalletExecutor, accountFor, buildAddOwnerCall, buildCancelEscapeCall, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, canRemoveDevice, claimSessionWallet, completeDeployment, computeAccountAddress, computeOwnerGuid, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodePairingPayload, encodeRecoveryKey, estimateSelfFundedFee, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, getOwners, indexedDbDeviceKeys, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, unsealPrivateKey, waitUntilDeployed } from '../wallet/index.cjs';
9
+ export { CreatedOwner, DeploymentCoordinator, DeploymentDeps, DeploymentResult, DeploymentStep, DeviceEntry, DeviceKeyStore, EscapeInfo, EscapeStatusName, EscapeTypeName, ExecutedTransaction, GuardianInfo, GuardianStatus, InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, MediaWallet, MediaWalletConfig, OwnerSigner, OwnerStore, PairingPayload, PasskeyConfig, PasskeyOwner, ReceiptProviderLike, RecoveryAction, RecoveryKey, SealedOwner, SelfFundConsent, SelfFundConsentHandler, SelfFundFeeEstimate, SelfFundedDeps, SessionRecoveryDeps, SessionWallet, SessionWalletClaimDeps, SponsoredDeps, WalletExecutor, accountFor, buildAddOwnerCall, buildCancelEscapeCall, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, canRemoveDevice, claimSessionWallet, completeDeployment, computeAccountAddress, computeOwnerGuid, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodePairingPayload, encodeRecoveryKey, estimateSelfFundedFee, finishSessionRecovery, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, getOwners, indexedDbDeviceKeys, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, startSessionRecovery, turnOnRecovery, unsealPrivateKey, waitUntilDeployed } from '../wallet/index.cjs';
10
10
  import 'zod';
11
11
  import '../chains-CmwjZVU7.cjs';
12
12
  import '../responses-BpnS-Io9.cjs';
@@ -8120,6 +8120,7 @@ declare function deployedCollectionFromReceipt(receipt: ReceiptLike, service: De
8120
8120
  declare function createdCollectionFromReceipt(receipt: ReceiptLike, registry: string): {
8121
8121
  collectionId: string;
8122
8122
  } | null;
8123
+ declare function createdCollectionAddress(provider: ProviderInterface, registry: string, collectionId: string): Promise<string | null>;
8123
8124
  declare function mintedTokenIdFromReceipt(receipt: ReceiptLike, contract: string): string | null;
8124
8125
 
8125
8126
  interface ReceiptProvider {
@@ -8310,4 +8311,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
8310
8311
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
8311
8312
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
8312
8313
 
8313
- export { AddSupplyParams, BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, CreateDropParams, CreatePopCollectionParams, CreatorCoinFactoryABI, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionArgs, type DeployingServiceId, DropCollectionABI, DropFactoryABI, type DropMintCost, DropTerms, type ExecuteIntentOpts, type FeeSurface, type FundWithTransferOptions, type FundingResult, type FundingStep, type FundingTransferApi, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IntentClient, Medialane1155ABI, MedialaneClient, MintEditionParams, POPCollectionABI, POPFactoryABI, type ReceiptLike, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsoredRequest, type SponsorshipFailureCode, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, type TypedDataSigner, UserFacingError, VenueSigner, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildFundingTransferCall, buildOrderTypedData, buybackQuoteRaw, clubCalls, toRaw as coinToRaw, confirmIntentBestEffort, createChainProvider, createdCollectionFromReceipt, deployedCollectionFromReceipt, dropCalls, dropMintCost, editionCalls, encodeByteArray, erc20Balance, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, popFactoryCalls, populateCall, requestSiwsToken, signInWithWallet, sponsorshipCalls, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, ticketCalls, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol };
8314
+ export { AddSupplyParams, BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, CreateDropParams, CreatePopCollectionParams, CreatorCoinFactoryABI, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionArgs, type DeployingServiceId, DropCollectionABI, DropFactoryABI, type DropMintCost, DropTerms, type ExecuteIntentOpts, type FeeSurface, type FundWithTransferOptions, type FundingResult, type FundingStep, type FundingTransferApi, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IntentClient, Medialane1155ABI, MedialaneClient, MintEditionParams, POPCollectionABI, POPFactoryABI, type ReceiptLike, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsoredRequest, type SponsorshipFailureCode, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, type TypedDataSigner, UserFacingError, VenueSigner, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildFundingTransferCall, buildOrderTypedData, buybackQuoteRaw, clubCalls, toRaw as coinToRaw, confirmIntentBestEffort, createChainProvider, createdCollectionAddress, createdCollectionFromReceipt, deployedCollectionFromReceipt, dropCalls, dropMintCost, editionCalls, encodeByteArray, erc20Balance, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, popFactoryCalls, populateCall, requestSiwsToken, signInWithWallet, sponsorshipCalls, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, ticketCalls, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol };
@@ -1,12 +1,12 @@
1
1
  import * as starknet from 'starknet';
2
2
  import { RpcProvider, ProviderInterface, TypedData, Call, constants } from 'starknet';
3
- import { b as ApiClient, q as MedialaneConfig, E as ResolvedConfig, H as ResolvedFeeConfig, p as FundingApi, I as IntentsApi, h as CreateDropParams, n as DropTerms, U as UserFacingError, i as CreateMembershipParams, v as MintMembershipsParams, u as MintEditionParams, B as BatchMintEditionParams, a as AddSupplyParams, j as CreatePopCollectionParams, k as CreateSponsorshipOfferParams, y as ProposeSponsorshipParams, l as CreateTicketParams, w as MintTicketsParams } from '../services-DWmXVwTV.js';
4
- export { V as ApiKeyAction, W as ApiKeyConfirmation, X as ApiKeyConfirmationInput, Y as CreateCreatorCoinParams, Z as CreatorCoinGuarantees, _ as CreatorCoinReceiptLike, D as DeployCollectionParams, $ as DropMintState, a0 as DropMintStateKind, a1 as DropOnchain, a2 as EkuboLaunchParams, a3 as EkuboPoolParams, a4 as MAX_HOLDERS_AT_LAUNCH, a5 as MAX_TEAM_ALLOCATION_PERCENT, r as MedialaneError, a6 as PopAllowlist, a7 as PopClaimInfo, a8 as PopClaimLink, a9 as PopClaimState, aa as VALIDATED_EKUBO_PARAMS, ab as apiKeyConfirmationTypedData, ac as buildCreateCreatorCoinCall, ad as buildDropClaimCalls, ae as buildLaunchOnEkuboCalls, af as buildPopAllowlist, ag as decodePopClaimFragment, ah as dropClaimLinks, ai as dropClaimedBy, aj as dropMintState, ak as encodePopClaimFragment, al as getCreatorCoinGuarantees, am as isCreatorCoin, an as parseCreatorCoinCreated, ao as popCalls, ap as popClaimInfo, aq as popClaimLinks, ar as popClaimLinksCsv, as as popClaimState, at as popHasClaimed, au as priceToEkuboParams, av as readDrop, aw as validatePrice, ax as verifyPopProof } from '../services-DWmXVwTV.js';
3
+ import { b as ApiClient, q as MedialaneConfig, E as ResolvedConfig, H as ResolvedFeeConfig, p as FundingApi, I as IntentsApi, h as CreateDropParams, n as DropTerms, U as UserFacingError, i as CreateMembershipParams, v as MintMembershipsParams, u as MintEditionParams, B as BatchMintEditionParams, a as AddSupplyParams, j as CreatePopCollectionParams, k as CreateSponsorshipOfferParams, y as ProposeSponsorshipParams, l as CreateTicketParams, w as MintTicketsParams } from '../services-DkoV6uJe.js';
4
+ export { V as ApiKeyAction, W as ApiKeyConfirmation, X as ApiKeyConfirmationInput, Y as CreateCreatorCoinParams, Z as CreatorCoinGuarantees, _ as CreatorCoinReceiptLike, D as DeployCollectionParams, $ as DropMintState, a0 as DropMintStateKind, a1 as DropOnchain, a2 as EkuboLaunchParams, a3 as EkuboPoolParams, a4 as MAX_HOLDERS_AT_LAUNCH, a5 as MAX_TEAM_ALLOCATION_PERCENT, r as MedialaneError, a6 as PopAllowlist, a7 as PopClaimInfo, a8 as PopClaimLink, a9 as PopClaimState, aa as VALIDATED_EKUBO_PARAMS, ab as apiKeyConfirmationTypedData, ac as buildCreateCreatorCoinCall, ad as buildDropClaimCalls, ae as buildLaunchOnEkuboCalls, af as buildPopAllowlist, ag as decodePopClaimFragment, ah as dropClaimLinks, ai as dropClaimedBy, aj as dropMintState, ak as encodePopClaimFragment, al as getCreatorCoinGuarantees, am as isCreatorCoin, an as parseCreatorCoinCreated, ao as popCalls, ap as popClaimInfo, aq as popClaimLinks, ar as popClaimLinksCsv, as as popClaimState, at as popHasClaimed, au as priceToEkuboParams, av as readDrop, aw as validatePrice, ax as verifyPopProof } from '../services-DkoV6uJe.js';
5
5
  import { b as VenueSigner, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams } from '../types-BW6ktwcT.js';
6
- import { I as ApiFundingInstructions, O as ApiIntentCreated } from '../passkey-errors-DMv2Vn1P.js';
7
- export { bc as DeviceKeyMissingError, bv as PasskeyCancelledError, bw as PasskeyUnsupportedError, bx as PasskeyUnsupportedReason } from '../passkey-errors-DMv2Vn1P.js';
6
+ import { I as ApiFundingInstructions, O as ApiIntentCreated } from '../passkey-errors-BIb35H7w.js';
7
+ export { bc as DeviceKeyMissingError, bv as PasskeyCancelledError, bw as PasskeyUnsupportedError, bx as PasskeyUnsupportedReason } from '../passkey-errors-BIb35H7w.js';
8
8
  import { F as FetchLike } from '../fetch-Cx9Pr7-B.js';
9
- export { CreatedOwner, DeploymentCoordinator, DeploymentDeps, DeploymentResult, DeploymentStep, DeviceEntry, DeviceKeyStore, EscapeInfo, EscapeStatusName, EscapeTypeName, ExecutedTransaction, GuardianInfo, GuardianStatus, InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, MediaWallet, MediaWalletConfig, OwnerSigner, OwnerStore, PairingPayload, PasskeyConfig, PasskeyOwner, ReceiptProviderLike, RecoveryAction, RecoveryKey, SealedOwner, SelfFundConsent, SelfFundConsentHandler, SelfFundFeeEstimate, SelfFundedDeps, SessionWallet, SessionWalletClaimDeps, SponsoredDeps, WalletExecutor, accountFor, buildAddOwnerCall, buildCancelEscapeCall, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, canRemoveDevice, claimSessionWallet, completeDeployment, computeAccountAddress, computeOwnerGuid, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodePairingPayload, encodeRecoveryKey, estimateSelfFundedFee, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, getOwners, indexedDbDeviceKeys, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, unsealPrivateKey, waitUntilDeployed } from '../wallet/index.js';
9
+ export { CreatedOwner, DeploymentCoordinator, DeploymentDeps, DeploymentResult, DeploymentStep, DeviceEntry, DeviceKeyStore, EscapeInfo, EscapeStatusName, EscapeTypeName, ExecutedTransaction, GuardianInfo, GuardianStatus, InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, MediaWallet, MediaWalletConfig, OwnerSigner, OwnerStore, PairingPayload, PasskeyConfig, PasskeyOwner, ReceiptProviderLike, RecoveryAction, RecoveryKey, SealedOwner, SelfFundConsent, SelfFundConsentHandler, SelfFundFeeEstimate, SelfFundedDeps, SessionRecoveryDeps, SessionWallet, SessionWalletClaimDeps, SponsoredDeps, WalletExecutor, accountFor, buildAddOwnerCall, buildCancelEscapeCall, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, canRemoveDevice, claimSessionWallet, completeDeployment, computeAccountAddress, computeOwnerGuid, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodePairingPayload, encodeRecoveryKey, estimateSelfFundedFee, finishSessionRecovery, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, getOwners, indexedDbDeviceKeys, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, startSessionRecovery, turnOnRecovery, unsealPrivateKey, waitUntilDeployed } from '../wallet/index.js';
10
10
  import 'zod';
11
11
  import '../chains-CmwjZVU7.js';
12
12
  import '../responses-BpnS-Io9.js';
@@ -8120,6 +8120,7 @@ declare function deployedCollectionFromReceipt(receipt: ReceiptLike, service: De
8120
8120
  declare function createdCollectionFromReceipt(receipt: ReceiptLike, registry: string): {
8121
8121
  collectionId: string;
8122
8122
  } | null;
8123
+ declare function createdCollectionAddress(provider: ProviderInterface, registry: string, collectionId: string): Promise<string | null>;
8123
8124
  declare function mintedTokenIdFromReceipt(receipt: ReceiptLike, contract: string): string | null;
8124
8125
 
8125
8126
  interface ReceiptProvider {
@@ -8310,4 +8311,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
8310
8311
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
8311
8312
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
8312
8313
 
8313
- export { AddSupplyParams, BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, CreateDropParams, CreatePopCollectionParams, CreatorCoinFactoryABI, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionArgs, type DeployingServiceId, DropCollectionABI, DropFactoryABI, type DropMintCost, DropTerms, type ExecuteIntentOpts, type FeeSurface, type FundWithTransferOptions, type FundingResult, type FundingStep, type FundingTransferApi, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IntentClient, Medialane1155ABI, MedialaneClient, MintEditionParams, POPCollectionABI, POPFactoryABI, type ReceiptLike, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsoredRequest, type SponsorshipFailureCode, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, type TypedDataSigner, UserFacingError, VenueSigner, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildFundingTransferCall, buildOrderTypedData, buybackQuoteRaw, clubCalls, toRaw as coinToRaw, confirmIntentBestEffort, createChainProvider, createdCollectionFromReceipt, deployedCollectionFromReceipt, dropCalls, dropMintCost, editionCalls, encodeByteArray, erc20Balance, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, popFactoryCalls, populateCall, requestSiwsToken, signInWithWallet, sponsorshipCalls, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, ticketCalls, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol };
8314
+ export { AddSupplyParams, BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, CreateDropParams, CreatePopCollectionParams, CreatorCoinFactoryABI, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionArgs, type DeployingServiceId, DropCollectionABI, DropFactoryABI, type DropMintCost, DropTerms, type ExecuteIntentOpts, type FeeSurface, type FundWithTransferOptions, type FundingResult, type FundingStep, type FundingTransferApi, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IntentClient, Medialane1155ABI, MedialaneClient, MintEditionParams, POPCollectionABI, POPFactoryABI, type ReceiptLike, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsoredRequest, type SponsorshipFailureCode, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, type TypedDataSigner, UserFacingError, VenueSigner, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildFundingTransferCall, buildOrderTypedData, buybackQuoteRaw, clubCalls, toRaw as coinToRaw, confirmIntentBestEffort, createChainProvider, createdCollectionAddress, createdCollectionFromReceipt, deployedCollectionFromReceipt, dropCalls, dropMintCost, editionCalls, encodeByteArray, erc20Balance, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, popFactoryCalls, populateCall, requestSiwsToken, signInWithWallet, sponsorshipCalls, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, ticketCalls, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol };
@@ -1,11 +1,11 @@
1
1
  import { resolveConfig, getService, collectionHref, dropHref, stringifyBigInts } from '../chunk-GV4A2WNO.js';
2
- export { InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, SponsoredCallRejectedError, accountFor, allowsFallbackFunding, buildAddOwnerCall, buildCancelEscapeCall, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, canRemoveDevice, claimSessionWallet, completeDeployment, computeAccountAddress, computeOwnerGuid, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodePairingPayload, encodeRecoveryKey, erc20Balance, estimateSelfFundedFee, executeSponsored, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, getOwners, indexedDbDeviceKeys, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, unsealPrivateKey, waitUntilDeployed } from '../chunk-EPU52YSA.js';
3
- import { ApiClient, UserFacingError, normalizeAddress, SUPPORTED_TOKENS, MedialaneError, MedialaneApiError } from '../chunk-GENBWVGK.js';
4
- export { DeviceKeyMissingError, MedialaneError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError } from '../chunk-GENBWVGK.js';
2
+ export { InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, SponsoredCallRejectedError, accountFor, allowsFallbackFunding, buildAddOwnerCall, buildCancelEscapeCall, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, canRemoveDevice, claimSessionWallet, completeDeployment, computeAccountAddress, computeOwnerGuid, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodePairingPayload, encodeRecoveryKey, erc20Balance, estimateSelfFundedFee, executeSponsored, finishSessionRecovery, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, getOwners, indexedDbDeviceKeys, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, startSessionRecovery, turnOnRecovery, unsealPrivateKey, waitUntilDeployed } from '../chunk-MK7OLAZD.js';
3
+ import { ApiClient, UserFacingError, normalizeAddress, SUPPORTED_TOKENS, MedialaneError, MedialaneApiError } from '../chunk-7QPV7UQU.js';
4
+ export { DeviceKeyMissingError, MedialaneError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError } from '../chunk-7QPV7UQU.js';
5
5
  import { getStarknetCoordinates } from '../chunk-5KY6P434.js';
6
6
  import '../chunk-WRBXQPRL.js';
7
7
  import '../chunk-PZ5AY32C.js';
8
- import { hash, CallData, RpcProvider, cairo, num, CairoOption, CairoOptionVariant, uint256, TypedDataRevision, Contract, byteArray, constants, shortString } from 'starknet';
8
+ import { hash, CallData, RpcProvider, cairo, num, uint256, CairoOption, CairoOptionVariant, TypedDataRevision, Contract, byteArray, constants, shortString } from 'starknet';
9
9
 
10
10
  function createChainProvider(backendUrl, apiKey) {
11
11
  return new RpcProvider({
@@ -11164,6 +11164,12 @@ function createdCollectionFromReceipt(receipt, registry) {
11164
11164
  }
11165
11165
  return null;
11166
11166
  }
11167
+ async function createdCollectionAddress(provider, registry, collectionId) {
11168
+ const [low, high] = Object.values(uint256.bnToUint256(BigInt(collectionId)));
11169
+ const result = await provider.callContract({ contractAddress: registry, entrypoint: "get_collection", calldata: [low, high] });
11170
+ const ipNft = result[result.length - 1];
11171
+ return ipNft && !sameFelt(ipNft, 0n) ? normalizeAddress("STARKNET", ipNft) : null;
11172
+ }
11167
11173
  function mintedTokenIdFromReceipt(receipt, contract) {
11168
11174
  for (const e of receipt.events ?? []) {
11169
11175
  if (!sameFelt(e.from_address, contract)) continue;
@@ -11720,6 +11726,6 @@ function encodeByteArray(str) {
11720
11726
  ];
11721
11727
  }
11722
11728
 
11723
- export { MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, CreatorCoinFactoryABI, DROP_MAX_CLAIM_QUANTITY, DropCollectionABI, DropFactoryABI, FundingTransferNotSentError, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, POPCollectionABI, POPFactoryABI, SUGGESTED_DEFAULT_PRICE, StarknetVenue, VALIDATED_EKUBO_PARAMS, apiKeyConfirmationTypedData, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildDropClaimCalls, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildPopAllowlist, buybackQuoteRaw, clubCalls, toRaw as coinToRaw, confirmIntentBestEffort, createChainProvider, createdCollectionFromReceipt, decodePopClaimFragment, deployedCollectionFromReceipt, dropCalls, dropClaimLinks, dropClaimedBy, dropMintCost, dropMintState, editionCalls, encodeByteArray, encodePopClaimFragment, executeIntent, executeIntents, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getCreatorCoinGuarantees, getSiwsStorageKey, getStoredSiwsToken, isCreatorCoin, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, parseCreatorCoinCreated, popCalls, popClaimInfo, popClaimLinks, popClaimLinksCsv, popClaimState, popFactoryCalls, popHasClaimed, populateCall, priceToEkuboParams, readDrop, requestSiwsToken, signInWithWallet, sponsorshipCalls, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, ticketCalls, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyPopProof };
11729
+ export { MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, CreatorCoinFactoryABI, DROP_MAX_CLAIM_QUANTITY, DropCollectionABI, DropFactoryABI, FundingTransferNotSentError, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, POPCollectionABI, POPFactoryABI, SUGGESTED_DEFAULT_PRICE, StarknetVenue, VALIDATED_EKUBO_PARAMS, apiKeyConfirmationTypedData, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildDropClaimCalls, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildPopAllowlist, buybackQuoteRaw, clubCalls, toRaw as coinToRaw, confirmIntentBestEffort, createChainProvider, createdCollectionAddress, createdCollectionFromReceipt, decodePopClaimFragment, deployedCollectionFromReceipt, dropCalls, dropClaimLinks, dropClaimedBy, dropMintCost, dropMintState, editionCalls, encodeByteArray, encodePopClaimFragment, executeIntent, executeIntents, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getCreatorCoinGuarantees, getSiwsStorageKey, getStoredSiwsToken, isCreatorCoin, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, parseCreatorCoinCreated, popCalls, popClaimInfo, popClaimLinks, popClaimLinksCsv, popClaimState, popFactoryCalls, popHasClaimed, populateCall, priceToEkuboParams, readDrop, requestSiwsToken, signInWithWallet, sponsorshipCalls, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, ticketCalls, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyPopProof };
11724
11730
  //# sourceMappingURL=index.js.map
11725
11731
  //# sourceMappingURL=index.js.map