@crisp-e3/sdk 0.16.0 → 0.18.0-insecure.0
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/README.md +43 -9
- package/dist/.tsbuildinfo +1 -1
- package/dist/circuits-BWegRaZy.d.ts +49 -0
- package/dist/index.d.ts +226 -80
- package/dist/index.js +185 -134
- package/dist/index.js.map +1 -1
- package/dist/presets/insecure-512.d.ts +14 -0
- package/dist/presets/insecure-512.js +26 -0
- package/dist/workers/generateCircuitInputs.worker.js +66 -60
- package/dist/workers/generateCircuitInputs.worker.js.map +1 -1
- package/package.json +24 -6
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { C as CircuitBundle, a as CircuitPreset } from '../circuits-BWegRaZy.js';
|
|
2
|
+
import '@noir-lang/noir_js';
|
|
3
|
+
|
|
4
|
+
declare const preset: CircuitPreset;
|
|
5
|
+
/**
|
|
6
|
+
* The insecure-512 (N=512, L=2) circuits, ready for `setCircuits()`.
|
|
7
|
+
*
|
|
8
|
+
* Asynchronous because the artifacts are inlined today but need not stay that way: the secure set
|
|
9
|
+
* is large enough that a consumer may want it fetched on demand, and that change belongs inside
|
|
10
|
+
* this function rather than in every caller.
|
|
11
|
+
*/
|
|
12
|
+
declare const loadCircuits: () => Promise<CircuitBundle>;
|
|
13
|
+
|
|
14
|
+
export { loadCircuits, preset };
|