Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,21 @@
"vite-plugin-static-copy": "^3.1.2"
},
"dependencies": {
"@aztec/accounts": "5.0.0",
"@aztec/aztec.js": "5.0.0",
"@aztec/bb.js": "5.0.0",
"@aztec/blob-lib": "5.0.0",
"@aztec/constants": "5.0.0",
"@aztec/entrypoints": "5.0.0",
"@aztec/ethereum": "5.0.0",
"@aztec/foundation": "5.0.0",
"@aztec/kv-store": "5.0.0",
"@aztec/noir-contracts.js": "5.0.0",
"@aztec/noir-noirc_abi": "5.0.0",
"@aztec/protocol-contracts": "5.0.0",
"@aztec/pxe": "5.0.0",
"@aztec/stdlib": "5.0.0",
"@aztec/wallet-sdk": "5.0.0",
"@aztec/accounts": "5.0.0-nightly.20260715",
"@aztec/aztec.js": "5.0.0-nightly.20260715",
"@aztec/bb.js": "5.0.0-nightly.20260715",
"@aztec/blob-lib": "5.0.0-nightly.20260715",
"@aztec/constants": "5.0.0-nightly.20260715",
"@aztec/entrypoints": "5.0.0-nightly.20260715",
"@aztec/ethereum": "5.0.0-nightly.20260715",
"@aztec/foundation": "5.0.0-nightly.20260715",
"@aztec/kv-store": "5.0.0-nightly.20260715",
"@aztec/noir-contracts.js": "5.0.0-nightly.20260715",
"@aztec/noir-noirc_abi": "5.0.0-nightly.20260715",
"@aztec/protocol-contracts": "5.0.0-nightly.20260715",
"@aztec/pxe": "5.0.0-nightly.20260715",
"@aztec/stdlib": "5.0.0-nightly.20260715",
"@aztec/wallet-sdk": "5.0.0-nightly.20260715",
"@demo-wallet/shared": "workspace:*",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
Expand Down
12 changes: 12 additions & 0 deletions app/vite.renderer.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
import { defineConfig, type Plugin } from "vite";
import { resolve } from "node:path";
import { readFileSync } from "node:fs";
import react from "@vitejs/plugin-react-swc";
import { PolyfillOptions, nodePolyfills } from "vite-plugin-node-polyfills";

// The Aztec SDK version the wallet is built against, read from this workspace's pinned
// @aztec/aztec.js dependency and exposed to the UI via the `__AZTEC_SDK_VERSION__` define.
const aztecSdkVersion = (
JSON.parse(readFileSync(resolve(import.meta.dirname, "package.json"), "utf-8")).dependencies?.[
"@aztec/aztec.js"
] ?? "unknown"
).replace(/^[\^~]/, "");

const nodePolyfillsFix = (options?: PolyfillOptions | undefined): Plugin => {
return {
...nodePolyfills(options),
Expand Down Expand Up @@ -35,4 +44,7 @@ export default defineConfig({
react({ jsxImportSource: "@emotion/react" }),
nodePolyfillsFix({ include: ["buffer", "path"] }),
],
define: {
__AZTEC_SDK_VERSION__: JSON.stringify(aztecSdkVersion),
},
});
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"postinstall": "wxt prepare"
},
"dependencies": {
"@aztec/wallet-sdk": "5.0.0",
"@aztec/wallet-sdk": "5.0.0-nightly.20260715",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
Expand Down
Loading
Loading