mirror of https://github.com/waku-org/js-waku.git
Merge pull request #1004 from waku-org/fix/waku-message-encryption/constants
This commit is contained in:
commit
158f04b051
|
@ -22898,6 +22898,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noble/secp256k1": "^1.3.4",
|
"@noble/secp256k1": "^1.3.4",
|
||||||
"@waku/byte-utils": "*",
|
"@waku/byte-utils": "*",
|
||||||
|
"@waku/core": "*",
|
||||||
"@waku/interfaces": "*",
|
"@waku/interfaces": "*",
|
||||||
"js-sha3": "^0.8.0"
|
"js-sha3": "^0.8.0"
|
||||||
},
|
},
|
||||||
|
@ -27661,6 +27662,7 @@
|
||||||
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
||||||
"@typescript-eslint/parser": "^5.8.1",
|
"@typescript-eslint/parser": "^5.8.1",
|
||||||
"@waku/byte-utils": "*",
|
"@waku/byte-utils": "*",
|
||||||
|
"@waku/core": "*",
|
||||||
"@waku/interfaces": "*",
|
"@waku/interfaces": "*",
|
||||||
"chai": "^4.3.6",
|
"chai": "^4.3.6",
|
||||||
"cspell": "^5.14.0",
|
"cspell": "^5.14.0",
|
||||||
|
|
|
@ -59,7 +59,8 @@
|
||||||
"@noble/secp256k1": "^1.3.4",
|
"@noble/secp256k1": "^1.3.4",
|
||||||
"@waku/byte-utils": "*",
|
"@waku/byte-utils": "*",
|
||||||
"@waku/interfaces": "*",
|
"@waku/interfaces": "*",
|
||||||
"js-sha3": "^0.8.0"
|
"js-sha3": "^0.8.0",
|
||||||
|
"@waku/core": "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"fast-check": "^2.14.0",
|
"fast-check": "^2.14.0",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Symmetric } from "./constants";
|
import { Symmetric } from "./constants.js";
|
||||||
import { getSubtle, randomBytes } from "./crypto.js";
|
import { getSubtle, randomBytes } from "./crypto.js";
|
||||||
|
|
||||||
export async function encrypt(
|
export async function encrypt(
|
||||||
|
|
Loading…
Reference in New Issue