mirror of https://github.com/status-im/js-waku.git
chore: fix dns-discovery build
This commit is contained in:
parent
81c855314d
commit
d78a40f273
|
@ -186,9 +186,7 @@
|
|||
"files": [
|
||||
"dist",
|
||||
"bundle",
|
||||
"src/*.ts",
|
||||
"src/lib/**/*.ts",
|
||||
"src/proto/**/*.ts",
|
||||
"src/**/*.ts",
|
||||
"!**/*.spec.*",
|
||||
"!**/*.json",
|
||||
"CHANGELOG.md",
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue