@sabaaa1/common 0.0.27 → 0.0.28
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/assets/snarkjs.worker-IfEWh7KB.js +14803 -0
- package/assets/{zkProofWorkerLogic-DB9cbXu-.js → utxo.worker-CmpqHMqD.js} +16093 -14906
- package/assets/{utxoWorkerLogic-DEqWaadT.js → zkProof.worker-CmpqHMqD.js} +16723 -16044
- package/package.json +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +1 -0
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +40 -0
- package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -0
- package/webworker/utxoWorker/utxoWorkerLogic.mjs +76 -0
- package/webworker/workerFactory.cjs +1 -1
- package/webworker/workerFactory.d.ts +3 -3
- package/webworker/workerFactory.mjs +30 -16
- package/webworker/workerProxy.cjs +1 -0
- package/webworker/workerProxy.mjs +54 -0
- package/webworker/workers/snarkjs.worker.d.ts +0 -0
- package/webworker/workers/utxo.worker.d.ts +0 -0
- package/webworker/workers/zkProof.worker.d.ts +0 -0
- package/webworker/zkProofWorker/zkProofWorkerLogic.cjs +1 -0
- package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +52 -0
- package/assets/snarkjsWorkerLauncher-Dsmwcy9L.js +0 -1176
- package/assets/snarkjsWorkerLogic-B9NbAQYW.js +0 -13634
- package/assets/utxoWorkerLauncher-BUSzpnDL.js +0 -1205
- package/assets/zkProofWorkerLauncher-CoKmCKjC.js +0 -1205
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +0 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +0 -4
- package/webworker/utxoWorker/utxoWorkerLauncher.cjs +0 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.mjs +0 -4
- package/webworker/viteWorkerURL.constant.cjs +0 -1
- package/webworker/viteWorkerURL.constant.d.ts +0 -9
- package/webworker/viteWorkerURL.constant.mjs +0 -12
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +0 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=""+(typeof document>"u"?require("url").pathToFileURL(__dirname+"/../../assets/snarkjsWorkerLauncher-Dsmwcy9L.js").href:new URL("../../assets/snarkjsWorkerLauncher-Dsmwcy9L.js",document.currentScript&&document.currentScript.src||document.baseURI).href);module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=""+(typeof document>"u"?require("url").pathToFileURL(__dirname+"/../../assets/utxoWorkerLauncher-BUSzpnDL.js").href:new URL("../../assets/utxoWorkerLauncher-BUSzpnDL.js",document.currentScript&&document.currentScript.src||document.baseURI).href);module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./zkProofWorker/zkProofWorkerLauncher.cjs"),o=require("./snarkjsWorker/snarkjsWorkerLauncher.cjs"),t=require("./utxoWorker/utxoWorkerLauncher.cjs"),r=require("./worker.registry.cjs"),n=async()=>({[r.WorkerVariant.ZKProof]:e,[r.WorkerVariant.SnarkJS]:o,[r.WorkerVariant.UTXO]:t});exports.getWorkerViteURL=n;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* These imports tell vite to generate and bundle worker file.
|
|
3
|
-
* These are import conditionally because we do not have vite when running on node.
|
|
4
|
-
*/
|
|
5
|
-
export declare const getWorkerViteURL: () => Promise<{
|
|
6
|
-
ZKProof: any;
|
|
7
|
-
SnarkJS: any;
|
|
8
|
-
UTXO: any;
|
|
9
|
-
}>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import o from "./zkProofWorker/zkProofWorkerLauncher.mjs";
|
|
2
|
-
import t from "./snarkjsWorker/snarkjsWorkerLauncher.mjs";
|
|
3
|
-
import e from "./utxoWorker/utxoWorkerLauncher.mjs";
|
|
4
|
-
import { WorkerVariant as r } from "./worker.registry.mjs";
|
|
5
|
-
const a = async () => ({
|
|
6
|
-
[r.ZKProof]: o,
|
|
7
|
-
[r.SnarkJS]: t,
|
|
8
|
-
[r.UTXO]: e
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
a as getWorkerViteURL
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=""+(typeof document>"u"?require("url").pathToFileURL(__dirname+"/../../assets/zkProofWorkerLauncher-CoKmCKjC.js").href:new URL("../../assets/zkProofWorkerLauncher-CoKmCKjC.js",document.currentScript&&document.currentScript.src||document.baseURI).href);module.exports=e;
|