fix: we need to use the wasm libsodium @screamingvoid/sodium-universal

This commit is contained in:
Derrick Hammer 2023-07-04 20:59:51 -04:00
parent 57496da5cc
commit 411d35154f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 7275 additions and 31 deletions

7301
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,7 @@
"@lumeweb/rpc": "0.0.2-develop.1",
"@noble/curves": "^1.1.0",
"@peculiar/webcrypto": "^1.4.3",
"@screamingvoid/sodium-universal": "^0.1.1",
"async-mutex": "^0.4.0",
"b4a": "^1.6.4",
"eventemitter2": "^6.4.9",
@ -34,6 +35,7 @@
"@rollup/plugin-alias": "^5.0.0",
"@types/b4a": "^1.6.0",
"crypto-browserify": "^3.12.0",
"patch-package": "^7.0.0",
"presetter": "*"
},
"version": "0.0.2-develop.3",

View File

@ -28,7 +28,8 @@ export default {
import0.default(...([] as const)),
import9.default({
entries: {
crypto: "crypto-browserify",
"crypto": "crypto-browserify",
"sodium-universal": "@screamingvoid/sodium-universal",
},
customResolver,
}),