@medialane/sdk 0.207.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,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { C as Chain } from './chains-CmwjZVU7.cjs';
3
3
  import { F as FetchLike } from './fetch-Cx9Pr7-B.cjs';
4
- import { _ as ApiOrdersQuery, ac as ApiResponse, U as ApiOrder, x as ApiCounterOffersQuery, aC as ApiTokensQuery, az as ApiToken, aA as ApiTokenBalance, f as ApiActivity, w as ApiComment, a7 as ApiPublicRemix, u as ApiCollectionsListQuery, q as ApiCollection, aO as CollectionTokensSort, s as ApiCollectionProfile, bI as UpdateCollectionProfileInput, r as ApiCollectionClaim, t as ApiCollectionSlugClaim, e as ApiActivitiesQuery, aH as ApiWalletActivity, aK as ChainFilter, ak as ApiSearchResult, bl as IntentParamsByKind, O as ApiIntentCreated, aR as CreateCheckoutIntentParams, k as ApiCheckoutIntentResult, N as ApiIntent, aD as ApiTxSyncResult, R as ApiMetadataSignedUrl, T as ApiMetadataUpload, y as ApiCreatorListResult, z as ApiCreatorProfile, aG as ApiUsernameClaim, a3 as ApiPortalMe, a1 as ApiPortalKey, a2 as ApiPortalKeyCreated, B as ApiCreditPayment, a4 as ApiPortalSpend, a5 as ApiPricing, K as ApiFundingMethod, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, bf as EmissionParams, H as ApiEmissionResult, i as ApiBusinessProvisioning, b3 as CreateRemixOfferParams, a8 as ApiRemixOffer, aI as AutoRemixOfferParams, aQ as ConfirmSelfRemixParams, aa as ApiRemixOffersQuery, aP as ConfirmRemixOfferParams, p as ApiCoinsQuery, l as ApiCoin, o as ApiCoinPrices, m as ApiCoinClaimResult, D as ApiDropFee, E as ApiDropListStatus, C as ApiDrop, F as ApiDropMint, as as ApiSponsorshipOffersQuery, ar as ApiSponsorshipOffer, ao as ApiSponsorshipBid, au as ApiSponsorshipProposalsQuery, at as ApiSponsorshipProposal, aq as ApiSponsorshipLicensesQuery, ap as ApiSponsorshipLicense, aE as ApiUserRewards, ag as ApiRewardsLeaderboardEntry, a0 as ApiPointEvent, af as ApiRewardsConfig, ae as ApiRewardsBatchEntry, $ as ApiPlatformStats, ax as ApiSwapQuoteRequest, aw as ApiSwapQuote, av as ApiSubmitReport, ay as ApiTierOnchain, P as ApiIpNftTokenData, c as AccountApi } from './passkey-errors-BjqEFmu_.cjs';
4
+ import { _ as ApiOrdersQuery, ac as ApiResponse, U as ApiOrder, x as ApiCounterOffersQuery, aC as ApiTokensQuery, az as ApiToken, aA as ApiTokenBalance, f as ApiActivity, w as ApiComment, a7 as ApiPublicRemix, u as ApiCollectionsListQuery, q as ApiCollection, aO as CollectionTokensSort, s as ApiCollectionProfile, bI as UpdateCollectionProfileInput, r as ApiCollectionClaim, t as ApiCollectionSlugClaim, e as ApiActivitiesQuery, aH as ApiWalletActivity, aK as ChainFilter, ak as ApiSearchResult, bl as IntentParamsByKind, O as ApiIntentCreated, aR as CreateCheckoutIntentParams, k as ApiCheckoutIntentResult, N as ApiIntent, aD as ApiTxSyncResult, R as ApiMetadataSignedUrl, T as ApiMetadataUpload, y as ApiCreatorListResult, z as ApiCreatorProfile, aG as ApiUsernameClaim, a3 as ApiPortalMe, a1 as ApiPortalKey, a2 as ApiPortalKeyCreated, B as ApiCreditPayment, a4 as ApiPortalSpend, a5 as ApiPricing, K as ApiFundingMethod, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, bf as EmissionParams, H as ApiEmissionResult, i as ApiBusinessProvisioning, b3 as CreateRemixOfferParams, a8 as ApiRemixOffer, aI as AutoRemixOfferParams, aQ as ConfirmSelfRemixParams, aa as ApiRemixOffersQuery, aP as ConfirmRemixOfferParams, p as ApiCoinsQuery, l as ApiCoin, o as ApiCoinPrices, m as ApiCoinClaimResult, D as ApiDropFee, E as ApiDropListStatus, C as ApiDrop, F as ApiDropMint, as as ApiSponsorshipOffersQuery, ar as ApiSponsorshipOffer, ao as ApiSponsorshipBid, au as ApiSponsorshipProposalsQuery, at as ApiSponsorshipProposal, aq as ApiSponsorshipLicensesQuery, ap as ApiSponsorshipLicense, aE as ApiUserRewards, ag as ApiRewardsLeaderboardEntry, a0 as ApiPointEvent, af as ApiRewardsConfig, ae as ApiRewardsBatchEntry, $ as ApiPlatformStats, ax as ApiSwapQuoteRequest, aw as ApiSwapQuote, av as ApiSubmitReport, ay as ApiTierOnchain, P as ApiIpNftTokenData, c as AccountApi } from './passkey-errors-BMpbMEGO.cjs';
5
5
  import { R as IntentKind } from './responses-BpnS-Io9.cjs';
6
6
  import { TypedData, Call, ProviderInterface } from 'starknet';
7
7
  import { p as provisioningRegisterSchema } from './provisioning-CwRkCN8D.cjs';
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { C as Chain } from './chains-CmwjZVU7.js';
3
3
  import { F as FetchLike } from './fetch-Cx9Pr7-B.js';
4
- import { _ as ApiOrdersQuery, ac as ApiResponse, U as ApiOrder, x as ApiCounterOffersQuery, aC as ApiTokensQuery, az as ApiToken, aA as ApiTokenBalance, f as ApiActivity, w as ApiComment, a7 as ApiPublicRemix, u as ApiCollectionsListQuery, q as ApiCollection, aO as CollectionTokensSort, s as ApiCollectionProfile, bI as UpdateCollectionProfileInput, r as ApiCollectionClaim, t as ApiCollectionSlugClaim, e as ApiActivitiesQuery, aH as ApiWalletActivity, aK as ChainFilter, ak as ApiSearchResult, bl as IntentParamsByKind, O as ApiIntentCreated, aR as CreateCheckoutIntentParams, k as ApiCheckoutIntentResult, N as ApiIntent, aD as ApiTxSyncResult, R as ApiMetadataSignedUrl, T as ApiMetadataUpload, y as ApiCreatorListResult, z as ApiCreatorProfile, aG as ApiUsernameClaim, a3 as ApiPortalMe, a1 as ApiPortalKey, a2 as ApiPortalKeyCreated, B as ApiCreditPayment, a4 as ApiPortalSpend, a5 as ApiPricing, K as ApiFundingMethod, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, bf as EmissionParams, H as ApiEmissionResult, i as ApiBusinessProvisioning, b3 as CreateRemixOfferParams, a8 as ApiRemixOffer, aI as AutoRemixOfferParams, aQ as ConfirmSelfRemixParams, aa as ApiRemixOffersQuery, aP as ConfirmRemixOfferParams, p as ApiCoinsQuery, l as ApiCoin, o as ApiCoinPrices, m as ApiCoinClaimResult, D as ApiDropFee, E as ApiDropListStatus, C as ApiDrop, F as ApiDropMint, as as ApiSponsorshipOffersQuery, ar as ApiSponsorshipOffer, ao as ApiSponsorshipBid, au as ApiSponsorshipProposalsQuery, at as ApiSponsorshipProposal, aq as ApiSponsorshipLicensesQuery, ap as ApiSponsorshipLicense, aE as ApiUserRewards, ag as ApiRewardsLeaderboardEntry, a0 as ApiPointEvent, af as ApiRewardsConfig, ae as ApiRewardsBatchEntry, $ as ApiPlatformStats, ax as ApiSwapQuoteRequest, aw as ApiSwapQuote, av as ApiSubmitReport, ay as ApiTierOnchain, P as ApiIpNftTokenData, c as AccountApi } from './passkey-errors-DMv2Vn1P.js';
4
+ import { _ as ApiOrdersQuery, ac as ApiResponse, U as ApiOrder, x as ApiCounterOffersQuery, aC as ApiTokensQuery, az as ApiToken, aA as ApiTokenBalance, f as ApiActivity, w as ApiComment, a7 as ApiPublicRemix, u as ApiCollectionsListQuery, q as ApiCollection, aO as CollectionTokensSort, s as ApiCollectionProfile, bI as UpdateCollectionProfileInput, r as ApiCollectionClaim, t as ApiCollectionSlugClaim, e as ApiActivitiesQuery, aH as ApiWalletActivity, aK as ChainFilter, ak as ApiSearchResult, bl as IntentParamsByKind, O as ApiIntentCreated, aR as CreateCheckoutIntentParams, k as ApiCheckoutIntentResult, N as ApiIntent, aD as ApiTxSyncResult, R as ApiMetadataSignedUrl, T as ApiMetadataUpload, y as ApiCreatorListResult, z as ApiCreatorProfile, aG as ApiUsernameClaim, a3 as ApiPortalMe, a1 as ApiPortalKey, a2 as ApiPortalKeyCreated, B as ApiCreditPayment, a4 as ApiPortalSpend, a5 as ApiPricing, K as ApiFundingMethod, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, bf as EmissionParams, H as ApiEmissionResult, i as ApiBusinessProvisioning, b3 as CreateRemixOfferParams, a8 as ApiRemixOffer, aI as AutoRemixOfferParams, aQ as ConfirmSelfRemixParams, aa as ApiRemixOffersQuery, aP as ConfirmRemixOfferParams, p as ApiCoinsQuery, l as ApiCoin, o as ApiCoinPrices, m as ApiCoinClaimResult, D as ApiDropFee, E as ApiDropListStatus, C as ApiDrop, F as ApiDropMint, as as ApiSponsorshipOffersQuery, ar as ApiSponsorshipOffer, ao as ApiSponsorshipBid, au as ApiSponsorshipProposalsQuery, at as ApiSponsorshipProposal, aq as ApiSponsorshipLicensesQuery, ap as ApiSponsorshipLicense, aE as ApiUserRewards, ag as ApiRewardsLeaderboardEntry, a0 as ApiPointEvent, af as ApiRewardsConfig, ae as ApiRewardsBatchEntry, $ as ApiPlatformStats, ax as ApiSwapQuoteRequest, aw as ApiSwapQuote, av as ApiSubmitReport, ay as ApiTierOnchain, P as ApiIpNftTokenData, c as AccountApi } from './passkey-errors-BIb35H7w.js';
5
5
  import { R as IntentKind } from './responses-BpnS-Io9.js';
6
6
  import { TypedData, Call, ProviderInterface } from 'starknet';
7
7
  import { p as provisioningRegisterSchema } from './provisioning-CwRkCN8D.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkMEJ47LC3_cjs = require('../chunk-MEJ47LC3.cjs');
4
- var chunkZYRSMDMJ_cjs = require('../chunk-ZYRSMDMJ.cjs');
5
- var chunkMCVAZVLN_cjs = require('../chunk-MCVAZVLN.cjs');
4
+ var chunk7KLSPB7T_cjs = require('../chunk-7KLSPB7T.cjs');
5
+ var chunk4QPF6AZV_cjs = require('../chunk-4QPF6AZV.cjs');
6
6
  var chunkH2NJB3AK_cjs = require('../chunk-H2NJB3AK.cjs');
7
7
  require('../chunk-W76AZ5WC.cjs');
8
8
  require('../chunk-Q7SFCCGT.cjs');
@@ -22,7 +22,7 @@ var MedialaneClient = class {
22
22
  constructor(rawConfig = {}) {
23
23
  this.config = chunkMEJ47LC3_cjs.resolveConfig(rawConfig);
24
24
  const config = this.config;
25
- this.api = config.backendUrl ? new chunkMCVAZVLN_cjs.ApiClient({ baseUrl: config.backendUrl, apiKey: config.apiKey, retry: config.retryOptions, chain: config.chain }) : new chunkMCVAZVLN_cjs.ApiClient({
25
+ this.api = config.backendUrl ? new chunk4QPF6AZV_cjs.ApiClient({ baseUrl: config.backendUrl, apiKey: config.apiKey, retry: config.retryOptions, chain: config.chain }) : new chunk4QPF6AZV_cjs.ApiClient({
26
26
  baseUrl: "https://medialane-sdk-no-backend.invalid",
27
27
  apiKey: config.apiKey,
28
28
  fetch: () => {
@@ -10393,10 +10393,10 @@ function getChainId(config) {
10393
10393
  return starknet.constants.StarknetChainId.SN_MAIN;
10394
10394
  }
10395
10395
  function resolveToken(currency) {
10396
- const token = chunkMCVAZVLN_cjs.SUPPORTED_TOKENS.find(
10396
+ const token = chunk4QPF6AZV_cjs.SUPPORTED_TOKENS.find(
10397
10397
  (t) => t.symbol === currency.toUpperCase() || t.address.toLowerCase() === currency.toLowerCase()
10398
10398
  );
10399
- if (!token) throw new chunkMCVAZVLN_cjs.MedialaneError(`Unsupported currency: ${currency}`, "INVALID_PARAMS");
10399
+ if (!token) throw new chunk4QPF6AZV_cjs.MedialaneError(`Unsupported currency: ${currency}`, "INVALID_PARAMS");
10400
10400
  return token;
10401
10401
  }
10402
10402
  var STARKNET_DOMAIN = [
@@ -11049,7 +11049,7 @@ async function confirmIntentBestEffort(client, intentId, txHash) {
11049
11049
  var SYNC_TIMEOUT_MS = 2e4;
11050
11050
  var SYNC_RETRY_MS = 2e3;
11051
11051
  function readableLater(err) {
11052
- return err instanceof chunkMCVAZVLN_cjs.MedialaneApiError && err.status === 404;
11052
+ return err instanceof chunk4QPF6AZV_cjs.MedialaneApiError && err.status === 404;
11053
11053
  }
11054
11054
  async function syncTransactionBestEffort(client, txHash, timeoutMs = SYNC_TIMEOUT_MS, retryMs = SYNC_RETRY_MS) {
11055
11055
  const deadline = Date.now() + timeoutMs;
@@ -11084,14 +11084,14 @@ async function assertTransactionSucceeded(provider, txHash, retryDelaysMs = RECE
11084
11084
  const receipt = await provider.getTransactionReceipt(txHash);
11085
11085
  const status = receipt.execution_status ?? receipt.status;
11086
11086
  if (status === "REVERTED" || status === "REJECTED") {
11087
- throw new chunkMCVAZVLN_cjs.UserFacingError("Transaction was submitted but reverted onchain. Please check your balance and try again.");
11087
+ throw new chunk4QPF6AZV_cjs.UserFacingError("Transaction was submitted but reverted onchain. Please check your balance and try again.");
11088
11088
  }
11089
11089
  if (status) return receipt;
11090
11090
  } catch (err) {
11091
11091
  if (err instanceof Error && err.message.includes("reverted onchain")) throw err;
11092
11092
  }
11093
11093
  }
11094
- throw new chunkMCVAZVLN_cjs.UserFacingError("Verification timed out. Check your account for the transaction status.");
11094
+ throw new chunk4QPF6AZV_cjs.UserFacingError("Verification timed out. Check your account for the transaction status.");
11095
11095
  }
11096
11096
  async function executeIntent(signer, client, intent, opts = {}) {
11097
11097
  let calls;
@@ -11151,7 +11151,7 @@ function deployedCollectionFromReceipt(receipt, service) {
11151
11151
  if (factory && !sameFelt(e.from_address, factory)) continue;
11152
11152
  if (!sameFelt(e.keys?.[0], selector)) continue;
11153
11153
  const value = address(e);
11154
- if (value) return chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", value);
11154
+ if (value) return chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", value);
11155
11155
  }
11156
11156
  return null;
11157
11157
  }
@@ -11169,7 +11169,7 @@ async function createdCollectionAddress(provider, registry, collectionId) {
11169
11169
  const [low, high] = Object.values(starknet.uint256.bnToUint256(BigInt(collectionId)));
11170
11170
  const result = await provider.callContract({ contractAddress: registry, entrypoint: "get_collection", calldata: [low, high] });
11171
11171
  const ipNft = result[result.length - 1];
11172
- return ipNft && !sameFelt(ipNft, 0n) ? chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", ipNft) : null;
11172
+ return ipNft && !sameFelt(ipNft, 0n) ? chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", ipNft) : null;
11173
11173
  }
11174
11174
  function mintedTokenIdFromReceipt(receipt, contract) {
11175
11175
  for (const e of receipt.events ?? []) {
@@ -11209,7 +11209,7 @@ function merkleTree(leafHashes) {
11209
11209
  };
11210
11210
  }
11211
11211
  function buildPopAllowlist(addresses) {
11212
- const unique = [...new Set(addresses.map((a) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", a)))];
11212
+ const unique = [...new Set(addresses.map((a) => chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", a)))];
11213
11213
  if (unique.length === 0) throw new Error("An allowlist needs at least one address");
11214
11214
  const leaves = unique.map((address) => ({ address, leaf: popLeafHash(address) }));
11215
11215
  const tree = merkleTree(leaves.map((l) => l.leaf));
@@ -11243,7 +11243,7 @@ function popClaimLinksCsv(links) {
11243
11243
  return ["address,claim_link", ...links.map((l) => `${l.address},${l.url}`)].join("\n");
11244
11244
  }
11245
11245
  async function popClaimInfo(provider, collection) {
11246
- const contractAddress = chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", collection);
11246
+ const contractAddress = chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", collection);
11247
11247
  const [root, end] = await Promise.all([
11248
11248
  provider.callContract({ contractAddress, entrypoint: "allowlist_root", calldata: [] }),
11249
11249
  provider.callContract({ contractAddress, entrypoint: "claim_end_time", calldata: [] })
@@ -11260,7 +11260,7 @@ function popClaimState(input) {
11260
11260
  if (!wallet || !verifyPopProof(info.root, wallet, proof)) return "wrong-wallet";
11261
11261
  return "ready";
11262
11262
  }
11263
- var addr = (a) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", a);
11263
+ var addr = (a) => chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", a);
11264
11264
  var byteArrayFelts = (s) => starknet.CallData.compile([starknet.byteArray.byteArrayFromString(s)]);
11265
11265
  var popCalls = {
11266
11266
  claim(collection, proof) {
@@ -11281,14 +11281,14 @@ var popCalls = {
11281
11281
  };
11282
11282
  async function popHasClaimed(provider, collection, address) {
11283
11283
  const res = await provider.callContract({
11284
- contractAddress: chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", collection),
11284
+ contractAddress: chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", collection),
11285
11285
  entrypoint: "has_claimed",
11286
- calldata: [chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", address)]
11286
+ calldata: [chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", address)]
11287
11287
  });
11288
11288
  return BigInt(res[0] ?? "0x0") !== 0n;
11289
11289
  }
11290
11290
  var DROP_MAX_CLAIM_QUANTITY = 50n;
11291
- var addr2 = (a) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", a);
11291
+ var addr2 = (a) => chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", a);
11292
11292
  var factoryData = new starknet.CallData(DropFactoryABI);
11293
11293
  var collectionData = new starknet.CallData(DropCollectionABI);
11294
11294
  function toContractTerms(t) {
@@ -11358,7 +11358,7 @@ function dropMintCost(price, quantity, feeBps2) {
11358
11358
  }
11359
11359
 
11360
11360
  // src/starknet/drop-state.ts
11361
- var hex = (v) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", v ?? "0x0");
11361
+ var hex = (v) => chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", v ?? "0x0");
11362
11362
  var u2562 = (low, high) => BigInt(low ?? "0x0") + (BigInt(high ?? "0x0") << 128n);
11363
11363
  async function readDrop(provider, collection) {
11364
11364
  const contractAddress = hex(collection);
@@ -11437,7 +11437,7 @@ function dropClaimLinks(origin, collection, list) {
11437
11437
  function populateCall(abi, contractAddress, entrypoint, args) {
11438
11438
  return { contractAddress, entrypoint, calldata: new starknet.CallData(abi).compile(entrypoint, args) };
11439
11439
  }
11440
- var addr3 = (address) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", address);
11440
+ var addr3 = (address) => chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", address);
11441
11441
  var optionOf = (value) => value != null ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, value) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
11442
11442
  var deployCollectionCall = (abi, factory, p) => populateCall(abi, addr3(factory), "deploy_collection", [p.name, p.symbol, p.baseUri]);
11443
11443
  var popFactoryCalls = {
@@ -11677,20 +11677,20 @@ function buildLaunchOnEkuboCalls(params) {
11677
11677
  }
11678
11678
  var CREATOR_COIN_CREATED_SELECTOR = starknet.hash.getSelectorFromName("CreatorCoinCreated");
11679
11679
  function parseCreatorCoinCreated(receipt) {
11680
- const factory = chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", chunkH2NJB3AK_cjs.getStarknetCoordinates("STARKNET").creatorCoinFactory);
11680
+ const factory = chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", chunkH2NJB3AK_cjs.getStarknetCoordinates("STARKNET").creatorCoinFactory);
11681
11681
  for (const ev of receipt?.events ?? []) {
11682
11682
  let from;
11683
11683
  try {
11684
- from = chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", ev.from_address ?? "");
11684
+ from = chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", ev.from_address ?? "");
11685
11685
  } catch {
11686
11686
  continue;
11687
11687
  }
11688
11688
  if (from !== factory) continue;
11689
11689
  const k0 = ev.keys?.[0];
11690
- if (!k0 || chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", k0) !== chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", CREATOR_COIN_CREATED_SELECTOR)) continue;
11690
+ if (!k0 || chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", k0) !== chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", CREATOR_COIN_CREATED_SELECTOR)) continue;
11691
11691
  const data = ev.data ?? [];
11692
11692
  if (data.length < 1) continue;
11693
- return chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", data[data.length - 1]);
11693
+ return chunk4QPF6AZV_cjs.normalizeAddress("STARKNET", data[data.length - 1]);
11694
11694
  }
11695
11695
  throw new Error("Coin deployed but the coin address could not be read from the receipt");
11696
11696
  }
@@ -11729,255 +11729,267 @@ function encodeByteArray(str) {
11729
11729
 
11730
11730
  Object.defineProperty(exports, "InvalidPairingPayloadError", {
11731
11731
  enumerable: true,
11732
- get: function () { return chunkZYRSMDMJ_cjs.InvalidPairingPayloadError; }
11732
+ get: function () { return chunk7KLSPB7T_cjs.InvalidPairingPayloadError; }
11733
11733
  });
11734
11734
  Object.defineProperty(exports, "InvalidRecoveryKeyError", {
11735
11735
  enumerable: true,
11736
- get: function () { return chunkZYRSMDMJ_cjs.InvalidRecoveryKeyError; }
11736
+ get: function () { return chunk7KLSPB7T_cjs.InvalidRecoveryKeyError; }
11737
11737
  });
11738
11738
  Object.defineProperty(exports, "InvalidStarkPrivateKeyError", {
11739
11739
  enumerable: true,
11740
- get: function () { return chunkZYRSMDMJ_cjs.InvalidStarkPrivateKeyError; }
11740
+ get: function () { return chunk7KLSPB7T_cjs.InvalidStarkPrivateKeyError; }
11741
11741
  });
11742
11742
  Object.defineProperty(exports, "SponsoredCallRejectedError", {
11743
11743
  enumerable: true,
11744
- get: function () { return chunkZYRSMDMJ_cjs.SponsoredCallRejectedError; }
11744
+ get: function () { return chunk7KLSPB7T_cjs.SponsoredCallRejectedError; }
11745
11745
  });
11746
11746
  Object.defineProperty(exports, "accountFor", {
11747
11747
  enumerable: true,
11748
- get: function () { return chunkZYRSMDMJ_cjs.accountFor; }
11748
+ get: function () { return chunk7KLSPB7T_cjs.accountFor; }
11749
11749
  });
11750
11750
  Object.defineProperty(exports, "allowsFallbackFunding", {
11751
11751
  enumerable: true,
11752
- get: function () { return chunkZYRSMDMJ_cjs.allowsFallbackFunding; }
11752
+ get: function () { return chunk7KLSPB7T_cjs.allowsFallbackFunding; }
11753
11753
  });
11754
11754
  Object.defineProperty(exports, "buildAddOwnerCall", {
11755
11755
  enumerable: true,
11756
- get: function () { return chunkZYRSMDMJ_cjs.buildAddOwnerCall; }
11756
+ get: function () { return chunk7KLSPB7T_cjs.buildAddOwnerCall; }
11757
11757
  });
11758
11758
  Object.defineProperty(exports, "buildCancelEscapeCall", {
11759
11759
  enumerable: true,
11760
- get: function () { return chunkZYRSMDMJ_cjs.buildCancelEscapeCall; }
11760
+ get: function () { return chunk7KLSPB7T_cjs.buildCancelEscapeCall; }
11761
11761
  });
11762
11762
  Object.defineProperty(exports, "buildCompleteEscapeOwnerCall", {
11763
11763
  enumerable: true,
11764
- get: function () { return chunkZYRSMDMJ_cjs.buildCompleteEscapeOwnerCall; }
11764
+ get: function () { return chunk7KLSPB7T_cjs.buildCompleteEscapeOwnerCall; }
11765
11765
  });
11766
11766
  Object.defineProperty(exports, "buildDeployAccountParams", {
11767
11767
  enumerable: true,
11768
- get: function () { return chunkZYRSMDMJ_cjs.buildDeployAccountParams; }
11768
+ get: function () { return chunk7KLSPB7T_cjs.buildDeployAccountParams; }
11769
11769
  });
11770
11770
  Object.defineProperty(exports, "buildRemoveOwnerByGuidCall", {
11771
11771
  enumerable: true,
11772
- get: function () { return chunkZYRSMDMJ_cjs.buildRemoveOwnerByGuidCall; }
11772
+ get: function () { return chunk7KLSPB7T_cjs.buildRemoveOwnerByGuidCall; }
11773
11773
  });
11774
11774
  Object.defineProperty(exports, "buildRemoveOwnerCall", {
11775
11775
  enumerable: true,
11776
- get: function () { return chunkZYRSMDMJ_cjs.buildRemoveOwnerCall; }
11776
+ get: function () { return chunk7KLSPB7T_cjs.buildRemoveOwnerCall; }
11777
11777
  });
11778
11778
  Object.defineProperty(exports, "buildSetFirstGuardianCall", {
11779
11779
  enumerable: true,
11780
- get: function () { return chunkZYRSMDMJ_cjs.buildSetFirstGuardianCall; }
11780
+ get: function () { return chunk7KLSPB7T_cjs.buildSetFirstGuardianCall; }
11781
11781
  });
11782
11782
  Object.defineProperty(exports, "buildTriggerEscapeOwnerCall", {
11783
11783
  enumerable: true,
11784
- get: function () { return chunkZYRSMDMJ_cjs.buildTriggerEscapeOwnerCall; }
11784
+ get: function () { return chunk7KLSPB7T_cjs.buildTriggerEscapeOwnerCall; }
11785
11785
  });
11786
11786
  Object.defineProperty(exports, "canRemoveDevice", {
11787
11787
  enumerable: true,
11788
- get: function () { return chunkZYRSMDMJ_cjs.canRemoveDevice; }
11788
+ get: function () { return chunk7KLSPB7T_cjs.canRemoveDevice; }
11789
11789
  });
11790
11790
  Object.defineProperty(exports, "claimSessionWallet", {
11791
11791
  enumerable: true,
11792
- get: function () { return chunkZYRSMDMJ_cjs.claimSessionWallet; }
11792
+ get: function () { return chunk7KLSPB7T_cjs.claimSessionWallet; }
11793
11793
  });
11794
11794
  Object.defineProperty(exports, "completeDeployment", {
11795
11795
  enumerable: true,
11796
- get: function () { return chunkZYRSMDMJ_cjs.completeDeployment; }
11796
+ get: function () { return chunk7KLSPB7T_cjs.completeDeployment; }
11797
11797
  });
11798
11798
  Object.defineProperty(exports, "computeAccountAddress", {
11799
11799
  enumerable: true,
11800
- get: function () { return chunkZYRSMDMJ_cjs.computeAccountAddress; }
11800
+ get: function () { return chunk7KLSPB7T_cjs.computeAccountAddress; }
11801
11801
  });
11802
11802
  Object.defineProperty(exports, "computeOwnerGuid", {
11803
11803
  enumerable: true,
11804
- get: function () { return chunkZYRSMDMJ_cjs.computeOwnerGuid; }
11804
+ get: function () { return chunk7KLSPB7T_cjs.computeOwnerGuid; }
11805
11805
  });
11806
11806
  Object.defineProperty(exports, "createDeploymentCoordinator", {
11807
11807
  enumerable: true,
11808
- get: function () { return chunkZYRSMDMJ_cjs.createDeploymentCoordinator; }
11808
+ get: function () { return chunk7KLSPB7T_cjs.createDeploymentCoordinator; }
11809
11809
  });
11810
11810
  Object.defineProperty(exports, "createMediaWallet", {
11811
11811
  enumerable: true,
11812
- get: function () { return chunkZYRSMDMJ_cjs.createMediaWallet; }
11812
+ get: function () { return chunk7KLSPB7T_cjs.createMediaWallet; }
11813
11813
  });
11814
11814
  Object.defineProperty(exports, "createOwnerStore", {
11815
11815
  enumerable: true,
11816
- get: function () { return chunkZYRSMDMJ_cjs.createOwnerStore; }
11816
+ get: function () { return chunk7KLSPB7T_cjs.createOwnerStore; }
11817
11817
  });
11818
11818
  Object.defineProperty(exports, "createPasskeyOwner", {
11819
11819
  enumerable: true,
11820
- get: function () { return chunkZYRSMDMJ_cjs.createPasskeyOwner; }
11820
+ get: function () { return chunk7KLSPB7T_cjs.createPasskeyOwner; }
11821
11821
  });
11822
11822
  Object.defineProperty(exports, "createSelfFundConsent", {
11823
11823
  enumerable: true,
11824
- get: function () { return chunkZYRSMDMJ_cjs.createSelfFundConsent; }
11824
+ get: function () { return chunk7KLSPB7T_cjs.createSelfFundConsent; }
11825
11825
  });
11826
11826
  Object.defineProperty(exports, "decodeEscapeAndStatus", {
11827
11827
  enumerable: true,
11828
- get: function () { return chunkZYRSMDMJ_cjs.decodeEscapeAndStatus; }
11828
+ get: function () { return chunk7KLSPB7T_cjs.decodeEscapeAndStatus; }
11829
11829
  });
11830
11830
  Object.defineProperty(exports, "decodeGuardiansInfo", {
11831
11831
  enumerable: true,
11832
- get: function () { return chunkZYRSMDMJ_cjs.decodeGuardiansInfo; }
11832
+ get: function () { return chunk7KLSPB7T_cjs.decodeGuardiansInfo; }
11833
11833
  });
11834
11834
  Object.defineProperty(exports, "deploySelfFunded", {
11835
11835
  enumerable: true,
11836
- get: function () { return chunkZYRSMDMJ_cjs.deploySelfFunded; }
11836
+ get: function () { return chunk7KLSPB7T_cjs.deploySelfFunded; }
11837
11837
  });
11838
11838
  Object.defineProperty(exports, "deploySponsored", {
11839
11839
  enumerable: true,
11840
- get: function () { return chunkZYRSMDMJ_cjs.deploySponsored; }
11840
+ get: function () { return chunk7KLSPB7T_cjs.deploySponsored; }
11841
11841
  });
11842
11842
  Object.defineProperty(exports, "deriveAesKey", {
11843
11843
  enumerable: true,
11844
- get: function () { return chunkZYRSMDMJ_cjs.deriveAesKey; }
11844
+ get: function () { return chunk7KLSPB7T_cjs.deriveAesKey; }
11845
11845
  });
11846
11846
  Object.defineProperty(exports, "deriveOwnerKeyPair", {
11847
11847
  enumerable: true,
11848
- get: function () { return chunkZYRSMDMJ_cjs.deriveOwnerKeyPair; }
11848
+ get: function () { return chunk7KLSPB7T_cjs.deriveOwnerKeyPair; }
11849
11849
  });
11850
11850
  Object.defineProperty(exports, "describeDevices", {
11851
11851
  enumerable: true,
11852
- get: function () { return chunkZYRSMDMJ_cjs.describeDevices; }
11852
+ get: function () { return chunk7KLSPB7T_cjs.describeDevices; }
11853
11853
  });
11854
11854
  Object.defineProperty(exports, "describeGuardianStatus", {
11855
11855
  enumerable: true,
11856
- get: function () { return chunkZYRSMDMJ_cjs.describeGuardianStatus; }
11856
+ get: function () { return chunk7KLSPB7T_cjs.describeGuardianStatus; }
11857
11857
  });
11858
11858
  Object.defineProperty(exports, "describeRecoveryAction", {
11859
11859
  enumerable: true,
11860
- get: function () { return chunkZYRSMDMJ_cjs.describeRecoveryAction; }
11860
+ get: function () { return chunk7KLSPB7T_cjs.describeRecoveryAction; }
11861
11861
  });
11862
11862
  Object.defineProperty(exports, "encodePairingPayload", {
11863
11863
  enumerable: true,
11864
- get: function () { return chunkZYRSMDMJ_cjs.encodePairingPayload; }
11864
+ get: function () { return chunk7KLSPB7T_cjs.encodePairingPayload; }
11865
11865
  });
11866
11866
  Object.defineProperty(exports, "encodeRecoveryKey", {
11867
11867
  enumerable: true,
11868
- get: function () { return chunkZYRSMDMJ_cjs.encodeRecoveryKey; }
11868
+ get: function () { return chunk7KLSPB7T_cjs.encodeRecoveryKey; }
11869
11869
  });
11870
11870
  Object.defineProperty(exports, "erc20Balance", {
11871
11871
  enumerable: true,
11872
- get: function () { return chunkZYRSMDMJ_cjs.erc20Balance; }
11872
+ get: function () { return chunk7KLSPB7T_cjs.erc20Balance; }
11873
11873
  });
11874
11874
  Object.defineProperty(exports, "estimateSelfFundedFee", {
11875
11875
  enumerable: true,
11876
- get: function () { return chunkZYRSMDMJ_cjs.estimateSelfFundedFee; }
11876
+ get: function () { return chunk7KLSPB7T_cjs.estimateSelfFundedFee; }
11877
11877
  });
11878
11878
  Object.defineProperty(exports, "executeSponsored", {
11879
11879
  enumerable: true,
11880
- get: function () { return chunkZYRSMDMJ_cjs.executeSponsored; }
11880
+ get: function () { return chunk7KLSPB7T_cjs.executeSponsored; }
11881
+ });
11882
+ Object.defineProperty(exports, "finishSessionRecovery", {
11883
+ enumerable: true,
11884
+ get: function () { return chunk7KLSPB7T_cjs.finishSessionRecovery; }
11881
11885
  });
11882
11886
  Object.defineProperty(exports, "generateStarkKeyPair", {
11883
11887
  enumerable: true,
11884
- get: function () { return chunkZYRSMDMJ_cjs.generateStarkKeyPair; }
11888
+ get: function () { return chunk7KLSPB7T_cjs.generateStarkKeyPair; }
11885
11889
  });
11886
11890
  Object.defineProperty(exports, "getEscape", {
11887
11891
  enumerable: true,
11888
- get: function () { return chunkZYRSMDMJ_cjs.getEscape; }
11892
+ get: function () { return chunk7KLSPB7T_cjs.getEscape; }
11889
11893
  });
11890
11894
  Object.defineProperty(exports, "getEscapeSecurityPeriod", {
11891
11895
  enumerable: true,
11892
- get: function () { return chunkZYRSMDMJ_cjs.getEscapeSecurityPeriod; }
11896
+ get: function () { return chunk7KLSPB7T_cjs.getEscapeSecurityPeriod; }
11893
11897
  });
11894
11898
  Object.defineProperty(exports, "getGuardians", {
11895
11899
  enumerable: true,
11896
- get: function () { return chunkZYRSMDMJ_cjs.getGuardians; }
11900
+ get: function () { return chunk7KLSPB7T_cjs.getGuardians; }
11897
11901
  });
11898
11902
  Object.defineProperty(exports, "getOwners", {
11899
11903
  enumerable: true,
11900
- get: function () { return chunkZYRSMDMJ_cjs.getOwners; }
11904
+ get: function () { return chunk7KLSPB7T_cjs.getOwners; }
11901
11905
  });
11902
11906
  Object.defineProperty(exports, "indexedDbDeviceKeys", {
11903
11907
  enumerable: true,
11904
- get: function () { return chunkZYRSMDMJ_cjs.indexedDbDeviceKeys; }
11908
+ get: function () { return chunk7KLSPB7T_cjs.indexedDbDeviceKeys; }
11905
11909
  });
11906
11910
  Object.defineProperty(exports, "isDeployed", {
11907
11911
  enumerable: true,
11908
- get: function () { return chunkZYRSMDMJ_cjs.isDeployed; }
11912
+ get: function () { return chunk7KLSPB7T_cjs.isDeployed; }
11909
11913
  });
11910
11914
  Object.defineProperty(exports, "isValidStarknetAddress", {
11911
11915
  enumerable: true,
11912
- get: function () { return chunkZYRSMDMJ_cjs.isValidStarknetAddress; }
11916
+ get: function () { return chunk7KLSPB7T_cjs.isValidStarknetAddress; }
11913
11917
  });
11914
11918
  Object.defineProperty(exports, "normalizeWalletAddress", {
11915
11919
  enumerable: true,
11916
- get: function () { return chunkZYRSMDMJ_cjs.normalizeWalletAddress; }
11920
+ get: function () { return chunk7KLSPB7T_cjs.normalizeWalletAddress; }
11917
11921
  });
11918
11922
  Object.defineProperty(exports, "ownerConstructorCalldata", {
11919
11923
  enumerable: true,
11920
- get: function () { return chunkZYRSMDMJ_cjs.ownerConstructorCalldata; }
11924
+ get: function () { return chunk7KLSPB7T_cjs.ownerConstructorCalldata; }
11921
11925
  });
11922
11926
  Object.defineProperty(exports, "parseAccountAddress", {
11923
11927
  enumerable: true,
11924
- get: function () { return chunkZYRSMDMJ_cjs.parseAccountAddress; }
11928
+ get: function () { return chunk7KLSPB7T_cjs.parseAccountAddress; }
11925
11929
  });
11926
11930
  Object.defineProperty(exports, "parsePairingPayload", {
11927
11931
  enumerable: true,
11928
- get: function () { return chunkZYRSMDMJ_cjs.parsePairingPayload; }
11932
+ get: function () { return chunk7KLSPB7T_cjs.parsePairingPayload; }
11929
11933
  });
11930
11934
  Object.defineProperty(exports, "parseRecoveryKey", {
11931
11935
  enumerable: true,
11932
- get: function () { return chunkZYRSMDMJ_cjs.parseRecoveryKey; }
11936
+ get: function () { return chunk7KLSPB7T_cjs.parseRecoveryKey; }
11933
11937
  });
11934
11938
  Object.defineProperty(exports, "sealPrivateKey", {
11935
11939
  enumerable: true,
11936
- get: function () { return chunkZYRSMDMJ_cjs.sealPrivateKey; }
11940
+ get: function () { return chunk7KLSPB7T_cjs.sealPrivateKey; }
11937
11941
  });
11938
11942
  Object.defineProperty(exports, "selfFundedExecutor", {
11939
11943
  enumerable: true,
11940
- get: function () { return chunkZYRSMDMJ_cjs.selfFundedExecutor; }
11944
+ get: function () { return chunk7KLSPB7T_cjs.selfFundedExecutor; }
11941
11945
  });
11942
11946
  Object.defineProperty(exports, "signWithPrivateKey", {
11943
11947
  enumerable: true,
11944
- get: function () { return chunkZYRSMDMJ_cjs.signWithPrivateKey; }
11948
+ get: function () { return chunk7KLSPB7T_cjs.signWithPrivateKey; }
11945
11949
  });
11946
11950
  Object.defineProperty(exports, "sponsoredExecutor", {
11947
11951
  enumerable: true,
11948
- get: function () { return chunkZYRSMDMJ_cjs.sponsoredExecutor; }
11952
+ get: function () { return chunk7KLSPB7T_cjs.sponsoredExecutor; }
11949
11953
  });
11950
11954
  Object.defineProperty(exports, "starkKeyPairFromPrivateKey", {
11951
11955
  enumerable: true,
11952
- get: function () { return chunkZYRSMDMJ_cjs.starkKeyPairFromPrivateKey; }
11956
+ get: function () { return chunk7KLSPB7T_cjs.starkKeyPairFromPrivateKey; }
11957
+ });
11958
+ Object.defineProperty(exports, "startSessionRecovery", {
11959
+ enumerable: true,
11960
+ get: function () { return chunk7KLSPB7T_cjs.startSessionRecovery; }
11961
+ });
11962
+ Object.defineProperty(exports, "turnOnRecovery", {
11963
+ enumerable: true,
11964
+ get: function () { return chunk7KLSPB7T_cjs.turnOnRecovery; }
11953
11965
  });
11954
11966
  Object.defineProperty(exports, "unsealPrivateKey", {
11955
11967
  enumerable: true,
11956
- get: function () { return chunkZYRSMDMJ_cjs.unsealPrivateKey; }
11968
+ get: function () { return chunk7KLSPB7T_cjs.unsealPrivateKey; }
11957
11969
  });
11958
11970
  Object.defineProperty(exports, "waitUntilDeployed", {
11959
11971
  enumerable: true,
11960
- get: function () { return chunkZYRSMDMJ_cjs.waitUntilDeployed; }
11972
+ get: function () { return chunk7KLSPB7T_cjs.waitUntilDeployed; }
11961
11973
  });
11962
11974
  Object.defineProperty(exports, "DeviceKeyMissingError", {
11963
11975
  enumerable: true,
11964
- get: function () { return chunkMCVAZVLN_cjs.DeviceKeyMissingError; }
11976
+ get: function () { return chunk4QPF6AZV_cjs.DeviceKeyMissingError; }
11965
11977
  });
11966
11978
  Object.defineProperty(exports, "MedialaneError", {
11967
11979
  enumerable: true,
11968
- get: function () { return chunkMCVAZVLN_cjs.MedialaneError; }
11980
+ get: function () { return chunk4QPF6AZV_cjs.MedialaneError; }
11969
11981
  });
11970
11982
  Object.defineProperty(exports, "PasskeyCancelledError", {
11971
11983
  enumerable: true,
11972
- get: function () { return chunkMCVAZVLN_cjs.PasskeyCancelledError; }
11984
+ get: function () { return chunk4QPF6AZV_cjs.PasskeyCancelledError; }
11973
11985
  });
11974
11986
  Object.defineProperty(exports, "PasskeyUnsupportedError", {
11975
11987
  enumerable: true,
11976
- get: function () { return chunkMCVAZVLN_cjs.PasskeyUnsupportedError; }
11988
+ get: function () { return chunk4QPF6AZV_cjs.PasskeyUnsupportedError; }
11977
11989
  });
11978
11990
  Object.defineProperty(exports, "UserFacingError", {
11979
11991
  enumerable: true,
11980
- get: function () { return chunkMCVAZVLN_cjs.UserFacingError; }
11992
+ get: function () { return chunk4QPF6AZV_cjs.UserFacingError; }
11981
11993
  });
11982
11994
  exports.COIN_MAX_SUPPLY = MAX_SUPPLY;
11983
11995
  exports.COIN_MIN_SUPPLY = MIN_SUPPLY;
@@ -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';
@@ -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';
@@ -1,7 +1,7 @@
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';