js-waku/.size-limit.cjs

52 lines
1.4 KiB
JavaScript

module.exports = [
{
name: "Waku core",
path: "packages/core/bundle/index.js",
import: "{ WakuNode }",
},
{
name: "Waku default setup",
path: ["packages/create/bundle/index.js", "packages/core/bundle/index.js"],
import: {
"packages/create/bundle/index.js": "{ createLightNode }",
"packages/core/bundle/index.js":
"{ waitForRemotePeer, createEncoder, createDecoder }",
},
},
{
name: "ECIES encryption",
path: "packages/message-encryption/bundle/ecies.js",
import: "{ generatePrivateKey, createEncoder, createDecoder }",
},
{
name: "Symmetric encryption",
path: "packages/message-encryption/bundle/symmetric.js",
import: "{ generateSymmetricKey, createEncoder, createDecoder }",
},
{
name: "DNS discovery",
path: "packages/dns-discovery/bundle/index.js",
import: "{ PeerDiscoveryDns }",
},
{
name: "Privacy preserving protocols",
path: "packages/core/bundle/index.js",
import: "{ wakuRelay }",
},
{
name: "Light protocols",
path: "packages/core/bundle/index.js",
import: "{ wakuLightPush, wakuFilter }",
},
{
name: "History retrieval protocols",
path: "packages/core/bundle/index.js",
import: "{ wakuStore }",
},
{
name: "Deterministic Message Hashing",
path: "packages/message-hash/bundle/index.js",
import: "{ messageHash }",
},
];