mirror of
https://github.com/amark/gun.git
synced 2025-06-07 06:36:46 +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
|
y
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const public = await importKey('jwk', keystoecdhjwk(pub), ecdhKeyProps, false, ['deriveKey'])
|
const pubLic = await importKey('jwk', keystoecdhjwk(pub), ecdhKeyProps, false, ['deriveKey'])
|
||||||
const props = Object.assign({}, ecdhKeyProps, { public })
|
const props = Object.assign({}, ecdhKeyProps, { public: pubLic })
|
||||||
const derived = await importKey('jwk', keystoecdhjwk(epub, epriv), ecdhKeyProps, false, ['deriveKey'])
|
const derived = await importKey('jwk', keystoecdhjwk(epub, epriv), ecdhKeyProps, false, ['deriveKey'])
|
||||||
.then(async (privKey) => {
|
.then(async (privKey) => {
|
||||||
// privateKey scope doesn't leak out from here!
|
// privateKey scope doesn't leak out from here!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user