mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-26 20:30:07 +00:00
chore: fix dns-discovery build
This commit is contained in:
parent
81c855314d
commit
d78a40f273
@ -186,9 +186,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"bundle",
|
"bundle",
|
||||||
"src/*.ts",
|
"src/**/*.ts",
|
||||||
"src/lib/**/*.ts",
|
|
||||||
"src/proto/**/*.ts",
|
|
||||||
"!**/*.spec.*",
|
"!**/*.spec.*",
|
||||||
"!**/*.json",
|
"!**/*.json",
|
||||||
"CHANGELOG.md",
|
"CHANGELOG.md",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { utf8ToBytes } from "@waku/byte-utils";
|
import { utf8ToBytes } from "@waku/byte-utils";
|
||||||
import { ENR } from "@waku/enr";
|
import { ENR } from "@waku/enr";
|
||||||
import { keccak256, verifySignature } from "@waku/enr/crypt";
|
import { keccak256, verifySignature } from "@waku/enr";
|
||||||
import base32 from "hi-base32";
|
import base32 from "hi-base32";
|
||||||
import { fromString } from "uint8arrays/from-string";
|
import { fromString } from "uint8arrays/from-string";
|
||||||
|
|
||||||
|
@ -8,10 +8,6 @@
|
|||||||
".": {
|
".": {
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"import": "./dist/index.js"
|
"import": "./dist/index.js"
|
||||||
},
|
|
||||||
"./crypt": {
|
|
||||||
"types": "./dist/crypto.d.ts",
|
|
||||||
"import": "./dist/crypto.js"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@ -185,9 +181,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"bundle",
|
"bundle",
|
||||||
"src/*.ts",
|
"src/**/*.ts",
|
||||||
"src/lib/**/*.ts",
|
|
||||||
"src/proto/**/*.ts",
|
|
||||||
"!**/*.spec.*",
|
"!**/*.spec.*",
|
||||||
"!**/*.json",
|
"!**/*.json",
|
||||||
"CHANGELOG.md",
|
"CHANGELOG.md",
|
||||||
|
@ -5,7 +5,6 @@ import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|||||||
export default {
|
export default {
|
||||||
input: {
|
input: {
|
||||||
index: "dist/index.js",
|
index: "dist/index.js",
|
||||||
crypto: "dist/crypto.js",
|
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
dir: "bundle",
|
dir: "bundle",
|
||||||
|
@ -3,3 +3,4 @@ export * from "./enr.js";
|
|||||||
export * from "./types.js";
|
export * from "./types.js";
|
||||||
export * from "./keypair/index.js";
|
export * from "./keypair/index.js";
|
||||||
export * from "./waku2_codec.js";
|
export * from "./waku2_codec.js";
|
||||||
|
export * from "./crypto.js";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user