diff --git a/.gitignore b/.gitignore index b8767f530a..104664bbd1 100644 --- a/.gitignore +++ b/.gitignore @@ -76,3 +76,4 @@ db.sqlite db.sqlite3* move/*/build +.tsup diff --git a/app/src/lib/components/connect/connection.svelte b/app/src/lib/components/connect/connection.svelte index aae6036396..6db181fb05 100644 --- a/app/src/lib/components/connect/connection.svelte +++ b/app/src/lib/components/connect/connection.svelte @@ -42,8 +42,7 @@ const onCopyClick = () => [toggleCopy(), setTimeout(() => toggleCopy(), 1_500)] let sanitizeWalletInformation = chainWalletsInformation.filter( (predicate, index, array) => - array.findIndex(t => t.name.toLowerCase().startsWith(predicate.name.toLowerCase())) === - index, + array.findIndex(t => t.name.toLowerCase().startsWith(predicate.name.toLowerCase())) === index ) ?? chainWalletsInformation $: walletListToRender = diff --git a/docs/docs.nix b/docs/docs.nix index 452a7fda3c..e45e0354bc 100644 --- a/docs/docs.nix +++ b/docs/docs.nix @@ -9,7 +9,7 @@ { packages = { docs = mkCi false (unstablePkgs.buildNpmPackage { - npmDepsHash = "sha256-3Ip3T+Kfc5X2gZ/KzgLWTtfnQf7lCK+CsoTKwAB9ynw="; + npmDepsHash = "sha256-nnugNuwQybGENX7QAna0oZgtenUGsHaxKkIMxl/HrF8="; src = ./.; srcs = [ ./. ./../evm/. ./../networks/genesis/. ./../versions/. ]; sourceRoot = "docs"; diff --git a/docs/package-lock.json b/docs/package-lock.json index 743467a52d..6d79d21958 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -17,7 +17,7 @@ "@astrojs/vue": "^4.5.0", "@expressive-code/plugin-collapsible-sections": "^0.36.1", "@expressive-code/plugin-line-numbers": "^0.36.1", - "@unionlabs/client": "^0.0.17", + "@unionlabs/client": "^0.0.18", "@webcontainer/api": "^1.3.0-internal.7", "@xterm/addon-clipboard": "^0.1.0", "@xterm/addon-fit": "^0.10.0", @@ -2628,9 +2628,9 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" }, "node_modules/@unionlabs/client": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@unionlabs/client/-/client-0.0.17.tgz", - "integrity": "sha512-NU2i/brS+dc3xeKYydkS7XvEOZP1ftqU9W/HKDDchlL4L+GwzxFphinb2tG3w7dmcUHmFKkWGyy8MX8iDIaKNg==", + "version": "0.0.18", + "resolved": "https://registry.npmjs.org/@unionlabs/client/-/client-0.0.18.tgz", + "integrity": "sha512-9PsMf4LyqFFU0YE+B1gVpS4MXRT5I+K6R7rujtL8hfXRWoxqyeCNx1+YUqPDU0UdvTgvfkhMrFd3H8Xj8areUQ==", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/docs/package.json b/docs/package.json index da4646b490..af4d19da2d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -21,7 +21,7 @@ "@astrojs/vue": "^4.5.0", "@expressive-code/plugin-collapsible-sections": "^0.36.1", "@expressive-code/plugin-line-numbers": "^0.36.1", - "@unionlabs/client": "^0.0.17", + "@unionlabs/client": "^0.0.18", "@webcontainer/api": "^1.3.0-internal.7", "@xterm/addon-clipboard": "^0.1.0", "@xterm/addon-fit": "^0.10.0", diff --git a/docs/src/components/Terminal.astro b/docs/src/components/Terminal.astro index d4d8000491..5f3e7b10e2 100644 --- a/docs/src/components/Terminal.astro +++ b/docs/src/components/Terminal.astro @@ -1,9 +1,20 @@ --- import "@xterm/xterm/css/xterm.css" -interface Props {} +interface Props { + webcontainerFiles?: string +} + +const { webcontainerFiles } = Astro.props --- +
+