mirror of
https://github.com/amark/gun.git
synced 2025-06-05 21:56:51 +00:00
Again composed 'default' variable name... which makes Webpack unhappy
This commit is contained in:
parent
22bae446fa
commit
012fd7f18c
4
sea.js
4
sea.js
@ -1166,8 +1166,8 @@
|
||||
y
|
||||
})
|
||||
}
|
||||
const public = await importKey('jwk', keystoecdhjwk(pub), ecdhKeyProps, false, ['deriveKey'])
|
||||
const props = Object.assign({}, ecdhKeyProps, { public })
|
||||
const pubLic = await importKey('jwk', keystoecdhjwk(pub), ecdhKeyProps, false, ['deriveKey'])
|
||||
const props = Object.assign({}, ecdhKeyProps, { public: pubLic })
|
||||
const derived = await importKey('jwk', keystoecdhjwk(epub, epriv), ecdhKeyProps, false, ['deriveKey'])
|
||||
.then(async (privKey) => {
|
||||
// privateKey scope doesn't leak out from here!
|
||||
|
Loading…
x
Reference in New Issue
Block a user