chore: fix dns-discovery build

This commit is contained in:
fryorcraken.eth 2022-11-03 21:37:55 +11:00
parent 81c855314d
commit d78a40f273
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
5 changed files with 4 additions and 12 deletions

View File

@ -186,9 +186,7 @@
"files": [
"dist",
"bundle",
"src/*.ts",
"src/lib/**/*.ts",
"src/proto/**/*.ts",
"src/**/*.ts",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",

View File

@ -1,6 +1,6 @@
import { utf8ToBytes } from "@waku/byte-utils";
import { ENR } from "@waku/enr";
import { keccak256, verifySignature } from "@waku/enr/crypt";
import { keccak256, verifySignature } from "@waku/enr";
import base32 from "hi-base32";
import { fromString } from "uint8arrays/from-string";

View File

@ -8,10 +8,6 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./crypt": {
"types": "./dist/crypto.d.ts",
"import": "./dist/crypto.js"
}
},
"type": "module",
@ -185,9 +181,7 @@
"files": [
"dist",
"bundle",
"src/*.ts",
"src/lib/**/*.ts",
"src/proto/**/*.ts",
"src/**/*.ts",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",

View File

@ -5,7 +5,6 @@ import { nodeResolve } from "@rollup/plugin-node-resolve";
export default {
input: {
index: "dist/index.js",
crypto: "dist/crypto.js",
},
output: {
dir: "bundle",

View File

@ -3,3 +3,4 @@ export * from "./enr.js";
export * from "./types.js";
export * from "./keypair/index.js";
export * from "./waku2_codec.js";
export * from "./crypto.js";