fixup! chore: new @waku/create package

This commit is contained in:
fryorcraken.eth 2022-10-31 14:49:39 +11:00
parent 37c1e6b968
commit 80d16346e0
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 25 additions and 10 deletions

5
package-lock.json generated
View File

@ -22470,8 +22470,12 @@
}
},
"packages/create": {
"name": "@waku/create",
"version": "0.0.1",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@waku/core": "*"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
@ -26835,6 +26839,7 @@
"@semantic-release/release-notes-generator": "^10.0.3",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@waku/core": "*",
"cspell": "^5.14.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -62,6 +62,9 @@
"engines": {
"node": ">=16"
},
"dependencies": {
"@waku/core": "*"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",

View File

@ -3,17 +3,24 @@ import type { PeerDiscovery } from "@libp2p/interface-peer-discovery";
import { Mplex } from "@libp2p/mplex";
import { WebSockets } from "@libp2p/websockets";
import { all as filterAll } from "@libp2p/websockets/filters";
import { createLibp2p, Libp2pOptions } from "libp2p";
import type {
Waku,
WakuFull,
WakuLight,
WakuPrivacy,
} from "@waku/core/lib/interfaces";
import { PeerDiscoveryStaticPeers } from "@waku/core/lib/peer_discovery_static_list";
import { getPredefinedBootstrapNodes } from "@waku/core/lib/predefined_bootstrap_nodes";
import { WakuNode, WakuOptions } from "@waku/core/lib/waku.js";
import { WakuFilter } from "@waku/core/lib/waku_filter";
import { WakuLightPush } from "@waku/core/lib/waku_light_push";
import {
CreateOptions as RelayCreateOptions,
WakuRelay,
} from "@waku/core/lib/waku_relay";
import { WakuStore } from "@waku/core/lib/waku_store";
import type { Libp2p } from "libp2p";
import type { Waku, WakuFull, WakuLight, WakuPrivacy } from "./interfaces";
import { PeerDiscoveryStaticPeers } from "./peer_discovery_static_list";
import { getPredefinedBootstrapNodes } from "./predefined_bootstrap_nodes";
import { WakuNode, WakuOptions } from "./waku";
import { WakuFilter } from "./waku_filter";
import { WakuLightPush } from "./waku_light_push";
import { CreateOptions as RelayCreateOptions, WakuRelay } from "./waku_relay";
import { WakuStore } from "./waku_store";
import { createLibp2p, Libp2pOptions } from "libp2p";
export interface CreateOptions {
/**