mirror of https://github.com/waku-org/js-waku.git
Merge #919
919: include wait_for_remote_peer in exports map r=fryorcraken a=fryorcraken This module will just consume a generate Waku and Waku Relay interfaces so we already we want to extract it. It is also one opinionated to handle connection management, other ways might come with #914. Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
This commit is contained in:
commit
f52dd9ef9a
|
@ -9,7 +9,7 @@ module.exports = [
|
|||
path: ["bundle/index.js", "bundle/lib/create_waku.js"],
|
||||
import: {
|
||||
"./bundle/lib/create_waku.js": "{ createWaku }",
|
||||
"./bundle/index.js": "{ waitForRemotePeer }",
|
||||
"./bundle/lib/wait_for_remote_peer.js": "{ waitForRemotePeer }",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
"./lib/predefined_bootstrap_nodes": {
|
||||
"types": "./dist/lib/predefined_bootstrap_nodes.d.ts",
|
||||
"import": "./dist/lib/predefined_bootstrap_nodes.js"
|
||||
},
|
||||
"./lib/wait_for_remote_peer": {
|
||||
"types": "./dist/lib/wait_for_remote_peer.d.ts",
|
||||
"import": "./dist/lib/wait_for_remote_peer.js"
|
||||
}
|
||||
},
|
||||
"typesVersions": {
|
||||
|
|
|
@ -9,6 +9,7 @@ export default {
|
|||
"lib/peer_discovery_dns": "dist/lib/peer_discovery_dns/index.js",
|
||||
"lib/peer_discovery_static_list": "dist/lib/peer_discovery_static_list.js",
|
||||
"lib/predefined_bootstrap_nodes": "dist/lib/predefined_bootstrap_nodes.js",
|
||||
"lib/wait_for_remote_peer": "dist/lib/wait_for_remote_peer.js",
|
||||
},
|
||||
output: {
|
||||
dir: "bundle",
|
||||
|
|
Loading…
Reference in New Issue