diff --git a/index.js b/index.js deleted file mode 100644 index f0751cada..000000000 --- a/index.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Account, AleoNetworkClient, NetworkRecordProvider, ProgramManager, AleoKeyProvider} from '@provablehq/sdk'; - -// Create a key provider that will be used to find public proving & verifying keys for Aleo programs -const keyProvider = new AleoKeyProvider(); -keyProvider.useCache(true); - -// Create a record provider that will be used to find records and transaction data for Aleo programs -const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1"); - -// Use existing account with funds -const account = new Account({ - privateKey: "user1PrivateKey", -}); - -const recordProvider = new NetworkRecordProvider(account, networkClient); - -// Initialize a program manager to talk to the Aleo network with the configured key and record providers -const programManager = new ProgramManager("https://api.explorer.aleo.org/v1", keyProvider, recordProvider); -programManager.setAccount(account) - -// Define an Aleo program to deploy -const program = "program hello_hello.aleo;\n\nfunction hello:\n input r0 as u32.public;\n input r1 as u32.private;\n add r0 r1 into r2;\n output r2 as u32.private;\n"; - -// Define a fee to pay to deploy the program -const fee = 3.0; // 3.0 Aleo credits - -// Deploy the program to the Aleo network -const tx_id = await programManager.deploy(program, fee); - -// Verify the transaction was successful -const transaction = await programManager.networkClient.getTransaction(tx_id); \ No newline at end of file diff --git a/sdk/src/function-key-provider.ts b/sdk/src/function-key-provider.ts index 9a13d44a9..d901c4481 100644 --- a/sdk/src/function-key-provider.ts +++ b/sdk/src/function-key-provider.ts @@ -3,6 +3,7 @@ import { VerifyingKey, CREDITS_PROGRAM_KEYS, KEY_STORE, + Key, PRIVATE_TRANSFER, PRIVATE_TO_PUBLIC_TRANSFER, PUBLIC_TRANSFER, @@ -32,6 +33,7 @@ interface KeySearchParams { * verifierUri to fetch keys via HTTP from a remote resource as well as a unique cacheKey to store the keys in memory. */ class AleoKeyProviderParams implements KeySearchParams { + name: string | undefined; proverUri: string | undefined; verifierUri: string | undefined; cacheKey: string | undefined; @@ -44,10 +46,11 @@ class AleoKeyProviderParams implements KeySearchParams { * * @param { AleoKeyProviderInitParams } params - Optional search parameters */ - constructor(params: {proverUri?: string, verifierUri?: string, cacheKey?: string}) { + constructor(params: {proverUri?: string, verifierUri?: string, cacheKey?: string, name?: string}) { this.proverUri = params.proverUri; this.verifierUri = params.verifierUri; this.cacheKey = params.cacheKey; + this.name = params.name; } } @@ -328,6 +331,13 @@ class AleoKeyProvider implements FunctionKeyProvider { let proverUrl; let verifierUrl; let cacheKey; + if ("name" in params && typeof params["name"] == "string") { + let key = CREDITS_PROGRAM_KEYS.getKey(params["name"]); + if (!(key instanceof Error)) { + return this.fetchCreditsKeys(key); + } + } + if ("proverUri" in params && typeof params["proverUri"] == "string") { proverUrl = params["proverUri"]; } @@ -341,7 +351,7 @@ class AleoKeyProvider implements FunctionKeyProvider { } if (proverUrl && verifierUrl) { - return await this.fetchKeys(proverUrl, verifierUrl, cacheKey); + return await this.fetchRemoteKeys(proverUrl, verifierUrl, cacheKey); } if (cacheKey) { @@ -376,7 +386,7 @@ class AleoKeyProvider implements FunctionKeyProvider { * CREDITS_PROGRAM_KEYS.transfer_private.verifier, * ); */ - async fetchKeys(proverUrl: string, verifierUrl: string, cacheKey?: string): Promise { + async fetchRemoteKeys(proverUrl: string, verifierUrl: string, cacheKey?: string): Promise { try { // If cache is enabled, check if the keys have already been fetched and return them if they have if (this.cacheOption) { @@ -406,16 +416,67 @@ class AleoKeyProvider implements FunctionKeyProvider { } } - bondPublicKeys(): Promise { - return this.fetchKeys(CREDITS_PROGRAM_KEYS.bond_public.prover, CREDITS_PROGRAM_KEYS.bond_public.verifier, CREDITS_PROGRAM_KEYS.bond_public.locator) + /*** + * Fetches the proving key from a remote source. + * + * @param proverUrl + * @param cacheKey + * + * @returns {Promise} Proving key for the specified program + */ + async fetchProvingKey(proverUrl: string, cacheKey?: string): Promise { + try { + // If cache is enabled, check if the keys have already been fetched and return them if they have + if (this.cacheOption) { + if (!cacheKey) { + cacheKey = proverUrl; + } + const value = this.cache.get(cacheKey); + if (typeof value !== "undefined") { + return ProvingKey.fromBytes(value[0]); + } else { + console.debug("Fetching proving keys from url " + proverUrl); + const provingKey = ProvingKey.fromBytes(await this.fetchBytes(proverUrl)); + return provingKey; + } + } + else { + const provingKey = ProvingKey.fromBytes(await this.fetchBytes(proverUrl)); + return provingKey; + } + } catch (error) { + throw new Error(`Error: ${error} fetching fee proving keys from ${proverUrl}`); + } + } + + async fetchCreditsKeys(key: Key): Promise { + try { + if (!this.cache.has(key.locator) || !this.cacheOption) { + const verifying_key = key.verifyingKey() + const proving_key = await this.fetchProvingKey(key.prover, key.locator); + if (this.cacheOption) { + this.cache.set(CREDITS_PROGRAM_KEYS.bond_public.locator, [proving_key.toBytes(), verifying_key.toBytes()]); + } + return [proving_key, verifying_key]; + } else { + const keyPair = this.cache.get(key.locator); + return [ProvingKey.fromBytes(keyPair[0]), VerifyingKey.fromBytes(keyPair[1])]; + } + } catch (error) { + throw new Error(`Error: fetching credits.aleo keys: ${error}`); + } + } + + async bondPublicKeys(): Promise { + return this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.bond_public); } bondValidatorKeys(): Promise { - return this.fetchKeys(CREDITS_PROGRAM_KEYS.bond_validator.prover, CREDITS_PROGRAM_KEYS.bond_validator.verifier, CREDITS_PROGRAM_KEYS.bond_validator.locator) + return this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.bond_validator); } claimUnbondPublicKeys(): Promise { - return this.fetchKeys(CREDITS_PROGRAM_KEYS.claim_unbond_public.prover, CREDITS_PROGRAM_KEYS.claim_unbond_public.verifier, CREDITS_PROGRAM_KEYS.claim_unbond_public.locator) + return this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.claim_unbond_public) } /** @@ -438,15 +499,15 @@ class AleoKeyProvider implements FunctionKeyProvider { */ async transferKeys(visibility: string): Promise { if (PRIVATE_TRANSFER.has(visibility)) { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_private.prover, CREDITS_PROGRAM_KEYS.transfer_private.verifier, CREDITS_PROGRAM_KEYS.transfer_private.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_private); } else if (PRIVATE_TO_PUBLIC_TRANSFER.has(visibility)) { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_private_to_public.prover, CREDITS_PROGRAM_KEYS.transfer_private_to_public.verifier, CREDITS_PROGRAM_KEYS.transfer_private_to_public.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_private_to_public); } else if (PUBLIC_TRANSFER.has(visibility)) { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_public.prover, CREDITS_PROGRAM_KEYS.transfer_public.verifier, CREDITS_PROGRAM_KEYS.transfer_public.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_public); } else if (PUBLIC_TRANSFER_AS_SIGNER.has(visibility)) { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_public_as_signer.prover, CREDITS_PROGRAM_KEYS.transfer_public_as_signer.verifier, CREDITS_PROGRAM_KEYS.transfer_public_as_signer.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_public_as_signer); } else if (PUBLIC_TO_PRIVATE_TRANSFER.has(visibility)) { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_public_to_private.prover, CREDITS_PROGRAM_KEYS.transfer_public_to_private.verifier, CREDITS_PROGRAM_KEYS.transfer_public_to_private.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_public_to_private); } else { throw new Error("Invalid visibility type"); } @@ -458,7 +519,7 @@ class AleoKeyProvider implements FunctionKeyProvider { * @returns {Promise} Proving and verifying keys for the join function */ async joinKeys(): Promise { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.join.prover, CREDITS_PROGRAM_KEYS.join.verifier, CREDITS_PROGRAM_KEYS.join.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.join); } /** @@ -467,7 +528,7 @@ class AleoKeyProvider implements FunctionKeyProvider { * @returns {Promise} Proving and verifying keys for the split function * */ async splitKeys(): Promise { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.split.prover, CREDITS_PROGRAM_KEYS.split.verifier, CREDITS_PROGRAM_KEYS.split.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.split); } /** @@ -476,7 +537,7 @@ class AleoKeyProvider implements FunctionKeyProvider { * @returns {Promise} Proving and verifying keys for the fee function */ async feePrivateKeys(): Promise { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.fee_private.prover, CREDITS_PROGRAM_KEYS.fee_private.verifier, CREDITS_PROGRAM_KEYS.fee_private.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.fee_private); } /** @@ -485,7 +546,7 @@ class AleoKeyProvider implements FunctionKeyProvider { * @returns {Promise} Proving and verifying keys for the fee function */ async feePublicKeys(): Promise { - return await this.fetchKeys(CREDITS_PROGRAM_KEYS.fee_public.prover, CREDITS_PROGRAM_KEYS.fee_public.verifier, CREDITS_PROGRAM_KEYS.fee_public.locator); + return await this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.fee_public); } /** @@ -544,7 +605,7 @@ class AleoKeyProvider implements FunctionKeyProvider { } unBondPublicKeys(): Promise { - return this.fetchKeys(CREDITS_PROGRAM_KEYS.unbond_public.prover, CREDITS_PROGRAM_KEYS.unbond_public.verifier, CREDITS_PROGRAM_KEYS.unbond_public.locator); + return this.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.unbond_public); } } diff --git a/sdk/src/index.ts b/sdk/src/index.ts index a7c6e6cb1..46f9a96fb 100644 --- a/sdk/src/index.ts +++ b/sdk/src/index.ts @@ -3,6 +3,7 @@ import {VerifyingKey, Metadata} from "@provablehq/wasm"; const KEY_STORE = Metadata.baseUrl(); interface Key { + name: string, locator: string, prover: string, verifier: string, @@ -18,6 +19,7 @@ function convert(metadata: Metadata): Key { } return { + name: metadata.name, locator: metadata.locator, prover: metadata.prover, verifier: metadata.verifier, @@ -41,6 +43,13 @@ const CREDITS_PROGRAM_KEYS = { transfer_public_as_signer: convert(Metadata.transfer_public_as_signer()), transfer_public_to_private: convert(Metadata.transfer_public_to_private()), unbond_public: convert(Metadata.unbond_public()), + getKey: function(key: string): Key | Error { + if (this.hasOwnProperty(key)) { + return (this as any)[key] as Key; + } else { + return new Error(`Key "${key}" not found.`); + } + } }; const PRIVATE_TRANSFER_TYPES = new Set([ @@ -175,6 +184,7 @@ export { FunctionKeyPair, FunctionKeyProvider, Input, + Key, KeySearchParams, NetworkRecordProvider, ProgramImports, diff --git a/sdk/src/program-manager.ts b/sdk/src/program-manager.ts index fc4a40d6a..539d85cac 100644 --- a/sdk/src/program-manager.ts +++ b/sdk/src/program-manager.ts @@ -597,7 +597,6 @@ class ProgramManager { * @param {string} transferType The type of transfer to perform - options: 'private', 'privateToPublic', 'public', 'publicToPrivate' * @param {number} fee The fee to pay for the transfer * @param {boolean} privateFee Use a private record to pay the fee. If false this will use the account's public credit balance - * @param {string | undefined} caller The caller of the function (if calling transfer_public) * @param {RecordSearchParams | undefined} recordSearchParams Optional parameters for finding the amount and fee * records for the transfer transaction * @param {RecordPlaintext | string} amountRecord Optional amount record to use for the transfer @@ -625,7 +624,6 @@ class ProgramManager { transferType: string, fee: number, privateFee: boolean, - caller?: string, recordSearchParams?: RecordSearchParams, amountRecord?: RecordPlaintext | string, feeRecord?: RecordPlaintext | string, @@ -674,14 +672,13 @@ class ProgramManager { } // Build an execution transaction and submit it to the network - return await WasmProgramManager.buildTransferTransaction(executionPrivateKey, amount, recipient, transferType, caller, amountRecord, fee, feeRecord, this.host, transferProvingKey, transferVerifyingKey, feeProvingKey, feeVerifyingKey, offlineQuery); + return await WasmProgramManager.buildTransferTransaction(executionPrivateKey, amount, recipient, transferType, amountRecord, fee, feeRecord, this.host, transferProvingKey, transferVerifyingKey, feeProvingKey, feeVerifyingKey, offlineQuery); } /** * Build a transfer_public transaction to transfer credits to another account for later submission to the Aleo network * * @param {number} amount The amount of credits to transfer - * @param {string} caller The caller of the transfer (may be different from the signer) * @param {string} recipient The recipient of the transfer * @param {string} transferType The type of transfer to perform - options: 'private', 'privateToPublic', 'public', 'publicToPrivate' * @param {number} fee The fee to pay for the transfer @@ -696,13 +693,12 @@ class ProgramManager { */ async buildTransferPublicTransaction( amount: number, - caller: string, recipient: string, fee: number, privateKey?: PrivateKey, offlineQuery?: OfflineQuery ): Promise { - return this.buildTransferTransaction(amount, recipient, "public", fee, false, caller, undefined, undefined, undefined, privateKey, offlineQuery); + return this.buildTransferTransaction(amount, recipient, "public", fee, false, undefined, undefined, undefined, privateKey, offlineQuery); } /** @@ -728,7 +724,7 @@ class ProgramManager { privateKey?: PrivateKey, offlineQuery?: OfflineQuery ): Promise { - return this.buildTransferTransaction(amount, recipient, "public", fee, false, undefined, undefined, undefined, undefined, privateKey, offlineQuery); + return this.buildTransferTransaction(amount, recipient, "public", fee, false, undefined, undefined, undefined, privateKey, offlineQuery); } /** @@ -739,7 +735,6 @@ class ProgramManager { * @param {string} transferType The type of transfer to perform - options: 'private', 'privateToPublic', 'public', 'publicToPrivate' * @param {number} fee The fee to pay for the transfer * @param {boolean} privateFee Use a private record to pay the fee. If false this will use the account's public credit balance - * @param {string | undefined} caller The caller of the function (if calling transfer_public) * @param {RecordSearchParams | undefined} recordSearchParams Optional parameters for finding the amount and fee * records for the transfer transaction * @param {RecordPlaintext | string} amountRecord Optional amount record to use for the transfer @@ -766,14 +761,13 @@ class ProgramManager { transferType: string, fee: number, privateFee: boolean, - caller?: string, recordSearchParams?: RecordSearchParams, amountRecord?: RecordPlaintext | string, feeRecord?: RecordPlaintext | string, privateKey?: PrivateKey, offlineQuery?: OfflineQuery ): Promise { - const tx = await this.buildTransferTransaction(amount, recipient, transferType, fee, privateFee, caller, recordSearchParams, amountRecord, feeRecord, privateKey, offlineQuery); + const tx = await this.buildTransferTransaction(amount, recipient, transferType, fee, privateFee, recordSearchParams, amountRecord, feeRecord, privateKey, offlineQuery); return await this.networkClient.submitTransaction(tx); } diff --git a/sdk/tests/key-provider.test.ts b/sdk/tests/key-provider.test.ts index 30acb20d8..3d50f7e8b 100644 --- a/sdk/tests/key-provider.test.ts +++ b/sdk/tests/key-provider.test.ts @@ -25,7 +25,7 @@ describe('KeyProvider', () => { it('Should use cache when set and not use it when not', async () => { // Ensure the cache properly downloads and stores keys keyProvider.useCache(true); - const [provingKey, verifyingKey] = await keyProvider.transferKeys("private"); + const [provingKey, verifyingKey] = await keyProvider.feePublicKeys(); expect(keyProvider.cache.size).toBe(1); expect(provingKey).toBeInstanceOf(ProvingKey); expect(verifyingKey).toBeInstanceOf(VerifyingKey); @@ -35,15 +35,15 @@ describe('KeyProvider', () => { expect(cachedVerifyingKey).toBeInstanceOf(Uint8Array); // Ensure the functionKeys method to get the keys and that the cache is used to do so - const [fetchedProvingKey, fetchedVerifyingKey] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_private.prover, CREDITS_PROGRAM_KEYS.transfer_private.verifier) - expect(keyProvider.cache.size).toBe(2); + const [fetchedProvingKey, fetchedVerifyingKey] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.fee_public) + expect(keyProvider.cache.size).toBe(1); expect(fetchedProvingKey).toBeInstanceOf(ProvingKey); expect(fetchedVerifyingKey).toBeInstanceOf(VerifyingKey); // Clear the cache and turn it off to ensure the keys are re-downloaded and the cache is not used keyProvider.clearCache(); keyProvider.useCache(false); - const [redownloadedProvingKey, redownloadedVerifyingKey] = await keyProvider.transferKeys("private"); + const [redownloadedProvingKey, redownloadedVerifyingKey] = await keyProvider.feePublicKeys(); expect(keyProvider.cache.size).toBe(0); expect(redownloadedProvingKey).toBeInstanceOf(ProvingKey); expect(redownloadedVerifyingKey).toBeInstanceOf(VerifyingKey); @@ -51,18 +51,18 @@ describe('KeyProvider', () => { it.skip("Should not fetch offline keys that haven't already been stored", async () => { // Download the credits.aleo function keys - const [bondPublicProver, bondPublicVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.bond_public.prover, CREDITS_PROGRAM_KEYS.bond_public.verifier, CREDITS_PROGRAM_KEYS.bond_public.locator); - const [claimUnbondPublicProver, claimUnbondVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.claim_unbond_public.prover, CREDITS_PROGRAM_KEYS.claim_unbond_public.verifier, CREDITS_PROGRAM_KEYS.claim_unbond_public.locator); - const [feePrivateProver, feePrivateVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.fee_private.prover, CREDITS_PROGRAM_KEYS.fee_private.verifier, CREDITS_PROGRAM_KEYS.fee_private.locator); - const [feePublicProver, feePublicVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.fee_public.prover, CREDITS_PROGRAM_KEYS.fee_public.verifier, CREDITS_PROGRAM_KEYS.fee_public.locator); - const [joinProver, joinVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.join.prover, CREDITS_PROGRAM_KEYS.join.verifier, CREDITS_PROGRAM_KEYS.join.locator); - const [setValidatorStateProver, setValidatorStateVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.set_validator_state.prover, CREDITS_PROGRAM_KEYS.set_validator_state.verifier, CREDITS_PROGRAM_KEYS.set_validator_state.locator); - const [splitProver, splitVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.split.prover, CREDITS_PROGRAM_KEYS.split.verifier, CREDITS_PROGRAM_KEYS.split.locator); - const [transferPrivateProver, transferPrivateVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_private.prover, CREDITS_PROGRAM_KEYS.transfer_private.verifier, CREDITS_PROGRAM_KEYS.transfer_private.locator); - const [transferPrivateToPublicProver, transferPrivateToPublicVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_private_to_public.prover, CREDITS_PROGRAM_KEYS.transfer_private_to_public.verifier, CREDITS_PROGRAM_KEYS.transfer_private_to_public.locator); - const [transferPublicProver, transferPublicVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_public.prover, CREDITS_PROGRAM_KEYS.transfer_public.verifier, CREDITS_PROGRAM_KEYS.transfer_public.locator); - const [transferPublicToPrivateProver, transferPublicToPrivateVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.transfer_public_to_private.prover, CREDITS_PROGRAM_KEYS.transfer_public_to_private.verifier, CREDITS_PROGRAM_KEYS.transfer_public_to_private.locator); - const [unbondPublicProver, unbondPublicVerifier] = await keyProvider.fetchKeys(CREDITS_PROGRAM_KEYS.unbond_public.prover, CREDITS_PROGRAM_KEYS.unbond_public.verifier, CREDITS_PROGRAM_KEYS.unbond_public.locator); + const [bondPublicProver, bondPublicVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.bond_public); + const [claimUnbondPublicProver, claimUnbondVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.claim_unbond_public); + const [feePrivateProver, feePrivateVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.fee_private); + const [feePublicProver, feePublicVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.fee_public); + const [joinProver, joinVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.join); + const [setValidatorStateProver, setValidatorStateVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.set_validator_state); + const [splitProver, splitVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.split); + const [transferPrivateProver, transferPrivateVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_private); + const [transferPrivateToPublicProver, transferPrivateToPublicVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_private_to_public); + const [transferPublicProver, transferPublicVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_public); + const [transferPublicToPrivateProver, transferPublicToPrivateVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.transfer_public_to_private); + const [unbondPublicProver, unbondPublicVerifier] = await keyProvider.fetchCreditsKeys(CREDITS_PROGRAM_KEYS.unbond_public); // Ensure the insertion methods work as expected without throwing an exception offlineKeyProvider.insertBondPublicKeys(bondPublicProver); diff --git a/sdk/tests/network-client.test.ts b/sdk/tests/network-client.test.ts index 2c442f317..898094efa 100644 --- a/sdk/tests/network-client.test.ts +++ b/sdk/tests/network-client.test.ts @@ -41,14 +41,14 @@ describe('NodeConnection', () => { it('should return an array of Block objects', async () => { const blockRange = await connection.getBlockRange(1, 3); expect(Array.isArray(blockRange)).toBe(true); - expect((blockRange as Block[]).length).toBe(2); + expect((blockRange as Block[]).length).toBe(3); expect(((blockRange as Block[])[0] as Block).block_hash).toBe("ab17jdwevmgu20kcqazp2wjyy2u2k75rac2mtvuf6w6kjn8egv0uvrqe7mra6"); expect(((blockRange as Block[])[1] as Block).block_hash).toBe("ab1q60nvh5ha8ld43x0jph9futqwkdm4j3cvw5a2unj5d23ml090c9qkcvr3g"); }, 60000); it('should throw an error if the request fails', async () => { - await expect(connection.getBlockRange(999999999, 1000000000)).rejects.toThrow('Error fetching blocks between 999999999 and 1000000000.'); + expect(await connection.getBlockRange(999999999, 1000000000)).toEqual([]); }, 60000); }); diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 53765fbfb..28878f4fb 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -1539,7 +1539,7 @@ dependencies = [ [[package]] name = "snarkvm-algorithms" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "anyhow", @@ -1570,7 +1570,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-account", "snarkvm-circuit-algorithms", @@ -1584,7 +1584,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-account" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-algorithms", "snarkvm-circuit-network", @@ -1595,7 +1595,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-algorithms" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-types", "snarkvm-console-algorithms", @@ -1605,7 +1605,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-collections" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-algorithms", "snarkvm-circuit-types", @@ -1615,7 +1615,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-environment" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "indexmap", "itertools", @@ -1633,12 +1633,12 @@ dependencies = [ [[package]] name = "snarkvm-circuit-environment-witness" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" [[package]] name = "snarkvm-circuit-network" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-algorithms", "snarkvm-circuit-collections", @@ -1649,7 +1649,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-program" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "paste", "snarkvm-circuit-account", @@ -1664,7 +1664,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-address", @@ -1679,7 +1679,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-address" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -1692,7 +1692,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-boolean" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-console-types-boolean", @@ -1701,7 +1701,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-field" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -1711,7 +1711,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-group" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -1723,7 +1723,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-integers" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -1735,7 +1735,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-scalar" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -1746,7 +1746,7 @@ dependencies = [ [[package]] name = "snarkvm-circuit-types-string" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-circuit-environment", "snarkvm-circuit-types-boolean", @@ -1758,7 +1758,7 @@ dependencies = [ [[package]] name = "snarkvm-console" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-account", "snarkvm-console-algorithms", @@ -1771,7 +1771,7 @@ dependencies = [ [[package]] name = "snarkvm-console-account" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "bs58", "snarkvm-console-network", @@ -1782,7 +1782,7 @@ dependencies = [ [[package]] name = "snarkvm-console-algorithms" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "blake2s_simd", "smallvec", @@ -1795,7 +1795,7 @@ dependencies = [ [[package]] name = "snarkvm-console-collections" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "rayon", @@ -1806,7 +1806,7 @@ dependencies = [ [[package]] name = "snarkvm-console-network" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "anyhow", "indexmap", @@ -1829,7 +1829,7 @@ dependencies = [ [[package]] name = "snarkvm-console-network-environment" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "anyhow", "bech32", @@ -1847,7 +1847,7 @@ dependencies = [ [[package]] name = "snarkvm-console-program" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "enum-iterator", "enum_index", @@ -1869,7 +1869,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-address", @@ -1884,7 +1884,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types-address" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -1895,7 +1895,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types-boolean" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", ] @@ -1903,7 +1903,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types-field" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -1913,7 +1913,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types-group" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -1924,7 +1924,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types-integers" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -1935,7 +1935,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types-scalar" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -1946,7 +1946,7 @@ dependencies = [ [[package]] name = "snarkvm-console-types-string" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console-network-environment", "snarkvm-console-types-boolean", @@ -1957,7 +1957,7 @@ dependencies = [ [[package]] name = "snarkvm-curves" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "rand", "rayon", @@ -1971,7 +1971,7 @@ dependencies = [ [[package]] name = "snarkvm-fields" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "anyhow", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-authority" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "anyhow", "rand", @@ -2000,7 +2000,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-block" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "indexmap", "rayon", @@ -2009,6 +2009,7 @@ dependencies = [ "snarkvm-ledger-authority", "snarkvm-ledger-committee", "snarkvm-ledger-narwhal-batch-header", + "snarkvm-ledger-narwhal-data", "snarkvm-ledger-narwhal-subdag", "snarkvm-ledger-narwhal-transmission-id", "snarkvm-ledger-puzzle", @@ -2019,7 +2020,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-committee" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "indexmap", "rayon", @@ -2031,7 +2032,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-narwhal-batch-certificate" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "indexmap", "rayon", @@ -2044,7 +2045,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-narwhal-batch-header" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "indexmap", "rayon", @@ -2053,10 +2054,20 @@ dependencies = [ "snarkvm-ledger-narwhal-transmission-id", ] +[[package]] +name = "snarkvm-ledger-narwhal-data" +version = "0.16.19" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" +dependencies = [ + "bytes", + "serde_json", + "snarkvm-console", +] + [[package]] name = "snarkvm-ledger-narwhal-subdag" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "indexmap", "rayon", @@ -2071,7 +2082,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-narwhal-transmission-id" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "snarkvm-console", "snarkvm-ledger-puzzle", @@ -2080,7 +2091,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-puzzle" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "anyhow", @@ -2100,7 +2111,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-puzzle-epoch" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "anyhow", @@ -2121,7 +2132,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-query" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "async-trait", "reqwest", @@ -2134,7 +2145,7 @@ dependencies = [ [[package]] name = "snarkvm-ledger-store" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std-storage", "anyhow", @@ -2157,7 +2168,7 @@ dependencies = [ [[package]] name = "snarkvm-parameters" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "anyhow", @@ -2185,7 +2196,7 @@ dependencies = [ [[package]] name = "snarkvm-synthesizer" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "anyhow", @@ -2201,6 +2212,7 @@ dependencies = [ "snarkvm-console", "snarkvm-ledger-block", "snarkvm-ledger-committee", + "snarkvm-ledger-narwhal-data", "snarkvm-ledger-puzzle", "snarkvm-ledger-puzzle-epoch", "snarkvm-ledger-query", @@ -2215,7 +2227,7 @@ dependencies = [ [[package]] name = "snarkvm-synthesizer-process" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "colored", @@ -2238,7 +2250,7 @@ dependencies = [ [[package]] name = "snarkvm-synthesizer-program" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "indexmap", "paste", @@ -2252,7 +2264,7 @@ dependencies = [ [[package]] name = "snarkvm-synthesizer-snark" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "bincode", "once_cell", @@ -2265,7 +2277,7 @@ dependencies = [ [[package]] name = "snarkvm-utilities" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "aleo-std", "anyhow", @@ -2286,7 +2298,7 @@ dependencies = [ [[package]] name = "snarkvm-utilities-derives" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "proc-macro2", "quote 1.0.36", @@ -2296,7 +2308,7 @@ dependencies = [ [[package]] name = "snarkvm-wasm" version = "0.16.19" -source = "git+https://github.com/AleoNet/snarkVM.git?rev=d170a9f7c5ef980f9392301dc899dee355599ca6#d170a9f7c5ef980f9392301dc899dee355599ca6" +source = "git+https://github.com/AleoNet/snarkVM.git?rev=3d8b912ed396cc13e63ef2673ec238b8cff4ea43#3d8b912ed396cc13e63ef2673ec238b8cff4ea43" dependencies = [ "getrandom", "snarkvm-circuit-network", diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 852912622..9cf1f68b5 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -24,47 +24,47 @@ doctest = false [dependencies.snarkvm-circuit-network] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" [dependencies.snarkvm-console] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" features = [ "wasm" ] [dependencies.snarkvm-ledger-block] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" features = [ "wasm" ] [dependencies.snarkvm-ledger-query] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" features = [ "async", "wasm" ] [dependencies.snarkvm-ledger-store] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" [dependencies.snarkvm-parameters] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" features = [ "wasm" ] [dependencies.snarkvm-synthesizer] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" features = [ "async", "wasm" ] [dependencies.snarkvm-wasm] version = "0.16.19" git = "https://github.com/AleoNet/snarkVM.git" -rev = "d170a9f7c5ef980f9392301dc899dee355599ca6" +rev = "3d8b912ed396cc13e63ef2673ec238b8cff4ea43" features = [ "console", "fields", "utilities" ] [dependencies.anyhow] diff --git a/wasm/src/programs/manager/transfer.rs b/wasm/src/programs/manager/transfer.rs index f41906024..6999ccca1 100644 --- a/wasm/src/programs/manager/transfer.rs +++ b/wasm/src/programs/manager/transfer.rs @@ -63,7 +63,6 @@ impl ProgramManager { amount_credits: f64, recipient: &str, transfer_type: &str, - caller: Option, amount_record: Option, fee_credits: f64, fee_record: Option, @@ -120,13 +119,9 @@ impl ProgramManager { ("transfer_private_to_public", inputs) } "public" | "transfer_public" | "transferPublic" => { - let inputs = [ - JsValue::from(&caller.unwrap()), - JsValue::from(recipient), - JsValue::from(&amount_microcredits.to_string().add("u64")), - ] - .into_iter() - .collect::(); + let inputs = [JsValue::from(recipient), JsValue::from(&amount_microcredits.to_string().add("u64"))] + .into_iter() + .collect::(); ("transfer_public", inputs) } "public_as_signer" | "transfer_public_as_signer" | "transferPublicAsSigner" => { diff --git a/wasm/src/programs/verifying_key/credits.rs b/wasm/src/programs/verifying_key/credits.rs index f35cc11c3..dde564fe6 100644 --- a/wasm/src/programs/verifying_key/credits.rs +++ b/wasm/src/programs/verifying_key/credits.rs @@ -18,12 +18,18 @@ use super::*; #[wasm_bindgen] impl VerifyingKey { + fn get_credits_verifying_key(name: &str) -> VerifyingKey { + let vk = CurrentNetwork::get_credits_verifying_key(name.to_string()).unwrap().clone(); + let num_variables = vk.circuit_info.num_public_and_private_variables as u64; + VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + } + /// Returns the verifying key for the bond_public function /// /// @returns {VerifyingKey} Verifying key for the bond_public function #[wasm_bindgen(js_name = "bondPublicVerifier")] pub fn bond_public_verifier() -> VerifyingKey { - VerifyingKey::from_bytes(&snarkvm_parameters::testnet::BondPublicVerifier::load_bytes().unwrap()).unwrap() + VerifyingKey::get_credits_verifying_key("bond_public") } /// Returns the verifying key for the bond_validator function @@ -31,9 +37,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the bond_validator function #[wasm_bindgen(js_name = "bondValidatorVerifier")] pub fn bond_validator_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("bond_validator") } /// Returns the verifying key for the claim_delegator function @@ -41,9 +45,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the claim_unbond_public function #[wasm_bindgen(js_name = "claimUnbondPublicVerifier")] pub fn claim_unbond_public_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("claim_unbond_public") } /// Returns the verifying key for the fee_private function @@ -51,9 +53,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the fee_private function #[wasm_bindgen(js_name = "feePrivateVerifier")] pub fn fee_private_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("fee_private") } /// Returns the verifying key for the fee_public function @@ -61,9 +61,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the fee_public function #[wasm_bindgen(js_name = "feePublicVerifier")] pub fn fee_public_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("fee_public") } /// Returns the verifying key for the inclusion function @@ -71,7 +69,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the inclusion function #[wasm_bindgen(js_name = "inclusionVerifier")] pub fn inclusion_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); + let vk = CurrentNetwork::inclusion_verifying_key().clone(); let num_variables = vk.circuit_info.num_public_and_private_variables as u64; VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) } @@ -81,9 +79,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the join function #[wasm_bindgen(js_name = "joinVerifier")] pub fn join_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("join") } /// Returns the verifying key for the set_validator_state function @@ -91,9 +87,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the set_validator_state function #[wasm_bindgen(js_name = "setValidatorStateVerifier")] pub fn set_validator_state_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("set_validator_state") } /// Returns the verifying key for the split function @@ -101,9 +95,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the split function #[wasm_bindgen(js_name = "splitVerifier")] pub fn split_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("split") } /// Returns the verifying key for the transfer_private function @@ -111,9 +103,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the transfer_private function #[wasm_bindgen(js_name = "transferPrivateVerifier")] pub fn transfer_private_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("transfer_private") } /// Returns the verifying key for the transfer_private_to_public function @@ -121,9 +111,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the transfer_private_to_public function #[wasm_bindgen(js_name = "transferPrivateToPublicVerifier")] pub fn transfer_private_to_public_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("transfer_private_to_public") } /// Returns the verifying key for the transfer_public function @@ -131,9 +119,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the transfer_public function #[wasm_bindgen(js_name = "transferPublicVerifier")] pub fn transfer_public_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("transfer_public") } /// Returns the verifying key for the transfer_public_as_signer function @@ -141,9 +127,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the transfer_public_as_signer function #[wasm_bindgen(js_name = "transferPublicAsSignerVerifier")] pub fn transfer_public_as_signer_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("transfer_public_as_signer") } /// Returns the verifying key for the transfer_public_to_private function @@ -151,9 +135,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the transfer_public_to_private function #[wasm_bindgen(js_name = "transferPublicToPrivateVerifier")] pub fn transfer_public_to_private_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("transfer_public_to_private") } /// Returns the verifying key for the unbond_public function @@ -161,9 +143,7 @@ impl VerifyingKey { /// @returns {VerifyingKey} Verifying key for the unbond_public function #[wasm_bindgen(js_name = "unbondPublicVerifier")] pub fn unbond_public_verifier() -> VerifyingKey { - let vk = CurrentNetwork::get_credits_verifying_key("bond_validator".to_string()).unwrap().clone(); - let num_variables = vk.circuit_info.num_public_and_private_variables as u64; - VerifyingKey::from(VerifyingKeyNative::new(vk, num_variables)) + VerifyingKey::get_credits_verifying_key("unbond_public") } /// Returns the verifying key for the bond_public function diff --git a/wasm/src/programs/verifying_key/metadata.rs b/wasm/src/programs/verifying_key/metadata.rs index 02a391be4..561b888e0 100644 --- a/wasm/src/programs/verifying_key/metadata.rs +++ b/wasm/src/programs/verifying_key/metadata.rs @@ -19,6 +19,9 @@ use super::*; #[wasm_bindgen] #[derive(Clone, Debug)] pub struct Metadata { + #[wasm_bindgen(getter_with_clone)] + pub name: String, + #[wasm_bindgen(getter_with_clone)] pub locator: String, @@ -33,7 +36,7 @@ pub struct Metadata { } impl Metadata { - const BASE_URL: &'static str = "https://s3-us-west-1.amazonaws.com/testnet.parameters/"; + const BASE_URL: &'static str = "https://parameters.aleo.org/testnet/"; fn new(name: &str, verifying_key: &str, locator: &str, prover: &'static str, verifier: &'static str) -> Self { fn url(function_name: &str, kind: &str, proving_key_metadata: &'static str) -> String { @@ -44,6 +47,7 @@ impl Metadata { } Self { + name: name.to_string(), locator: locator.to_string(), prover: format!("{}{}", Self::BASE_URL, url(name, "prover", prover)), verifier: url(name, "verifier", verifier), diff --git a/wasm/tests/offchain.rs b/wasm/tests/offchain.rs index 6d227d34d..cae5eaebf 100644 --- a/wasm/tests/offchain.rs +++ b/wasm/tests/offchain.rs @@ -190,7 +190,6 @@ async fn test_fee_validation() { 100.00, "aleo184vuwr5u7u0ha5f5k44067dd2uaqewxx6pe5ltha5pv99wvhfqxqv339h4", "private", - None, Some(fee_record.clone()), 0.9, Some(fee_record.clone()), @@ -209,7 +208,6 @@ async fn test_fee_validation() { 0.5, "aleo184vuwr5u7u0ha5f5k44067dd2uaqewxx6pe5ltha5pv99wvhfqxqv339h4", "private", - None, Some(fee_record.clone()), 100.00, Some(fee_record.clone()), diff --git a/website/src/workers/worker.js b/website/src/workers/worker.js index 5573bc489..b60097bfd 100644 --- a/website/src/workers/worker.js +++ b/website/src/workers/worker.js @@ -5,7 +5,6 @@ await aleo.initThreadPool(); const defaultHost = "https://api.explorer.aleo.org/v1"; const keyProvider = new aleo.AleoKeyProvider(); const programManager = new aleo.ProgramManager(defaultHost, keyProvider, undefined); -console.log("this is the web worker"); keyProvider.useCache(true); self.postMessage({ @@ -264,7 +263,6 @@ self.addEventListener("message", (ev) => { transfer_type, fee, privateFee, - Address.from_private_key(PrivateKey.from_string(privateKey)).to_string(), undefined, amountRecord, feeRecord, diff --git a/yarn.lock b/yarn.lock index 0cae3e0cc..34af341b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -94,7 +94,7 @@ resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.2.tgz" integrity sha512-0S9TQMmDHlqAZ2ITT95irXKfxN9bncq8ZCoJhun3nHL/lLUxd2NKBJYoNGWH7S0hz6fRQwWlAWn/ILM0C70KZQ== -"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.0.0-0 || ^8.0.0-0 <8.0.0", "@babel/core@^7.11.6", "@babel/core@^7.12.0", "@babel/core@^7.12.3", "@babel/core@^7.13.0", "@babel/core@^7.17.2", "@babel/core@^7.22.20", "@babel/core@^7.22.9", "@babel/core@^7.4.0 || ^8.0.0-0 <8.0.0", "@babel/core@^7.7.5", "@babel/core@^7.8.0", "@babel/core@>=7.0.0-beta.0 <8": +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.17.2", "@babel/core@^7.22.20", "@babel/core@^7.22.9", "@babel/core@^7.7.5": version "7.23.2" resolved "https://registry.npmjs.org/@babel/core/-/core-7.23.2.tgz" integrity sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ== @@ -1253,7 +1253,7 @@ style-mod "^4.0.0" w3c-keyname "^2.2.4" -"@codemirror/view@^6.0.0", "@codemirror/view@^6.17.0", "@codemirror/view@>=6.0.0": +"@codemirror/view@^6.0.0", "@codemirror/view@^6.17.0": version "6.21.3" resolved "https://registry.npmjs.org/@codemirror/view/-/view-6.21.3.tgz" integrity sha512-8l1aSQ6MygzL4Nx7GVYhucSXvW4jQd0F6Zm3v9Dg+6nZEfwzJVqi4C2zHfDljID+73gsQrWp9TgHc81xU15O4A== @@ -1289,6 +1289,36 @@ resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz" integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== +"@esbuild/android-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz#bafb75234a5d3d1b690e7c2956a599345e84a2fd" + integrity sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA== + +"@esbuild/android-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz#984b4f9c8d0377443cc2dfcef266d02244593622" + integrity sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ== + +"@esbuild/android-arm@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.19.tgz#5898f7832c2298bc7d0ab53701c57beb74d78b4d" + integrity sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A== + +"@esbuild/android-arm@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz#fedb265bc3a589c84cc11f810804f234947c3682" + integrity sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw== + +"@esbuild/android-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.19.tgz#658368ef92067866d95fb268719f98f363d13ae1" + integrity sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww== + +"@esbuild/android-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz#35cf419c4cfc8babe8893d296cd990e9e9f756f2" + integrity sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg== + "@esbuild/darwin-arm64@0.17.19": version "0.17.19" resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz" @@ -1299,6 +1329,186 @@ resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz" integrity sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA== +"@esbuild/darwin-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz#7751d236dfe6ce136cce343dce69f52d76b7f6cb" + integrity sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw== + +"@esbuild/darwin-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz#d70d5790d8bf475556b67d0f8b7c5bdff053d85d" + integrity sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ== + +"@esbuild/freebsd-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz#cacd171665dd1d500f45c167d50c6b7e539d5fd2" + integrity sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ== + +"@esbuild/freebsd-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz#98755cd12707f93f210e2494d6a4b51b96977f54" + integrity sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw== + +"@esbuild/freebsd-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz#0769456eee2a08b8d925d7c00b79e861cb3162e4" + integrity sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ== + +"@esbuild/freebsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz#c1eb2bff03915f87c29cece4c1a7fa1f423b066e" + integrity sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ== + +"@esbuild/linux-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz#38e162ecb723862c6be1c27d6389f48960b68edb" + integrity sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg== + +"@esbuild/linux-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz#bad4238bd8f4fc25b5a021280c770ab5fc3a02a0" + integrity sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA== + +"@esbuild/linux-arm@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz#1a2cd399c50040184a805174a6d89097d9d1559a" + integrity sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA== + +"@esbuild/linux-arm@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz#3e617c61f33508a27150ee417543c8ab5acc73b0" + integrity sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg== + +"@esbuild/linux-ia32@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz#e28c25266b036ce1cabca3c30155222841dc035a" + integrity sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ== + +"@esbuild/linux-ia32@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz#699391cccba9aee6019b7f9892eb99219f1570a7" + integrity sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA== + +"@esbuild/linux-loong64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz#0f887b8bb3f90658d1a0117283e55dbd4c9dcf72" + integrity sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ== + +"@esbuild/linux-loong64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz#e6fccb7aac178dd2ffb9860465ac89d7f23b977d" + integrity sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg== + +"@esbuild/linux-mips64el@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz#f5d2a0b8047ea9a5d9f592a178ea054053a70289" + integrity sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A== + +"@esbuild/linux-mips64el@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz#eeff3a937de9c2310de30622a957ad1bd9183231" + integrity sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ== + +"@esbuild/linux-ppc64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz#876590e3acbd9fa7f57a2c7d86f83717dbbac8c7" + integrity sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg== + +"@esbuild/linux-ppc64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz#2f7156bde20b01527993e6881435ad79ba9599fb" + integrity sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA== + +"@esbuild/linux-riscv64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz#7f49373df463cd9f41dc34f9b2262d771688bf09" + integrity sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA== + +"@esbuild/linux-riscv64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz#6628389f210123d8b4743045af8caa7d4ddfc7a6" + integrity sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A== + +"@esbuild/linux-s390x@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz#e2afd1afcaf63afe2c7d9ceacd28ec57c77f8829" + integrity sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q== + +"@esbuild/linux-s390x@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz#255e81fb289b101026131858ab99fba63dcf0071" + integrity sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ== + +"@esbuild/linux-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz#8a0e9738b1635f0c53389e515ae83826dec22aa4" + integrity sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw== + +"@esbuild/linux-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz#c7690b3417af318a9b6f96df3031a8865176d338" + integrity sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w== + +"@esbuild/netbsd-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz#c29fb2453c6b7ddef9a35e2c18b37bda1ae5c462" + integrity sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q== + +"@esbuild/netbsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz#30e8cd8a3dded63975e2df2438ca109601ebe0d1" + integrity sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A== + +"@esbuild/openbsd-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz#95e75a391403cb10297280d524d66ce04c920691" + integrity sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g== + +"@esbuild/openbsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz#7812af31b205055874c8082ea9cf9ab0da6217ae" + integrity sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg== + +"@esbuild/sunos-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz#722eaf057b83c2575937d3ffe5aeb16540da7273" + integrity sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg== + +"@esbuild/sunos-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz#d5c275c3b4e73c9b0ecd38d1ca62c020f887ab9d" + integrity sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ== + +"@esbuild/win32-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz#9aa9dc074399288bdcdd283443e9aeb6b9552b6f" + integrity sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag== + +"@esbuild/win32-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz#73bc7f5a9f8a77805f357fab97f290d0e4820ac9" + integrity sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg== + +"@esbuild/win32-ia32@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz#95ad43c62ad62485e210f6299c7b2571e48d2b03" + integrity sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw== + +"@esbuild/win32-ia32@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz#ec93cbf0ef1085cc12e71e0d661d20569ff42102" + integrity sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g== + +"@esbuild/win32-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz#8cfaf2ff603e9aabb910e9c0558c26cf32744061" + integrity sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA== + +"@esbuild/win32-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz#786c5f41f043b07afb1af37683d7c33668858f6d" + integrity sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ== + "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz" @@ -1558,7 +1768,7 @@ slash "^3.0.0" write-file-atomic "^4.0.2" -"@jest/types@^29.0.0", "@jest/types@^29.6.3": +"@jest/types@^29.6.3": version "29.6.3" resolved "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz" integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== @@ -1602,14 +1812,6 @@ resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.19" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz" - integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw== - dependencies: - "@jridgewell/resolve-uri" "^3.1.0" - "@jridgewell/sourcemap-codec" "^1.4.14" - "@jridgewell/trace-mapping@0.3.9": version "0.3.9" resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz" @@ -1618,6 +1820,14 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.19" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz" + integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + "@jsdoc/salty@^0.2.4": version "0.2.5" resolved "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.5.tgz" @@ -1671,6 +1881,46 @@ resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.5.4.tgz" integrity sha512-Df8SHuXgF1p+aonBMcDPEsaahNo2TCwuie7VXED4FVyECvdXfRT9unapm54NssV9tF3OQFKBFOdlje4T43VO0w== +"@next/swc-darwin-x64@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.5.4.tgz#fa11bb97bf06cd45cbd554354b46bf93e22c025b" + integrity sha512-siPuUwO45PnNRMeZnSa8n/Lye5ZX93IJom9wQRB5DEOdFrw0JjOMu1GINB8jAEdwa7Vdyn1oJ2xGNaQpdQQ9Pw== + +"@next/swc-linux-arm64-gnu@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.5.4.tgz#dd3a482cd6871ed23b049066a0f3c4c2f955dc88" + integrity sha512-l/k/fvRP/zmB2jkFMfefmFkyZbDkYW0mRM/LB+tH5u9pB98WsHXC0WvDHlGCYp3CH/jlkJPL7gN8nkTQVrQ/2w== + +"@next/swc-linux-arm64-musl@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.5.4.tgz#ed6d7abaf5712cff2752ce5300d6bacc6aff1b18" + integrity sha512-YYGb7SlLkI+XqfQa8VPErljb7k9nUnhhRrVaOdfJNCaQnHBcvbT7cx/UjDQLdleJcfyg1Hkn5YSSIeVfjgmkTg== + +"@next/swc-linux-x64-gnu@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.5.4.tgz#977a040388e8a685a3a85e0dbdff90a4ee2a7189" + integrity sha512-uE61vyUSClnCH18YHjA8tE1prr/PBFlBFhxBZis4XBRJoR+txAky5d7gGNUIbQ8sZZ7LVkSVgm/5Fc7mwXmRAg== + +"@next/swc-linux-x64-musl@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.5.4.tgz#3e29a0ad8efc016196c3a120da04397eea328b2a" + integrity sha512-qVEKFYML/GvJSy9CfYqAdUexA6M5AklYcQCW+8JECmkQHGoPxCf04iMh7CPR7wkHyWWK+XLt4Ja7hhsPJtSnhg== + +"@next/swc-win32-arm64-msvc@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.5.4.tgz#18a236c3fe5a48d24b56d939e6a05488bb682b7e" + integrity sha512-mDSQfqxAlfpeZOLPxLymZkX0hYF3juN57W6vFHTvwKlnHfmh12Pt7hPIRLYIShk8uYRsKPtMTth/EzpwRI+u8w== + +"@next/swc-win32-ia32-msvc@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.5.4.tgz#255132243ab6fb20d3c7c92a585e2c4fa50368fe" + integrity sha512-aoqAT2XIekIWoriwzOmGFAvTtVY5O7JjV21giozBTP5c6uZhpvTWRbmHXbmsjZqY4HnEZQRXWkSAppsIBweKqw== + +"@next/swc-win32-x64-msvc@13.5.4": + version "13.5.4" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.4.tgz#cc542907b55247c5634d9a8298e1c143a1847e25" + integrity sha512-cyRvlAxwlddlqeB9xtPSfNSCRy8BOa4wtMo0IuI9P7Y0XT2qpDrpFKRyZ7kUngZis59mPVla5k8X1oOJ8RxDYg== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" @@ -1679,7 +1929,7 @@ "@nodelib/fs.stat" "2.0.5" run-parallel "^1.1.9" -"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": version "2.0.5" resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== @@ -1697,18 +1947,11 @@ resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -"@provablehq/sdk@^0.6.0", "@provablehq/sdk@^0.6.2", "@provablehq/sdk@file:/Users/brentconn/IdeaProjects/sdk-provablehq/sdk": - version "0.6.11" - resolved "file:sdk" - dependencies: - "@provablehq/wasm" "^0.6.0" - comlink "^4.4.1" - mime "^3.0.0" - sync-request "^6.1.0" +"@provablehq/sdk@file:sdk/dist": + version "0.0.0" -"@provablehq/wasm@^0.6.0", "@provablehq/wasm@file:/Users/brentconn/IdeaProjects/sdk-provablehq/wasm": - version "0.6.11" - resolved "file:wasm" +"@provablehq/wasm@file:wasm/dist": + version "0.0.0" "@rc-component/color-picker@~1.4.1": version "1.4.1" @@ -1876,15 +2119,85 @@ estree-walker "^2.0.2" picomatch "^2.3.1" -"@rollup/rollup-darwin-arm64@4.1.4": - version "4.1.4" - resolved "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.1.4.tgz" - integrity sha512-7vTYrgEiOrjxnjsgdPB+4i7EMxbVp7XXtS+50GJYj695xYTTEMn3HZVEvgtwjOUkAP/Q4HDejm4fIAjLeAfhtg== - -"@rollup/rollup-darwin-arm64@4.19.1": - version "4.19.1" - resolved "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.1.tgz" - integrity sha512-8o6eqeFZzVLia2hKPUZk4jdE3zW7LCcZr+MD18tXkgBBid3lssGVAYuox8x6YHoEPDdDa9ixTaStcmx88lio5Q== +"@rollup/rollup-android-arm-eabi@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.2.tgz#6b991cb44bf69e50163528ea85bed545330ba821" + integrity sha512-OHflWINKtoCFSpm/WmuQaWW4jeX+3Qt3XQDepkkiFTsoxFc5BpF3Z5aDxFZgBqRjO6ATP5+b1iilp4kGIZVWlA== + +"@rollup/rollup-android-arm64@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.2.tgz#5d3c8c2f9742d62ba258cc378bd2d4720f0c431c" + integrity sha512-k0OC/b14rNzMLDOE6QMBCjDRm3fQOHAL8Ldc9bxEWvMo4Ty9RY6rWmGetNTWhPo+/+FNd1lsQYRd0/1OSix36A== + +"@rollup/rollup-darwin-arm64@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.2.tgz#8eac8682a34a705bb6a57eb3e739fd6bbedfabed" + integrity sha512-IIARRgWCNWMTeQH+kr/gFTHJccKzwEaI0YSvtqkEBPj7AshElFq89TyreKNFAGh5frLfDCbodnq+Ye3dqGKPBw== + +"@rollup/rollup-darwin-x64@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.2.tgz#70a9953fc624bd7f645901f4250f6b5807ac7e92" + integrity sha512-52udDMFDv54BTAdnw+KXNF45QCvcJOcYGl3vQkp4vARyrcdI/cXH8VXTEv/8QWfd6Fru8QQuw1b2uNersXOL0g== + +"@rollup/rollup-linux-arm-gnueabihf@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.2.tgz#8f6c4ff4c4972413ff94345080380d4e3caa3c69" + integrity sha512-r+SI2t8srMPYZeoa1w0o/AfoVt9akI1ihgazGYPQGRilVAkuzMGiTtexNZkrPkQsyFrvqq/ni8f3zOnHw4hUbA== + +"@rollup/rollup-linux-arm-musleabihf@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.2.tgz#5d3c0fe5ea5ddf2feb511b3cb031df17eaa7e33d" + integrity sha512-+tYiL4QVjtI3KliKBGtUU7yhw0GMcJJuB9mLTCEauHEsqfk49gtUBXGtGP3h1LW8MbaTY6rSFIQV1XOBps1gBA== + +"@rollup/rollup-linux-arm64-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.2.tgz#b7f104388b2f5624d9f8adfff10ba59af8ab8ed1" + integrity sha512-OR5DcvZiYN75mXDNQQxlQPTv4D+uNCUsmSCSY2FolLf9W5I4DSoJyg7z9Ea3TjKfhPSGgMJiey1aWvlWuBzMtg== + +"@rollup/rollup-linux-arm64-musl@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.2.tgz#6d5ca6d3904309bec285ea5202d589cebb93dee4" + integrity sha512-Hw3jSfWdUSauEYFBSFIte6I8m6jOj+3vifLg8EU3lreWulAUpch4JBjDMtlKosrBzkr0kwKgL9iCfjA8L3geoA== + +"@rollup/rollup-linux-powerpc64le-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.2.tgz#4df9be1396ea9eb0ca99fd0f2e858008d7f063e3" + integrity sha512-rhjvoPBhBwVnJRq/+hi2Q3EMiVF538/o9dBuj9TVLclo9DuONqt5xfWSaE6MYiFKpo/lFPJ/iSI72rYWw5Hc7w== + +"@rollup/rollup-linux-riscv64-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.2.tgz#80d63c5562915a2f8616a04251fcaee0218112b0" + integrity sha512-EAz6vjPwHHs2qOCnpQkw4xs14XJq84I81sDRGPEjKPFVPBw7fwvtwhVjcZR6SLydCv8zNK8YGFblKWd/vRmP8g== + +"@rollup/rollup-linux-s390x-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.2.tgz#ef62e9bc5cc3b84fcfe96ec0a42d1989691217b3" + integrity sha512-IJSUX1xb8k/zN9j2I7B5Re6B0NNJDJ1+soezjNojhT8DEVeDNptq2jgycCOpRhyGj0+xBn7Cq+PK7Q+nd2hxLA== + +"@rollup/rollup-linux-x64-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.2.tgz#6a275282a0080fee98ddd9fda0de23c4c6bafd48" + integrity sha512-OgaToJ8jSxTpgGkZSkwKE+JQGihdcaqnyHEFOSAU45utQ+yLruE1dkonB2SDI8t375wOKgNn8pQvaWY9kPzxDQ== + +"@rollup/rollup-linux-x64-musl@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.2.tgz#64f0c704107e6b45b26dd8c2e1ff64246e4a1251" + integrity sha512-5V3mPpWkB066XZZBgSd1lwozBk7tmOkKtquyCJ6T4LN3mzKENXyBwWNQn8d0Ci81hvlBw5RoFgleVpL6aScLYg== + +"@rollup/rollup-win32-arm64-msvc@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.2.tgz#bada17b0c5017ff58d0feba401c43ff5a646c693" + integrity sha512-ayVstadfLeeXI9zUPiKRVT8qF55hm7hKa+0N1V6Vj+OTNFfKSoUxyZvzVvgtBxqSb5URQ8sK6fhwxr9/MLmxdA== + +"@rollup/rollup-win32-ia32-msvc@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.2.tgz#a716d862f6ac39d88bdb825e27f63aeb0387cd66" + integrity sha512-Mda7iG4fOLHNsPqjWSjANvNZYoW034yxgrndof0DwCy0D3FvTjeNo+HGE6oGWgvcLZNLlcp0hLEFcRs+UGsMLg== + +"@rollup/rollup-win32-x64-msvc@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.2.tgz#d67206c5f2e4b2832ce360bbbde194e96d16dc51" + integrity sha512-DPi0ubYhSow/00YqmG1jWm3qt1F8aXziHc/UNy8bo9cpCacqhuWu+iSq/fp2SyEQK7iYTZ60fBU9cat3MXTjIQ== "@sinclair/typebox@^0.27.8": version "0.27.8" @@ -1910,7 +2223,52 @@ resolved "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.93.tgz" integrity sha512-gEKgk7FVIgltnIfDO6GntyuQBBlAYg5imHpRgLxB1zSI27ijVVkksc6QwISzFZAhKYaBWIsFSVeL9AYSziAF7A== -"@swc/core@^1.3.85", "@swc/core@>=1.2.50": +"@swc/core-darwin-x64@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.3.93.tgz#18409c6effdf508ddf1ebccfa77d35aaa6cd72f0" + integrity sha512-ZQPxm/fXdDQtn3yrYSL/gFfA8OfZ5jTi33yFQq6vcg/Y8talpZ+MgdSlYM0FkLrZdMTYYTNFiuBQuuvkA+av+Q== + +"@swc/core-linux-arm-gnueabihf@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.93.tgz#23a97bc94a8b2f23fb6cc4bc9d8936899e5eeff5" + integrity sha512-OYFMMI2yV+aNe3wMgYhODxHdqUB/jrK0SEMHHS44GZpk8MuBXEF+Mcz4qjkY5Q1EH7KVQqXb/gVWwdgTHpjM2A== + +"@swc/core-linux-arm64-gnu@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.93.tgz#7a17406a7cf76a959a617626d5ee2634ae9afa26" + integrity sha512-BT4dT78odKnJMNiq5HdjBsv29CiIdcCcImAPxeFqAeFw1LL6gh9nzI8E96oWc+0lVT5lfhoesCk4Qm7J6bty8w== + +"@swc/core-linux-arm64-musl@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.93.tgz#a30be7780090afefd3b8706398418cbe1d23db49" + integrity sha512-yH5fWEl1bktouC0mhh0Chuxp7HEO4uCtS/ly1Vmf18gs6wZ8DOOkgAEVv2dNKIryy+Na++ljx4Ym7C8tSJTrLw== + +"@swc/core-linux-x64-gnu@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.93.tgz#41e903fd82e059952d16051b442cbe65ee5b8cb3" + integrity sha512-OFUdx64qvrGJhXKEyxosHxgoUVgba2ztYh7BnMiU5hP8lbI8G13W40J0SN3CmFQwPP30+3oEbW7LWzhKEaYjlg== + +"@swc/core-linux-x64-musl@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.93.tgz#0866807545c44eac9b3254b374310ad5e1c573f9" + integrity sha512-4B8lSRwEq1XYm6xhxHhvHmKAS7pUp1Q7E33NQ2TlmFhfKvCOh86qvThcjAOo57x8DRwmpvEVrqvpXtYagMN6Ig== + +"@swc/core-win32-arm64-msvc@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.93.tgz#c72411dea2fd4f62a832f71a6e15424d849e7610" + integrity sha512-BHShlxtkven8ZjjvZ5QR6sC5fZCJ9bMujEkiha6W4cBUTY7ce7qGFyHmQd+iPC85d9kD/0cCiX/Xez8u0BhO7w== + +"@swc/core-win32-ia32-msvc@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.93.tgz#05c2b031b976af4ef81f5073ee114254678a5d5d" + integrity sha512-nEwNWnz4JzYAK6asVvb92yeylfxMYih7eMQOnT7ZVlZN5ba9WF29xJ6kcQKs9HRH6MvWhz9+wRgv3FcjlU6HYA== + +"@swc/core-win32-x64-msvc@1.3.93": + version "1.3.93" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.93.tgz#f8748b3fd1879f13084b1b0814edf328c662935c" + integrity sha512-jibQ0zUr4kwJaQVwgmH+svS04bYTPnPw/ZkNInzxS+wFAtzINBYcU8s2PMWbDb2NGYiRSEeoSGyAvS9H+24JFA== + +"@swc/core@^1.3.85": version "1.3.93" resolved "https://registry.npmjs.org/@swc/core/-/core-1.3.93.tgz" integrity sha512-690GRr1wUGmGYZHk7fUduX/JUwViMF2o74mnZYIWEcJaCcd9MQfkhsxPBtjeg6tF+h266/Cf3RPYhsFBzzxXcA== @@ -1934,7 +2292,7 @@ resolved "https://registry.npmjs.org/@swc/counter/-/counter-0.1.2.tgz" integrity sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw== -"@swc/helpers@^0.5.0", "@swc/helpers@0.5.2": +"@swc/helpers@0.5.2": version "0.5.2" resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz" integrity sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw== @@ -1966,6 +2324,11 @@ resolved "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz" integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== +"@types/babel-types@*", "@types/babel-types@^7.0.0": + version "7.0.12" + resolved "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.12.tgz" + integrity sha512-HKFKGgwbKpfvjPuEKveybTYHUTSsbBRS72aLI7Gp1X/egZlgtXzmvCqBrmoFdbsh7U7CsLYFmULNIt7nmS89xw== + "@types/babel__core@^7.1.14", "@types/babel__core@^7.20.2": version "7.20.2" resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.2.tgz" @@ -2006,11 +2369,6 @@ dependencies: "@babel/types" "^7.20.7" -"@types/babel-types@*", "@types/babel-types@^7.0.0": - version "7.0.12" - resolved "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.12.tgz" - integrity sha512-HKFKGgwbKpfvjPuEKveybTYHUTSsbBRS72aLI7Gp1X/egZlgtXzmvCqBrmoFdbsh7U7CsLYFmULNIt7nmS89xw== - "@types/babylon@^6.16.2": version "6.16.7" resolved "https://registry.npmjs.org/@types/babylon/-/babylon-6.16.7.tgz" @@ -2071,7 +2429,7 @@ "@types/estree" "*" "@types/json-schema" "*" -"@types/estree@*", "@types/estree@^1.0.0", "@types/estree@1.0.5": +"@types/estree@*", "@types/estree@1.0.5", "@types/estree@^1.0.0": version "1.0.5" resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz" integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== @@ -2169,7 +2527,7 @@ resolved "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.3.tgz" integrity sha512-pTjcqY9E4nOI55Wgpz7eiI8+LzdYnw3qxXCfHyBDdPbYvbyLgWLJGh8EdPvqawwMK1Uo1794AUkkR38Fr0g+2g== -"@types/markdown-it@*", "@types/markdown-it@^12.2.3": +"@types/markdown-it@^12.2.3": version "12.2.3" resolved "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-12.2.3.tgz" integrity sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ== @@ -2197,7 +2555,7 @@ resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.3.tgz" integrity sha512-ZYFzrvyWUNhaPomn80dsMNgMeXxNWZBdkuG/hWlUvXvbdUH8ZERNBGXnU87McuGcWDsyzX2aChCv/SVN348k3A== -"@types/node@*", "@types/node@^20", "@types/node@^20.8.7", "@types/node@>= 14": +"@types/node@*", "@types/node@^20", "@types/node@^20.8.7": version "20.14.13" resolved "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz" integrity sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w== @@ -2344,7 +2702,7 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.41.0": +"@typescript-eslint/parser@^5.41.0": version "5.62.0" resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz" integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== @@ -2503,7 +2861,7 @@ globby "^13.2.2" magic-string "^0.30.0" -"@webassemblyjs/ast@^1.11.5", "@webassemblyjs/ast@1.11.6": +"@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": version "1.11.6" resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz" integrity sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q== @@ -2604,7 +2962,7 @@ "@webassemblyjs/wasm-gen" "1.11.6" "@webassemblyjs/wasm-parser" "1.11.6" -"@webassemblyjs/wasm-parser@^1.11.5", "@webassemblyjs/wasm-parser@1.11.6": +"@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": version "1.11.6" resolved "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz" integrity sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ== @@ -2689,21 +3047,16 @@ acorn@^3.1.0: resolved "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz" integrity sha512-OLUyIIZ7mF5oaAUT1w0TFqQS81q3saT46x8t7ukpPjMNk+nbs4ZHhs7ToV8EWnLYLepjETXd4XaCE4uxkMeqUw== -acorn@^4.0.4: +acorn@^4.0.4, acorn@~4.0.2: version "4.0.13" resolved "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz" integrity sha512-fu2ygVGuMmlzG8ZeRJ0bvR41nsAkxxhbyk8bZ1SS521Z7vmgJFTQQlfz/Mp/nJexGBz+v8sC9bM6+lNgskt4Ug== -"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8, acorn@^8.10.0, acorn@^8.4.1, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0: +acorn@^8.10.0, acorn@^8.4.1, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0: version "8.10.0" resolved "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz" integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== -acorn@~4.0.2: - version "4.0.13" - resolved "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz" - integrity sha512-fu2ygVGuMmlzG8ZeRJ0bvR41nsAkxxhbyk8bZ1SS521Z7vmgJFTQQlfz/Mp/nJexGBz+v8sC9bM6+lNgskt4Ug== - ajv-formats@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz" @@ -2723,7 +3076,7 @@ ajv-keywords@^5.1.0: dependencies: fast-deep-equal "^3.1.3" -ajv@^6.12.4, ajv@^6.12.5, ajv@^6.9.1: +ajv@^6.12.4, ajv@^6.12.5: version "6.12.6" resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -2733,7 +3086,7 @@ ajv@^6.12.4, ajv@^6.12.5, ajv@^6.9.1: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.8.2, ajv@^8.9.0: +ajv@^8.0.0, ajv@^8.9.0: version "8.12.0" resolved "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz" integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== @@ -2743,58 +3096,6 @@ ajv@^8.0.0, ajv@^8.8.2, ajv@^8.9.0: require-from-string "^2.0.2" uri-js "^4.2.2" -"aleo-react-leo-starter@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-react-leo": - version "0.0.0" - resolved "file:create-leo-app/template-react-leo" - dependencies: - "@provablehq/sdk" "^0.6.0" - comlink "^4.4.1" - react "^18.2.0" - react-dom "^18.2.0" - -"aleo-react-managed-worker-starter@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-react-managed-worker": - version "0.0.0" - resolved "file:create-leo-app/template-react-managed-worker" - dependencies: - "@provablehq/sdk" "^0.6.0" - react "^18.2.0" - react-dom "^18.2.0" - -"aleo-react-typescript-starter@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-react-ts": - version "0.0.0" - resolved "file:create-leo-app/template-react-ts" - dependencies: - "@provablehq/sdk" "^0.6.2" - comlink "^4.4.1" - react "^18.2.0" - react-dom "^18.2.0" - -"aleo-starter@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-vanilla": - version "0.0.0" - resolved "file:create-leo-app/template-vanilla" - -"aleo-website@file:/Users/brentconn/IdeaProjects/sdk-provablehq/website": - version "0.1.0" - resolved "file:website" - dependencies: - "@ant-design/icons" "^4.4.0" - "@codemirror/language" "^6.8.0" - "@codemirror/legacy-modes" "^6.3.3" - "@codemirror/stream-parser" "^0.19.9" - "@provablehq/sdk" "^0.6.2" - "@uiw/codemirror-theme-noctis-lilac" "^4.21.8" - "@uiw/codemirror-theme-okaidia" "^4.21.7" - "@uiw/react-codemirror" "^4.21.7" - antd "^5.6.4" - axios "^1.6.0" - babel-loader "^8.2.3" - copy-to-clipboard "^3.3.1" - gh-pages "^3.1.0" - react "^18.2.0" - react-dom "^18.2.0" - react-router-dom "^6.14.1" - web-vitals "^0.2.4" - align-text@^0.1.1, align-text@^0.1.3: version "0.1.4" resolved "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz" @@ -2937,16 +3238,16 @@ array-buffer-byte-length@^1.0.0: call-bind "^1.0.2" is-array-buffer "^3.0.1" -array-flatten@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz" - integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== - array-flatten@1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz" integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== +array-flatten@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz" + integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== + array-includes@^3.1.6: version "3.1.7" resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz" @@ -3040,7 +3341,7 @@ asap@~2.0.3, asap@~2.0.6: resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== -ast-types@^0.12.2, ast-types@0.12.4: +ast-types@0.12.4, ast-types@^0.12.2: version "0.12.4" resolved "https://registry.npmjs.org/ast-types/-/ast-types-0.12.4.tgz" integrity sha512-ky/YVYCbtVAS8TdMIaTiPFHwEpRB5z1hctepJplTr3UW5q8TDrpIMCILyk8pmLxGtn2KCtC/lSn7zOsaI7nzDw== @@ -3102,7 +3403,7 @@ axios@^1.6.0: form-data "^4.0.0" proxy-from-env "^1.1.0" -babel-jest@^29.0.0, babel-jest@^29.7.0: +babel-jest@^29.7.0: version "29.7.0" resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz" integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== @@ -3332,7 +3633,7 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" -browserslist@^4.14.5, browserslist@^4.21.9, browserslist@^4.22.1, "browserslist@>= 4.21.0": +browserslist@^4.14.5, browserslist@^4.21.9, browserslist@^4.22.1: version "4.22.1" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz" integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ== @@ -3543,7 +3844,7 @@ cjs-module-lexer@^1.0.0: resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz" integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ== -classnames@^2.2.1, classnames@^2.2.3, classnames@^2.2.5, classnames@^2.2.6, classnames@^2.3.1, classnames@^2.3.2, classnames@2.x: +classnames@2.x, classnames@^2.2.1, classnames@^2.2.3, classnames@^2.2.5, classnames@^2.2.6, classnames@^2.3.1, classnames@^2.3.2: version "2.3.2" resolved "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz" integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw== @@ -3653,16 +3954,16 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - color-name@1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + colorette@^2.0.10, colorette@^2.0.14: version "2.0.20" resolved "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz" @@ -3680,12 +3981,7 @@ comlink@^4.4.1: resolved "https://registry.npmjs.org/comlink/-/comlink-4.4.1.tgz" integrity sha512-+1dlx0aY5Jo1vHy/tSsIGpSkN4tS9rZSW8FIhG0JH/crs9wwweswIo/POr451r7bZww3hFbPAKnTpimzL/mm4Q== -commander@^10.0.0: - version "10.0.1" - resolved "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz" - integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== - -commander@^10.0.1: +commander@^10.0.0, commander@^10.0.1: version "10.0.1" resolved "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== @@ -3856,10 +4152,6 @@ create-jest@^29.7.0: jest-util "^29.7.0" prompts "^2.0.1" -"create-leo-app@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app": - version "0.0.13" - resolved "file:create-leo-app" - create-require@^1.1.0: version "1.1.1" resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz" @@ -3919,7 +4211,7 @@ csstype@^3.0.10, csstype@^3.0.2: resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz" integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== -dayjs@^1.11.1, "dayjs@>= 1.x": +dayjs@^1.11.1: version "1.11.10" resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz" integrity sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ== @@ -3929,6 +4221,13 @@ de-indent@^1.0.2: resolved "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz" integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg== +debug@2.6.9: + version "2.6.9" + resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + debug@^3.2.7: version "3.2.7" resolved "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz" @@ -3943,13 +4242,6 @@ debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: dependencies: ms "2.1.2" -debug@2.6.9: - version "2.6.9" - resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - decamelize@^1.0.0: version "1.2.0" resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" @@ -4010,16 +4302,16 @@ delayed-stream@~1.0.0: resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - depd@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== +depd@~1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== + destroy@1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz" @@ -4475,7 +4767,7 @@ eslint-plugin-react@^7.32.2: semver "^6.3.1" string.prototype.matchall "^4.0.8" -eslint-scope@^5.1.1, eslint-scope@5.1.1: +eslint-scope@5.1.1, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -4496,7 +4788,7 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4 resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@*, "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^6.0.0 || ^7.0.0 || >=8.0.0", eslint@^8.26.0, eslint@^8.38.0, eslint@^8.45.0, eslint@>=7, eslint@>=7.0.0: +eslint@^8.26.0, eslint@^8.38.0, eslint@^8.45.0: version "8.51.0" resolved "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz" integrity sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA== @@ -4679,10 +4971,6 @@ express@^4.17.3: utils-merge "1.0.1" vary "~1.1.2" -"extension-starter@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-extension": - version "0.0.0" - resolved "file:create-leo-app/template-extension" - fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" @@ -4699,7 +4987,7 @@ fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.9, fast-glob@^3.3.0: merge2 "^1.3.0" micromatch "^4.0.4" -fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0, fast-json-stable-stringify@2.x: +fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -5011,14 +5299,7 @@ glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-parent@^6.0.1: - version "6.0.2" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" - integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== - dependencies: - is-glob "^4.0.3" - -glob-parent@^6.0.2: +glob-parent@^6.0.1, glob-parent@^6.0.2: version "6.0.2" resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== @@ -5030,18 +5311,7 @@ glob-to-regexp@^0.4.1: resolved "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@^10.2.2: - version "10.3.10" - resolved "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz" - integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== - dependencies: - foreground-child "^3.1.0" - jackspeak "^2.3.5" - minimatch "^9.0.1" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - path-scurry "^1.10.1" - -glob@^10.3.7: +glob@^10.2.2, glob@^10.3.7: version "10.3.10" resolved "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz" integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== @@ -5291,16 +5561,6 @@ http-deceiver@^1.2.7: resolved "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz" integrity sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw== -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz" - integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - http-errors@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz" @@ -5312,6 +5572,16 @@ http-errors@2.0.0: statuses "2.0.1" toidentifier "1.0.1" +http-errors@~1.6.2: + version "1.6.3" + resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz" + integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== + dependencies: + depd "~1.1.2" + inherits "2.0.3" + setprototypeof "1.1.0" + statuses ">= 1.4.0 < 2" + http-parser-js@>=0.5.1: version "0.5.8" resolved "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.8.tgz" @@ -5395,7 +5665,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3, inherits@2, inherits@2.0.4: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: version "2.0.4" resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -5419,16 +5689,16 @@ interpret@^3.1.1: resolved "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz" integrity sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ== -ipaddr.js@^2.0.1: - version "2.1.0" - resolved "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz" - integrity sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ== - ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== +ipaddr.js@^2.0.1: + version "2.1.0" + resolved "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz" + integrity sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ== + is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz" @@ -5978,7 +6248,7 @@ jest-resolve-dependencies@^29.7.0: jest-regex-util "^29.6.3" jest-snapshot "^29.7.0" -jest-resolve@*, jest-resolve@^29.7.0: +jest-resolve@^29.7.0: version "29.7.0" resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz" integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== @@ -6131,7 +6401,7 @@ jest-worker@^29.7.0: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^29.0.0, jest@^29.7.0: +jest@^29.7.0: version "29.7.0" resolved "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz" integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== @@ -6178,7 +6448,7 @@ js2xmlparser@^4.0.2: dependencies: xmlcreate "^2.0.4" -jsdoc@^3.6.11, "jsdoc@>=3.x <=4.x": +jsdoc@^3.6.11: version "3.6.11" resolved "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.11.tgz" integrity sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg== @@ -6505,7 +6775,7 @@ make-dir@^4.0.0: dependencies: semver "^7.5.3" -make-error@^1.1.1, make-error@1.x: +make-error@1.x, make-error@^1.1.1: version "1.3.6" resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -6522,7 +6792,7 @@ markdown-it-anchor@^8.4.1: resolved "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz" integrity sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA== -markdown-it@*, markdown-it@^12.3.2: +markdown-it@^12.3.2: version "12.3.2" resolved "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz" integrity sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg== @@ -6583,7 +6853,7 @@ micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -"mime-db@>= 1.43.0 < 2", mime-db@1.52.0: +mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": version "1.52.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== @@ -6595,16 +6865,16 @@ mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, dependencies: mime-db "1.52.0" -mime@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz" - integrity sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A== - mime@1.6.0: version "1.6.0" resolved "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== +mime@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz" + integrity sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A== + mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" @@ -6660,16 +6930,16 @@ minipass@^3.0.0: dependencies: yallist "^4.0.0" -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": - version "7.0.4" - resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz" - integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== - minipass@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz" integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": + version "7.0.4" + resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== + minizlib@^2.1.1: version "2.1.2" resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" @@ -6720,16 +6990,16 @@ mri@^1.2.0: resolved "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz" integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== -ms@^2.1.1, ms@2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - ms@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== +ms@2.1.2, ms@^2.1.1: + version "2.1.2" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + ms@2.1.3: version "2.1.3" resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" @@ -6823,29 +7093,11 @@ node-int64@^0.4.0: resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -"node-offline-transaction-example@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-offline-public-transaction-ts": - version "0.0.0" - resolved "file:create-leo-app/template-offline-public-transaction-ts" - dependencies: - "@provablehq/sdk" "^0.6.0" - node-releases@^2.0.13: version "2.0.13" resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz" integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== -"node-starter@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-node": - version "0.0.0" - resolved "file:create-leo-app/template-node" - dependencies: - "@provablehq/sdk" "^0.6.0" - -"node-ts-starter@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-node-ts": - version "0.0.0" - resolved "file:create-leo-app/template-node-ts" - dependencies: - "@provablehq/sdk" "^0.6.0" - normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" @@ -7203,7 +7455,7 @@ postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@^8.1.0, postcss@^8.4.21, postcss@^8.4.27, postcss@8.4.31: +postcss@8.4.31, postcss@^8.4.21, postcss@^8.4.27: version "8.4.31" resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz" integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ== @@ -7217,16 +7469,16 @@ prelude-ls@^1.2.1: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier@^3.0.0, prettier@3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz" - integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== - prettier@2.7.1: version "2.7.1" resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== +prettier@3.0.3, prettier@^3.0.0: + version "3.0.3" + resolved "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz" + integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== + pretty-bytes@^6.1.0: version "6.1.1" resolved "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz" @@ -7281,7 +7533,7 @@ prompts@^2.0.1, prompts@^2.4.2: kleur "^3.0.3" sisteransi "^1.0.5" -prop-types@^15.5.9, prop-types@^15.7.2, prop-types@^15.8.1: +prop-types@^15.7.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -7428,13 +7680,6 @@ qrcode.react@^3.1.0: resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz" integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== -qs@^6.4.0: - version "6.11.2" - resolved "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz" - integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== - dependencies: - side-channel "^1.0.4" - qs@6.11.0: version "6.11.0" resolved "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz" @@ -7442,6 +7687,13 @@ qs@6.11.0: dependencies: side-channel "^1.0.4" +qs@^6.4.0: + version "6.11.2" + resolved "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz" + integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== + dependencies: + side-channel "^1.0.4" + queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" @@ -7832,15 +8084,7 @@ rc-upload@~4.3.5: classnames "^2.2.5" rc-util "^5.2.0" -rc-util@^5.0.1, rc-util@^5.16.1, rc-util@^5.17.0, rc-util@^5.18.1, rc-util@^5.2.0, rc-util@^5.20.1, rc-util@^5.21.0, rc-util@^5.24.4, rc-util@^5.25.2, rc-util@^5.26.0, rc-util@^5.27.0, rc-util@^5.28.0, rc-util@^5.30.0, rc-util@^5.32.2, rc-util@^5.33.0, rc-util@^5.34.1, rc-util@^5.35.0, rc-util@^5.36.0, rc-util@^5.37.0, rc-util@^5.9.4: - version "5.37.0" - resolved "https://registry.npmjs.org/rc-util/-/rc-util-5.37.0.tgz" - integrity sha512-cPMV8DzaHI1KDaS7XPRXAf4J7mtBqjvjikLpQieaeOO7+cEbqY2j7Kso/T0R0OiEZTNcLS/8Zl9YrlXiO9UbjQ== - dependencies: - "@babel/runtime" "^7.18.3" - react-is "^16.12.0" - -rc-util@^5.31.1: +rc-util@^5.0.1, rc-util@^5.16.1, rc-util@^5.17.0, rc-util@^5.18.1, rc-util@^5.2.0, rc-util@^5.20.1, rc-util@^5.21.0, rc-util@^5.24.4, rc-util@^5.25.2, rc-util@^5.26.0, rc-util@^5.27.0, rc-util@^5.28.0, rc-util@^5.30.0, rc-util@^5.31.1, rc-util@^5.32.2, rc-util@^5.33.0, rc-util@^5.34.1, rc-util@^5.35.0, rc-util@^5.36.0, rc-util@^5.37.0, rc-util@^5.9.4: version "5.37.0" resolved "https://registry.npmjs.org/rc-util/-/rc-util-5.37.0.tgz" integrity sha512-cPMV8DzaHI1KDaS7XPRXAf4J7mtBqjvjikLpQieaeOO7+cEbqY2j7Kso/T0R0OiEZTNcLS/8Zl9YrlXiO9UbjQ== @@ -7893,7 +8137,7 @@ react-docgen@^5.4.0: node-dir "^0.1.10" strip-indent "^3.0.0" -react-dom@*, "react-dom@^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0", react-dom@^17.0.2, react-dom@^18, react-dom@^18.2.0, "react-dom@>= 16.3", react-dom@>=16.0.0, react-dom@>=16.11.0, react-dom@>=16.8, react-dom@>=16.8.0, react-dom@>=16.9.0: +react-dom@^18, react-dom@^18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== @@ -7911,12 +8155,7 @@ react-is@^16.12.0, react-is@^16.13.1: resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== -react-is@^18.0.0: - version "18.2.0" - resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" - integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== - -react-is@^18.2.0: +react-is@^18.0.0, react-is@^18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== @@ -7941,7 +8180,7 @@ react-router@6.16.0: dependencies: "@remix-run/router" "1.9.0" -react@*, "react@^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0", react@^17.0.2, react@^18, react@^18.2.0, "react@>= 16.3", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", react@>=16.0.0, react@>=16.11.0, react@>=16.8, react@>=16.8.0, react@>=16.9.0: +react@^18, react@^18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== @@ -8209,13 +8448,38 @@ rollup-plugin-typescript2@^0.36.0: semver "^7.5.4" tslib "^2.6.2" -rollup@^1.20.0||^2.0.0||^3.0.0||^4.0.0, rollup@^2.68.0||^3.0.0, rollup@^2.78.0||^3.0.0||^4.0.0, rollup@^3.0, rollup@^3.20.2, rollup@^3.27.1, rollup@^3.27.2, rollup@^4.0.0, rollup@>=1.26.3: +rollup@^3.20.2, rollup@^3.27.1, rollup@^3.27.2: version "3.29.4" resolved "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz" integrity sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw== optionalDependencies: fsevents "~2.3.2" +rollup@^4.0.0: + version "4.19.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.19.2.tgz#4985cd2028965157e8d674a70e49f33aca9038eb" + integrity sha512-6/jgnN1svF9PjNYJ4ya3l+cqutg49vOZ4rVgsDKxdl+5gpGPnByFXWGyfH9YGx9i3nfBwSu1Iyu6vGwFFA0BdQ== + dependencies: + "@types/estree" "1.0.5" + optionalDependencies: + "@rollup/rollup-android-arm-eabi" "4.19.2" + "@rollup/rollup-android-arm64" "4.19.2" + "@rollup/rollup-darwin-arm64" "4.19.2" + "@rollup/rollup-darwin-x64" "4.19.2" + "@rollup/rollup-linux-arm-gnueabihf" "4.19.2" + "@rollup/rollup-linux-arm-musleabihf" "4.19.2" + "@rollup/rollup-linux-arm64-gnu" "4.19.2" + "@rollup/rollup-linux-arm64-musl" "4.19.2" + "@rollup/rollup-linux-powerpc64le-gnu" "4.19.2" + "@rollup/rollup-linux-riscv64-gnu" "4.19.2" + "@rollup/rollup-linux-s390x-gnu" "4.19.2" + "@rollup/rollup-linux-x64-gnu" "4.19.2" + "@rollup/rollup-linux-x64-musl" "4.19.2" + "@rollup/rollup-win32-arm64-msvc" "4.19.2" + "@rollup/rollup-win32-ia32-msvc" "4.19.2" + "@rollup/rollup-win32-x64-msvc" "4.19.2" + fsevents "~2.3.2" + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" @@ -8233,25 +8497,15 @@ safe-array-concat@^1.0.1: has-symbols "^1.0.3" isarray "^2.0.5" -safe-buffer@^5.1.0, safe-buffer@>=5.1.0, safe-buffer@5.2.1: - version "5.2.1" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -safe-buffer@~5.1.0: +safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-buffer@5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.1.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== safe-regex-test@^1.0.0: version "1.0.0" @@ -8331,28 +8585,7 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.7: - version "7.5.4" - resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - -semver@^7.3.8: - version "7.5.4" - resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - -semver@^7.5.3: - version "7.5.4" - resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - -semver@^7.5.4: +semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -8506,14 +8739,6 @@ source-map-js@^1.0.2: resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== -source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - source-map-support@0.5.13: version "0.5.13" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" @@ -8522,6 +8747,14 @@ source-map-support@0.5.13: buffer-from "^1.0.0" source-map "^0.6.0" +source-map-support@~0.5.20: + version "0.5.21" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" @@ -8567,28 +8800,21 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" -"statuses@>= 1.4.0 < 2": - version "1.5.0" - resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" - integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== - statuses@2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== +"statuses@>= 1.4.0 < 2": + version "1.5.0" + resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" + integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== + streamsearch@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz" integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== -string_decoder@^1.1.1, string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - string-convert@^0.2.0: version "0.2.1" resolved "https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz" @@ -8602,16 +8828,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -8671,14 +8888,14 @@ string.prototype.trimstart@^1.0.7: define-properties "^1.2.0" es-abstract "^1.22.1" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== +string_decoder@^1.1.1, string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== dependencies: - ansi-regex "^5.0.1" + safe-buffer "~5.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -8819,16 +9036,6 @@ tar@^6.1.11: mkdirp "^1.0.3" yallist "^4.0.0" -"template-nextjs@file:/Users/brentconn/IdeaProjects/sdk-provablehq/create-leo-app/template-nextjs-ts": - version "0.1.0" - resolved "file:create-leo-app/template-nextjs-ts" - dependencies: - "@provablehq/sdk" "^0.6.2" - next "13.5.4" - react "^18" - react-dom "^18" - terser-webpack-plugin "^5.3.9" - terser-webpack-plugin@^5.3.7, terser-webpack-plugin@^5.3.9: version "5.3.9" resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz" @@ -8840,7 +9047,7 @@ terser-webpack-plugin@^5.3.7, terser-webpack-plugin@^5.3.9: serialize-javascript "^6.0.1" terser "^5.16.8" -terser@^5.10.0, terser@^5.15.1, terser@^5.16.8, terser@^5.4.0: +terser@^5.10.0, terser@^5.15.1, terser@^5.16.8: version "5.21.0" resolved "https://registry.npmjs.org/terser/-/terser-5.21.0.tgz" integrity sha512-WtnFKrxu9kaoXuiZFSGrcAvvBqAdmKx0SFNmVNYdJamMu9yyN3I/QF0FbH4QcqJQ+y1CJnzxGIKH0cSj+FGYRw== @@ -8964,7 +9171,7 @@ ts-map@^1.0.3: resolved "https://registry.npmjs.org/ts-map/-/ts-map-1.0.3.tgz" integrity sha512-vDWbsl26LIcPGmDpoVzjEP6+hvHZkBkLW7JpvwbCv/5IYPJlsbzCVXY3wsCeAxAUeTclNOUZxnLdGh3VBD/J6w== -ts-node@^10.9.1, ts-node@>=9.0.0: +ts-node@^10.9.1: version "10.9.2" resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz" integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== @@ -9089,16 +9296,16 @@ typescript@^3.2.2: resolved "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz" integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== -"typescript@^4.1 || ^5.0", typescript@^5, typescript@^5.0.4, typescript@^5.2.2, typescript@>=2.4.0, typescript@>=2.7, "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", "typescript@>=4.3 <6", typescript@>=5.1.6: - version "5.2.2" - resolved "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz" - integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== - typescript@^4.5.4: version "4.9.5" resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== +typescript@^5, typescript@^5.0.4, typescript@^5.2.2: + version "5.2.2" + resolved "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== + uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" resolved "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz" @@ -9208,7 +9415,7 @@ universalify@^2.0.0: resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== -unpipe@~1.0.0, unpipe@1.0.0: +unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== @@ -9280,7 +9487,7 @@ vary@~1.1.2: resolved "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -vite@^4, vite@^4.2.0, vite@^4.4.12: +vite@^4.4.12: version "4.4.12" resolved "https://registry.npmjs.org/vite/-/vite-4.4.12.tgz" integrity sha512-KtPlUbWfxzGVul8Nut8Gw2Qe8sBzWY+8QVc5SL8iRFnpnrcoCaNlzO40c1R6hPmcdTwIPEDkq0Y9+27a5tVbdQ== @@ -9346,7 +9553,7 @@ wasm-pack@^0.12.1: dependencies: binary-install "^1.0.1" -watchpack@^2.4.0, watchpack@2.4.0: +watchpack@2.4.0, watchpack@^2.4.0: version "2.4.0" resolved "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz" integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== @@ -9371,7 +9578,7 @@ webidl-conversions@^3.0.0: resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== -webpack-cli@^5.1.4, webpack-cli@5.x.x: +webpack-cli@^5.1.4: version "5.1.4" resolved "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz" integrity sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg== @@ -9450,7 +9657,7 @@ webpack-sources@^3.2.3: resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== -"webpack@^4.0.0 || ^5.0.0", "webpack@^4.37.0 || ^5.0.0", webpack@^5.0.0, webpack@^5.1.0, webpack@^5.20.0, webpack@^5.76.0, webpack@>=2, webpack@5.x.x: +webpack@^5.76.0: version "5.88.2" resolved "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz" integrity sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ== @@ -9480,7 +9687,7 @@ webpack-sources@^3.2.3: watchpack "^2.4.0" webpack-sources "^3.2.3" -websocket-driver@^0.7.4, websocket-driver@>=0.5.1: +websocket-driver@>=0.5.1, websocket-driver@^0.7.4: version "0.7.4" resolved "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz" integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== @@ -9582,16 +9789,7 @@ wordwrap@0.0.2: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz" integrity sha512-xSBsCeh+g+dinoBv3GAOWM4LcVVO68wLXRanibtBSdUvkGWQRGeE9P7IwU9EmDDi4jA6L44lz15CGMwdw9N5+Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -9657,12 +9855,7 @@ yargs-parser@^20.2.2, yargs-parser@^20.2.9: resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs-parser@^21.0.1: - version "21.1.1" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs-parser@^21.1.1: +yargs-parser@^21.0.1, yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==