js-waku/.size-limit.cjs

51 lines
1.4 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 Simple Light Node",
path: ["packages/sdk/bundle/index.js", "packages/core/bundle/index.js"],
2022-12-06 02:04:18 +00:00
import: {
"packages/sdk/bundle/index.js":
"{ createLightNode, waitForRemotePeer, createEncoder, createDecoder, bytesToUtf8, utf8ToBytes, Decoder, Encoder, DecodedMessage, WakuNode }",
2022-12-06 02:04:18 +00:00
},
2022-12-02 08:43:45 +00:00
},
{
name: "ECIES encryption",
path: "packages/message-encryption/bundle/ecies.js",
import: "{ generatePrivateKey, createEncoder, createDecoder }",
2022-12-02 08:43:45 +00:00
},
{
name: "Symmetric encryption",
path: "packages/message-encryption/bundle/symmetric.js",
import: "{ generateSymmetricKey, createEncoder, createDecoder }",
},
{
name: "DNS discovery",
2022-11-03 12:04:33 +00:00
path: "packages/dns-discovery/bundle/index.js",
2022-08-05 14:36:46 +00:00
import: "{ PeerDiscoveryDns }",
},
{
name: "Privacy preserving protocols",
path: "packages/relay/bundle/index.js",
2022-12-06 02:04:18 +00:00
import: "{ wakuRelay }",
},
{
name: "Light protocols",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/index.js",
feat!: filter v2 (#1332) * implement proto * implement filter v2 * add tests * minor improvements - make unsubscribe functions private in filter - enable all tests * enable all tests * readd multiaddrinput * address comment removals * unsubscribe based on contentFilters passed * update unsubscribe function parameters in test * reset interfaces & filter v1 * refactor filterv2 into 2 classes - removes generics from types on filter which means manual typecasting to filter version is required on consumer side - defaults to filterv2 - splits filterv2 into 2 classes: - one to create the subscription object with a peer which returns the second class - the other to manage all subscription functions * updates filter tests for the new API - also fixes an interface import * update `toAsyncIterator` test for Filter V1 * implement IReceiver on FilterV2 * remove return values from subscription functions * update `to_async_iterator` * address variable naming * add tsdoc comments for hidden function * address minor comments * update docs to default to filter v2 * address comments * rename `wakuFilter` to `wakuFilterV1` * chore: Remove static variables (#1371) * chore: Remove static variables - Remove internal types from `@core/interfaces` - Remove data being redundantly stored (pubsub topic) - Remove usage of static variables - Clean up callbacks and decoders when using `unsubscribe` - Clean up callbacks and decoders when using `unsubscribeAll` * fix setting activeSubscription --------- Co-authored-by: danisharora099 <danisharora099@gmail.com> * make activeSub getter and setter private * update size-limit --------- Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
2023-05-23 10:36:46 +00:00
import: "{ wakuLightPush, wakuFilterV1, wakuFilterV2 }",
},
{
name: "History retrieval protocols",
2022-10-30 21:56:48 +00:00
path: "packages/core/bundle/index.js",
2022-12-06 02:04:18 +00:00
import: "{ wakuStore }",
},
{
name: "Deterministic Message Hashing",
path: "packages/message-hash/bundle/index.js",
import: "{ messageHash }",
},
];