From b7b983eb94e70902a6b1a8246e06186f7e60a3ce Mon Sep 17 00:00:00 2001 From: forest Date: Sun, 8 Dec 2024 23:46:12 -0600 Subject: [PATCH] ditch base32768 thing, stick to all-js-on-same-host to comply with CSP --- example/index.html | 30 +- example/main.go | 3 +- proofOfWorkerStub.js | 7 +- static/captcha.js | 21 +- static/proofOfWorker.js | 486 +++++++++++++---------------- static/scrypt.wasm | Bin 0 -> 37575 bytes static/scrypt_wasm_bg.wasm | Bin 0 -> 37575 bytes wasm_build/build_wasm.sh | 30 +- wasm_build/build_wasm_webworker.js | 64 ---- wasm_build/package-lock.json | 13 - wasm_build/package.json | 14 - 11 files changed, 281 insertions(+), 387 deletions(-) create mode 100644 static/scrypt.wasm create mode 100644 static/scrypt_wasm_bg.wasm delete mode 100644 wasm_build/build_wasm_webworker.js delete mode 100644 wasm_build/package-lock.json delete mode 100644 wasm_build/package.json diff --git a/example/index.html b/example/index.html index 00c675c..41070e8 100644 --- a/example/index.html +++ b/example/index.html @@ -2,7 +2,6 @@ - 📋 Todo List