diff --git a/package-lock.json b/package-lock.json index 79f12bb3c9..97c79445ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22898,6 +22898,7 @@ "dependencies": { "@noble/secp256k1": "^1.3.4", "@waku/byte-utils": "*", + "@waku/core": "*", "@waku/interfaces": "*", "js-sha3": "^0.8.0" }, @@ -27661,6 +27662,7 @@ "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "@waku/byte-utils": "*", + "@waku/core": "*", "@waku/interfaces": "*", "chai": "^4.3.6", "cspell": "^5.14.0", diff --git a/packages/message-encryption/package.json b/packages/message-encryption/package.json index cf6102fb6c..f16155866a 100644 --- a/packages/message-encryption/package.json +++ b/packages/message-encryption/package.json @@ -59,7 +59,8 @@ "@noble/secp256k1": "^1.3.4", "@waku/byte-utils": "*", "@waku/interfaces": "*", - "js-sha3": "^0.8.0" + "js-sha3": "^0.8.0", + "@waku/core": "*" }, "devDependencies": { "fast-check": "^2.14.0", diff --git a/packages/message-encryption/src/symmetric.ts b/packages/message-encryption/src/symmetric.ts index 3e531edeb3..8f289324cc 100644 --- a/packages/message-encryption/src/symmetric.ts +++ b/packages/message-encryption/src/symmetric.ts @@ -1,4 +1,4 @@ -import { Symmetric } from "./constants"; +import { Symmetric } from "./constants.js"; import { getSubtle, randomBytes } from "./crypto.js"; export async function encrypt(