diff --git a/app/arclib b/app/arclib index 8d10aed8..fe590d58 160000 --- a/app/arclib +++ b/app/arclib @@ -1 +1 @@ -Subproject commit 8d10aed860ea5ee91b4cb2af5c859380a288da02 +Subproject commit fe590d58397aa7234cf64e9d1b7540964aa9cc32 diff --git a/app/utils/storage/storage.test.ts b/app/utils/storage/storage.test.ts index a575806c..060be336 100644 --- a/app/utils/storage/storage.test.ts +++ b/app/utils/storage/storage.test.ts @@ -1,5 +1,9 @@ import { load, loadString, save, saveString, clear, remove } from "./storage" +delete global.crypto +global.crypto = require('crypto').webcrypto + + test("storage: save/load val", async () => { await save("some1", { a: 2 }) const value = await load("some1") diff --git a/yarn.lock b/yarn.lock index 0d494f0a..73c9345a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5420,9 +5420,9 @@ electron-to-chromium@^1.4.411: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.417.tgz#a0c7eb992e68287fa50c8da5a5238b01f20b9a82" integrity sha512-8rY8HdCxuSVY8wku3i/eDac4g1b4cSbruzocenrqBlzqruAZYHjQCHIjC66dLR9DXhEHTojsC4EjhZ8KmzwXqA== -"elliptic@https://github.com/mahrud/elliptic": +"elliptic@git+https://github.com/mahrud/elliptic.git": version "6.5.0" - resolved "https://github.com/mahrud/elliptic#75637c76678e83c31682fd967c2fa9ff4761b3fc" + resolved "git+https://github.com/mahrud/elliptic.git#75637c76678e83c31682fd967c2fa9ff4761b3fc" dependencies: bn.js "^4.4.0" brorand "^1.0.1" @@ -7778,7 +7778,7 @@ isobject@^3.0.0, isobject@^3.0.1: "isomorphic-webcrypto@https://github.com/earonesty/isomorphic-webcrypto": version "2.3.8" - resolved "https://github.com/earonesty/isomorphic-webcrypto#3766799ac569d935e2c896978bfb72bc81fe4ddf" + resolved "https://github.com/earonesty/isomorphic-webcrypto#e936acc0a47a06e68d06e34436e0b2ebc537790d" dependencies: asmcrypto.js "^0.22.0" b64-lite "^1.3.1"