@medialane/sdk 0.207.0 → 0.210.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-GENBWVGK.js → chunk-3SIT2PCD.js} +11 -3
- package/dist/chunk-3SIT2PCD.js.map +1 -0
- package/dist/{chunk-MCVAZVLN.cjs → chunk-3V3L2R5O.cjs} +11 -3
- package/dist/chunk-3V3L2R5O.cjs.map +1 -0
- package/dist/{chunk-EPU52YSA.js → chunk-BFG3VTJQ.js} +62 -4
- package/dist/chunk-BFG3VTJQ.js.map +1 -0
- package/dist/{chunk-ZYRSMDMJ.cjs → chunk-W3XFKULQ.cjs} +80 -18
- package/dist/chunk-W3XFKULQ.cjs.map +1 -0
- package/dist/index.cjs +34 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{passkey-errors-DMv2Vn1P.d.ts → passkey-errors-BXclgAtu.d.ts} +15 -17
- package/dist/{passkey-errors-BjqEFmu_.d.cts → passkey-errors-BcJWGxSV.d.cts} +15 -17
- package/dist/{services-Cy5FH8sP.d.cts → services-BvLnPxis.d.cts} +1 -2
- package/dist/{services-DWmXVwTV.d.ts → services-CRQUM6bg.d.ts} +1 -2
- package/dist/starknet/index.cjs +101 -85
- package/dist/starknet/index.d.cts +5 -5
- package/dist/starknet/index.d.ts +5 -5
- package/dist/starknet/index.js +3 -3
- package/dist/wallet/index.cjs +75 -59
- package/dist/wallet/index.d.cts +26 -3
- package/dist/wallet/index.d.ts +26 -3
- package/dist/wallet/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-EPU52YSA.js.map +0 -1
- package/dist/chunk-GENBWVGK.js.map +0 -1
- package/dist/chunk-MCVAZVLN.cjs.map +0 -1
- package/dist/chunk-ZYRSMDMJ.cjs.map +0 -1
package/dist/starknet/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkMEJ47LC3_cjs = require('../chunk-MEJ47LC3.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkW3XFKULQ_cjs = require('../chunk-W3XFKULQ.cjs');
|
|
5
|
+
var chunk3V3L2R5O_cjs = require('../chunk-3V3L2R5O.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
|
|
25
|
+
this.api = config.backendUrl ? new chunk3V3L2R5O_cjs.ApiClient({ baseUrl: config.backendUrl, apiKey: config.apiKey, retry: config.retryOptions, chain: config.chain }) : new chunk3V3L2R5O_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 =
|
|
10396
|
+
const token = chunk3V3L2R5O_cjs.SUPPORTED_TOKENS.find(
|
|
10397
10397
|
(t) => t.symbol === currency.toUpperCase() || t.address.toLowerCase() === currency.toLowerCase()
|
|
10398
10398
|
);
|
|
10399
|
-
if (!token) throw new
|
|
10399
|
+
if (!token) throw new chunk3V3L2R5O_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
|
|
11052
|
+
return err instanceof chunk3V3L2R5O_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
|
|
11087
|
+
throw new chunk3V3L2R5O_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
|
|
11094
|
+
throw new chunk3V3L2R5O_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
|
|
11154
|
+
if (value) return chunk3V3L2R5O_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) ?
|
|
11172
|
+
return ipNft && !sameFelt(ipNft, 0n) ? chunk3V3L2R5O_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) =>
|
|
11212
|
+
const unique = [...new Set(addresses.map((a) => chunk3V3L2R5O_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 =
|
|
11246
|
+
const contractAddress = chunk3V3L2R5O_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) =>
|
|
11263
|
+
var addr = (a) => chunk3V3L2R5O_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:
|
|
11284
|
+
contractAddress: chunk3V3L2R5O_cjs.normalizeAddress("STARKNET", collection),
|
|
11285
11285
|
entrypoint: "has_claimed",
|
|
11286
|
-
calldata: [
|
|
11286
|
+
calldata: [chunk3V3L2R5O_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) =>
|
|
11291
|
+
var addr2 = (a) => chunk3V3L2R5O_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) =>
|
|
11361
|
+
var hex = (v) => chunk3V3L2R5O_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) =>
|
|
11440
|
+
var addr3 = (address) => chunk3V3L2R5O_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 =
|
|
11680
|
+
const factory = chunk3V3L2R5O_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 =
|
|
11684
|
+
from = chunk3V3L2R5O_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 ||
|
|
11690
|
+
if (!k0 || chunk3V3L2R5O_cjs.normalizeAddress("STARKNET", k0) !== chunk3V3L2R5O_cjs.normalizeAddress("STARKNET", CREATOR_COIN_CREATED_SELECTOR)) continue;
|
|
11691
11691
|
const data = ev.data ?? [];
|
|
11692
11692
|
if (data.length < 1) continue;
|
|
11693
|
-
return
|
|
11693
|
+
return chunk3V3L2R5O_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
|
}
|
|
@@ -11727,257 +11727,273 @@ function encodeByteArray(str) {
|
|
|
11727
11727
|
];
|
|
11728
11728
|
}
|
|
11729
11729
|
|
|
11730
|
+
Object.defineProperty(exports, "GUARDIAN_WALLET_BUSY", {
|
|
11731
|
+
enumerable: true,
|
|
11732
|
+
get: function () { return chunkW3XFKULQ_cjs.GUARDIAN_WALLET_BUSY; }
|
|
11733
|
+
});
|
|
11730
11734
|
Object.defineProperty(exports, "InvalidPairingPayloadError", {
|
|
11731
11735
|
enumerable: true,
|
|
11732
|
-
get: function () { return
|
|
11736
|
+
get: function () { return chunkW3XFKULQ_cjs.InvalidPairingPayloadError; }
|
|
11733
11737
|
});
|
|
11734
11738
|
Object.defineProperty(exports, "InvalidRecoveryKeyError", {
|
|
11735
11739
|
enumerable: true,
|
|
11736
|
-
get: function () { return
|
|
11740
|
+
get: function () { return chunkW3XFKULQ_cjs.InvalidRecoveryKeyError; }
|
|
11737
11741
|
});
|
|
11738
11742
|
Object.defineProperty(exports, "InvalidStarkPrivateKeyError", {
|
|
11739
11743
|
enumerable: true,
|
|
11740
|
-
get: function () { return
|
|
11744
|
+
get: function () { return chunkW3XFKULQ_cjs.InvalidStarkPrivateKeyError; }
|
|
11741
11745
|
});
|
|
11742
11746
|
Object.defineProperty(exports, "SponsoredCallRejectedError", {
|
|
11743
11747
|
enumerable: true,
|
|
11744
|
-
get: function () { return
|
|
11748
|
+
get: function () { return chunkW3XFKULQ_cjs.SponsoredCallRejectedError; }
|
|
11745
11749
|
});
|
|
11746
11750
|
Object.defineProperty(exports, "accountFor", {
|
|
11747
11751
|
enumerable: true,
|
|
11748
|
-
get: function () { return
|
|
11752
|
+
get: function () { return chunkW3XFKULQ_cjs.accountFor; }
|
|
11749
11753
|
});
|
|
11750
11754
|
Object.defineProperty(exports, "allowsFallbackFunding", {
|
|
11751
11755
|
enumerable: true,
|
|
11752
|
-
get: function () { return
|
|
11756
|
+
get: function () { return chunkW3XFKULQ_cjs.allowsFallbackFunding; }
|
|
11753
11757
|
});
|
|
11754
11758
|
Object.defineProperty(exports, "buildAddOwnerCall", {
|
|
11755
11759
|
enumerable: true,
|
|
11756
|
-
get: function () { return
|
|
11760
|
+
get: function () { return chunkW3XFKULQ_cjs.buildAddOwnerCall; }
|
|
11757
11761
|
});
|
|
11758
11762
|
Object.defineProperty(exports, "buildCancelEscapeCall", {
|
|
11759
11763
|
enumerable: true,
|
|
11760
|
-
get: function () { return
|
|
11764
|
+
get: function () { return chunkW3XFKULQ_cjs.buildCancelEscapeCall; }
|
|
11761
11765
|
});
|
|
11762
11766
|
Object.defineProperty(exports, "buildCompleteEscapeOwnerCall", {
|
|
11763
11767
|
enumerable: true,
|
|
11764
|
-
get: function () { return
|
|
11768
|
+
get: function () { return chunkW3XFKULQ_cjs.buildCompleteEscapeOwnerCall; }
|
|
11765
11769
|
});
|
|
11766
11770
|
Object.defineProperty(exports, "buildDeployAccountParams", {
|
|
11767
11771
|
enumerable: true,
|
|
11768
|
-
get: function () { return
|
|
11772
|
+
get: function () { return chunkW3XFKULQ_cjs.buildDeployAccountParams; }
|
|
11769
11773
|
});
|
|
11770
11774
|
Object.defineProperty(exports, "buildRemoveOwnerByGuidCall", {
|
|
11771
11775
|
enumerable: true,
|
|
11772
|
-
get: function () { return
|
|
11776
|
+
get: function () { return chunkW3XFKULQ_cjs.buildRemoveOwnerByGuidCall; }
|
|
11773
11777
|
});
|
|
11774
11778
|
Object.defineProperty(exports, "buildRemoveOwnerCall", {
|
|
11775
11779
|
enumerable: true,
|
|
11776
|
-
get: function () { return
|
|
11780
|
+
get: function () { return chunkW3XFKULQ_cjs.buildRemoveOwnerCall; }
|
|
11777
11781
|
});
|
|
11778
11782
|
Object.defineProperty(exports, "buildSetFirstGuardianCall", {
|
|
11779
11783
|
enumerable: true,
|
|
11780
|
-
get: function () { return
|
|
11784
|
+
get: function () { return chunkW3XFKULQ_cjs.buildSetFirstGuardianCall; }
|
|
11781
11785
|
});
|
|
11782
11786
|
Object.defineProperty(exports, "buildTriggerEscapeOwnerCall", {
|
|
11783
11787
|
enumerable: true,
|
|
11784
|
-
get: function () { return
|
|
11788
|
+
get: function () { return chunkW3XFKULQ_cjs.buildTriggerEscapeOwnerCall; }
|
|
11785
11789
|
});
|
|
11786
11790
|
Object.defineProperty(exports, "canRemoveDevice", {
|
|
11787
11791
|
enumerable: true,
|
|
11788
|
-
get: function () { return
|
|
11792
|
+
get: function () { return chunkW3XFKULQ_cjs.canRemoveDevice; }
|
|
11789
11793
|
});
|
|
11790
11794
|
Object.defineProperty(exports, "claimSessionWallet", {
|
|
11791
11795
|
enumerable: true,
|
|
11792
|
-
get: function () { return
|
|
11796
|
+
get: function () { return chunkW3XFKULQ_cjs.claimSessionWallet; }
|
|
11793
11797
|
});
|
|
11794
11798
|
Object.defineProperty(exports, "completeDeployment", {
|
|
11795
11799
|
enumerable: true,
|
|
11796
|
-
get: function () { return
|
|
11800
|
+
get: function () { return chunkW3XFKULQ_cjs.completeDeployment; }
|
|
11797
11801
|
});
|
|
11798
11802
|
Object.defineProperty(exports, "computeAccountAddress", {
|
|
11799
11803
|
enumerable: true,
|
|
11800
|
-
get: function () { return
|
|
11804
|
+
get: function () { return chunkW3XFKULQ_cjs.computeAccountAddress; }
|
|
11801
11805
|
});
|
|
11802
11806
|
Object.defineProperty(exports, "computeOwnerGuid", {
|
|
11803
11807
|
enumerable: true,
|
|
11804
|
-
get: function () { return
|
|
11808
|
+
get: function () { return chunkW3XFKULQ_cjs.computeOwnerGuid; }
|
|
11805
11809
|
});
|
|
11806
11810
|
Object.defineProperty(exports, "createDeploymentCoordinator", {
|
|
11807
11811
|
enumerable: true,
|
|
11808
|
-
get: function () { return
|
|
11812
|
+
get: function () { return chunkW3XFKULQ_cjs.createDeploymentCoordinator; }
|
|
11809
11813
|
});
|
|
11810
11814
|
Object.defineProperty(exports, "createMediaWallet", {
|
|
11811
11815
|
enumerable: true,
|
|
11812
|
-
get: function () { return
|
|
11816
|
+
get: function () { return chunkW3XFKULQ_cjs.createMediaWallet; }
|
|
11813
11817
|
});
|
|
11814
11818
|
Object.defineProperty(exports, "createOwnerStore", {
|
|
11815
11819
|
enumerable: true,
|
|
11816
|
-
get: function () { return
|
|
11820
|
+
get: function () { return chunkW3XFKULQ_cjs.createOwnerStore; }
|
|
11817
11821
|
});
|
|
11818
11822
|
Object.defineProperty(exports, "createPasskeyOwner", {
|
|
11819
11823
|
enumerable: true,
|
|
11820
|
-
get: function () { return
|
|
11824
|
+
get: function () { return chunkW3XFKULQ_cjs.createPasskeyOwner; }
|
|
11821
11825
|
});
|
|
11822
11826
|
Object.defineProperty(exports, "createSelfFundConsent", {
|
|
11823
11827
|
enumerable: true,
|
|
11824
|
-
get: function () { return
|
|
11828
|
+
get: function () { return chunkW3XFKULQ_cjs.createSelfFundConsent; }
|
|
11825
11829
|
});
|
|
11826
11830
|
Object.defineProperty(exports, "decodeEscapeAndStatus", {
|
|
11827
11831
|
enumerable: true,
|
|
11828
|
-
get: function () { return
|
|
11832
|
+
get: function () { return chunkW3XFKULQ_cjs.decodeEscapeAndStatus; }
|
|
11829
11833
|
});
|
|
11830
11834
|
Object.defineProperty(exports, "decodeGuardiansInfo", {
|
|
11831
11835
|
enumerable: true,
|
|
11832
|
-
get: function () { return
|
|
11836
|
+
get: function () { return chunkW3XFKULQ_cjs.decodeGuardiansInfo; }
|
|
11833
11837
|
});
|
|
11834
11838
|
Object.defineProperty(exports, "deploySelfFunded", {
|
|
11835
11839
|
enumerable: true,
|
|
11836
|
-
get: function () { return
|
|
11840
|
+
get: function () { return chunkW3XFKULQ_cjs.deploySelfFunded; }
|
|
11837
11841
|
});
|
|
11838
11842
|
Object.defineProperty(exports, "deploySponsored", {
|
|
11839
11843
|
enumerable: true,
|
|
11840
|
-
get: function () { return
|
|
11844
|
+
get: function () { return chunkW3XFKULQ_cjs.deploySponsored; }
|
|
11841
11845
|
});
|
|
11842
11846
|
Object.defineProperty(exports, "deriveAesKey", {
|
|
11843
11847
|
enumerable: true,
|
|
11844
|
-
get: function () { return
|
|
11848
|
+
get: function () { return chunkW3XFKULQ_cjs.deriveAesKey; }
|
|
11845
11849
|
});
|
|
11846
11850
|
Object.defineProperty(exports, "deriveOwnerKeyPair", {
|
|
11847
11851
|
enumerable: true,
|
|
11848
|
-
get: function () { return
|
|
11852
|
+
get: function () { return chunkW3XFKULQ_cjs.deriveOwnerKeyPair; }
|
|
11849
11853
|
});
|
|
11850
11854
|
Object.defineProperty(exports, "describeDevices", {
|
|
11851
11855
|
enumerable: true,
|
|
11852
|
-
get: function () { return
|
|
11856
|
+
get: function () { return chunkW3XFKULQ_cjs.describeDevices; }
|
|
11853
11857
|
});
|
|
11854
11858
|
Object.defineProperty(exports, "describeGuardianStatus", {
|
|
11855
11859
|
enumerable: true,
|
|
11856
|
-
get: function () { return
|
|
11860
|
+
get: function () { return chunkW3XFKULQ_cjs.describeGuardianStatus; }
|
|
11857
11861
|
});
|
|
11858
11862
|
Object.defineProperty(exports, "describeRecoveryAction", {
|
|
11859
11863
|
enumerable: true,
|
|
11860
|
-
get: function () { return
|
|
11864
|
+
get: function () { return chunkW3XFKULQ_cjs.describeRecoveryAction; }
|
|
11861
11865
|
});
|
|
11862
11866
|
Object.defineProperty(exports, "encodePairingPayload", {
|
|
11863
11867
|
enumerable: true,
|
|
11864
|
-
get: function () { return
|
|
11868
|
+
get: function () { return chunkW3XFKULQ_cjs.encodePairingPayload; }
|
|
11865
11869
|
});
|
|
11866
11870
|
Object.defineProperty(exports, "encodeRecoveryKey", {
|
|
11867
11871
|
enumerable: true,
|
|
11868
|
-
get: function () { return
|
|
11872
|
+
get: function () { return chunkW3XFKULQ_cjs.encodeRecoveryKey; }
|
|
11869
11873
|
});
|
|
11870
11874
|
Object.defineProperty(exports, "erc20Balance", {
|
|
11871
11875
|
enumerable: true,
|
|
11872
|
-
get: function () { return
|
|
11876
|
+
get: function () { return chunkW3XFKULQ_cjs.erc20Balance; }
|
|
11873
11877
|
});
|
|
11874
11878
|
Object.defineProperty(exports, "estimateSelfFundedFee", {
|
|
11875
11879
|
enumerable: true,
|
|
11876
|
-
get: function () { return
|
|
11880
|
+
get: function () { return chunkW3XFKULQ_cjs.estimateSelfFundedFee; }
|
|
11877
11881
|
});
|
|
11878
11882
|
Object.defineProperty(exports, "executeSponsored", {
|
|
11879
11883
|
enumerable: true,
|
|
11880
|
-
get: function () { return
|
|
11884
|
+
get: function () { return chunkW3XFKULQ_cjs.executeSponsored; }
|
|
11885
|
+
});
|
|
11886
|
+
Object.defineProperty(exports, "finishSessionRecovery", {
|
|
11887
|
+
enumerable: true,
|
|
11888
|
+
get: function () { return chunkW3XFKULQ_cjs.finishSessionRecovery; }
|
|
11881
11889
|
});
|
|
11882
11890
|
Object.defineProperty(exports, "generateStarkKeyPair", {
|
|
11883
11891
|
enumerable: true,
|
|
11884
|
-
get: function () { return
|
|
11892
|
+
get: function () { return chunkW3XFKULQ_cjs.generateStarkKeyPair; }
|
|
11885
11893
|
});
|
|
11886
11894
|
Object.defineProperty(exports, "getEscape", {
|
|
11887
11895
|
enumerable: true,
|
|
11888
|
-
get: function () { return
|
|
11896
|
+
get: function () { return chunkW3XFKULQ_cjs.getEscape; }
|
|
11889
11897
|
});
|
|
11890
11898
|
Object.defineProperty(exports, "getEscapeSecurityPeriod", {
|
|
11891
11899
|
enumerable: true,
|
|
11892
|
-
get: function () { return
|
|
11900
|
+
get: function () { return chunkW3XFKULQ_cjs.getEscapeSecurityPeriod; }
|
|
11893
11901
|
});
|
|
11894
11902
|
Object.defineProperty(exports, "getGuardians", {
|
|
11895
11903
|
enumerable: true,
|
|
11896
|
-
get: function () { return
|
|
11904
|
+
get: function () { return chunkW3XFKULQ_cjs.getGuardians; }
|
|
11897
11905
|
});
|
|
11898
11906
|
Object.defineProperty(exports, "getOwners", {
|
|
11899
11907
|
enumerable: true,
|
|
11900
|
-
get: function () { return
|
|
11908
|
+
get: function () { return chunkW3XFKULQ_cjs.getOwners; }
|
|
11901
11909
|
});
|
|
11902
11910
|
Object.defineProperty(exports, "indexedDbDeviceKeys", {
|
|
11903
11911
|
enumerable: true,
|
|
11904
|
-
get: function () { return
|
|
11912
|
+
get: function () { return chunkW3XFKULQ_cjs.indexedDbDeviceKeys; }
|
|
11905
11913
|
});
|
|
11906
11914
|
Object.defineProperty(exports, "isDeployed", {
|
|
11907
11915
|
enumerable: true,
|
|
11908
|
-
get: function () { return
|
|
11916
|
+
get: function () { return chunkW3XFKULQ_cjs.isDeployed; }
|
|
11909
11917
|
});
|
|
11910
11918
|
Object.defineProperty(exports, "isValidStarknetAddress", {
|
|
11911
11919
|
enumerable: true,
|
|
11912
|
-
get: function () { return
|
|
11920
|
+
get: function () { return chunkW3XFKULQ_cjs.isValidStarknetAddress; }
|
|
11913
11921
|
});
|
|
11914
11922
|
Object.defineProperty(exports, "normalizeWalletAddress", {
|
|
11915
11923
|
enumerable: true,
|
|
11916
|
-
get: function () { return
|
|
11924
|
+
get: function () { return chunkW3XFKULQ_cjs.normalizeWalletAddress; }
|
|
11917
11925
|
});
|
|
11918
11926
|
Object.defineProperty(exports, "ownerConstructorCalldata", {
|
|
11919
11927
|
enumerable: true,
|
|
11920
|
-
get: function () { return
|
|
11928
|
+
get: function () { return chunkW3XFKULQ_cjs.ownerConstructorCalldata; }
|
|
11921
11929
|
});
|
|
11922
11930
|
Object.defineProperty(exports, "parseAccountAddress", {
|
|
11923
11931
|
enumerable: true,
|
|
11924
|
-
get: function () { return
|
|
11932
|
+
get: function () { return chunkW3XFKULQ_cjs.parseAccountAddress; }
|
|
11925
11933
|
});
|
|
11926
11934
|
Object.defineProperty(exports, "parsePairingPayload", {
|
|
11927
11935
|
enumerable: true,
|
|
11928
|
-
get: function () { return
|
|
11936
|
+
get: function () { return chunkW3XFKULQ_cjs.parsePairingPayload; }
|
|
11929
11937
|
});
|
|
11930
11938
|
Object.defineProperty(exports, "parseRecoveryKey", {
|
|
11931
11939
|
enumerable: true,
|
|
11932
|
-
get: function () { return
|
|
11940
|
+
get: function () { return chunkW3XFKULQ_cjs.parseRecoveryKey; }
|
|
11933
11941
|
});
|
|
11934
11942
|
Object.defineProperty(exports, "sealPrivateKey", {
|
|
11935
11943
|
enumerable: true,
|
|
11936
|
-
get: function () { return
|
|
11944
|
+
get: function () { return chunkW3XFKULQ_cjs.sealPrivateKey; }
|
|
11937
11945
|
});
|
|
11938
11946
|
Object.defineProperty(exports, "selfFundedExecutor", {
|
|
11939
11947
|
enumerable: true,
|
|
11940
|
-
get: function () { return
|
|
11948
|
+
get: function () { return chunkW3XFKULQ_cjs.selfFundedExecutor; }
|
|
11941
11949
|
});
|
|
11942
11950
|
Object.defineProperty(exports, "signWithPrivateKey", {
|
|
11943
11951
|
enumerable: true,
|
|
11944
|
-
get: function () { return
|
|
11952
|
+
get: function () { return chunkW3XFKULQ_cjs.signWithPrivateKey; }
|
|
11945
11953
|
});
|
|
11946
11954
|
Object.defineProperty(exports, "sponsoredExecutor", {
|
|
11947
11955
|
enumerable: true,
|
|
11948
|
-
get: function () { return
|
|
11956
|
+
get: function () { return chunkW3XFKULQ_cjs.sponsoredExecutor; }
|
|
11949
11957
|
});
|
|
11950
11958
|
Object.defineProperty(exports, "starkKeyPairFromPrivateKey", {
|
|
11951
11959
|
enumerable: true,
|
|
11952
|
-
get: function () { return
|
|
11960
|
+
get: function () { return chunkW3XFKULQ_cjs.starkKeyPairFromPrivateKey; }
|
|
11961
|
+
});
|
|
11962
|
+
Object.defineProperty(exports, "startSessionRecovery", {
|
|
11963
|
+
enumerable: true,
|
|
11964
|
+
get: function () { return chunkW3XFKULQ_cjs.startSessionRecovery; }
|
|
11965
|
+
});
|
|
11966
|
+
Object.defineProperty(exports, "turnOnRecovery", {
|
|
11967
|
+
enumerable: true,
|
|
11968
|
+
get: function () { return chunkW3XFKULQ_cjs.turnOnRecovery; }
|
|
11953
11969
|
});
|
|
11954
11970
|
Object.defineProperty(exports, "unsealPrivateKey", {
|
|
11955
11971
|
enumerable: true,
|
|
11956
|
-
get: function () { return
|
|
11972
|
+
get: function () { return chunkW3XFKULQ_cjs.unsealPrivateKey; }
|
|
11957
11973
|
});
|
|
11958
11974
|
Object.defineProperty(exports, "waitUntilDeployed", {
|
|
11959
11975
|
enumerable: true,
|
|
11960
|
-
get: function () { return
|
|
11976
|
+
get: function () { return chunkW3XFKULQ_cjs.waitUntilDeployed; }
|
|
11961
11977
|
});
|
|
11962
11978
|
Object.defineProperty(exports, "DeviceKeyMissingError", {
|
|
11963
11979
|
enumerable: true,
|
|
11964
|
-
get: function () { return
|
|
11980
|
+
get: function () { return chunk3V3L2R5O_cjs.DeviceKeyMissingError; }
|
|
11965
11981
|
});
|
|
11966
11982
|
Object.defineProperty(exports, "MedialaneError", {
|
|
11967
11983
|
enumerable: true,
|
|
11968
|
-
get: function () { return
|
|
11984
|
+
get: function () { return chunk3V3L2R5O_cjs.MedialaneError; }
|
|
11969
11985
|
});
|
|
11970
11986
|
Object.defineProperty(exports, "PasskeyCancelledError", {
|
|
11971
11987
|
enumerable: true,
|
|
11972
|
-
get: function () { return
|
|
11988
|
+
get: function () { return chunk3V3L2R5O_cjs.PasskeyCancelledError; }
|
|
11973
11989
|
});
|
|
11974
11990
|
Object.defineProperty(exports, "PasskeyUnsupportedError", {
|
|
11975
11991
|
enumerable: true,
|
|
11976
|
-
get: function () { return
|
|
11992
|
+
get: function () { return chunk3V3L2R5O_cjs.PasskeyUnsupportedError; }
|
|
11977
11993
|
});
|
|
11978
11994
|
Object.defineProperty(exports, "UserFacingError", {
|
|
11979
11995
|
enumerable: true,
|
|
11980
|
-
get: function () { return
|
|
11996
|
+
get: function () { return chunk3V3L2R5O_cjs.UserFacingError; }
|
|
11981
11997
|
});
|
|
11982
11998
|
exports.COIN_MAX_SUPPLY = MAX_SUPPLY;
|
|
11983
11999
|
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-
|
|
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-
|
|
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-BvLnPxis.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-BvLnPxis.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-
|
|
7
|
-
export {
|
|
6
|
+
import { I as ApiFundingInstructions, O as ApiIntentCreated } from '../passkey-errors-BcJWGxSV.cjs';
|
|
7
|
+
export { ba as DeviceKeyMissingError, bt as PasskeyCancelledError, bu as PasskeyUnsupportedError, bv as PasskeyUnsupportedReason } from '../passkey-errors-BcJWGxSV.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, GUARDIAN_WALLET_BUSY, 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';
|
package/dist/starknet/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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-CRQUM6bg.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-CRQUM6bg.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-
|
|
7
|
-
export {
|
|
6
|
+
import { I as ApiFundingInstructions, O as ApiIntentCreated } from '../passkey-errors-BXclgAtu.js';
|
|
7
|
+
export { ba as DeviceKeyMissingError, bt as PasskeyCancelledError, bu as PasskeyUnsupportedError, bv as PasskeyUnsupportedReason } from '../passkey-errors-BXclgAtu.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, GUARDIAN_WALLET_BUSY, 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';
|
package/dist/starknet/index.js
CHANGED
|
@@ -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-
|
|
3
|
-
import { ApiClient, UserFacingError, normalizeAddress, SUPPORTED_TOKENS, MedialaneError, MedialaneApiError } from '../chunk-
|
|
4
|
-
export { DeviceKeyMissingError, MedialaneError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError } from '../chunk-
|
|
2
|
+
export { GUARDIAN_WALLET_BUSY, 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-BFG3VTJQ.js';
|
|
3
|
+
import { ApiClient, UserFacingError, normalizeAddress, SUPPORTED_TOKENS, MedialaneError, MedialaneApiError } from '../chunk-3SIT2PCD.js';
|
|
4
|
+
export { DeviceKeyMissingError, MedialaneError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError } from '../chunk-3SIT2PCD.js';
|
|
5
5
|
import { getStarknetCoordinates } from '../chunk-5KY6P434.js';
|
|
6
6
|
import '../chunk-WRBXQPRL.js';
|
|
7
7
|
import '../chunk-PZ5AY32C.js';
|