From 8cde0e1c5b3121ffdd54496f59670d76fd635c8a Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Tue, 20 Aug 2024 16:12:36 +0530 Subject: [PATCH] Update zk-email-sdk --- packages/app/package.json | 2 +- packages/app/src/index.tsx | 8 +- packages/app/src/pages/MainPage.tsx | 23 ++- yarn.lock | 242 ++++++++++++++++------------ 4 files changed, 160 insertions(+), 115 deletions(-) diff --git a/packages/app/package.json b/packages/app/package.json index b25bc8d..9d1ced5 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -7,7 +7,7 @@ "@rainbow-me/rainbowkit": "^1.3.3", "@react-oauth/google": "^0.12.1", "@zk-email/helpers": "^6.1.3", - "@zk-email/zk-regex-sdk": "^1.0.2", + "@zk-email/zk-email-sdk": "^1.0.3", "js-base64": "^3.7.7", "lodash": "^4.17.21", "react": "^17.0.2", diff --git a/packages/app/src/index.tsx b/packages/app/src/index.tsx index 1005c61..6083219 100644 --- a/packages/app/src/index.tsx +++ b/packages/app/src/index.tsx @@ -14,7 +14,7 @@ import { import "@rainbow-me/rainbowkit/styles.css"; import { GoogleOAuthProvider } from "@react-oauth/google"; import { GoogleAuthProvider } from "./contexts/GoogleAuth"; -import { ZkRegexProvider } from "@zk-email/zk-regex-sdk"; +import { ZkEmailSDKProvider } from "@zk-email/zk-email-sdk"; const { connectors } = getDefaultWallets({ appName: "ZK Email - Twitter Verifier", @@ -33,9 +33,9 @@ const config = createConfig({ ReactDOM.render( - @@ -46,7 +46,7 @@ ReactDOM.render( {" "} - + , document.getElementById("root") ); diff --git a/packages/app/src/pages/MainPage.tsx b/packages/app/src/pages/MainPage.tsx index 3b36b19..72cc713 100644 --- a/packages/app/src/pages/MainPage.tsx +++ b/packages/app/src/pages/MainPage.tsx @@ -31,7 +31,7 @@ import { import { formatDateTime } from "../helpers/dateTimeFormat"; import EmailInputMethod from "../components/EmailInputMethod"; import { randomUUID } from "crypto"; -import { useZkRegex } from "@zk-email/zk-regex-sdk"; +import { useZkEmailSDK } from "@zk-email/zk-email-sdk"; const CIRCUIT_NAME = "twitter"; @@ -53,7 +53,7 @@ export const MainPage: React.FC<{}> = (props) => { generateProofRemotely, proofStatus, inputWorkers, - } = useZkRegex(); + } = useZkEmailSDK(); const [ethereumAddress, setEthereumAddress] = useState(address ?? ""); const [emailFull, setEmailFull] = useState( @@ -95,6 +95,9 @@ export const MainPage: React.FC<{}> = (props) => { useState(false); const [areInputWorkersCreating, setAreInputWorkerCreating] = useState(false); + const [externalInputs, setExternalInputs] = useState>( + {} + ); const [stopwatch, setStopwatch] = useState>({ startedDownloading: 0, @@ -204,6 +207,19 @@ export const MainPage: React.FC<{}> = (props) => { if (!inputWorkers["zk-email/proof-of-twitter-v2"]) { setAreInputWorkerCreating(true); createInputWorker("zk-email/proof-of-twitter-v2"); + const entryExternalInputs = [ + { + name: "address", + maxLength: 64, + }, + ]; + + for (const input of entryExternalInputs) { + setExternalInputs({ + ...externalInputs, + [input.name]: "", + }); + } } }, []); @@ -273,7 +289,8 @@ export const MainPage: React.FC<{}> = (props) => { setIsRemoteProofGenerationLoading(true); const input = await generateInputFromEmail( "zk-email/proof-of-twitter-v2", - emailFull + emailFull, + externalInputs ); const body = Buffer.from(input.emailBody).toString("utf-8"); console.log("input", input); diff --git a/yarn.lock b/yarn.lock index e8e1465..bd6f6ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -409,7 +409,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-class-properties@npm:^7.12.13, @babel/plugin-syntax-class-properties@npm:^7.8.3": +"@babel/plugin-syntax-class-properties@npm:^7.12.13": version: 7.12.13 resolution: "@babel/plugin-syntax-class-properties@npm:7.12.13" dependencies: @@ -475,7 +475,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-import-meta@npm:^7.10.4, @babel/plugin-syntax-import-meta@npm:^7.8.3": +"@babel/plugin-syntax-import-meta@npm:^7.10.4": version: 7.10.4 resolution: "@babel/plugin-syntax-import-meta@npm:7.10.4" dependencies: @@ -508,7 +508,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-logical-assignment-operators@npm:^7.10.4, @babel/plugin-syntax-logical-assignment-operators@npm:^7.8.3": +"@babel/plugin-syntax-logical-assignment-operators@npm:^7.10.4": version: 7.10.4 resolution: "@babel/plugin-syntax-logical-assignment-operators@npm:7.10.4" dependencies: @@ -530,7 +530,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-numeric-separator@npm:^7.10.4, @babel/plugin-syntax-numeric-separator@npm:^7.8.3": +"@babel/plugin-syntax-numeric-separator@npm:^7.10.4": version: 7.10.4 resolution: "@babel/plugin-syntax-numeric-separator@npm:7.10.4" dependencies: @@ -585,7 +585,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-top-level-await@npm:^7.14.5, @babel/plugin-syntax-top-level-await@npm:^7.8.3": +"@babel/plugin-syntax-top-level-await@npm:^7.14.5": version: 7.14.5 resolution: "@babel/plugin-syntax-top-level-await@npm:7.14.5" dependencies: @@ -2541,9 +2541,9 @@ __metadata: linkType: hard "@lit-labs/ssr-dom-shim@npm:^1.0.0, @lit-labs/ssr-dom-shim@npm:^1.1.0": - version: 1.2.0 - resolution: "@lit-labs/ssr-dom-shim@npm:1.2.0" - checksum: 704621c28df8d651e54a1b93f6ede8103db2dd3e7a1f02463fe5492bd28aa22de813314c7833260204fed5c8491a6bbd763f6051abc25690df537d812a508c35 + version: 1.2.1 + resolution: "@lit-labs/ssr-dom-shim@npm:1.2.1" + checksum: 5667c44f58e16edaa257fc3ae7f752250d5250d4eb1d071b65df0f1fce0b90b42e8528787cc2673998d76d993440143a2a20c3358ce125c62df4cd193784de8d languageName: node linkType: hard @@ -2759,7 +2759,7 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:1.4.2, @noble/curves@npm:^1.4.0, @noble/curves@npm:~1.4.0": +"@noble/curves@npm:1.4.2, @noble/curves@npm:~1.4.0": version: 1.4.2 resolution: "@noble/curves@npm:1.4.2" dependencies: @@ -2768,6 +2768,15 @@ __metadata: languageName: node linkType: hard +"@noble/curves@npm:^1.4.0": + version: 1.5.0 + resolution: "@noble/curves@npm:1.5.0" + dependencies: + "@noble/hashes": 1.4.0 + checksum: a43464c5db67a931b1c93d6634c98e30d791dd567408ebeffd582be1a7f31169f6f26b191e24a9552d89d935408bd8c3dfb90ad8b47286ecf53cbdd2d79d02af + languageName: node + linkType: hard + "@noble/hashes@npm:1.3.2": version: 1.3.2 resolution: "@noble/hashes@npm:1.3.2" @@ -3078,10 +3087,10 @@ __metadata: languageName: node linkType: hard -"@remix-run/router@npm:1.19.0": - version: 1.19.0 - resolution: "@remix-run/router@npm:1.19.0" - checksum: 467495864dd99fed3ba7861482cee56fd8c3a1a5cb17fe7bbf22774b0d90315c75d155f7eced0616bdeaceef1d79846b7c44f99873619e3204cfb9e4665e0a3c +"@remix-run/router@npm:1.19.1": + version: 1.19.1 + resolution: "@remix-run/router@npm:1.19.1" + checksum: ebe4474ba0c1046093976b48a4eb4e39bd2f47368aacea21400126d72e133d2cfbfb50254cf1bde0b66dacdf0344452f743049d1595a22e86130668f60112376 languageName: node linkType: hard @@ -3228,9 +3237,9 @@ __metadata: linkType: hard "@safe-global/safe-gateway-typescript-sdk@npm:^3.5.3": - version: 3.22.1 - resolution: "@safe-global/safe-gateway-typescript-sdk@npm:3.22.1" - checksum: d4455e64a2293b3be7ca20f8afc95aed34502a627643d31f4b33fb4bf59c21eb108ffe3431473d0c676a6427c6f27305e0b4fa53f7df9ba9da7cb6347d0cb488 + version: 3.22.2 + resolution: "@safe-global/safe-gateway-typescript-sdk@npm:3.22.2" + checksum: 75131db9db3c91a7d64773d793e1e8555adfffec4138be71a4f2a5c3daacfa461bf16fd8f8b3324aa8d3d9091c1f6315c41e7decdecd1604bfa4318c6b87d354 languageName: node linkType: hard @@ -3791,20 +3800,20 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 22.1.0 - resolution: "@types/node@npm:22.1.0" + version: 22.3.0 + resolution: "@types/node@npm:22.3.0" dependencies: - undici-types: ~6.13.0 - checksum: 3544c35da06009790a2e07742a7dfa0ac0f0d64ec47d9e6d3edf0ff6dcfc1a7cc2efdc5e524e80f8ed80aa37154513b2c1c724f95146ff89fc5aefb8e33575f2 + undici-types: ~6.18.2 + checksum: a86a552e9d3e135da4c975aa73bb1a655ae94f4d8de1547f6f95ad6b244ae2156347548fd35b6a5dd2c65688694198ae8b0923d9c32264dbc3dbfb2f688bd147 languageName: node linkType: hard "@types/node@npm:^20.11.5": - version: 20.14.14 - resolution: "@types/node@npm:20.14.14" + version: 20.14.15 + resolution: "@types/node@npm:20.14.15" dependencies: undici-types: ~5.26.4 - checksum: cb2199123efca94908ee7191cc7b7abc11b26bf1fbb93c2948d5537a6594eedc35d4748d9fa998078fdc2eb5cc3a11d6d87b2fea20a05bda9d304e37d3c3282a + checksum: 0407600c1a426efd3e97c94ef1c13edce453142a06ea4be7102bf7be3e907ea578872c7795988a72e981b8ffe942f8cfaafd98552ba82915cd6f963dd1fa9adc languageName: node linkType: hard @@ -3915,11 +3924,11 @@ __metadata: linkType: hard "@types/yargs@npm:^17.0.8": - version: 17.0.32 - resolution: "@types/yargs@npm:17.0.32" + version: 17.0.33 + resolution: "@types/yargs@npm:17.0.33" dependencies: "@types/yargs-parser": "*" - checksum: 4505bdebe8716ff383640c6e928f855b5d337cb3c68c81f7249fc6b983d0aa48de3eee26062b84f37e0d75a5797bc745e0c6e76f42f81771252a758c638f36ba + checksum: ee013f257472ab643cb0584cf3e1ff9b0c44bca1c9ba662395300a7f1a6c55fa9d41bd40ddff42d99f5d95febb3907c9ff600fbcb92dadbec22c6a76de7e1236 languageName: node linkType: hard @@ -4417,11 +4426,11 @@ __metadata: linkType: hard "@walletconnect/relay-api@npm:^1.0.9": - version: 1.0.10 - resolution: "@walletconnect/relay-api@npm:1.0.10" + version: 1.0.11 + resolution: "@walletconnect/relay-api@npm:1.0.11" dependencies: "@walletconnect/jsonrpc-types": ^1.0.2 - checksum: a332cbfdf0d3bad7046b0559653a5121a4b5a540f029cc01eeb8ef466681b10626a5a24d55668405e7c635535f35b8038d4aa5a2f0d16c8b512c41fecff2448c + checksum: 9fcddf055de01c04b9fa59035e8c6e31d523743c848d266f528009048aeadaa1b4d9b544bdcb6928e7a69f738d5f0352d1cdebbaa34b1346b937942cb5f6f144 languageName: node linkType: hard @@ -4624,7 +4633,7 @@ __metadata: "@types/styled-components": ^5.1.34 "@vitejs/plugin-react": ^4.2.1 "@zk-email/helpers": ^6.1.3 - "@zk-email/zk-regex-sdk": ^1.0.2 + "@zk-email/zk-email-sdk": ^1.0.3 crypto-browserify: ^3.12.0 jest: ^29.7.0 jest-environment-jsdom: ^29.7.0 @@ -4654,6 +4663,18 @@ __metadata: languageName: unknown linkType: soft +"@zk-email/zk-email-sdk@npm:^1.0.3": + version: 1.0.3 + resolution: "@zk-email/zk-email-sdk@npm:1.0.3" + dependencies: + "@react-oauth/google": ^0.12.1 + js-base64: ^3.7.7 + peerDependencies: + react: ^18.3.1 + checksum: aaa47ee0b4507a12e6b2716f8a3f0d2ae620306902dc2588f08afcfa3aa80a924c2a88e25ceb651f14e5d973b09a2ac93cdbb20b48664ab1e8e2261636e99322 + languageName: node + linkType: hard + "@zk-email/zk-regex-circom@npm:^1.1.1": version: 1.3.0 resolution: "@zk-email/zk-regex-circom@npm:1.3.0" @@ -4674,18 +4695,6 @@ __metadata: languageName: node linkType: hard -"@zk-email/zk-regex-sdk@npm:^1.0.2": - version: 1.0.2 - resolution: "@zk-email/zk-regex-sdk@npm:1.0.2" - dependencies: - "@react-oauth/google": ^0.12.1 - js-base64: ^3.7.7 - peerDependencies: - react: ^18.3.1 - checksum: 7d2b9fd16d41d18666120b5047709b854a4df8dfd8fbc588ac9951d298b4e2931f8d41a357f625d3c79370cf9d8d0e8ee499ef8d31bd266bf38307312ee1316b - languageName: node - linkType: hard - "abab@npm:^2.0.6": version: 2.0.6 resolution: "abab@npm:2.0.6" @@ -5061,13 +5070,13 @@ __metadata: linkType: hard "axios@npm:^1.6.1": - version: 1.7.3 - resolution: "axios@npm:1.7.3" + version: 1.7.4 + resolution: "axios@npm:1.7.4" dependencies: follow-redirects: ^1.15.6 form-data: ^4.0.0 proxy-from-env: ^1.1.0 - checksum: bc304d6da974922342aed7c33155934354429cdc7e1ba9d399ab9ff3ac76103f3697eeedf042a634d43cdae682182bcffd942291db42d2be45b750597cdd5eef + checksum: 0c17039a9acfe6a566fca8431ba5c1b455c83d30ea6157fec68a6722878fcd30f3bd32d172f6bee0c51fe75ca98e6414ddcd968a87b5606b573731629440bfaf languageName: node linkType: hard @@ -5157,24 +5166,27 @@ __metadata: linkType: hard "babel-preset-current-node-syntax@npm:^1.0.0": - version: 1.0.1 - resolution: "babel-preset-current-node-syntax@npm:1.0.1" + version: 1.1.0 + resolution: "babel-preset-current-node-syntax@npm:1.1.0" dependencies: "@babel/plugin-syntax-async-generators": ^7.8.4 "@babel/plugin-syntax-bigint": ^7.8.3 - "@babel/plugin-syntax-class-properties": ^7.8.3 - "@babel/plugin-syntax-import-meta": ^7.8.3 + "@babel/plugin-syntax-class-properties": ^7.12.13 + "@babel/plugin-syntax-class-static-block": ^7.14.5 + "@babel/plugin-syntax-import-attributes": ^7.24.7 + "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/plugin-syntax-json-strings": ^7.8.3 - "@babel/plugin-syntax-logical-assignment-operators": ^7.8.3 + "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 - "@babel/plugin-syntax-numeric-separator": ^7.8.3 + "@babel/plugin-syntax-numeric-separator": ^7.10.4 "@babel/plugin-syntax-object-rest-spread": ^7.8.3 "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 "@babel/plugin-syntax-optional-chaining": ^7.8.3 - "@babel/plugin-syntax-top-level-await": ^7.8.3 + "@babel/plugin-syntax-private-property-in-object": ^7.14.5 + "@babel/plugin-syntax-top-level-await": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0 - checksum: d118c2742498c5492c095bc8541f4076b253e705b5f1ad9a2e7d302d81a84866f0070346662355c8e25fc02caa28dc2da8d69bcd67794a0d60c4d6fab6913cc8 + checksum: 9f93fac975eaba296c436feeca1031ca0539143c4066eaf5d1ba23525a31850f03b651a1049caea7287df837a409588c8252c15627ad3903f17864c8e25ed64b languageName: node linkType: hard @@ -5556,9 +5568,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001646": - version: 1.0.30001649 - resolution: "caniuse-lite@npm:1.0.30001649" - checksum: 7952512a243f22c942e0e99249def19d781ad1900db101f2d8de9d83de37db000a7dc7f226c9c99134001975e22852becf1677539c24c7ecae53467b681c400f + version: 1.0.30001651 + resolution: "caniuse-lite@npm:1.0.30001651" + checksum: c31a5a01288e70cdbbfb5cd94af3df02f295791673173b8ce6d6a16db4394a6999197d44190be5a6ff06b8c2c7d2047e94dfd5e5eb4c103ab000fca2d370afc7 languageName: node linkType: hard @@ -6855,9 +6867,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.4": - version: 1.5.4 - resolution: "electron-to-chromium@npm:1.5.4" - checksum: 352f13c043cb185b464efe20f9b0a1adea2b1a7dad56e41dac995d0ad060f9981e479d632ebc73a1dce3bd5c36bbceeffe0667161ce296c2488fbb95f89bc793 + version: 1.5.8 + resolution: "electron-to-chromium@npm:1.5.8" + checksum: b9200c76fdeb4fc47deb3ea08e2eee65fa86dcc69ce4c78b0ff944b78ecca5635e39e68a2c0bbea40c2fac2893dd73e06ff9fb8df07fd33ea16432cd2dc5d05b languageName: node linkType: hard @@ -6877,8 +6889,8 @@ __metadata: linkType: hard "elliptic@npm:^6.5.3, elliptic@npm:^6.5.5": - version: 6.5.6 - resolution: "elliptic@npm:6.5.6" + version: 6.5.7 + resolution: "elliptic@npm:6.5.7" dependencies: bn.js: ^4.11.9 brorand: ^1.1.0 @@ -6887,7 +6899,7 @@ __metadata: inherits: ^2.0.4 minimalistic-assert: ^1.0.1 minimalistic-crypto-utils: ^1.0.1 - checksum: 213d778ccfe99ec8f0f871b1cc96a10ac3763d9175215d0a9dc026f291e5f50fea6f635e4e47b4506f9ada25aeb703bd807d8737b880dbb24d092a3001c6d97d + checksum: af0ffddffdbc2fea4eeec74388cd73e62ed5a0eac6711568fb28071566319785df529c968b0bf1250ba4bc628e074b2d64c54a633e034aa6f0c6b152ceb49ab8 languageName: node linkType: hard @@ -7782,19 +7794,19 @@ __metadata: linkType: hard "foreground-child@npm:^3.1.0": - version: 3.2.1 - resolution: "foreground-child@npm:3.2.1" + version: 3.3.0 + resolution: "foreground-child@npm:3.3.0" dependencies: cross-spawn: ^7.0.0 signal-exit: ^4.0.1 - checksum: 3e2e844d6003c96d70affe8ae98d7eaaba269a868c14d997620c088340a8775cd5d2d9043e6ceebae1928d8d9a874911c4d664b9a267e8995945df20337aebc0 + checksum: 1989698488f725b05b26bc9afc8a08f08ec41807cd7b92ad85d96004ddf8243fd3e79486b8348c64a3011ae5cc2c9f0936af989e1f28339805d8bc178a75b451 languageName: node linkType: hard "forge-std@git+https://github.com/foundry-rs/forge-std.git": version: 1.9.2 - resolution: "forge-std@https://github.com/foundry-rs/forge-std.git#commit=1714bee72e286e73f76e320d110e0eaf5c4e649d" - checksum: 9ac9171813796c6dd9be362b69fca83076f72c513709bf8e03004f8773ee4ffcfd8a7214d165aadcbdd352852e618d2254ffd9ac439a18914673e67b5dc859e0 + resolution: "forge-std@https://github.com/foundry-rs/forge-std.git#commit=bf6606142994b1e47e2882ce0cd477c020d77623" + checksum: 1e4b74475ab20a8100c870c807f27a61672b916fda1e329acb673ef6694b656d8725cc8e1809c5957756e162e180d88b5bdc8ef6886d63a85c808be23d0111c6 languageName: node linkType: hard @@ -8417,9 +8429,9 @@ __metadata: linkType: hard "ignore@npm:^5.2.0": - version: 5.3.1 - resolution: "ignore@npm:5.3.1" - checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3 + version: 5.3.2 + resolution: "ignore@npm:5.3.2" + checksum: 2acfd32a573260ea522ea0bfeff880af426d68f6831f973129e2ba7363f422923cf53aab62f8369cbf4667c7b25b6f8a3761b34ecdb284ea18e87a5262a865be languageName: node linkType: hard @@ -10521,8 +10533,8 @@ __metadata: linkType: hard "mocha@npm:^10.2.0": - version: 10.7.0 - resolution: "mocha@npm:10.7.0" + version: 10.7.3 + resolution: "mocha@npm:10.7.3" dependencies: ansi-colors: ^4.1.3 browser-stdout: ^1.3.1 @@ -10547,7 +10559,7 @@ __metadata: bin: _mocha: bin/_mocha mocha: bin/mocha.js - checksum: e04c4ce7a61cacf0edd66a8e5ce04b14c1adaaac66c1c7765d5408f3c27b75583e104baa92709c40f207b7ff51bc80b85c4aa7b4e5ce25dbddd1e55d66aa774b + checksum: 956376dd8c7cd3e4f496ab1b06b7c89673ade2fb7f78704d8fce32b491f6940550eb1e784b7eef617e37fa29257a728df8b5b2b5e34ed7e83a692652290fab3c languageName: node linkType: hard @@ -11423,21 +11435,21 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.1.7, postcss@npm:^8.4.23, postcss@npm:^8.4.39": - version: 8.4.40 - resolution: "postcss@npm:8.4.40" +"postcss@npm:^8.1.7, postcss@npm:^8.4.23, postcss@npm:^8.4.41": + version: 8.4.41 + resolution: "postcss@npm:8.4.41" dependencies: nanoid: ^3.3.7 picocolors: ^1.0.1 source-map-js: ^1.2.0 - checksum: afd0cc49d2169dcd96c0f17e155c5d75de048956306a3017f1cfa6a7d66b941592245bed20f7796ceeccb2d8967749b623be2c7b010a74f67ea10fb5bdb8ba28 + checksum: f865894929eb0f7fc2263811cc853c13b1c75103028b3f4f26df777e27b201f1abe21cb4aa4c2e901c80a04f6fb325ee22979688fe55a70e2ea82b0a517d3b6f languageName: node linkType: hard "preact@npm:^10.12.0, preact@npm:^10.16.0": - version: 10.23.1 - resolution: "preact@npm:10.23.1" - checksum: fb7d28c7da1442ed80435444326fa2dcb563d4af05f631611fff8c08fb46a6f209d1a780aa7638a0bc2ac4d7a351f3304ff97bebfd6f5ee5bc4feb880d84a34f + version: 10.23.2 + resolution: "preact@npm:10.23.2" + checksum: 1df6a9d72480c42b4985c1344941184422374c48af0f1e9df0de8d1c3f1f85c996d3a9e2850c8256abe39352d8fd174dd95e2f4177433022661baabfb6547f2c languageName: node linkType: hard @@ -11700,7 +11712,7 @@ __metadata: languageName: node linkType: hard -"qrcode@npm:1.5.3, qrcode@npm:^1.5.1": +"qrcode@npm:1.5.3": version: 1.5.3 resolution: "qrcode@npm:1.5.3" dependencies: @@ -11714,6 +11726,19 @@ __metadata: languageName: node linkType: hard +"qrcode@npm:^1.5.1": + version: 1.5.4 + resolution: "qrcode@npm:1.5.4" + dependencies: + dijkstrajs: ^1.0.1 + pngjs: ^5.0.0 + yargs: ^15.3.1 + bin: + qrcode: bin/qrcode + checksum: 0a162822e12c02b0333315462fd4ccad22255002130f86806773be7592aec5ef295efaffa3eb148cbf00e290839c7b610f63b0d62a0c5efc5bc52a68f4189684 + languageName: node + linkType: hard + "query-string@npm:7.1.3": version: 7.1.3 resolution: "query-string@npm:7.1.3" @@ -11926,26 +11951,26 @@ __metadata: linkType: hard "react-router-dom@npm:^6.2.2": - version: 6.26.0 - resolution: "react-router-dom@npm:6.26.0" + version: 6.26.1 + resolution: "react-router-dom@npm:6.26.1" dependencies: - "@remix-run/router": 1.19.0 - react-router: 6.26.0 + "@remix-run/router": 1.19.1 + react-router: 6.26.1 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: 1579aa122884c286ffb2821c90403ac58b3c39f0d1cc8440b2bdd5de406c2dec0826c3a2bc473528b28728f0c35904045fdd7b7bfc17ad788c69816411ef5074 + checksum: e393ab62e3239585d44d598e6bc8cc138ac8353f3dc46262680c6ad83dea35773662ada2f1c353921a05c37d1f369c0a2cb097848a6210689e9b6076550c7de0 languageName: node linkType: hard -"react-router@npm:6.26.0": - version: 6.26.0 - resolution: "react-router@npm:6.26.0" +"react-router@npm:6.26.1": + version: 6.26.1 + resolution: "react-router@npm:6.26.1" dependencies: - "@remix-run/router": 1.19.0 + "@remix-run/router": 1.19.1 peerDependencies: react: ">=16.8" - checksum: 60ed0f33584f43ff64ffc66e8d58fd1605749e249684e15637f6af427d35b01d91addcaf857300e955bb09a33ea644322b28da98adf0764cd07ceb7399118561 + checksum: 810949febc1bf2a6f8dd65f4c0532a2413d0532df462b3e78891aec81dca5a088d387b32c9922cde52bd9770f32263590993cab2383c94ddc1cdb50a20fd7adc languageName: node linkType: hard @@ -13648,10 +13673,10 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.13.0": - version: 6.13.0 - resolution: "undici-types@npm:6.13.0" - checksum: 9d0ef6bf58994bebbea6a4ab75f381c69a89a7ed151bfbae0d4ef95450d56502c9eccb323abf17b7d099c1d9c1cbae62e909e4dfeb8d204612d2f1fdada24707 +"undici-types@npm:~6.18.2": + version: 6.18.2 + resolution: "undici-types@npm:6.18.2" + checksum: 5cd9b1c0fc612603c7ba0f0c6a19d04f00d21b98c5a9da06dc3bf92f1f9d3ec3946322e9806ec0f2fbfbad3f248cde1988410fc30ffacee39693ac24078992ca languageName: node linkType: hard @@ -13895,7 +13920,7 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:^1.2.0": +"use-sync-external-store@npm:1.2.2, use-sync-external-store@npm:^1.2.0": version: 1.2.2 resolution: "use-sync-external-store@npm:1.2.2" peerDependencies: @@ -14000,8 +14025,8 @@ __metadata: linkType: hard "viem@npm:^2.1.1, viem@npm:^2.2.0": - version: 2.18.8 - resolution: "viem@npm:2.18.8" + version: 2.19.6 + resolution: "viem@npm:2.19.6" dependencies: "@adraffy/ens-normalize": 1.10.0 "@noble/curves": 1.4.0 @@ -14017,7 +14042,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 3c560a9aa8a661ee2b9203a27f32c75e83131948e8583026b7e546a27f8f12b93decbcee839e6ca6858f922149bc88255844db7ec340dca4bdb8553655edd60b + checksum: 8eabc081c18f307dfeb71c297c1fd2fc1bf58bea6eb63cec941783047e432af88998a3d6e30d4b182d296d0d9a996a92aabee2caa1a49bfc2bcc6f13c1e6e375 languageName: node linkType: hard @@ -14062,18 +14087,19 @@ __metadata: linkType: hard "vite@npm:^5.0.8": - version: 5.3.5 - resolution: "vite@npm:5.3.5" + version: 5.4.1 + resolution: "vite@npm:5.4.1" dependencies: esbuild: ^0.21.3 fsevents: ~2.3.3 - postcss: ^8.4.39 + postcss: ^8.4.41 rollup: ^4.13.0 peerDependencies: "@types/node": ^18.0.0 || >=20.0.0 less: "*" lightningcss: ^1.21.0 sass: "*" + sass-embedded: "*" stylus: "*" sugarss: "*" terser: ^5.4.0 @@ -14089,6 +14115,8 @@ __metadata: optional: true sass: optional: true + sass-embedded: + optional: true stylus: optional: true sugarss: @@ -14097,7 +14125,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 5412700159e8906fc5ec5ac2cbcbee8a11180803b4a7c85494ae024a4f38d77eb5ab19b556a58745d6981361f8d2e181486f115f8abd4dc6ec3761fcd895e1b2 + checksum: 5bbb9e855fdbcb170f0d02b78e5c1e8f68e2d2010df6dd74b105bbcef96e91d89871063cb9afafb263e8e0bd69d7b6c4eeadd1abec63bd0938ab7b2b56e7e4dd languageName: node linkType: hard @@ -14695,10 +14723,10 @@ __metadata: linkType: hard "zustand@npm:^4.3.1": - version: 4.5.4 - resolution: "zustand@npm:4.5.4" + version: 4.5.5 + resolution: "zustand@npm:4.5.5" dependencies: - use-sync-external-store: 1.2.0 + use-sync-external-store: 1.2.2 peerDependencies: "@types/react": ">=16.8" immer: ">=9.0.6" @@ -14710,6 +14738,6 @@ __metadata: optional: true react: optional: true - checksum: 8e824aea8b5232f9a719c6d33e016272a0dae8c69a0980a3e2aefbcf2a89379b343af1f2dace340f45f788ec8d8a55a56d037c53498b3b05b91e985d26cae047 + checksum: 654e47959970bc66bbf2ae80fced7e556dd488e9ee54eb678330cb036ecc7184f4b8c2cae273be28022533622c54ab6339bf3fe30d19236367c5c251b6c6679a languageName: node linkType: hard