From a57736171d3ad5f431227f32bb190bb238ae2d13 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Wed, 4 Sep 2024 14:24:11 -0400 Subject: [PATCH] Update taco-nft-demo to use latest released versions of `taco`, `taco-auth` and update code accordingly. --- demos/taco-nft-demo/README.md | 11 +- demos/taco-nft-demo/package.json | 25 +-- demos/taco-nft-demo/src/App.tsx | 25 ++- pnpm-lock.yaml | 269 +++++++------------------------ 4 files changed, 96 insertions(+), 234 deletions(-) diff --git a/demos/taco-nft-demo/README.md b/demos/taco-nft-demo/README.md index 1b594b3b6..3a303e83e 100644 --- a/demos/taco-nft-demo/README.md +++ b/demos/taco-nft-demo/README.md @@ -13,8 +13,8 @@ pnpm start ## Usage -In order to run this demo will need a browser wallet with an account funded with some -$MATIC. +In order to run this demo will need a browser wallet with an account funded with +some $MATIC. In order to connect with the network, the demo uses a public instances of [Porter](https://docs.nucypher.com/en/latest/application_development/web_development.html#running-porter). @@ -26,12 +26,13 @@ production _just yet_. ### Lynx Testnet -The current release of `@nucypher/taco` supports Ursulas working on Lynx (bleeding-edge) test -network and contracts deployed on Polygon Amoy testnet. +The current release of `@nucypher/taco` supports Ursulas working on Lynx +(bleeding-edge) test network and contracts deployed on Polygon Amoy testnet. ## References -Please find developer documentation [here](https://docs.threshold.network/app-development/threshold-access-control-tac). +Please find developer documentation +[here](https://docs.threshold.network/app-development/threshold-access-control-tac). This dApp is based on [`useDapp` example](https://github.com/EthWorks/useDapp/tree/master/packages/example). diff --git a/demos/taco-nft-demo/package.json b/demos/taco-nft-demo/package.json index 1c0cf1bd3..dc0d17dca 100644 --- a/demos/taco-nft-demo/package.json +++ b/demos/taco-nft-demo/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "A usage example for @nucypher/taco", "private": true, - "author": "Piotr Rosłaniec ", + "author": "NuCypher ", "scripts": { "start": "webpack serve --mode development", "build": "pnpm clean && webpack --mode production --progress", @@ -12,10 +12,11 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@nucypher/taco": "^0.3.0", - "@usedapp/core": "^1.2.13", + "@nucypher/taco": "^0.5.0", + "@nucypher/taco-auth": "^0.2.0", + "@usedapp/core": "^1.2.16", "buffer": "^6.0.3", - "ethers": "^5.7.1", + "ethers": "^5.7.2", "file-loader": "^6.2.0", "react": "^18.3.1", "react-copy-to-clipboard": "^5.1.0", @@ -23,19 +24,19 @@ "react-spinners": "^0.14.1" }, "devDependencies": { - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7", + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", "@types/react": "^18.3.5", "@types/react-copy-to-clipboard": "^5.0.7", "@types/react-dom": "^18.3.0", "copy-webpack-plugin": "^12.0.2", - "esbuild-loader": "^2.20.0", - "html-webpack-plugin": "^5.5.0", - "react-refresh": "^0.14.0", - "rimraf": "^5.0.5", + "esbuild-loader": "^2.21.0", + "html-webpack-plugin": "^5.6.0", + "react-refresh": "^0.14.2", + "rimraf": "^5.0.10", "stream-browserify": "^3.0.0", - "typescript": "^4.8.3", - "webpack": "^5.93.0", + "typescript": "^4.9.5", + "webpack": "^5.94.0", "webpack-cli": "^5.1.4", - "webpack-dev-server": "^4.11.1" + "webpack-dev-server": "^4.15.2" } } diff --git a/demos/taco-nft-demo/src/App.tsx b/demos/taco-nft-demo/src/App.tsx index 191276709..331466306 100644 --- a/demos/taco-nft-demo/src/App.tsx +++ b/demos/taco-nft-demo/src/App.tsx @@ -6,6 +6,10 @@ import { initialize, ThresholdMessageKit, } from '@nucypher/taco'; +import { + EIP4361AuthProvider, + USER_ADDRESS_PARAM_DEFAULT, +} from '@nucypher/taco-auth'; import { useEthers } from '@usedapp/core'; import { ethers } from 'ethers'; import React, { useEffect, useState } from 'react'; @@ -73,12 +77,27 @@ export default function App() { setDecryptionErrors([]); const provider = new ethers.providers.Web3Provider(window.ethereum); + + // create condition context + const conditionContext = conditions.context.ConditionContext.fromMessageKit(encryptedMessage); + + // illustrative optional example of checking what context parameters are required + if ( + conditionContext.requestedContextParameters.has(USER_ADDRESS_PARAM_DEFAULT) + ) { + // add authentication for ":userAddress" in condition + const authProvider = new EIP4361AuthProvider( + provider, + provider.getSigner() + ); + conditionContext.addAuthProvider(USER_ADDRESS_PARAM_DEFAULT, authProvider); + } + const decryptedMessage = await decrypt( provider, domain, encryptedMessage, - undefined, - provider.getSigner() + conditionContext, ); setDecryptedMessage(new TextDecoder().decode(decryptedMessage)); @@ -109,7 +128,7 @@ export default function App() {

Notice

In production (mainnet domain), your wallet address (encryptor) will also have - to be allow-listed for this specific ritual. However, we have + to be allow-listed for this specific ritual. However, we have publicly available testnet rituals for use when developing your apps.

diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 808b86dac..788ab9156 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -198,16 +198,19 @@ importers: demos/taco-nft-demo: dependencies: '@nucypher/taco': - specifier: ^0.3.0 - version: 0.3.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: ^0.5.0 + version: 0.5.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@nucypher/taco-auth': + specifier: ^0.2.0 + version: 0.2.0(bufferutil@4.0.8)(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(utf-8-validate@5.0.10) '@usedapp/core': - specifier: ^1.2.13 - version: 1.2.13(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(node-fetch@2.7.0)(react@18.3.1) + specifier: ^1.2.16 + version: 1.2.16(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(node-fetch@2.7.0)(react@18.3.1) buffer: specifier: ^6.0.3 version: 6.0.3 ethers: - specifier: ^5.7.1 + specifier: ^5.7.2 version: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) file-loader: specifier: ^6.2.0 @@ -226,8 +229,8 @@ importers: version: 0.14.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) devDependencies: '@pmmmwh/react-refresh-webpack-plugin': - specifier: ^0.5.7 - version: 0.5.11(react-refresh@0.14.0)(type-fest@0.21.3)(webpack-dev-server@4.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)(webpack-cli@5.1.4)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4)) + specifier: ^0.5.15 + version: 0.5.15(react-refresh@0.14.2)(type-fest@0.21.3)(webpack-dev-server@4.15.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)(webpack-cli@5.1.4)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4)) '@types/react': specifier: ^18.3.5 version: 18.3.5 @@ -241,32 +244,32 @@ importers: specifier: ^12.0.2 version: 12.0.2(webpack@5.94.0(webpack-cli@5.1.4)) esbuild-loader: - specifier: ^2.20.0 + specifier: ^2.21.0 version: 2.21.0(webpack@5.94.0(webpack-cli@5.1.4)) html-webpack-plugin: - specifier: ^5.5.0 + specifier: ^5.6.0 version: 5.6.0(webpack@5.94.0(webpack-cli@5.1.4)) react-refresh: - specifier: ^0.14.0 - version: 0.14.0 + specifier: ^0.14.2 + version: 0.14.2 rimraf: - specifier: ^5.0.5 - version: 5.0.5 + specifier: ^5.0.10 + version: 5.0.10 stream-browserify: specifier: ^3.0.0 version: 3.0.0 typescript: - specifier: ^4.8.3 + specifier: ^4.9.5 version: 4.9.5 webpack: - specifier: ^5.93.0 + specifier: ^5.94.0 version: 5.94.0(webpack-cli@5.1.4) webpack-cli: specifier: ^5.1.4 - version: 5.1.4(webpack-dev-server@4.15.1)(webpack@5.94.0) + version: 5.1.4(webpack-dev-server@4.15.2)(webpack@5.94.0) webpack-dev-server: - specifier: ^4.11.1 - version: 4.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)(webpack-cli@5.1.4)(webpack@5.94.0) + specifier: ^4.15.2 + version: 4.15.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)(webpack-cli@5.1.4)(webpack@5.94.0) examples/pre/nextjs: dependencies: @@ -2218,19 +2221,12 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@nucypher/nucypher-contracts@0.22.0': - resolution: {integrity: sha512-poWxFBi2qL5KnPZYsqr4AWn/O26Z2Q6X9EoARjQZIZdcEqYvE6iMHHgiw/RKL036u1jh1/rzo44eZRCt6ErMpA==} - '@nucypher/nucypher-contracts@0.23.0': resolution: {integrity: sha512-vilcgICbFzSP2x5otEJHzmaKsbX4t6DIU8aj4U33taTeCdR62LDFS6tCG1r+XzgSmIJZO8ksO5bGzaEHF+r1Ww==} '@nucypher/nucypher-core@0.14.5': resolution: {integrity: sha512-Q3kBuJL0qtTtnxrM5DEQauQUvDlXmwubm9u1h7gbyLhs+aZNC9WDyjEUbE43+uahlHu4k1hKEMxD1gjV165ChA==} - '@nucypher/shared@0.2.3': - resolution: {integrity: sha512-byKAtM3isz3RIztc3tEETivS7fFnlLqu9wWiqJaK6EtyCs9BGhb5c4+2ASrJilpJ5E2zQGjxkBdpTa2yWuCZgQ==} - engines: {node: '>=18', pnpm: '>=8.0.0'} - '@nucypher/shared@0.4.0': resolution: {integrity: sha512-hy3q91TY6T9ZQVUXvzlzTJu+dWvikdy+g6NffW+nAuT6e670/R16F7lD1yw1kLn3YdALX3ueDmXD5YFlF21XBQ==} engines: {node: '>=18', pnpm: '>=8.0.0'} @@ -2239,10 +2235,6 @@ packages: resolution: {integrity: sha512-TW4RkF8ayeeZyVyLGoRLF1v85/e1th8zSQ9O8E1RcYdbXeKZcGv6J8/iKwaFxtqAf0GTKdGlk1d5pgeF/+khPQ==} engines: {node: '>=18', pnpm: '>=8.0.0'} - '@nucypher/taco@0.3.0': - resolution: {integrity: sha512-AwkCcV7bdXyINzfrJUkjXoE3BArZorduZlQd/iyyE0J0+ErS9CLVSnbfjCfb1li85buttYgWx7CA8axqk0CqJA==} - engines: {node: '>=18', pnpm: '>=8.0.0'} - '@nucypher/taco@0.5.0': resolution: {integrity: sha512-POo9cHqdaMLoB0lOg2uI2xkq39l74msrhaCUWc6IjJ/Nb4Wde1QIIMYuit2jXikalSBL9YNHDotxv0qSLfPT8A==} engines: {node: '>=18', pnpm: '>=8.0.0'} @@ -2251,32 +2243,6 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@pmmmwh/react-refresh-webpack-plugin@0.5.11': - resolution: {integrity: sha512-7j/6vdTym0+qZ6u4XbSAxrWBGYSdCfTzySkj7WAFgDLmSyWlOrWvpyzxlFh5jtw9dn0oL/jtW+06XfFiisN3JQ==} - engines: {node: '>= 10.13'} - peerDependencies: - '@types/webpack': 4.x || 5.x - react-refresh: '>=0.10.0 <1.0.0' - sockjs-client: ^1.4.0 - type-fest: '>=0.17.0 <5.0.0' - webpack: '>=4.43.0 <6.0.0' - webpack-dev-server: 3.x || 4.x - webpack-hot-middleware: 2.x - webpack-plugin-serve: 0.x || 1.x - peerDependenciesMeta: - '@types/webpack': - optional: true - sockjs-client: - optional: true - type-fest: - optional: true - webpack-dev-server: - optional: true - webpack-hot-middleware: - optional: true - webpack-plugin-serve: - optional: true - '@pmmmwh/react-refresh-webpack-plugin@0.5.15': resolution: {integrity: sha512-LFWllMA55pzB9D34w/wXUCf8+c+IYKuJDgxiZ3qMhl64KRMBHYM1I3VdGaD2BV5FNPV2/S2596bppxHbv2ZydQ==} engines: {node: '>= 10.13'} @@ -2913,21 +2879,10 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@uniswap/token-lists@1.0.0-beta.33': - resolution: {integrity: sha512-JQkXcpRI3jFG8y3/CGC4TS8NkDgcxXaOQuYW8Qdvd6DcDiIyg2vVYCG9igFEzF0G6UvxgHkBKC7cWCgzZNYvQg==} - engines: {node: '>=10'} - '@uniswap/token-lists@1.0.0-beta.34': resolution: {integrity: sha512-Hc3TfrFaupg0M84e/Zv7BoF+fmMWDV15mZ5s8ZQt2qZxUcNw2GQW+L6L/2k74who31G+p1m3GRYbJpAo7d1pqA==} engines: {node: '>=10'} - '@usedapp/core@1.2.13': - resolution: {integrity: sha512-mlWIIXvWdu+f3J0DCNNiPd9blTzuknQvTNy0yX61x/XDoZNqoPfs+0ALMndvmPKN8VMNbo0fwTjoR3R8rNfx9g==} - hasBin: true - peerDependencies: - ethers: ^5 - react: '*' - '@usedapp/core@1.2.16': resolution: {integrity: sha512-IgJzxItngsSDoVemXChFqiqqvV9gjp7OvEaM2ajZ3GZPA3JMBKw+tPBwhjjjKvnHgcIpE4kEBaWaosYqMzQG0Q==} hasBin: true @@ -3790,9 +3745,6 @@ packages: engines: {node: '>= 12'} hasBin: true - common-path-prefix@3.0.0: - resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} - common-tags@1.8.2: resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} engines: {node: '>=4.0.0'} @@ -3935,9 +3887,6 @@ packages: core-js-compat@3.35.0: resolution: {integrity: sha512-5blwFAddknKeNgsjBzilkdQ0+YK8L1PfqPYq40NOYMYFSS38qj+hpTcLLWwpIwA2A5bje/x5jmVn2tzUMg9IVw==} - core-js-pure@3.35.0: - resolution: {integrity: sha512-f+eRYmkou59uh7BPcyJ8MC76DiGhspj1KMxVIcF24tzP8NA9HVa1uC7BTW2tgx7E1QVCzDzsgp7kArrzhlz8Ew==} - core-js-pure@3.38.1: resolution: {integrity: sha512-BY8Etc1FZqdw1glX0XNOq2FDwfrg/VGqoZOZCdaL+UmdaqDwQwYXkMJT4t6In+zfEfOJDcM9T0KdbBeJg8KKCQ==} @@ -4996,10 +4945,6 @@ packages: for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - foreground-child@3.1.1: - resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} - engines: {node: '>=14'} - foreground-child@3.3.0: resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} engines: {node: '>=14'} @@ -5167,11 +5112,6 @@ packages: glob-to-regexp@0.4.1: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} - glob@10.3.10: - resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true - glob@10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true @@ -5757,10 +5697,6 @@ packages: iterator.prototype@1.1.2: resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} - jackspeak@2.3.6: - resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} - engines: {node: '>=14'} - jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} @@ -6224,10 +6160,6 @@ packages: resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==} engines: {node: '>=8'} - lru-cache@10.1.0: - resolution: {integrity: sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==} - engines: {node: 14 || >=16.14} - lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} @@ -6401,10 +6333,6 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - minipass@7.0.4: - resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} - engines: {node: '>=16 || 14 >=14.17'} - minipass@7.1.2: resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} engines: {node: '>=16 || 14 >=14.17'} @@ -6788,10 +6716,6 @@ packages: path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - path-scurry@1.10.1: - resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} - engines: {node: '>=16 || 14 >=14.17'} - path-scurry@1.11.1: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} @@ -7506,10 +7430,6 @@ packages: resolution: {integrity: sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==} engines: {node: '>=0.10.0'} - react-refresh@0.14.0: - resolution: {integrity: sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==} - engines: {node: '>=0.10.0'} - react-refresh@0.14.2: resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==} engines: {node: '>=0.10.0'} @@ -7713,11 +7633,6 @@ packages: resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==} hasBin: true - rimraf@5.0.5: - resolution: {integrity: sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==} - engines: {node: '>=14'} - hasBin: true - ripemd160@2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} @@ -11200,27 +11115,10 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.16.0 - '@nucypher/nucypher-contracts@0.22.0': {} - '@nucypher/nucypher-contracts@0.23.0': {} '@nucypher/nucypher-core@0.14.5': {} - '@nucypher/shared@0.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/providers': 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@nucypher/nucypher-contracts': 0.22.0 - '@nucypher/nucypher-core': 0.14.5 - axios: 1.6.8 - deep-equal: 2.2.3 - ethers: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - qs: 6.13.0 - transitivePeerDependencies: - - bufferutil - - debug - - utf-8-validate - '@nucypher/shared@0.4.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@ethersproject/abi': 5.7.0 @@ -11249,19 +11147,6 @@ snapshots: - ethers - utf-8-validate - '@nucypher/taco@0.3.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@nucypher/nucypher-core': 0.14.5 - '@nucypher/shared': 0.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - ethers: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - semver: 7.6.3 - zod: 3.22.4 - transitivePeerDependencies: - - bufferutil - - debug - - utf-8-validate - '@nucypher/taco@0.5.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@nucypher/nucypher-core': 0.14.5 @@ -11278,23 +11163,6 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@pmmmwh/react-refresh-webpack-plugin@0.5.11(react-refresh@0.14.0)(type-fest@0.21.3)(webpack-dev-server@4.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)(webpack-cli@5.1.4)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4))': - dependencies: - ansi-html-community: 0.0.8 - common-path-prefix: 3.0.0 - core-js-pure: 3.35.0 - error-stack-parser: 2.1.4 - find-up: 5.0.0 - html-entities: 2.4.0 - loader-utils: 2.0.4 - react-refresh: 0.14.0 - schema-utils: 3.3.0 - source-map: 0.7.4 - webpack: 5.94.0(webpack-cli@5.1.4) - optionalDependencies: - type-fest: 0.21.3 - webpack-dev-server: 4.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)(webpack-cli@5.1.4)(webpack@5.94.0) - '@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.11.0)(type-fest@0.21.3)(webpack-dev-server@4.15.2(bufferutil@4.0.8)(utf-8-validate@5.0.10)(webpack@5.94.0))(webpack@5.94.0)': dependencies: ansi-html: 0.0.9 @@ -12069,24 +11937,8 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@uniswap/token-lists@1.0.0-beta.33': {} - '@uniswap/token-lists@1.0.0-beta.34': {} - '@usedapp/core@1.2.13(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(node-fetch@2.7.0)(react@18.3.1)': - dependencies: - '@metamask/detect-provider': 2.0.0 - '@uniswap/token-lists': 1.0.0-beta.33 - ethers: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - fetch-mock: 9.11.0(node-fetch@2.7.0) - lodash.merge: 4.6.2 - lodash.pickby: 4.6.0 - nanoid: 3.3.4 - react: 18.3.1 - transitivePeerDependencies: - - node-fetch - - supports-color - '@usedapp/core@1.2.16(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(node-fetch@2.7.0)(react@18.3.1)': dependencies: '@metamask/detect-provider': 2.0.0 @@ -13228,8 +13080,6 @@ snapshots: - '@types/node' - typescript - common-path-prefix@3.0.0: {} - common-tags@1.8.2: {} commondir@1.0.1: {} @@ -13416,8 +13266,6 @@ snapshots: dependencies: browserslist: 4.22.2 - core-js-pure@3.35.0: {} - core-js-pure@3.38.1: {} core-js@3.35.0: {} @@ -14203,8 +14051,8 @@ snapshots: '@typescript-eslint/parser': 6.18.1(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.8.0(eslint@8.57.0) eslint-plugin-react: 7.33.2(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.57.0) @@ -14275,13 +14123,13 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 4.3.4 enhanced-resolve: 5.15.0 eslint: 8.57.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.2 is-core-module: 2.13.1 @@ -14313,14 +14161,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 6.18.1(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - supports-color @@ -14402,6 +14250,33 @@ snapshots: - eslint-import-resolver-webpack - supports-color + eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + dependencies: + array-includes: 3.1.7 + array.prototype.findlastindex: 1.2.3 + array.prototype.flat: 1.3.2 + array.prototype.flatmap: 1.3.2 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 8.57.0 + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.18.1(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + hasown: 2.0.0 + is-core-module: 2.13.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.7 + object.groupby: 1.0.1 + object.values: 1.1.7 + semver: 6.3.1 + tsconfig-paths: 3.15.0 + optionalDependencies: + '@typescript-eslint/parser': 6.18.1(eslint@8.57.0)(typescript@5.5.4) + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0): dependencies: array-includes: 3.1.7 @@ -14949,11 +14824,6 @@ snapshots: dependencies: is-callable: 1.2.7 - foreground-child@3.1.1: - dependencies: - cross-spawn: 7.0.3 - signal-exit: 4.1.0 - foreground-child@3.3.0: dependencies: cross-spawn: 7.0.3 @@ -15141,14 +15011,6 @@ snapshots: glob-to-regexp@0.4.1: {} - glob@10.3.10: - dependencies: - foreground-child: 3.1.1 - jackspeak: 2.3.6 - minimatch: 9.0.3 - minipass: 7.0.4 - path-scurry: 1.10.1 - glob@10.4.5: dependencies: foreground-child: 3.3.0 @@ -15799,12 +15661,6 @@ snapshots: reflect.getprototypeof: 1.0.4 set-function-name: 2.0.1 - jackspeak@2.3.6: - dependencies: - '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 - jackspeak@3.4.3: dependencies: '@isaacs/cliui': 8.0.2 @@ -16524,8 +16380,6 @@ snapshots: lowercase-keys@2.0.0: {} - lru-cache@10.1.0: {} - lru-cache@10.4.3: {} lru-cache@4.1.5: @@ -16682,8 +16536,6 @@ snapshots: minimist@1.2.8: {} - minipass@7.0.4: {} - minipass@7.1.2: {} mixme@0.5.10: {} @@ -17077,11 +16929,6 @@ snapshots: path-parse@1.0.7: {} - path-scurry@1.10.1: - dependencies: - lru-cache: 10.1.0 - minipass: 7.0.4 - path-scurry@1.11.1: dependencies: lru-cache: 10.4.3 @@ -17792,8 +17639,6 @@ snapshots: react-refresh@0.11.0: {} - react-refresh@0.14.0: {} - react-refresh@0.14.2: {} react-scripts@5.0.1(@babel/plugin-syntax-flow@7.23.3(@babel/core@7.23.7))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.23.7))(@types/babel__core@7.20.5)(bufferutil@4.0.8)(eslint@8.57.0)(react@18.3.1)(ts-node@10.9.2(@types/node@20.11.30)(typescript@5.5.4))(type-fest@0.21.3)(typescript@5.5.4)(utf-8-validate@5.0.10): @@ -18087,10 +17932,6 @@ snapshots: dependencies: glob: 10.4.5 - rimraf@5.0.5: - dependencies: - glob: 10.3.10 - ripemd160@2.0.2: dependencies: hash-base: 3.1.0