js-waku/.size-limit.cjs

47 lines
1.3 KiB
JavaScript
Raw Normal View History

module.exports = [
{
name: "Waku core",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/index.js",
2022-09-08 01:32:33 +00:00
import: "{ WakuNode }",
},
{
name: "Waku default setup",
2022-10-30 21:56:48 +00:00
path: [
2022-11-02 03:20:20 +00:00
"packages/create/bundle/index.js",
"packages/core/bundle/lib/wait_for_remote_peer.js"
2022-10-30 21:56:48 +00:00
],
2022-08-05 14:36:46 +00:00
import: {
2022-11-02 03:20:20 +00:00
"./packages/create/bundle/index.js": "{ createLightNode }",
2022-10-30 21:56:48 +00:00
"./packages/core/bundle/lib/wait_for_remote_peer.js":
"{ waitForRemotePeer }",
"./packages/core/bundle/lib/waku_message/version_0.js":
"{ MessageV0, DecoderV0, EncoderV0 }",
2022-08-05 14:36:46 +00:00
},
},
{
name: "Asymmetric, symmetric encryption and signature",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/lib/waku_message/version_1.js",
import: "{ MessageV1, AsymEncoder, AsymDecoder, SymEncoder, SymDecoder }",
},
{
name: "DNS discovery",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/lib/peer_discovery_dns.js",
2022-08-05 14:36:46 +00:00
import: "{ PeerDiscoveryDns }",
},
{
name: "Privacy preserving protocols",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/index.js",
import: "{ WakuRelay }",
},
{
name: "Light protocols",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/index.js",
import: "{ WakuLightPush, WakuFilter }",
},
{
name: "History retrieval protocols",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/index.js",
import: "{ WakuStore }",
},
];