diff --git a/examples/CRISP/client/package.json b/examples/CRISP/client/package.json index 4e624c5673..d273d47b2e 100644 --- a/examples/CRISP/client/package.json +++ b/examples/CRISP/client/package.json @@ -12,15 +12,14 @@ "cli": "pnpm sh ./scripts/cli.sh", "dev": "vite --no-open --host", "dev-static": "NO_HOT=1 vite --no-open --host", - "build:sdk": "pnpm -C ../packages/crisp-sdk build", - "build": "pnpm build:sdk && tsc && vite build", + "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "predeploy": "pnpm run build", "deploy": "gh-pages -d dist" }, "dependencies": { - "@crisp-e3/sdk": "workspace:*", + "@crisp-e3/sdk": "0.2.0-test", "@emotion/babel-plugin": "^11.11.0", "@emotion/react": "^11.11.4", "@phosphor-icons/react": "^2.1.4", diff --git a/examples/CRISP/client/vite.config.ts b/examples/CRISP/client/vite.config.ts index 9d1f5d68fe..9d811d384c 100644 --- a/examples/CRISP/client/vite.config.ts +++ b/examples/CRISP/client/vite.config.ts @@ -23,15 +23,7 @@ export default defineConfig({ }, optimizeDeps: { esbuildOptions: { target: 'esnext' }, - exclude: [ - '@rollup/browser', - '@crisp-e3/zk-inputs', - '@crisp-e3/sdk', - '@noir-lang/noirc_abi', - '@noir-lang/acvm_js', - '@noir-lang/noir_js', - '@aztec/bb.js', - ], + exclude: ['@rollup/browser', '@crisp-e3/zk-inputs', '@noir-lang/noirc_abi', '@noir-lang/acvm_js', '@noir-lang/noir_js', '@aztec/bb.js'], }, resolve: { alias: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c30a3dce9f..dd410e943e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -119,8 +119,8 @@ importers: examples/CRISP/client: dependencies: '@crisp-e3/sdk': - specifier: workspace:* - version: link:../packages/crisp-sdk + specifier: 0.2.0-test + version: 0.2.0-test(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@4.1.12) '@emotion/babel-plugin': specifier: ^11.11.0 version: 11.13.5 @@ -1462,6 +1462,12 @@ packages: conventional-commits-parser: optional: true + '@crisp-e3/sdk@0.2.0-test': + resolution: {integrity: sha512-SgpwtV7G2onsf5yyDBrK+uV+PnyRvInR00YlG1rAxL8A6xjNNntTJzzx/92zgg6uWIsKY6c6iHF8EAVGgwqJpw==} + + '@crisp-e3/zk-inputs@0.2.0-test': + resolution: {integrity: sha512-MHJR9roV09I3Oq/MWd7+wQ6Z3sdC9opv/qzXy+kpQ8GSBrXGY0QoujbUG7INmjy5yLBgjebPWkeXhU8WGffXcA==} + '@cspotcode/source-map-support@0.8.1': resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} @@ -10992,6 +10998,23 @@ snapshots: conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.2.1 + '@crisp-e3/sdk@0.2.0-test(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@4.1.12)': + dependencies: + '@aztec/bb.js': 0.87.0 + '@crisp-e3/zk-inputs': 0.2.0-test + '@noir-lang/noir_js': 1.0.0-beta.9 + '@zk-kit/lean-imt': 2.2.4(bufferutil@4.0.9)(utf-8-validate@5.0.10) + poseidon-lite: 0.3.0 + viem: 2.38.6(bufferutil@4.0.9)(typescript@5.8.3)(utf-8-validate@5.0.10)(zod@4.1.12) + transitivePeerDependencies: + - bufferutil + - supports-color + - typescript + - utf-8-validate + - zod + + '@crisp-e3/zk-inputs@0.2.0-test': {} + '@cspotcode/source-map-support@0.8.1': dependencies: '@jridgewell/trace-mapping': 0.3.9