@medialane/sdk 0.205.0 → 0.207.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.
@@ -139,7 +139,10 @@ declare function resolveConfig(raw: MedialaneConfig): ResolvedConfig;
139
139
  type MedialaneErrorCode = "NOT_FOUND" | "TOKEN_NOT_FOUND" | "COLLECTION_NOT_FOUND" | "ORDER_NOT_FOUND" | "INTENT_NOT_FOUND" | "INTENT_EXPIRED" | "RATE_LIMITED" | "INVALID_PARAMS" | "UNAUTHORIZED" | "UNKNOWN";
140
140
 
141
141
  declare class UserFacingError extends Error {
142
- constructor(message: string);
142
+ readonly retryable: boolean;
143
+ constructor(message: string, options?: {
144
+ retryable?: boolean;
145
+ });
143
146
  }
144
147
  declare class MedialaneError extends Error {
145
148
  readonly code: MedialaneErrorCode;
@@ -151,7 +154,8 @@ declare class MedialaneApiError extends MedialaneError {
151
154
  readonly retryAfterMs?: number | undefined;
152
155
  readonly details?: unknown | undefined;
153
156
  readonly serverCode?: string | undefined;
154
- constructor(status: number, message: string, retryAfterMs?: number | undefined, details?: unknown | undefined, path?: string, serverCode?: string | undefined);
157
+ readonly requestId?: string | undefined;
158
+ constructor(status: number, message: string, retryAfterMs?: number | undefined, details?: unknown | undefined, path?: string, serverCode?: string | undefined, requestId?: string | undefined);
155
159
  }
156
160
 
157
161
  type BearerSource = string | (() => string | undefined);
@@ -139,7 +139,10 @@ declare function resolveConfig(raw: MedialaneConfig): ResolvedConfig;
139
139
  type MedialaneErrorCode = "NOT_FOUND" | "TOKEN_NOT_FOUND" | "COLLECTION_NOT_FOUND" | "ORDER_NOT_FOUND" | "INTENT_NOT_FOUND" | "INTENT_EXPIRED" | "RATE_LIMITED" | "INVALID_PARAMS" | "UNAUTHORIZED" | "UNKNOWN";
140
140
 
141
141
  declare class UserFacingError extends Error {
142
- constructor(message: string);
142
+ readonly retryable: boolean;
143
+ constructor(message: string, options?: {
144
+ retryable?: boolean;
145
+ });
143
146
  }
144
147
  declare class MedialaneError extends Error {
145
148
  readonly code: MedialaneErrorCode;
@@ -151,7 +154,8 @@ declare class MedialaneApiError extends MedialaneError {
151
154
  readonly retryAfterMs?: number | undefined;
152
155
  readonly details?: unknown | undefined;
153
156
  readonly serverCode?: string | undefined;
154
- constructor(status: number, message: string, retryAfterMs?: number | undefined, details?: unknown | undefined, path?: string, serverCode?: string | undefined);
157
+ readonly requestId?: string | undefined;
158
+ constructor(status: number, message: string, retryAfterMs?: number | undefined, details?: unknown | undefined, path?: string, serverCode?: string | undefined, requestId?: string | undefined);
155
159
  }
156
160
 
157
161
  type BearerSource = string | (() => string | undefined);
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkMEJ47LC3_cjs = require('../chunk-MEJ47LC3.cjs');
4
- var chunkZLMIHQWM_cjs = require('../chunk-ZLMIHQWM.cjs');
5
- var chunk3HPMEDYH_cjs = require('../chunk-3HPMEDYH.cjs');
4
+ var chunkZYRSMDMJ_cjs = require('../chunk-ZYRSMDMJ.cjs');
5
+ var chunkMCVAZVLN_cjs = require('../chunk-MCVAZVLN.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 chunk3HPMEDYH_cjs.ApiClient({ baseUrl: config.backendUrl, apiKey: config.apiKey, retry: config.retryOptions, chain: config.chain }) : new chunk3HPMEDYH_cjs.ApiClient({
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({
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 = chunk3HPMEDYH_cjs.SUPPORTED_TOKENS.find(
10396
+ const token = chunkMCVAZVLN_cjs.SUPPORTED_TOKENS.find(
10397
10397
  (t) => t.symbol === currency.toUpperCase() || t.address.toLowerCase() === currency.toLowerCase()
10398
10398
  );
10399
- if (!token) throw new chunk3HPMEDYH_cjs.MedialaneError(`Unsupported currency: ${currency}`, "INVALID_PARAMS");
10399
+ if (!token) throw new chunkMCVAZVLN_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 chunk3HPMEDYH_cjs.MedialaneApiError && err.status === 404;
11052
+ return err instanceof chunkMCVAZVLN_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 chunk3HPMEDYH_cjs.UserFacingError("Transaction was submitted but reverted onchain. Please check your balance and try again.");
11087
+ throw new chunkMCVAZVLN_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 chunk3HPMEDYH_cjs.UserFacingError("Verification timed out. Check your account for the transaction status.");
11094
+ throw new chunkMCVAZVLN_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 chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", value);
11154
+ if (value) return chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", value);
11155
11155
  }
11156
11156
  return null;
11157
11157
  }
@@ -11165,6 +11165,12 @@ function createdCollectionFromReceipt(receipt, registry) {
11165
11165
  }
11166
11166
  return null;
11167
11167
  }
11168
+ async function createdCollectionAddress(provider, registry, collectionId) {
11169
+ const [low, high] = Object.values(starknet.uint256.bnToUint256(BigInt(collectionId)));
11170
+ const result = await provider.callContract({ contractAddress: registry, entrypoint: "get_collection", calldata: [low, high] });
11171
+ const ipNft = result[result.length - 1];
11172
+ return ipNft && !sameFelt(ipNft, 0n) ? chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", ipNft) : null;
11173
+ }
11168
11174
  function mintedTokenIdFromReceipt(receipt, contract) {
11169
11175
  for (const e of receipt.events ?? []) {
11170
11176
  if (!sameFelt(e.from_address, contract)) continue;
@@ -11203,7 +11209,7 @@ function merkleTree(leafHashes) {
11203
11209
  };
11204
11210
  }
11205
11211
  function buildPopAllowlist(addresses) {
11206
- const unique = [...new Set(addresses.map((a) => chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", a)))];
11212
+ const unique = [...new Set(addresses.map((a) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", a)))];
11207
11213
  if (unique.length === 0) throw new Error("An allowlist needs at least one address");
11208
11214
  const leaves = unique.map((address) => ({ address, leaf: popLeafHash(address) }));
11209
11215
  const tree = merkleTree(leaves.map((l) => l.leaf));
@@ -11237,7 +11243,7 @@ function popClaimLinksCsv(links) {
11237
11243
  return ["address,claim_link", ...links.map((l) => `${l.address},${l.url}`)].join("\n");
11238
11244
  }
11239
11245
  async function popClaimInfo(provider, collection) {
11240
- const contractAddress = chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", collection);
11246
+ const contractAddress = chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", collection);
11241
11247
  const [root, end] = await Promise.all([
11242
11248
  provider.callContract({ contractAddress, entrypoint: "allowlist_root", calldata: [] }),
11243
11249
  provider.callContract({ contractAddress, entrypoint: "claim_end_time", calldata: [] })
@@ -11254,7 +11260,7 @@ function popClaimState(input) {
11254
11260
  if (!wallet || !verifyPopProof(info.root, wallet, proof)) return "wrong-wallet";
11255
11261
  return "ready";
11256
11262
  }
11257
- var addr = (a) => chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", a);
11263
+ var addr = (a) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", a);
11258
11264
  var byteArrayFelts = (s) => starknet.CallData.compile([starknet.byteArray.byteArrayFromString(s)]);
11259
11265
  var popCalls = {
11260
11266
  claim(collection, proof) {
@@ -11275,14 +11281,14 @@ var popCalls = {
11275
11281
  };
11276
11282
  async function popHasClaimed(provider, collection, address) {
11277
11283
  const res = await provider.callContract({
11278
- contractAddress: chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", collection),
11284
+ contractAddress: chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", collection),
11279
11285
  entrypoint: "has_claimed",
11280
- calldata: [chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", address)]
11286
+ calldata: [chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", address)]
11281
11287
  });
11282
11288
  return BigInt(res[0] ?? "0x0") !== 0n;
11283
11289
  }
11284
11290
  var DROP_MAX_CLAIM_QUANTITY = 50n;
11285
- var addr2 = (a) => chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", a);
11291
+ var addr2 = (a) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", a);
11286
11292
  var factoryData = new starknet.CallData(DropFactoryABI);
11287
11293
  var collectionData = new starknet.CallData(DropCollectionABI);
11288
11294
  function toContractTerms(t) {
@@ -11352,7 +11358,7 @@ function dropMintCost(price, quantity, feeBps2) {
11352
11358
  }
11353
11359
 
11354
11360
  // src/starknet/drop-state.ts
11355
- var hex = (v) => chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", v ?? "0x0");
11361
+ var hex = (v) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", v ?? "0x0");
11356
11362
  var u2562 = (low, high) => BigInt(low ?? "0x0") + (BigInt(high ?? "0x0") << 128n);
11357
11363
  async function readDrop(provider, collection) {
11358
11364
  const contractAddress = hex(collection);
@@ -11431,7 +11437,7 @@ function dropClaimLinks(origin, collection, list) {
11431
11437
  function populateCall(abi, contractAddress, entrypoint, args) {
11432
11438
  return { contractAddress, entrypoint, calldata: new starknet.CallData(abi).compile(entrypoint, args) };
11433
11439
  }
11434
- var addr3 = (address) => chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", address);
11440
+ var addr3 = (address) => chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", address);
11435
11441
  var optionOf = (value) => value != null ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, value) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
11436
11442
  var deployCollectionCall = (abi, factory, p) => populateCall(abi, addr3(factory), "deploy_collection", [p.name, p.symbol, p.baseUri]);
11437
11443
  var popFactoryCalls = {
@@ -11671,20 +11677,20 @@ function buildLaunchOnEkuboCalls(params) {
11671
11677
  }
11672
11678
  var CREATOR_COIN_CREATED_SELECTOR = starknet.hash.getSelectorFromName("CreatorCoinCreated");
11673
11679
  function parseCreatorCoinCreated(receipt) {
11674
- const factory = chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", chunkH2NJB3AK_cjs.getStarknetCoordinates("STARKNET").creatorCoinFactory);
11680
+ const factory = chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", chunkH2NJB3AK_cjs.getStarknetCoordinates("STARKNET").creatorCoinFactory);
11675
11681
  for (const ev of receipt?.events ?? []) {
11676
11682
  let from;
11677
11683
  try {
11678
- from = chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", ev.from_address ?? "");
11684
+ from = chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", ev.from_address ?? "");
11679
11685
  } catch {
11680
11686
  continue;
11681
11687
  }
11682
11688
  if (from !== factory) continue;
11683
11689
  const k0 = ev.keys?.[0];
11684
- if (!k0 || chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", k0) !== chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", CREATOR_COIN_CREATED_SELECTOR)) continue;
11690
+ if (!k0 || chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", k0) !== chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", CREATOR_COIN_CREATED_SELECTOR)) continue;
11685
11691
  const data = ev.data ?? [];
11686
11692
  if (data.length < 1) continue;
11687
- return chunk3HPMEDYH_cjs.normalizeAddress("STARKNET", data[data.length - 1]);
11693
+ return chunkMCVAZVLN_cjs.normalizeAddress("STARKNET", data[data.length - 1]);
11688
11694
  }
11689
11695
  throw new Error("Coin deployed but the coin address could not be read from the receipt");
11690
11696
  }
@@ -11723,255 +11729,255 @@ function encodeByteArray(str) {
11723
11729
 
11724
11730
  Object.defineProperty(exports, "InvalidPairingPayloadError", {
11725
11731
  enumerable: true,
11726
- get: function () { return chunkZLMIHQWM_cjs.InvalidPairingPayloadError; }
11732
+ get: function () { return chunkZYRSMDMJ_cjs.InvalidPairingPayloadError; }
11727
11733
  });
11728
11734
  Object.defineProperty(exports, "InvalidRecoveryKeyError", {
11729
11735
  enumerable: true,
11730
- get: function () { return chunkZLMIHQWM_cjs.InvalidRecoveryKeyError; }
11736
+ get: function () { return chunkZYRSMDMJ_cjs.InvalidRecoveryKeyError; }
11731
11737
  });
11732
11738
  Object.defineProperty(exports, "InvalidStarkPrivateKeyError", {
11733
11739
  enumerable: true,
11734
- get: function () { return chunkZLMIHQWM_cjs.InvalidStarkPrivateKeyError; }
11740
+ get: function () { return chunkZYRSMDMJ_cjs.InvalidStarkPrivateKeyError; }
11735
11741
  });
11736
11742
  Object.defineProperty(exports, "SponsoredCallRejectedError", {
11737
11743
  enumerable: true,
11738
- get: function () { return chunkZLMIHQWM_cjs.SponsoredCallRejectedError; }
11744
+ get: function () { return chunkZYRSMDMJ_cjs.SponsoredCallRejectedError; }
11739
11745
  });
11740
11746
  Object.defineProperty(exports, "accountFor", {
11741
11747
  enumerable: true,
11742
- get: function () { return chunkZLMIHQWM_cjs.accountFor; }
11748
+ get: function () { return chunkZYRSMDMJ_cjs.accountFor; }
11743
11749
  });
11744
11750
  Object.defineProperty(exports, "allowsFallbackFunding", {
11745
11751
  enumerable: true,
11746
- get: function () { return chunkZLMIHQWM_cjs.allowsFallbackFunding; }
11752
+ get: function () { return chunkZYRSMDMJ_cjs.allowsFallbackFunding; }
11747
11753
  });
11748
11754
  Object.defineProperty(exports, "buildAddOwnerCall", {
11749
11755
  enumerable: true,
11750
- get: function () { return chunkZLMIHQWM_cjs.buildAddOwnerCall; }
11756
+ get: function () { return chunkZYRSMDMJ_cjs.buildAddOwnerCall; }
11751
11757
  });
11752
11758
  Object.defineProperty(exports, "buildCancelEscapeCall", {
11753
11759
  enumerable: true,
11754
- get: function () { return chunkZLMIHQWM_cjs.buildCancelEscapeCall; }
11760
+ get: function () { return chunkZYRSMDMJ_cjs.buildCancelEscapeCall; }
11755
11761
  });
11756
11762
  Object.defineProperty(exports, "buildCompleteEscapeOwnerCall", {
11757
11763
  enumerable: true,
11758
- get: function () { return chunkZLMIHQWM_cjs.buildCompleteEscapeOwnerCall; }
11764
+ get: function () { return chunkZYRSMDMJ_cjs.buildCompleteEscapeOwnerCall; }
11759
11765
  });
11760
11766
  Object.defineProperty(exports, "buildDeployAccountParams", {
11761
11767
  enumerable: true,
11762
- get: function () { return chunkZLMIHQWM_cjs.buildDeployAccountParams; }
11768
+ get: function () { return chunkZYRSMDMJ_cjs.buildDeployAccountParams; }
11763
11769
  });
11764
11770
  Object.defineProperty(exports, "buildRemoveOwnerByGuidCall", {
11765
11771
  enumerable: true,
11766
- get: function () { return chunkZLMIHQWM_cjs.buildRemoveOwnerByGuidCall; }
11772
+ get: function () { return chunkZYRSMDMJ_cjs.buildRemoveOwnerByGuidCall; }
11767
11773
  });
11768
11774
  Object.defineProperty(exports, "buildRemoveOwnerCall", {
11769
11775
  enumerable: true,
11770
- get: function () { return chunkZLMIHQWM_cjs.buildRemoveOwnerCall; }
11776
+ get: function () { return chunkZYRSMDMJ_cjs.buildRemoveOwnerCall; }
11771
11777
  });
11772
11778
  Object.defineProperty(exports, "buildSetFirstGuardianCall", {
11773
11779
  enumerable: true,
11774
- get: function () { return chunkZLMIHQWM_cjs.buildSetFirstGuardianCall; }
11780
+ get: function () { return chunkZYRSMDMJ_cjs.buildSetFirstGuardianCall; }
11775
11781
  });
11776
11782
  Object.defineProperty(exports, "buildTriggerEscapeOwnerCall", {
11777
11783
  enumerable: true,
11778
- get: function () { return chunkZLMIHQWM_cjs.buildTriggerEscapeOwnerCall; }
11784
+ get: function () { return chunkZYRSMDMJ_cjs.buildTriggerEscapeOwnerCall; }
11779
11785
  });
11780
11786
  Object.defineProperty(exports, "canRemoveDevice", {
11781
11787
  enumerable: true,
11782
- get: function () { return chunkZLMIHQWM_cjs.canRemoveDevice; }
11788
+ get: function () { return chunkZYRSMDMJ_cjs.canRemoveDevice; }
11783
11789
  });
11784
11790
  Object.defineProperty(exports, "claimSessionWallet", {
11785
11791
  enumerable: true,
11786
- get: function () { return chunkZLMIHQWM_cjs.claimSessionWallet; }
11792
+ get: function () { return chunkZYRSMDMJ_cjs.claimSessionWallet; }
11787
11793
  });
11788
11794
  Object.defineProperty(exports, "completeDeployment", {
11789
11795
  enumerable: true,
11790
- get: function () { return chunkZLMIHQWM_cjs.completeDeployment; }
11796
+ get: function () { return chunkZYRSMDMJ_cjs.completeDeployment; }
11791
11797
  });
11792
11798
  Object.defineProperty(exports, "computeAccountAddress", {
11793
11799
  enumerable: true,
11794
- get: function () { return chunkZLMIHQWM_cjs.computeAccountAddress; }
11800
+ get: function () { return chunkZYRSMDMJ_cjs.computeAccountAddress; }
11795
11801
  });
11796
11802
  Object.defineProperty(exports, "computeOwnerGuid", {
11797
11803
  enumerable: true,
11798
- get: function () { return chunkZLMIHQWM_cjs.computeOwnerGuid; }
11804
+ get: function () { return chunkZYRSMDMJ_cjs.computeOwnerGuid; }
11799
11805
  });
11800
11806
  Object.defineProperty(exports, "createDeploymentCoordinator", {
11801
11807
  enumerable: true,
11802
- get: function () { return chunkZLMIHQWM_cjs.createDeploymentCoordinator; }
11808
+ get: function () { return chunkZYRSMDMJ_cjs.createDeploymentCoordinator; }
11803
11809
  });
11804
11810
  Object.defineProperty(exports, "createMediaWallet", {
11805
11811
  enumerable: true,
11806
- get: function () { return chunkZLMIHQWM_cjs.createMediaWallet; }
11812
+ get: function () { return chunkZYRSMDMJ_cjs.createMediaWallet; }
11807
11813
  });
11808
11814
  Object.defineProperty(exports, "createOwnerStore", {
11809
11815
  enumerable: true,
11810
- get: function () { return chunkZLMIHQWM_cjs.createOwnerStore; }
11816
+ get: function () { return chunkZYRSMDMJ_cjs.createOwnerStore; }
11811
11817
  });
11812
11818
  Object.defineProperty(exports, "createPasskeyOwner", {
11813
11819
  enumerable: true,
11814
- get: function () { return chunkZLMIHQWM_cjs.createPasskeyOwner; }
11820
+ get: function () { return chunkZYRSMDMJ_cjs.createPasskeyOwner; }
11815
11821
  });
11816
11822
  Object.defineProperty(exports, "createSelfFundConsent", {
11817
11823
  enumerable: true,
11818
- get: function () { return chunkZLMIHQWM_cjs.createSelfFundConsent; }
11824
+ get: function () { return chunkZYRSMDMJ_cjs.createSelfFundConsent; }
11819
11825
  });
11820
11826
  Object.defineProperty(exports, "decodeEscapeAndStatus", {
11821
11827
  enumerable: true,
11822
- get: function () { return chunkZLMIHQWM_cjs.decodeEscapeAndStatus; }
11828
+ get: function () { return chunkZYRSMDMJ_cjs.decodeEscapeAndStatus; }
11823
11829
  });
11824
11830
  Object.defineProperty(exports, "decodeGuardiansInfo", {
11825
11831
  enumerable: true,
11826
- get: function () { return chunkZLMIHQWM_cjs.decodeGuardiansInfo; }
11832
+ get: function () { return chunkZYRSMDMJ_cjs.decodeGuardiansInfo; }
11827
11833
  });
11828
11834
  Object.defineProperty(exports, "deploySelfFunded", {
11829
11835
  enumerable: true,
11830
- get: function () { return chunkZLMIHQWM_cjs.deploySelfFunded; }
11836
+ get: function () { return chunkZYRSMDMJ_cjs.deploySelfFunded; }
11831
11837
  });
11832
11838
  Object.defineProperty(exports, "deploySponsored", {
11833
11839
  enumerable: true,
11834
- get: function () { return chunkZLMIHQWM_cjs.deploySponsored; }
11840
+ get: function () { return chunkZYRSMDMJ_cjs.deploySponsored; }
11835
11841
  });
11836
11842
  Object.defineProperty(exports, "deriveAesKey", {
11837
11843
  enumerable: true,
11838
- get: function () { return chunkZLMIHQWM_cjs.deriveAesKey; }
11844
+ get: function () { return chunkZYRSMDMJ_cjs.deriveAesKey; }
11839
11845
  });
11840
11846
  Object.defineProperty(exports, "deriveOwnerKeyPair", {
11841
11847
  enumerable: true,
11842
- get: function () { return chunkZLMIHQWM_cjs.deriveOwnerKeyPair; }
11848
+ get: function () { return chunkZYRSMDMJ_cjs.deriveOwnerKeyPair; }
11843
11849
  });
11844
11850
  Object.defineProperty(exports, "describeDevices", {
11845
11851
  enumerable: true,
11846
- get: function () { return chunkZLMIHQWM_cjs.describeDevices; }
11852
+ get: function () { return chunkZYRSMDMJ_cjs.describeDevices; }
11847
11853
  });
11848
11854
  Object.defineProperty(exports, "describeGuardianStatus", {
11849
11855
  enumerable: true,
11850
- get: function () { return chunkZLMIHQWM_cjs.describeGuardianStatus; }
11856
+ get: function () { return chunkZYRSMDMJ_cjs.describeGuardianStatus; }
11851
11857
  });
11852
11858
  Object.defineProperty(exports, "describeRecoveryAction", {
11853
11859
  enumerable: true,
11854
- get: function () { return chunkZLMIHQWM_cjs.describeRecoveryAction; }
11860
+ get: function () { return chunkZYRSMDMJ_cjs.describeRecoveryAction; }
11855
11861
  });
11856
11862
  Object.defineProperty(exports, "encodePairingPayload", {
11857
11863
  enumerable: true,
11858
- get: function () { return chunkZLMIHQWM_cjs.encodePairingPayload; }
11864
+ get: function () { return chunkZYRSMDMJ_cjs.encodePairingPayload; }
11859
11865
  });
11860
11866
  Object.defineProperty(exports, "encodeRecoveryKey", {
11861
11867
  enumerable: true,
11862
- get: function () { return chunkZLMIHQWM_cjs.encodeRecoveryKey; }
11868
+ get: function () { return chunkZYRSMDMJ_cjs.encodeRecoveryKey; }
11863
11869
  });
11864
11870
  Object.defineProperty(exports, "erc20Balance", {
11865
11871
  enumerable: true,
11866
- get: function () { return chunkZLMIHQWM_cjs.erc20Balance; }
11872
+ get: function () { return chunkZYRSMDMJ_cjs.erc20Balance; }
11867
11873
  });
11868
11874
  Object.defineProperty(exports, "estimateSelfFundedFee", {
11869
11875
  enumerable: true,
11870
- get: function () { return chunkZLMIHQWM_cjs.estimateSelfFundedFee; }
11876
+ get: function () { return chunkZYRSMDMJ_cjs.estimateSelfFundedFee; }
11871
11877
  });
11872
11878
  Object.defineProperty(exports, "executeSponsored", {
11873
11879
  enumerable: true,
11874
- get: function () { return chunkZLMIHQWM_cjs.executeSponsored; }
11880
+ get: function () { return chunkZYRSMDMJ_cjs.executeSponsored; }
11875
11881
  });
11876
11882
  Object.defineProperty(exports, "generateStarkKeyPair", {
11877
11883
  enumerable: true,
11878
- get: function () { return chunkZLMIHQWM_cjs.generateStarkKeyPair; }
11884
+ get: function () { return chunkZYRSMDMJ_cjs.generateStarkKeyPair; }
11879
11885
  });
11880
11886
  Object.defineProperty(exports, "getEscape", {
11881
11887
  enumerable: true,
11882
- get: function () { return chunkZLMIHQWM_cjs.getEscape; }
11888
+ get: function () { return chunkZYRSMDMJ_cjs.getEscape; }
11883
11889
  });
11884
11890
  Object.defineProperty(exports, "getEscapeSecurityPeriod", {
11885
11891
  enumerable: true,
11886
- get: function () { return chunkZLMIHQWM_cjs.getEscapeSecurityPeriod; }
11892
+ get: function () { return chunkZYRSMDMJ_cjs.getEscapeSecurityPeriod; }
11887
11893
  });
11888
11894
  Object.defineProperty(exports, "getGuardians", {
11889
11895
  enumerable: true,
11890
- get: function () { return chunkZLMIHQWM_cjs.getGuardians; }
11896
+ get: function () { return chunkZYRSMDMJ_cjs.getGuardians; }
11891
11897
  });
11892
11898
  Object.defineProperty(exports, "getOwners", {
11893
11899
  enumerable: true,
11894
- get: function () { return chunkZLMIHQWM_cjs.getOwners; }
11900
+ get: function () { return chunkZYRSMDMJ_cjs.getOwners; }
11895
11901
  });
11896
11902
  Object.defineProperty(exports, "indexedDbDeviceKeys", {
11897
11903
  enumerable: true,
11898
- get: function () { return chunkZLMIHQWM_cjs.indexedDbDeviceKeys; }
11904
+ get: function () { return chunkZYRSMDMJ_cjs.indexedDbDeviceKeys; }
11899
11905
  });
11900
11906
  Object.defineProperty(exports, "isDeployed", {
11901
11907
  enumerable: true,
11902
- get: function () { return chunkZLMIHQWM_cjs.isDeployed; }
11908
+ get: function () { return chunkZYRSMDMJ_cjs.isDeployed; }
11903
11909
  });
11904
11910
  Object.defineProperty(exports, "isValidStarknetAddress", {
11905
11911
  enumerable: true,
11906
- get: function () { return chunkZLMIHQWM_cjs.isValidStarknetAddress; }
11912
+ get: function () { return chunkZYRSMDMJ_cjs.isValidStarknetAddress; }
11907
11913
  });
11908
11914
  Object.defineProperty(exports, "normalizeWalletAddress", {
11909
11915
  enumerable: true,
11910
- get: function () { return chunkZLMIHQWM_cjs.normalizeWalletAddress; }
11916
+ get: function () { return chunkZYRSMDMJ_cjs.normalizeWalletAddress; }
11911
11917
  });
11912
11918
  Object.defineProperty(exports, "ownerConstructorCalldata", {
11913
11919
  enumerable: true,
11914
- get: function () { return chunkZLMIHQWM_cjs.ownerConstructorCalldata; }
11920
+ get: function () { return chunkZYRSMDMJ_cjs.ownerConstructorCalldata; }
11915
11921
  });
11916
11922
  Object.defineProperty(exports, "parseAccountAddress", {
11917
11923
  enumerable: true,
11918
- get: function () { return chunkZLMIHQWM_cjs.parseAccountAddress; }
11924
+ get: function () { return chunkZYRSMDMJ_cjs.parseAccountAddress; }
11919
11925
  });
11920
11926
  Object.defineProperty(exports, "parsePairingPayload", {
11921
11927
  enumerable: true,
11922
- get: function () { return chunkZLMIHQWM_cjs.parsePairingPayload; }
11928
+ get: function () { return chunkZYRSMDMJ_cjs.parsePairingPayload; }
11923
11929
  });
11924
11930
  Object.defineProperty(exports, "parseRecoveryKey", {
11925
11931
  enumerable: true,
11926
- get: function () { return chunkZLMIHQWM_cjs.parseRecoveryKey; }
11932
+ get: function () { return chunkZYRSMDMJ_cjs.parseRecoveryKey; }
11927
11933
  });
11928
11934
  Object.defineProperty(exports, "sealPrivateKey", {
11929
11935
  enumerable: true,
11930
- get: function () { return chunkZLMIHQWM_cjs.sealPrivateKey; }
11936
+ get: function () { return chunkZYRSMDMJ_cjs.sealPrivateKey; }
11931
11937
  });
11932
11938
  Object.defineProperty(exports, "selfFundedExecutor", {
11933
11939
  enumerable: true,
11934
- get: function () { return chunkZLMIHQWM_cjs.selfFundedExecutor; }
11940
+ get: function () { return chunkZYRSMDMJ_cjs.selfFundedExecutor; }
11935
11941
  });
11936
11942
  Object.defineProperty(exports, "signWithPrivateKey", {
11937
11943
  enumerable: true,
11938
- get: function () { return chunkZLMIHQWM_cjs.signWithPrivateKey; }
11944
+ get: function () { return chunkZYRSMDMJ_cjs.signWithPrivateKey; }
11939
11945
  });
11940
11946
  Object.defineProperty(exports, "sponsoredExecutor", {
11941
11947
  enumerable: true,
11942
- get: function () { return chunkZLMIHQWM_cjs.sponsoredExecutor; }
11948
+ get: function () { return chunkZYRSMDMJ_cjs.sponsoredExecutor; }
11943
11949
  });
11944
11950
  Object.defineProperty(exports, "starkKeyPairFromPrivateKey", {
11945
11951
  enumerable: true,
11946
- get: function () { return chunkZLMIHQWM_cjs.starkKeyPairFromPrivateKey; }
11952
+ get: function () { return chunkZYRSMDMJ_cjs.starkKeyPairFromPrivateKey; }
11947
11953
  });
11948
11954
  Object.defineProperty(exports, "unsealPrivateKey", {
11949
11955
  enumerable: true,
11950
- get: function () { return chunkZLMIHQWM_cjs.unsealPrivateKey; }
11956
+ get: function () { return chunkZYRSMDMJ_cjs.unsealPrivateKey; }
11951
11957
  });
11952
11958
  Object.defineProperty(exports, "waitUntilDeployed", {
11953
11959
  enumerable: true,
11954
- get: function () { return chunkZLMIHQWM_cjs.waitUntilDeployed; }
11960
+ get: function () { return chunkZYRSMDMJ_cjs.waitUntilDeployed; }
11955
11961
  });
11956
11962
  Object.defineProperty(exports, "DeviceKeyMissingError", {
11957
11963
  enumerable: true,
11958
- get: function () { return chunk3HPMEDYH_cjs.DeviceKeyMissingError; }
11964
+ get: function () { return chunkMCVAZVLN_cjs.DeviceKeyMissingError; }
11959
11965
  });
11960
11966
  Object.defineProperty(exports, "MedialaneError", {
11961
11967
  enumerable: true,
11962
- get: function () { return chunk3HPMEDYH_cjs.MedialaneError; }
11968
+ get: function () { return chunkMCVAZVLN_cjs.MedialaneError; }
11963
11969
  });
11964
11970
  Object.defineProperty(exports, "PasskeyCancelledError", {
11965
11971
  enumerable: true,
11966
- get: function () { return chunk3HPMEDYH_cjs.PasskeyCancelledError; }
11972
+ get: function () { return chunkMCVAZVLN_cjs.PasskeyCancelledError; }
11967
11973
  });
11968
11974
  Object.defineProperty(exports, "PasskeyUnsupportedError", {
11969
11975
  enumerable: true,
11970
- get: function () { return chunk3HPMEDYH_cjs.PasskeyUnsupportedError; }
11976
+ get: function () { return chunkMCVAZVLN_cjs.PasskeyUnsupportedError; }
11971
11977
  });
11972
11978
  Object.defineProperty(exports, "UserFacingError", {
11973
11979
  enumerable: true,
11974
- get: function () { return chunk3HPMEDYH_cjs.UserFacingError; }
11980
+ get: function () { return chunkMCVAZVLN_cjs.UserFacingError; }
11975
11981
  });
11976
11982
  exports.COIN_MAX_SUPPLY = MAX_SUPPLY;
11977
11983
  exports.COIN_MIN_SUPPLY = MIN_SUPPLY;
@@ -12017,6 +12023,7 @@ exports.clubCalls = clubCalls;
12017
12023
  exports.coinToRaw = toRaw;
12018
12024
  exports.confirmIntentBestEffort = confirmIntentBestEffort;
12019
12025
  exports.createChainProvider = createChainProvider;
12026
+ exports.createdCollectionAddress = createdCollectionAddress;
12020
12027
  exports.createdCollectionFromReceipt = createdCollectionFromReceipt;
12021
12028
  exports.decodePopClaimFragment = decodePopClaimFragment;
12022
12029
  exports.deployedCollectionFromReceipt = deployedCollectionFromReceipt;