@crisp-e3/zk-inputs 0.2.3-test → 0.3.0-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.js CHANGED
@@ -4,17 +4,17 @@
4
4
  // without even the implied warranty of MERCHANTABILITY
5
5
  // or FITNESS FOR A PARTICULAR PURPOSE.
6
6
 
7
- import { initSync } from "./dist/index.js";
8
- import base64 from "./dist/index_base64.js";
7
+ import { initSync } from './dist/index.js'
8
+ import base64 from './dist/index_base64.js'
9
9
 
10
- const binaryString = atob(base64);
11
- const len = binaryString.length;
12
- const bytes = new Uint8Array(len);
10
+ const binaryString = atob(base64)
11
+ const len = binaryString.length
12
+ const bytes = new Uint8Array(len)
13
13
 
14
14
  for (let i = 0; i < len; i++) {
15
- bytes[i] = binaryString.charCodeAt(i);
15
+ bytes[i] = binaryString.charCodeAt(i)
16
16
  }
17
17
 
18
- initSync({ module: bytes });
18
+ initSync({ module: bytes })
19
19
 
20
- export * from "./dist/index.js";
20
+ export * from './dist/index.js'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@crisp-e3/zk-inputs",
3
3
  "type": "module",
4
4
  "description": "Core logic to pre-compute CRISP ZK inputs (WASM/JavaScript bindings).",
5
- "version": "0.2.3-test",
5
+ "version": "0.3.0-test",
6
6
  "license": "LGPL-3.0-only",
7
7
  "repository": {
8
8
  "type": "git",
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "execa": "^8.0.1",
30
- "replace-in-file": "^7.2.0"
30
+ "replace-in-file": "^7.2.0",
31
+ "wasm-pack": "^0.13.1"
31
32
  },
32
33
  "scripts": {
33
- "compile:circuit": "pnpm -C ../../ compile:circuit",
34
- "build": "rm -rf dist && pnpm compile:circuit && node scripts/build.js"
34
+ "build": "rm -rf dist && node scripts/build.js"
35
35
  }
36
36
  }