@medialane/sdk 0.208.0 → 0.211.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-7QPV7UQU.js → chunk-3SIT2PCD.js} +2 -3
- package/dist/chunk-3SIT2PCD.js.map +1 -0
- package/dist/{chunk-4QPF6AZV.cjs → chunk-3V3L2R5O.cjs} +2 -3
- package/dist/chunk-3V3L2R5O.cjs.map +1 -0
- package/dist/{chunk-7KLSPB7T.cjs → chunk-IE2YYAF5.cjs} +69 -28
- package/dist/chunk-IE2YYAF5.cjs.map +1 -0
- package/dist/{chunk-MK7OLAZD.js → chunk-PVU5AYOO.js} +50 -12
- package/dist/chunk-PVU5AYOO.js.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-BIb35H7w.d.ts → passkey-errors-BXclgAtu.d.ts} +1 -17
- package/dist/{passkey-errors-BMpbMEGO.d.cts → passkey-errors-BcJWGxSV.d.cts} +1 -17
- package/dist/{services-DRi5P1K0.d.cts → services-BvLnPxis.d.cts} +1 -2
- package/dist/{services-DkoV6uJe.d.ts → services-CRQUM6bg.d.ts} +1 -2
- package/dist/starknet/index.cjs +100 -88
- 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 +74 -62
- package/dist/wallet/index.d.cts +19 -7
- package/dist/wallet/index.d.ts +19 -7
- package/dist/wallet/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-4QPF6AZV.cjs.map +0 -1
- package/dist/chunk-7KLSPB7T.cjs.map +0 -1
- package/dist/chunk-7QPV7UQU.js.map +0 -1
- package/dist/chunk-MK7OLAZD.js.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 chunkIE2YYAF5_cjs = require('../chunk-IE2YYAF5.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,269 +11727,281 @@ function encodeByteArray(str) {
|
|
|
11727
11727
|
];
|
|
11728
11728
|
}
|
|
11729
11729
|
|
|
11730
|
+
Object.defineProperty(exports, "GUARDIAN_WALLET_BUSY", {
|
|
11731
|
+
enumerable: true,
|
|
11732
|
+
get: function () { return chunkIE2YYAF5_cjs.GUARDIAN_WALLET_BUSY; }
|
|
11733
|
+
});
|
|
11730
11734
|
Object.defineProperty(exports, "InvalidPairingPayloadError", {
|
|
11731
11735
|
enumerable: true,
|
|
11732
|
-
get: function () { return
|
|
11736
|
+
get: function () { return chunkIE2YYAF5_cjs.InvalidPairingPayloadError; }
|
|
11733
11737
|
});
|
|
11734
11738
|
Object.defineProperty(exports, "InvalidRecoveryKeyError", {
|
|
11735
11739
|
enumerable: true,
|
|
11736
|
-
get: function () { return
|
|
11740
|
+
get: function () { return chunkIE2YYAF5_cjs.InvalidRecoveryKeyError; }
|
|
11737
11741
|
});
|
|
11738
11742
|
Object.defineProperty(exports, "InvalidStarkPrivateKeyError", {
|
|
11739
11743
|
enumerable: true,
|
|
11740
|
-
get: function () { return
|
|
11744
|
+
get: function () { return chunkIE2YYAF5_cjs.InvalidStarkPrivateKeyError; }
|
|
11741
11745
|
});
|
|
11742
11746
|
Object.defineProperty(exports, "SponsoredCallRejectedError", {
|
|
11743
11747
|
enumerable: true,
|
|
11744
|
-
get: function () { return
|
|
11748
|
+
get: function () { return chunkIE2YYAF5_cjs.SponsoredCallRejectedError; }
|
|
11749
|
+
});
|
|
11750
|
+
Object.defineProperty(exports, "SponsoredDeployError", {
|
|
11751
|
+
enumerable: true,
|
|
11752
|
+
get: function () { return chunkIE2YYAF5_cjs.SponsoredDeployError; }
|
|
11745
11753
|
});
|
|
11746
11754
|
Object.defineProperty(exports, "accountFor", {
|
|
11747
11755
|
enumerable: true,
|
|
11748
|
-
get: function () { return
|
|
11756
|
+
get: function () { return chunkIE2YYAF5_cjs.accountFor; }
|
|
11749
11757
|
});
|
|
11750
11758
|
Object.defineProperty(exports, "allowsFallbackFunding", {
|
|
11751
11759
|
enumerable: true,
|
|
11752
|
-
get: function () { return
|
|
11760
|
+
get: function () { return chunkIE2YYAF5_cjs.allowsFallbackFunding; }
|
|
11753
11761
|
});
|
|
11754
11762
|
Object.defineProperty(exports, "buildAddOwnerCall", {
|
|
11755
11763
|
enumerable: true,
|
|
11756
|
-
get: function () { return
|
|
11764
|
+
get: function () { return chunkIE2YYAF5_cjs.buildAddOwnerCall; }
|
|
11757
11765
|
});
|
|
11758
11766
|
Object.defineProperty(exports, "buildCancelEscapeCall", {
|
|
11759
11767
|
enumerable: true,
|
|
11760
|
-
get: function () { return
|
|
11768
|
+
get: function () { return chunkIE2YYAF5_cjs.buildCancelEscapeCall; }
|
|
11761
11769
|
});
|
|
11762
11770
|
Object.defineProperty(exports, "buildCompleteEscapeOwnerCall", {
|
|
11763
11771
|
enumerable: true,
|
|
11764
|
-
get: function () { return
|
|
11772
|
+
get: function () { return chunkIE2YYAF5_cjs.buildCompleteEscapeOwnerCall; }
|
|
11765
11773
|
});
|
|
11766
11774
|
Object.defineProperty(exports, "buildDeployAccountParams", {
|
|
11767
11775
|
enumerable: true,
|
|
11768
|
-
get: function () { return
|
|
11776
|
+
get: function () { return chunkIE2YYAF5_cjs.buildDeployAccountParams; }
|
|
11769
11777
|
});
|
|
11770
11778
|
Object.defineProperty(exports, "buildRemoveOwnerByGuidCall", {
|
|
11771
11779
|
enumerable: true,
|
|
11772
|
-
get: function () { return
|
|
11780
|
+
get: function () { return chunkIE2YYAF5_cjs.buildRemoveOwnerByGuidCall; }
|
|
11773
11781
|
});
|
|
11774
11782
|
Object.defineProperty(exports, "buildRemoveOwnerCall", {
|
|
11775
11783
|
enumerable: true,
|
|
11776
|
-
get: function () { return
|
|
11784
|
+
get: function () { return chunkIE2YYAF5_cjs.buildRemoveOwnerCall; }
|
|
11777
11785
|
});
|
|
11778
11786
|
Object.defineProperty(exports, "buildSetFirstGuardianCall", {
|
|
11779
11787
|
enumerable: true,
|
|
11780
|
-
get: function () { return
|
|
11788
|
+
get: function () { return chunkIE2YYAF5_cjs.buildSetFirstGuardianCall; }
|
|
11781
11789
|
});
|
|
11782
11790
|
Object.defineProperty(exports, "buildTriggerEscapeOwnerCall", {
|
|
11783
11791
|
enumerable: true,
|
|
11784
|
-
get: function () { return
|
|
11792
|
+
get: function () { return chunkIE2YYAF5_cjs.buildTriggerEscapeOwnerCall; }
|
|
11785
11793
|
});
|
|
11786
11794
|
Object.defineProperty(exports, "canRemoveDevice", {
|
|
11787
11795
|
enumerable: true,
|
|
11788
|
-
get: function () { return
|
|
11796
|
+
get: function () { return chunkIE2YYAF5_cjs.canRemoveDevice; }
|
|
11789
11797
|
});
|
|
11790
11798
|
Object.defineProperty(exports, "claimSessionWallet", {
|
|
11791
11799
|
enumerable: true,
|
|
11792
|
-
get: function () { return
|
|
11800
|
+
get: function () { return chunkIE2YYAF5_cjs.claimSessionWallet; }
|
|
11793
11801
|
});
|
|
11794
11802
|
Object.defineProperty(exports, "completeDeployment", {
|
|
11795
11803
|
enumerable: true,
|
|
11796
|
-
get: function () { return
|
|
11804
|
+
get: function () { return chunkIE2YYAF5_cjs.completeDeployment; }
|
|
11797
11805
|
});
|
|
11798
11806
|
Object.defineProperty(exports, "computeAccountAddress", {
|
|
11799
11807
|
enumerable: true,
|
|
11800
|
-
get: function () { return
|
|
11808
|
+
get: function () { return chunkIE2YYAF5_cjs.computeAccountAddress; }
|
|
11801
11809
|
});
|
|
11802
11810
|
Object.defineProperty(exports, "computeOwnerGuid", {
|
|
11803
11811
|
enumerable: true,
|
|
11804
|
-
get: function () { return
|
|
11812
|
+
get: function () { return chunkIE2YYAF5_cjs.computeOwnerGuid; }
|
|
11805
11813
|
});
|
|
11806
11814
|
Object.defineProperty(exports, "createDeploymentCoordinator", {
|
|
11807
11815
|
enumerable: true,
|
|
11808
|
-
get: function () { return
|
|
11816
|
+
get: function () { return chunkIE2YYAF5_cjs.createDeploymentCoordinator; }
|
|
11809
11817
|
});
|
|
11810
11818
|
Object.defineProperty(exports, "createMediaWallet", {
|
|
11811
11819
|
enumerable: true,
|
|
11812
|
-
get: function () { return
|
|
11820
|
+
get: function () { return chunkIE2YYAF5_cjs.createMediaWallet; }
|
|
11813
11821
|
});
|
|
11814
11822
|
Object.defineProperty(exports, "createOwnerStore", {
|
|
11815
11823
|
enumerable: true,
|
|
11816
|
-
get: function () { return
|
|
11824
|
+
get: function () { return chunkIE2YYAF5_cjs.createOwnerStore; }
|
|
11817
11825
|
});
|
|
11818
11826
|
Object.defineProperty(exports, "createPasskeyOwner", {
|
|
11819
11827
|
enumerable: true,
|
|
11820
|
-
get: function () { return
|
|
11828
|
+
get: function () { return chunkIE2YYAF5_cjs.createPasskeyOwner; }
|
|
11821
11829
|
});
|
|
11822
11830
|
Object.defineProperty(exports, "createSelfFundConsent", {
|
|
11823
11831
|
enumerable: true,
|
|
11824
|
-
get: function () { return
|
|
11832
|
+
get: function () { return chunkIE2YYAF5_cjs.createSelfFundConsent; }
|
|
11825
11833
|
});
|
|
11826
11834
|
Object.defineProperty(exports, "decodeEscapeAndStatus", {
|
|
11827
11835
|
enumerable: true,
|
|
11828
|
-
get: function () { return
|
|
11836
|
+
get: function () { return chunkIE2YYAF5_cjs.decodeEscapeAndStatus; }
|
|
11829
11837
|
});
|
|
11830
11838
|
Object.defineProperty(exports, "decodeGuardiansInfo", {
|
|
11831
11839
|
enumerable: true,
|
|
11832
|
-
get: function () { return
|
|
11840
|
+
get: function () { return chunkIE2YYAF5_cjs.decodeGuardiansInfo; }
|
|
11833
11841
|
});
|
|
11834
11842
|
Object.defineProperty(exports, "deploySelfFunded", {
|
|
11835
11843
|
enumerable: true,
|
|
11836
|
-
get: function () { return
|
|
11844
|
+
get: function () { return chunkIE2YYAF5_cjs.deploySelfFunded; }
|
|
11837
11845
|
});
|
|
11838
11846
|
Object.defineProperty(exports, "deploySponsored", {
|
|
11839
11847
|
enumerable: true,
|
|
11840
|
-
get: function () { return
|
|
11848
|
+
get: function () { return chunkIE2YYAF5_cjs.deploySponsored; }
|
|
11841
11849
|
});
|
|
11842
11850
|
Object.defineProperty(exports, "deriveAesKey", {
|
|
11843
11851
|
enumerable: true,
|
|
11844
|
-
get: function () { return
|
|
11852
|
+
get: function () { return chunkIE2YYAF5_cjs.deriveAesKey; }
|
|
11845
11853
|
});
|
|
11846
11854
|
Object.defineProperty(exports, "deriveOwnerKeyPair", {
|
|
11847
11855
|
enumerable: true,
|
|
11848
|
-
get: function () { return
|
|
11856
|
+
get: function () { return chunkIE2YYAF5_cjs.deriveOwnerKeyPair; }
|
|
11849
11857
|
});
|
|
11850
11858
|
Object.defineProperty(exports, "describeDevices", {
|
|
11851
11859
|
enumerable: true,
|
|
11852
|
-
get: function () { return
|
|
11860
|
+
get: function () { return chunkIE2YYAF5_cjs.describeDevices; }
|
|
11853
11861
|
});
|
|
11854
11862
|
Object.defineProperty(exports, "describeGuardianStatus", {
|
|
11855
11863
|
enumerable: true,
|
|
11856
|
-
get: function () { return
|
|
11864
|
+
get: function () { return chunkIE2YYAF5_cjs.describeGuardianStatus; }
|
|
11857
11865
|
});
|
|
11858
11866
|
Object.defineProperty(exports, "describeRecoveryAction", {
|
|
11859
11867
|
enumerable: true,
|
|
11860
|
-
get: function () { return
|
|
11868
|
+
get: function () { return chunkIE2YYAF5_cjs.describeRecoveryAction; }
|
|
11861
11869
|
});
|
|
11862
11870
|
Object.defineProperty(exports, "encodePairingPayload", {
|
|
11863
11871
|
enumerable: true,
|
|
11864
|
-
get: function () { return
|
|
11872
|
+
get: function () { return chunkIE2YYAF5_cjs.encodePairingPayload; }
|
|
11865
11873
|
});
|
|
11866
11874
|
Object.defineProperty(exports, "encodeRecoveryKey", {
|
|
11867
11875
|
enumerable: true,
|
|
11868
|
-
get: function () { return
|
|
11876
|
+
get: function () { return chunkIE2YYAF5_cjs.encodeRecoveryKey; }
|
|
11869
11877
|
});
|
|
11870
11878
|
Object.defineProperty(exports, "erc20Balance", {
|
|
11871
11879
|
enumerable: true,
|
|
11872
|
-
get: function () { return
|
|
11880
|
+
get: function () { return chunkIE2YYAF5_cjs.erc20Balance; }
|
|
11873
11881
|
});
|
|
11874
11882
|
Object.defineProperty(exports, "estimateSelfFundedFee", {
|
|
11875
11883
|
enumerable: true,
|
|
11876
|
-
get: function () { return
|
|
11884
|
+
get: function () { return chunkIE2YYAF5_cjs.estimateSelfFundedFee; }
|
|
11877
11885
|
});
|
|
11878
11886
|
Object.defineProperty(exports, "executeSponsored", {
|
|
11879
11887
|
enumerable: true,
|
|
11880
|
-
get: function () { return
|
|
11888
|
+
get: function () { return chunkIE2YYAF5_cjs.executeSponsored; }
|
|
11881
11889
|
});
|
|
11882
11890
|
Object.defineProperty(exports, "finishSessionRecovery", {
|
|
11883
11891
|
enumerable: true,
|
|
11884
|
-
get: function () { return
|
|
11892
|
+
get: function () { return chunkIE2YYAF5_cjs.finishSessionRecovery; }
|
|
11885
11893
|
});
|
|
11886
11894
|
Object.defineProperty(exports, "generateStarkKeyPair", {
|
|
11887
11895
|
enumerable: true,
|
|
11888
|
-
get: function () { return
|
|
11896
|
+
get: function () { return chunkIE2YYAF5_cjs.generateStarkKeyPair; }
|
|
11889
11897
|
});
|
|
11890
11898
|
Object.defineProperty(exports, "getEscape", {
|
|
11891
11899
|
enumerable: true,
|
|
11892
|
-
get: function () { return
|
|
11900
|
+
get: function () { return chunkIE2YYAF5_cjs.getEscape; }
|
|
11893
11901
|
});
|
|
11894
11902
|
Object.defineProperty(exports, "getEscapeSecurityPeriod", {
|
|
11895
11903
|
enumerable: true,
|
|
11896
|
-
get: function () { return
|
|
11904
|
+
get: function () { return chunkIE2YYAF5_cjs.getEscapeSecurityPeriod; }
|
|
11897
11905
|
});
|
|
11898
11906
|
Object.defineProperty(exports, "getGuardians", {
|
|
11899
11907
|
enumerable: true,
|
|
11900
|
-
get: function () { return
|
|
11908
|
+
get: function () { return chunkIE2YYAF5_cjs.getGuardians; }
|
|
11901
11909
|
});
|
|
11902
11910
|
Object.defineProperty(exports, "getOwners", {
|
|
11903
11911
|
enumerable: true,
|
|
11904
|
-
get: function () { return
|
|
11912
|
+
get: function () { return chunkIE2YYAF5_cjs.getOwners; }
|
|
11905
11913
|
});
|
|
11906
11914
|
Object.defineProperty(exports, "indexedDbDeviceKeys", {
|
|
11907
11915
|
enumerable: true,
|
|
11908
|
-
get: function () { return
|
|
11916
|
+
get: function () { return chunkIE2YYAF5_cjs.indexedDbDeviceKeys; }
|
|
11917
|
+
});
|
|
11918
|
+
Object.defineProperty(exports, "isAccountRefusal", {
|
|
11919
|
+
enumerable: true,
|
|
11920
|
+
get: function () { return chunkIE2YYAF5_cjs.isAccountRefusal; }
|
|
11909
11921
|
});
|
|
11910
11922
|
Object.defineProperty(exports, "isDeployed", {
|
|
11911
11923
|
enumerable: true,
|
|
11912
|
-
get: function () { return
|
|
11924
|
+
get: function () { return chunkIE2YYAF5_cjs.isDeployed; }
|
|
11913
11925
|
});
|
|
11914
11926
|
Object.defineProperty(exports, "isValidStarknetAddress", {
|
|
11915
11927
|
enumerable: true,
|
|
11916
|
-
get: function () { return
|
|
11928
|
+
get: function () { return chunkIE2YYAF5_cjs.isValidStarknetAddress; }
|
|
11917
11929
|
});
|
|
11918
11930
|
Object.defineProperty(exports, "normalizeWalletAddress", {
|
|
11919
11931
|
enumerable: true,
|
|
11920
|
-
get: function () { return
|
|
11932
|
+
get: function () { return chunkIE2YYAF5_cjs.normalizeWalletAddress; }
|
|
11921
11933
|
});
|
|
11922
11934
|
Object.defineProperty(exports, "ownerConstructorCalldata", {
|
|
11923
11935
|
enumerable: true,
|
|
11924
|
-
get: function () { return
|
|
11936
|
+
get: function () { return chunkIE2YYAF5_cjs.ownerConstructorCalldata; }
|
|
11925
11937
|
});
|
|
11926
11938
|
Object.defineProperty(exports, "parseAccountAddress", {
|
|
11927
11939
|
enumerable: true,
|
|
11928
|
-
get: function () { return
|
|
11940
|
+
get: function () { return chunkIE2YYAF5_cjs.parseAccountAddress; }
|
|
11929
11941
|
});
|
|
11930
11942
|
Object.defineProperty(exports, "parsePairingPayload", {
|
|
11931
11943
|
enumerable: true,
|
|
11932
|
-
get: function () { return
|
|
11944
|
+
get: function () { return chunkIE2YYAF5_cjs.parsePairingPayload; }
|
|
11933
11945
|
});
|
|
11934
11946
|
Object.defineProperty(exports, "parseRecoveryKey", {
|
|
11935
11947
|
enumerable: true,
|
|
11936
|
-
get: function () { return
|
|
11948
|
+
get: function () { return chunkIE2YYAF5_cjs.parseRecoveryKey; }
|
|
11937
11949
|
});
|
|
11938
11950
|
Object.defineProperty(exports, "sealPrivateKey", {
|
|
11939
11951
|
enumerable: true,
|
|
11940
|
-
get: function () { return
|
|
11952
|
+
get: function () { return chunkIE2YYAF5_cjs.sealPrivateKey; }
|
|
11941
11953
|
});
|
|
11942
11954
|
Object.defineProperty(exports, "selfFundedExecutor", {
|
|
11943
11955
|
enumerable: true,
|
|
11944
|
-
get: function () { return
|
|
11956
|
+
get: function () { return chunkIE2YYAF5_cjs.selfFundedExecutor; }
|
|
11945
11957
|
});
|
|
11946
11958
|
Object.defineProperty(exports, "signWithPrivateKey", {
|
|
11947
11959
|
enumerable: true,
|
|
11948
|
-
get: function () { return
|
|
11960
|
+
get: function () { return chunkIE2YYAF5_cjs.signWithPrivateKey; }
|
|
11949
11961
|
});
|
|
11950
11962
|
Object.defineProperty(exports, "sponsoredExecutor", {
|
|
11951
11963
|
enumerable: true,
|
|
11952
|
-
get: function () { return
|
|
11964
|
+
get: function () { return chunkIE2YYAF5_cjs.sponsoredExecutor; }
|
|
11953
11965
|
});
|
|
11954
11966
|
Object.defineProperty(exports, "starkKeyPairFromPrivateKey", {
|
|
11955
11967
|
enumerable: true,
|
|
11956
|
-
get: function () { return
|
|
11968
|
+
get: function () { return chunkIE2YYAF5_cjs.starkKeyPairFromPrivateKey; }
|
|
11957
11969
|
});
|
|
11958
11970
|
Object.defineProperty(exports, "startSessionRecovery", {
|
|
11959
11971
|
enumerable: true,
|
|
11960
|
-
get: function () { return
|
|
11972
|
+
get: function () { return chunkIE2YYAF5_cjs.startSessionRecovery; }
|
|
11961
11973
|
});
|
|
11962
11974
|
Object.defineProperty(exports, "turnOnRecovery", {
|
|
11963
11975
|
enumerable: true,
|
|
11964
|
-
get: function () { return
|
|
11976
|
+
get: function () { return chunkIE2YYAF5_cjs.turnOnRecovery; }
|
|
11965
11977
|
});
|
|
11966
11978
|
Object.defineProperty(exports, "unsealPrivateKey", {
|
|
11967
11979
|
enumerable: true,
|
|
11968
|
-
get: function () { return
|
|
11980
|
+
get: function () { return chunkIE2YYAF5_cjs.unsealPrivateKey; }
|
|
11969
11981
|
});
|
|
11970
11982
|
Object.defineProperty(exports, "waitUntilDeployed", {
|
|
11971
11983
|
enumerable: true,
|
|
11972
|
-
get: function () { return
|
|
11984
|
+
get: function () { return chunkIE2YYAF5_cjs.waitUntilDeployed; }
|
|
11973
11985
|
});
|
|
11974
11986
|
Object.defineProperty(exports, "DeviceKeyMissingError", {
|
|
11975
11987
|
enumerable: true,
|
|
11976
|
-
get: function () { return
|
|
11988
|
+
get: function () { return chunk3V3L2R5O_cjs.DeviceKeyMissingError; }
|
|
11977
11989
|
});
|
|
11978
11990
|
Object.defineProperty(exports, "MedialaneError", {
|
|
11979
11991
|
enumerable: true,
|
|
11980
|
-
get: function () { return
|
|
11992
|
+
get: function () { return chunk3V3L2R5O_cjs.MedialaneError; }
|
|
11981
11993
|
});
|
|
11982
11994
|
Object.defineProperty(exports, "PasskeyCancelledError", {
|
|
11983
11995
|
enumerable: true,
|
|
11984
|
-
get: function () { return
|
|
11996
|
+
get: function () { return chunk3V3L2R5O_cjs.PasskeyCancelledError; }
|
|
11985
11997
|
});
|
|
11986
11998
|
Object.defineProperty(exports, "PasskeyUnsupportedError", {
|
|
11987
11999
|
enumerable: true,
|
|
11988
|
-
get: function () { return
|
|
12000
|
+
get: function () { return chunk3V3L2R5O_cjs.PasskeyUnsupportedError; }
|
|
11989
12001
|
});
|
|
11990
12002
|
Object.defineProperty(exports, "UserFacingError", {
|
|
11991
12003
|
enumerable: true,
|
|
11992
|
-
get: function () { return
|
|
12004
|
+
get: function () { return chunk3V3L2R5O_cjs.UserFacingError; }
|
|
11993
12005
|
});
|
|
11994
12006
|
exports.COIN_MAX_SUPPLY = MAX_SUPPLY;
|
|
11995
12007
|
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, 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';
|
|
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, SponsoredDeployError, 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, isAccountRefusal, 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, 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';
|
|
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, SponsoredDeployError, 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, isAccountRefusal, 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, 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-
|
|
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, SponsoredDeployError, 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, isAccountRefusal, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, startSessionRecovery, turnOnRecovery, unsealPrivateKey, waitUntilDeployed } from '../chunk-PVU5AYOO.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';
|