-
Notifications
You must be signed in to change notification settings - Fork 42
/
.size-limit.cjs
50 lines (50 loc) · 1.39 KB
/
.size-limit.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
module.exports = [
{
name: "Waku core",
path: "packages/core/bundle/index.js",
import: "{ WakuNode }",
},
{
name: "Waku Simple Light Node",
path: ["packages/sdk/bundle/index.js", "packages/core/bundle/index.js"],
import: {
"packages/sdk/bundle/index.js":
"{ createLightNode, waitForRemotePeer, createEncoder, createDecoder, bytesToUtf8, utf8ToBytes, Decoder, Encoder, DecodedMessage, WakuNode }",
},
},
{
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/relay/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 }",
},
];