@waku/sds 0.0.2-6cb9c9c.0 → 0.0.2-83cb8f4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/sds.d.ts +12 -1
- package/dist/sds.js +41 -4
- package/dist/sds.js.map +1 -1
- package/package.json +1 -1
- package/src/sds.ts +50 -6
package/dist/.tsbuildinfo
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/nim_hashn/nim_hashn.mjs.d.ts","../src/probabilities.ts","../src/bloom.ts","../src/index.ts","../../../node_modules/@noble/hashes/utils.d.ts","../../../node_modules/@noble/hashes/_md.d.ts","../../../node_modules/@noble/hashes/sha256.d.ts","../../../node_modules/protons-runtime/dist/src/codec.d.ts","../../../node_modules/uint8arraylist/dist/src/index.d.ts","../../../node_modules/protons-runtime/dist/src/decode.d.ts","../../../node_modules/protons-runtime/dist/src/encode.d.ts","../../../node_modules/protons-runtime/dist/src/codecs/enum.d.ts","../../../node_modules/protons-runtime/dist/src/codecs/message.d.ts","../../../node_modules/protons-runtime/dist/src/utils/reader.d.ts","../../../node_modules/protons-runtime/dist/src/utils/writer.d.ts","../../../node_modules/protons-runtime/dist/src/index.d.ts","../../proto/dist/generated/message.d.ts","../../proto/dist/generated/filter.d.ts","../../proto/dist/generated/topic_only_message.d.ts","../../proto/dist/generated/filter_v2.d.ts","../../proto/dist/generated/light_push.d.ts","../../proto/dist/generated/store_v3.d.ts","../../proto/dist/generated/peer_exchange.d.ts","../../proto/dist/generated/metadata.d.ts","../../proto/dist/generated/sds_message.d.ts","../../proto/dist/index.d.ts","../src/sds.ts","../src/nim_hashn/nim_hashn.mjs","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/ts5.6/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7b45dadaf995d67b156f2f01aa4bf176903e45233ebc48ca9faccf35188fe076",{"version":"f33914752ace04d12fe05a0af671b07350a73bb2c0f862a45c179b4b0fad7bce","signature":"8559244d350f56ccebd44938ca03c249b3ba51fc093f2583fa5c12110b7012dd"},{"version":"c3fa361927070a9a3b3e82a0ec524aff13d0b3a36aa49edd3dde061e6205865c","signature":"4c94ccf15375d40c0fae342e0b775ae63b7c6a47590667bc4b916ff776d91c25"},{"version":"b5cf9b88e100b3ffc715874a40c4e689d56b32defda133c429ba52af87820afe","signature":"79dc41a99830c1e1d9a1739569ee0a1222d10dd280136d218a35f0e683945c45"},"de6166d1f3098af78fe1bd1206e875fd1f02b19eb6bef83431467aff80731380","4bc1b3495cfec279d9c4f1e01d9289d2a31b59bfcae9d59d0d1f944448e08805","180467ed987aa942e66b2673206debf3c42b25445184551dc3d35eebe5f4b5f5","6d268309f0e15dd820b2df9806234166554cb4e2fe00d11737adcb4e5489f700","d35b5db21a04a45ae6323c4d4b25acc983dfe2870fc670fd05249eb19d839a5e","58cf96187feb10cc8ad3bb080871cd30888ef63bc5db131f11458850ef8f6245","9102986ff52326a2016e8cddc1cf3092f0808ac916dcc8dc2d2c7195cd181987","fa82b7b22d9df87323e31e9e2ad75911028f3e544647fd212424b3c4452fee3f","01f20dac9dc14f0d306e5d1215c5c1c3b4d1805905e60ae92fabac4031eae7da","9ceec2a882368c0160a8a3879aa0efce0fb985751fc23ff6191006030969cfa4","cad5d6451789234434c28dd2d6a8267b0d64c479b1ad267321faa31ba90d570b","6516fc98fa10b0cb22c7e332bacea4a7ea80257e113f6cdddd924d03bfde218e","13122c2f3f51d08b986460444b9860d00fd38fee39e862ad6d61bf873525ae0a","88c836190daddad5257c0963159a2cd9ced899f7a3262271583703034caba890","ba7c356f3fa418d4486b3b4e405c01c6d529c274e1e877b98166c46dd7cc0f0d","433b9953d8e0864997b5aaf7cc102f80c98304758244731c3fd0a5d6d645033c","366563a75f042b1a7c61d504a90a8a79810c694e445f038310303f232b6dc89a","f9facf2db5c46c5524f53472e03169f3e13e4f83ee14b98d46248c76146fca14","2945b371f6e04c29e3f96b611ecbf7ed75e172f8aeb603aee5e50510b4bc68a7","1ddbb5149b9d13b2c0441835f41a1b20561339264b05c6902966fc698d7d2863","28d51f937939edd0bd0dc8c63b5d0e57cd6082381cf98d5df941d9efc485d175","3f55047f1cd741d4abdbc4c8aafec026521a2c8dcad872dc99162b6eefb4e4a6",{"version":"6c0ff1291571b1addd851f1b057b900aac95c33e5bd138e97c6e161b9fdabe63","signature":"c5542912e17d281cb161c1fae33a718e4760a22f611a040a5e44d715d3baf603"},{"version":"8cde84dd9b2725de0cbe54aa044b40921fa3d751b175a8503cea0f08330a80a7","signature":"7e477b06ac34b6ba360319bc93d834e48abc5d042b2f49c79fa2abce5496424e"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"2d1319e6b5d0efd8c5eae07eb864a00102151e8b9afddd2d45db52e9aae002c4","affectsGlobalScope":true},"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true},"f52e8dacc97d71dcc96af29e49584353f9c54cb916d132e3e768d8b8129c928d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0",{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true},"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7",{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true},"91c1a729db5b28b2fc32bafa7a53611d417bc3f03f649278d4fd948aa4dec898","e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true},"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","eaf9ee1d90a35d56264f0bf39842282c58b9219e112ac7d0c1bce98c6c5da672","c15c4427ae7fd1dcd7f312a8a447ac93581b0d4664ddf151ecd07de4bf2bb9d7","5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6",{"version":"c72ccc191348ac1933226cab7a814cfda8b29a827d1df5dbebfe516a6fd734a8","affectsGlobalScope":true},"8bea55446a296d289fbc762f61954a0e3e38ffbcacc06e47e0cba491030e3235","b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0",{"version":"3eb62baae4df08c9173e6903d3ca45942ccec8c3659b0565684a75f3292cffbb","affectsGlobalScope":true},{"version":"42aaa94addeed66a04b61e433c14e829c43d1efd653cf2fda480c5fb3d722ed8","affectsGlobalScope":true},"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","d63ff33a2fa221b36a4da0dd5a3dad3156f3dd0fe1baf43a186e607d4ba5af99","553870e516f8c772b89f3820576152ebc70181d7994d96917bb943e37da7f8a7","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633",{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true},"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada",{"version":"9212c6e9d80cb45441a3614e95afd7235a55a18584c2ed32d6c1aca5a0c53d93","affectsGlobalScope":true},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true},"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4",{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true},{"version":"1f58ebc40c84046ba4c25cf7e86e1ae92c3f064fb641af6c46a5acebf0b8b20b","affectsGlobalScope":true},"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","ae25afbbf1ed5df63a177d67b9048bf7481067f1b8dc9c39212e59db94fc9fc6","ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a",{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true},"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","171fd8807643c46a9d17e843959abdf10480d57d60d38d061fb44a4c8d4a8cc4",{"version":"29f72ec1289ae3aeda78bf14b38086d3d803262ac13904b400422941a26a3636","affectsGlobalScope":true}],"root":[[59,62],85,86],"options":{"allowJs":true,"alwaysStrict":true,"declaration":true,"esModuleInterop":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[63,92,135],[63,64,92,135],[92,135],[92,132,135],[92,134,135],[92,135,140,170],[92,135,136,141,147,148,155,167,178],[92,135,136,137,147,155],[87,88,89,92,135],[92,135,138,179],[92,135,139,140,148,156],[92,135,140,167,175],[92,135,141,143,147,155],[92,134,135,142],[92,135,143,144],[92,135,147],[92,135,145,147],[92,134,135,147],[92,135,147,148,149,167,178],[92,135,147,148,149,162,167,170],[92,130,135,183],[92,130,135,143,147,150,155,167,178],[92,135,147,148,150,151,155,167,175,178],[92,135,150,152,167,175,178],[92,135,147,153],[92,135,154,178],[92,135,143,147,155,167],[92,135,156],[92,135,157],[92,134,135,158],[92,132,133,134,135,136,137,138,139,140,141,142,143,144,145,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[92,135,160],[92,135,161],[92,135,147,162,163],[92,135,162,164,179,181],[92,135,147,167,168,169,170],[92,135,167,169],[92,135,167,168],[92,135,170],[92,135,171],[92,132,135,167],[92,135,147,173,174],[92,135,173,174],[92,135,140,155,167,175],[92,135,176],[135],[90,91,92,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[92,135,155,177],[92,135,150,161,178],[92,135,140,179],[92,135,167,180],[92,135,154,181],[92,135,182],[92,135,140,147,149,158,167,178,181,183],[92,135,167,184],[74,92,135],[66,92,135],[66,67,92,135],[66,68,69,70,71,72,73,92,135],[67,74,92,135],[92,102,106,135,178],[92,102,135,167,178],[92,97,135],[92,99,102,135,175,178],[92,135,155,175],[92,135,185],[92,97,135,185],[92,99,102,135,155,178],[92,94,95,98,101,135,147,167,178],[92,102,109,135],[92,94,100,135],[92,102,123,124,135],[92,98,102,135,170,178,185],[92,123,135,185],[92,96,97,135,185],[92,102,135],[92,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,124,125,126,127,128,129,135],[92,102,117,135],[92,102,109,110,135],[92,100,102,110,111,135],[92,101,135],[92,94,97,102,135],[92,102,106,110,111,135],[92,106,135],[92,100,102,105,135,178],[92,94,99,102,109,135],[92,135,167],[92,97,102,123,135,183,185],[75,76,77,78,79,80,81,82,83,92,135],[59,60,92,135],[61,92,135],[61,63,65,84,92,135],[61],[84]],"referencedMap":[[64,1],[65,2],[63,3],[186,3],[132,4],[133,4],[134,5],[135,6],[136,7],[137,8],[87,3],[90,9],[88,3],[89,3],[138,10],[139,11],[140,12],[141,13],[142,14],[143,15],[144,15],[146,16],[145,17],[147,18],[148,19],[149,20],[131,21],[150,22],[151,23],[152,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,33],[162,34],[163,34],[164,35],[165,3],[166,3],[167,36],[169,37],[168,38],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[92,46],[91,3],[185,47],[177,48],[178,49],[179,50],[180,51],[181,52],[182,53],[183,54],[184,55],[93,3],[66,56],[70,57],[71,57],[68,58],[69,57],[74,59],[72,60],[73,56],[57,3],[58,3],[10,3],[12,3],[11,3],[2,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[3,3],[21,3],[4,3],[22,3],[26,3],[23,3],[24,3],[25,3],[27,3],[28,3],[29,3],[5,3],[30,3],[31,3],[32,3],[33,3],[6,3],[37,3],[34,3],[35,3],[36,3],[38,3],[7,3],[39,3],[44,3],[45,3],[40,3],[41,3],[42,3],[43,3],[8,3],[49,3],[46,3],[47,3],[48,3],[50,3],[9,3],[51,3],[52,3],[53,3],[56,3],[54,3],[55,3],[1,3],[67,3],[109,61],[119,62],[108,61],[129,63],[100,64],[99,65],[128,66],[122,67],[127,68],[102,69],[116,70],[101,71],[125,72],[97,73],[96,66],[126,74],[98,75],[103,76],[104,3],[107,76],[94,3],[130,77],[120,78],[111,79],[112,80],[114,81],[110,82],[113,83],[123,66],[105,84],[106,85],[115,86],[95,87],[118,78],[117,76],[121,3],[124,88],[76,60],[78,60],[79,60],[75,60],[82,60],[81,60],[83,60],[80,60],[77,60],[84,89],[61,90],[62,91],[86,3],[59,3],[60,3],[85,92]],"exportedModulesMap":[[64,1],[65,2],[63,3],[186,3],[132,4],[133,4],[134,5],[135,6],[136,7],[137,8],[87,3],[90,9],[88,3],[89,3],[138,10],[139,11],[140,12],[141,13],[142,14],[143,15],[144,15],[146,16],[145,17],[147,18],[148,19],[149,20],[131,21],[150,22],[151,23],[152,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,33],[162,34],[163,34],[164,35],[165,3],[166,3],[167,36],[169,37],[168,38],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[92,46],[91,3],[185,47],[177,48],[178,49],[179,50],[180,51],[181,52],[182,53],[183,54],[184,55],[93,3],[66,56],[70,57],[71,57],[68,58],[69,57],[74,59],[72,60],[73,56],[57,3],[58,3],[10,3],[12,3],[11,3],[2,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[3,3],[21,3],[4,3],[22,3],[26,3],[23,3],[24,3],[25,3],[27,3],[28,3],[29,3],[5,3],[30,3],[31,3],[32,3],[33,3],[6,3],[37,3],[34,3],[35,3],[36,3],[38,3],[7,3],[39,3],[44,3],[45,3],[40,3],[41,3],[42,3],[43,3],[8,3],[49,3],[46,3],[47,3],[48,3],[50,3],[9,3],[51,3],[52,3],[53,3],[56,3],[54,3],[55,3],[1,3],[67,3],[109,61],[119,62],[108,61],[129,63],[100,64],[99,65],[128,66],[122,67],[127,68],[102,69],[116,70],[101,71],[125,72],[97,73],[96,66],[126,74],[98,75],[103,76],[104,3],[107,76],[94,3],[130,77],[120,78],[111,79],[112,80],[114,81],[110,82],[113,83],[123,66],[105,84],[106,85],[115,86],[95,87],[118,78],[117,76],[121,3],[124,88],[76,60],[78,60],[79,60],[75,60],[82,60],[81,60],[83,60],[80,60],[77,60],[84,89],[62,93],[59,3],[85,94]],"semanticDiagnosticsPerFile":[64,65,63,186,132,133,134,135,136,137,87,90,88,89,138,139,140,141,142,143,144,146,145,147,148,149,131,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,169,168,170,171,172,173,174,175,176,92,91,185,177,178,179,180,181,182,183,184,93,66,70,71,68,69,74,72,73,57,58,10,12,11,2,13,14,15,16,17,18,19,20,3,21,4,22,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,56,54,55,1,67,109,119,108,129,100,99,128,122,127,102,116,101,125,97,96,126,98,103,104,107,94,130,120,111,112,114,110,113,123,105,106,115,95,118,117,121,124,76,78,79,75,82,81,83,80,77,84,61,62,86,59,60,85]},"version":"5.4.5"}
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/nim_hashn/nim_hashn.mjs.d.ts","../src/probabilities.ts","../src/bloom.ts","../src/index.ts","../../../node_modules/@noble/hashes/utils.d.ts","../../../node_modules/@noble/hashes/_md.d.ts","../../../node_modules/@noble/hashes/sha256.d.ts","../../../node_modules/protons-runtime/dist/src/codec.d.ts","../../../node_modules/uint8arraylist/dist/src/index.d.ts","../../../node_modules/protons-runtime/dist/src/decode.d.ts","../../../node_modules/protons-runtime/dist/src/encode.d.ts","../../../node_modules/protons-runtime/dist/src/codecs/enum.d.ts","../../../node_modules/protons-runtime/dist/src/codecs/message.d.ts","../../../node_modules/protons-runtime/dist/src/utils/reader.d.ts","../../../node_modules/protons-runtime/dist/src/utils/writer.d.ts","../../../node_modules/protons-runtime/dist/src/index.d.ts","../../proto/dist/generated/message.d.ts","../../proto/dist/generated/filter.d.ts","../../proto/dist/generated/topic_only_message.d.ts","../../proto/dist/generated/filter_v2.d.ts","../../proto/dist/generated/light_push.d.ts","../../proto/dist/generated/store_v3.d.ts","../../proto/dist/generated/peer_exchange.d.ts","../../proto/dist/generated/metadata.d.ts","../../proto/dist/generated/sds_message.d.ts","../../proto/dist/index.d.ts","../src/sds.ts","../src/nim_hashn/nim_hashn.mjs","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/ts5.6/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7b45dadaf995d67b156f2f01aa4bf176903e45233ebc48ca9faccf35188fe076",{"version":"f33914752ace04d12fe05a0af671b07350a73bb2c0f862a45c179b4b0fad7bce","signature":"8559244d350f56ccebd44938ca03c249b3ba51fc093f2583fa5c12110b7012dd"},{"version":"c3fa361927070a9a3b3e82a0ec524aff13d0b3a36aa49edd3dde061e6205865c","signature":"4c94ccf15375d40c0fae342e0b775ae63b7c6a47590667bc4b916ff776d91c25"},{"version":"b5cf9b88e100b3ffc715874a40c4e689d56b32defda133c429ba52af87820afe","signature":"79dc41a99830c1e1d9a1739569ee0a1222d10dd280136d218a35f0e683945c45"},"de6166d1f3098af78fe1bd1206e875fd1f02b19eb6bef83431467aff80731380","4bc1b3495cfec279d9c4f1e01d9289d2a31b59bfcae9d59d0d1f944448e08805","180467ed987aa942e66b2673206debf3c42b25445184551dc3d35eebe5f4b5f5","6d268309f0e15dd820b2df9806234166554cb4e2fe00d11737adcb4e5489f700","d35b5db21a04a45ae6323c4d4b25acc983dfe2870fc670fd05249eb19d839a5e","58cf96187feb10cc8ad3bb080871cd30888ef63bc5db131f11458850ef8f6245","9102986ff52326a2016e8cddc1cf3092f0808ac916dcc8dc2d2c7195cd181987","fa82b7b22d9df87323e31e9e2ad75911028f3e544647fd212424b3c4452fee3f","01f20dac9dc14f0d306e5d1215c5c1c3b4d1805905e60ae92fabac4031eae7da","9ceec2a882368c0160a8a3879aa0efce0fb985751fc23ff6191006030969cfa4","cad5d6451789234434c28dd2d6a8267b0d64c479b1ad267321faa31ba90d570b","6516fc98fa10b0cb22c7e332bacea4a7ea80257e113f6cdddd924d03bfde218e","13122c2f3f51d08b986460444b9860d00fd38fee39e862ad6d61bf873525ae0a","88c836190daddad5257c0963159a2cd9ced899f7a3262271583703034caba890","ba7c356f3fa418d4486b3b4e405c01c6d529c274e1e877b98166c46dd7cc0f0d","433b9953d8e0864997b5aaf7cc102f80c98304758244731c3fd0a5d6d645033c","366563a75f042b1a7c61d504a90a8a79810c694e445f038310303f232b6dc89a","f9facf2db5c46c5524f53472e03169f3e13e4f83ee14b98d46248c76146fca14","2945b371f6e04c29e3f96b611ecbf7ed75e172f8aeb603aee5e50510b4bc68a7","1ddbb5149b9d13b2c0441835f41a1b20561339264b05c6902966fc698d7d2863","28d51f937939edd0bd0dc8c63b5d0e57cd6082381cf98d5df941d9efc485d175","3f55047f1cd741d4abdbc4c8aafec026521a2c8dcad872dc99162b6eefb4e4a6",{"version":"d2ea4f95fb320214f6183a97147dfc9b8fb3b045b14ff3fcdde5d0e53646c5fd","signature":"9e43964cc212dd26d6e1a0189681a33540c2ce321cf21ce1efc0d6d40f66ae33"},{"version":"8cde84dd9b2725de0cbe54aa044b40921fa3d751b175a8503cea0f08330a80a7","signature":"7e477b06ac34b6ba360319bc93d834e48abc5d042b2f49c79fa2abce5496424e"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"2d1319e6b5d0efd8c5eae07eb864a00102151e8b9afddd2d45db52e9aae002c4","affectsGlobalScope":true},"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true},"f52e8dacc97d71dcc96af29e49584353f9c54cb916d132e3e768d8b8129c928d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0",{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true},"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7",{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true},"91c1a729db5b28b2fc32bafa7a53611d417bc3f03f649278d4fd948aa4dec898","e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true},"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","eaf9ee1d90a35d56264f0bf39842282c58b9219e112ac7d0c1bce98c6c5da672","c15c4427ae7fd1dcd7f312a8a447ac93581b0d4664ddf151ecd07de4bf2bb9d7","5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6",{"version":"c72ccc191348ac1933226cab7a814cfda8b29a827d1df5dbebfe516a6fd734a8","affectsGlobalScope":true},"8bea55446a296d289fbc762f61954a0e3e38ffbcacc06e47e0cba491030e3235","b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0",{"version":"3eb62baae4df08c9173e6903d3ca45942ccec8c3659b0565684a75f3292cffbb","affectsGlobalScope":true},{"version":"42aaa94addeed66a04b61e433c14e829c43d1efd653cf2fda480c5fb3d722ed8","affectsGlobalScope":true},"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","d63ff33a2fa221b36a4da0dd5a3dad3156f3dd0fe1baf43a186e607d4ba5af99","553870e516f8c772b89f3820576152ebc70181d7994d96917bb943e37da7f8a7","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633",{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true},"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada",{"version":"9212c6e9d80cb45441a3614e95afd7235a55a18584c2ed32d6c1aca5a0c53d93","affectsGlobalScope":true},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true},"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4",{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true},{"version":"1f58ebc40c84046ba4c25cf7e86e1ae92c3f064fb641af6c46a5acebf0b8b20b","affectsGlobalScope":true},"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","ae25afbbf1ed5df63a177d67b9048bf7481067f1b8dc9c39212e59db94fc9fc6","ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a",{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true},"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","171fd8807643c46a9d17e843959abdf10480d57d60d38d061fb44a4c8d4a8cc4",{"version":"29f72ec1289ae3aeda78bf14b38086d3d803262ac13904b400422941a26a3636","affectsGlobalScope":true}],"root":[[59,62],85,86],"options":{"allowJs":true,"alwaysStrict":true,"declaration":true,"esModuleInterop":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[63,92,135],[63,64,92,135],[92,135],[92,132,135],[92,134,135],[92,135,140,170],[92,135,136,141,147,148,155,167,178],[92,135,136,137,147,155],[87,88,89,92,135],[92,135,138,179],[92,135,139,140,148,156],[92,135,140,167,175],[92,135,141,143,147,155],[92,134,135,142],[92,135,143,144],[92,135,147],[92,135,145,147],[92,134,135,147],[92,135,147,148,149,167,178],[92,135,147,148,149,162,167,170],[92,130,135,183],[92,130,135,143,147,150,155,167,178],[92,135,147,148,150,151,155,167,175,178],[92,135,150,152,167,175,178],[92,135,147,153],[92,135,154,178],[92,135,143,147,155,167],[92,135,156],[92,135,157],[92,134,135,158],[92,132,133,134,135,136,137,138,139,140,141,142,143,144,145,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[92,135,160],[92,135,161],[92,135,147,162,163],[92,135,162,164,179,181],[92,135,147,167,168,169,170],[92,135,167,169],[92,135,167,168],[92,135,170],[92,135,171],[92,132,135,167],[92,135,147,173,174],[92,135,173,174],[92,135,140,155,167,175],[92,135,176],[135],[90,91,92,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],[92,135,155,177],[92,135,150,161,178],[92,135,140,179],[92,135,167,180],[92,135,154,181],[92,135,182],[92,135,140,147,149,158,167,178,181,183],[92,135,167,184],[74,92,135],[66,92,135],[66,67,92,135],[66,68,69,70,71,72,73,92,135],[67,74,92,135],[92,102,106,135,178],[92,102,135,167,178],[92,97,135],[92,99,102,135,175,178],[92,135,155,175],[92,135,185],[92,97,135,185],[92,99,102,135,155,178],[92,94,95,98,101,135,147,167,178],[92,102,109,135],[92,94,100,135],[92,102,123,124,135],[92,98,102,135,170,178,185],[92,123,135,185],[92,96,97,135,185],[92,102,135],[92,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,124,125,126,127,128,129,135],[92,102,117,135],[92,102,109,110,135],[92,100,102,110,111,135],[92,101,135],[92,94,97,102,135],[92,102,106,110,111,135],[92,106,135],[92,100,102,105,135,178],[92,94,99,102,109,135],[92,135,167],[92,97,102,123,135,183,185],[75,76,77,78,79,80,81,82,83,92,135],[59,60,92,135],[61,92,135],[61,63,65,84,92,135],[61],[84]],"referencedMap":[[64,1],[65,2],[63,3],[186,3],[132,4],[133,4],[134,5],[135,6],[136,7],[137,8],[87,3],[90,9],[88,3],[89,3],[138,10],[139,11],[140,12],[141,13],[142,14],[143,15],[144,15],[146,16],[145,17],[147,18],[148,19],[149,20],[131,21],[150,22],[151,23],[152,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,33],[162,34],[163,34],[164,35],[165,3],[166,3],[167,36],[169,37],[168,38],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[92,46],[91,3],[185,47],[177,48],[178,49],[179,50],[180,51],[181,52],[182,53],[183,54],[184,55],[93,3],[66,56],[70,57],[71,57],[68,58],[69,57],[74,59],[72,60],[73,56],[57,3],[58,3],[10,3],[12,3],[11,3],[2,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[3,3],[21,3],[4,3],[22,3],[26,3],[23,3],[24,3],[25,3],[27,3],[28,3],[29,3],[5,3],[30,3],[31,3],[32,3],[33,3],[6,3],[37,3],[34,3],[35,3],[36,3],[38,3],[7,3],[39,3],[44,3],[45,3],[40,3],[41,3],[42,3],[43,3],[8,3],[49,3],[46,3],[47,3],[48,3],[50,3],[9,3],[51,3],[52,3],[53,3],[56,3],[54,3],[55,3],[1,3],[67,3],[109,61],[119,62],[108,61],[129,63],[100,64],[99,65],[128,66],[122,67],[127,68],[102,69],[116,70],[101,71],[125,72],[97,73],[96,66],[126,74],[98,75],[103,76],[104,3],[107,76],[94,3],[130,77],[120,78],[111,79],[112,80],[114,81],[110,82],[113,83],[123,66],[105,84],[106,85],[115,86],[95,87],[118,78],[117,76],[121,3],[124,88],[76,60],[78,60],[79,60],[75,60],[82,60],[81,60],[83,60],[80,60],[77,60],[84,89],[61,90],[62,91],[86,3],[59,3],[60,3],[85,92]],"exportedModulesMap":[[64,1],[65,2],[63,3],[186,3],[132,4],[133,4],[134,5],[135,6],[136,7],[137,8],[87,3],[90,9],[88,3],[89,3],[138,10],[139,11],[140,12],[141,13],[142,14],[143,15],[144,15],[146,16],[145,17],[147,18],[148,19],[149,20],[131,21],[150,22],[151,23],[152,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,33],[162,34],[163,34],[164,35],[165,3],[166,3],[167,36],[169,37],[168,38],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[92,46],[91,3],[185,47],[177,48],[178,49],[179,50],[180,51],[181,52],[182,53],[183,54],[184,55],[93,3],[66,56],[70,57],[71,57],[68,58],[69,57],[74,59],[72,60],[73,56],[57,3],[58,3],[10,3],[12,3],[11,3],[2,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[3,3],[21,3],[4,3],[22,3],[26,3],[23,3],[24,3],[25,3],[27,3],[28,3],[29,3],[5,3],[30,3],[31,3],[32,3],[33,3],[6,3],[37,3],[34,3],[35,3],[36,3],[38,3],[7,3],[39,3],[44,3],[45,3],[40,3],[41,3],[42,3],[43,3],[8,3],[49,3],[46,3],[47,3],[48,3],[50,3],[9,3],[51,3],[52,3],[53,3],[56,3],[54,3],[55,3],[1,3],[67,3],[109,61],[119,62],[108,61],[129,63],[100,64],[99,65],[128,66],[122,67],[127,68],[102,69],[116,70],[101,71],[125,72],[97,73],[96,66],[126,74],[98,75],[103,76],[104,3],[107,76],[94,3],[130,77],[120,78],[111,79],[112,80],[114,81],[110,82],[113,83],[123,66],[105,84],[106,85],[115,86],[95,87],[118,78],[117,76],[121,3],[124,88],[76,60],[78,60],[79,60],[75,60],[82,60],[81,60],[83,60],[80,60],[77,60],[84,89],[62,93],[59,3],[85,94]],"semanticDiagnosticsPerFile":[64,65,63,186,132,133,134,135,136,137,87,90,88,89,138,139,140,141,142,143,144,146,145,147,148,149,131,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,169,168,170,171,172,173,174,175,176,92,91,185,177,178,179,180,181,182,183,184,93,66,70,71,68,69,74,72,73,57,58,10,12,11,2,13,14,15,16,17,18,19,20,3,21,4,22,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,56,54,55,1,67,109,119,108,129,100,99,128,122,127,102,116,101,125,97,96,126,98,103,104,107,94,130,120,111,112,114,110,113,123,105,106,115,95,118,117,121,124,76,78,79,75,82,81,83,80,77,84,61,62,86,59,60,85]},"version":"5.4.5"}
|
package/dist/sds.d.ts
CHANGED
@@ -36,7 +36,7 @@ export declare class MessageChannel {
|
|
36
36
|
* @param payload - The payload to send.
|
37
37
|
* @param callback - A callback function that returns a boolean indicating whether the message was sent successfully.
|
38
38
|
*/
|
39
|
-
sendMessage(payload: Uint8Array, callback?: (message: Message) => boolean): void
|
39
|
+
sendMessage(payload: Uint8Array, callback?: (message: Message) => Promise<boolean>): Promise<void>;
|
40
40
|
/**
|
41
41
|
* Process a received SDS message for this channel.
|
42
42
|
*
|
@@ -57,6 +57,17 @@ export declare class MessageChannel {
|
|
57
57
|
unacknowledged: Message[];
|
58
58
|
possiblyAcknowledged: Message[];
|
59
59
|
};
|
60
|
+
/**
|
61
|
+
* Send a sync message to the SDS channel.
|
62
|
+
*
|
63
|
+
* Increments the lamport timestamp, constructs a `Message` object
|
64
|
+
* with an empty load. Skips outgoing buffer, filter, and local log.
|
65
|
+
*
|
66
|
+
* See https://rfc.vac.dev/vac/raw/sds/#send-sync-message
|
67
|
+
*
|
68
|
+
* @param callback - A callback function that returns a boolean indicating whether the message was sent successfully.
|
69
|
+
*/
|
70
|
+
sendSyncMessage(callback?: (message: Message) => Promise<boolean>): Promise<boolean>;
|
60
71
|
private deliverMessage;
|
61
72
|
private reviewAckStatus;
|
62
73
|
private getAcknowledgementCount;
|
package/dist/sds.js
CHANGED
@@ -53,7 +53,7 @@ export class MessageChannel {
|
|
53
53
|
* @param payload - The payload to send.
|
54
54
|
* @param callback - A callback function that returns a boolean indicating whether the message was sent successfully.
|
55
55
|
*/
|
56
|
-
sendMessage(payload, callback) {
|
56
|
+
async sendMessage(payload, callback) {
|
57
57
|
this.lamportTimestamp++;
|
58
58
|
const messageId = MessageChannel.getMessageId(payload);
|
59
59
|
const message = {
|
@@ -68,7 +68,7 @@ export class MessageChannel {
|
|
68
68
|
};
|
69
69
|
this.outgoingBuffer.push(message);
|
70
70
|
if (callback) {
|
71
|
-
const success = callback(message);
|
71
|
+
const success = await callback(message);
|
72
72
|
if (success) {
|
73
73
|
this.filter.insert(messageId);
|
74
74
|
this.messageIdLog.push({ timestamp: this.lamportTimestamp, messageId });
|
@@ -92,8 +92,10 @@ export class MessageChannel {
|
|
92
92
|
receiveMessage(message) {
|
93
93
|
// review ack status
|
94
94
|
this.reviewAckStatus(message);
|
95
|
-
// add to bloom filter
|
96
|
-
|
95
|
+
// add to bloom filter (skip for messages with empty content)
|
96
|
+
if (message.content?.length && message.content.length > 0) {
|
97
|
+
this.filter.insert(message.messageId);
|
98
|
+
}
|
97
99
|
// verify causal history
|
98
100
|
const dependenciesMet = message.causalHistory.every((messageId) => this.messageIdLog.some(({ messageId: logMessageId }) => logMessageId === messageId));
|
99
101
|
if (!dependenciesMet) {
|
@@ -154,12 +156,45 @@ export class MessageChannel {
|
|
154
156
|
possiblyAcknowledged: new Array()
|
155
157
|
});
|
156
158
|
}
|
159
|
+
/**
|
160
|
+
* Send a sync message to the SDS channel.
|
161
|
+
*
|
162
|
+
* Increments the lamport timestamp, constructs a `Message` object
|
163
|
+
* with an empty load. Skips outgoing buffer, filter, and local log.
|
164
|
+
*
|
165
|
+
* See https://rfc.vac.dev/vac/raw/sds/#send-sync-message
|
166
|
+
*
|
167
|
+
* @param callback - A callback function that returns a boolean indicating whether the message was sent successfully.
|
168
|
+
*/
|
169
|
+
sendSyncMessage(callback) {
|
170
|
+
this.lamportTimestamp++;
|
171
|
+
const emptyMessage = new Uint8Array();
|
172
|
+
const message = {
|
173
|
+
messageId: MessageChannel.getMessageId(emptyMessage),
|
174
|
+
channelId: this.channelId,
|
175
|
+
lamportTimestamp: this.lamportTimestamp,
|
176
|
+
causalHistory: this.messageIdLog
|
177
|
+
.slice(-this.causalHistorySize)
|
178
|
+
.map(({ messageId }) => messageId),
|
179
|
+
bloomFilter: this.filter.toBytes(),
|
180
|
+
content: emptyMessage
|
181
|
+
};
|
182
|
+
if (callback) {
|
183
|
+
return callback(message);
|
184
|
+
}
|
185
|
+
return Promise.resolve(false);
|
186
|
+
}
|
157
187
|
// See https://rfc.vac.dev/vac/raw/sds/#deliver-message
|
158
188
|
deliverMessage(message) {
|
159
189
|
const messageLamportTimestamp = message.lamportTimestamp ?? 0;
|
160
190
|
if (messageLamportTimestamp > this.lamportTimestamp) {
|
161
191
|
this.lamportTimestamp = messageLamportTimestamp;
|
162
192
|
}
|
193
|
+
if (message.content?.length === 0) {
|
194
|
+
// Messages with empty content are sync messages.
|
195
|
+
// They are not added to the local log or bloom filter.
|
196
|
+
return;
|
197
|
+
}
|
163
198
|
// The participant MUST insert the message ID into its local log,
|
164
199
|
// based on Lamport timestamp.
|
165
200
|
// If one or more message IDs with the same Lamport timestamp already exists,
|
@@ -176,6 +211,8 @@ export class MessageChannel {
|
|
176
211
|
return a.messageId.localeCompare(b.messageId);
|
177
212
|
});
|
178
213
|
}
|
214
|
+
// For each received message (including sync messages), inspect the causal history and bloom filter
|
215
|
+
// to determine the acknowledgement status of messages in the outgoing buffer.
|
179
216
|
// See https://rfc.vac.dev/vac/raw/sds/#review-ack-status
|
180
217
|
reviewAckStatus(receivedMessage) {
|
181
218
|
// the participant MUST mark all messages in the received causal_history as acknowledged.
|
package/dist/sds.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sds.js","sourceRoot":"","sources":["../src/sds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAKhD,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,2BAA2B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c,GAAG,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE;YAC3D,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC;gBAClD,OAAO,IAAI,CAAC;YACd,CAAC;YACD,oFAAoF;YACpF,8EAA8E;YAC9E,6DAA6D;YAC7D,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;YACtE,IAAI,KAAK,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;gBACtC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;gBACpD,OAAO,IAAI,CAAC;YACd,CAAC;YACD,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAChD,OAAO,KAAK,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC;IAED,4FAA4F;IACpF,uBAAuB;QAC7B,OAAO,CAAC,CAAC;IACX,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"@waku/sds","version":"0.0.2-
|
1
|
+
{"name":"@waku/sds","version":"0.0.2-83cb8f4.0","description":"Scalable Data Sync implementation for the browser. Based on https://github.com/vacp2p/rfc-index/blob/main/vac/raw/sds.md","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"typesVersions":{"*":{"*":["*","dist/*","dist/*/index"]}},"type":"module","author":"Waku Team","homepage":"https://github.com/waku-org/js-waku/tree/master/packages/scalable-data-sync#readme","repository":{"type":"git","url":"https://github.com/waku-org/js-waku.git"},"bugs":{"url":"https://github.com/waku-org/js-waku/issues"},"license":"MIT OR Apache-2.0","keywords":["waku","decentralized","secure","communication","web3","ethereum","dapps","privacy"],"scripts":{"build":"run-s build:**","build:esm":"tsc","build:bundle":"rollup --config rollup.config.js","fix":"run-s fix:*","fix:lint":"eslint src *.js --fix","check":"run-s check:*","check:lint":"eslint src *.js","check:spelling":"cspell \"{README.md,src/**/*.ts}\"","check:tsc":"tsc -p tsconfig.dev.json","prepublish":"npm run build","reset-hard":"git clean -dfx -e .idea && git reset --hard && npm i && npm run build","test":"NODE_ENV=test run-s test:*","test:node":"NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha"},"engines":{"node":">=20"},"dependencies":{"@noble/hashes":"^1.7.1","@waku/message-hash":"0.1.18-83cb8f4.0","@waku/proto":"0.0.9-83cb8f4.0","@waku/utils":"0.0.22-83cb8f4.0","chai":"^5.1.2"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^15.2.3","@waku/build-utils":"*","allure-commandline":"^2.27.0","allure-mocha":"^2.9.2","cspell":"^8.6.1","fast-check":"^3.19.0","mocha-multi-reporters":"^1.5.1","npm-run-all":"^4.1.5","rollup":"^4.12.0"},"files":["dist","bundle","src/**/*.ts","!**/*.spec.*","!**/*.json","CHANGELOG.md","LICENSE","README.md"]}
|
package/src/sds.ts
CHANGED
@@ -65,10 +65,10 @@ export class MessageChannel {
|
|
65
65
|
* @param payload - The payload to send.
|
66
66
|
* @param callback - A callback function that returns a boolean indicating whether the message was sent successfully.
|
67
67
|
*/
|
68
|
-
public sendMessage(
|
68
|
+
public async sendMessage(
|
69
69
|
payload: Uint8Array,
|
70
|
-
callback?: (message: Message) => boolean
|
71
|
-
): void {
|
70
|
+
callback?: (message: Message) => Promise<boolean>
|
71
|
+
): Promise<void> {
|
72
72
|
this.lamportTimestamp++;
|
73
73
|
|
74
74
|
const messageId = MessageChannel.getMessageId(payload);
|
@@ -87,7 +87,7 @@ export class MessageChannel {
|
|
87
87
|
this.outgoingBuffer.push(message);
|
88
88
|
|
89
89
|
if (callback) {
|
90
|
-
const success = callback(message);
|
90
|
+
const success = await callback(message);
|
91
91
|
if (success) {
|
92
92
|
this.filter.insert(messageId);
|
93
93
|
this.messageIdLog.push({ timestamp: this.lamportTimestamp, messageId });
|
@@ -112,8 +112,10 @@ export class MessageChannel {
|
|
112
112
|
public receiveMessage(message: Message): void {
|
113
113
|
// review ack status
|
114
114
|
this.reviewAckStatus(message);
|
115
|
-
// add to bloom filter
|
116
|
-
|
115
|
+
// add to bloom filter (skip for messages with empty content)
|
116
|
+
if (message.content?.length && message.content.length > 0) {
|
117
|
+
this.filter.insert(message.messageId);
|
118
|
+
}
|
117
119
|
// verify causal history
|
118
120
|
const dependenciesMet = message.causalHistory.every((messageId) =>
|
119
121
|
this.messageIdLog.some(
|
@@ -203,6 +205,40 @@ export class MessageChannel {
|
|
203
205
|
);
|
204
206
|
}
|
205
207
|
|
208
|
+
/**
|
209
|
+
* Send a sync message to the SDS channel.
|
210
|
+
*
|
211
|
+
* Increments the lamport timestamp, constructs a `Message` object
|
212
|
+
* with an empty load. Skips outgoing buffer, filter, and local log.
|
213
|
+
*
|
214
|
+
* See https://rfc.vac.dev/vac/raw/sds/#send-sync-message
|
215
|
+
*
|
216
|
+
* @param callback - A callback function that returns a boolean indicating whether the message was sent successfully.
|
217
|
+
*/
|
218
|
+
public sendSyncMessage(
|
219
|
+
callback?: (message: Message) => Promise<boolean>
|
220
|
+
): Promise<boolean> {
|
221
|
+
this.lamportTimestamp++;
|
222
|
+
|
223
|
+
const emptyMessage = new Uint8Array();
|
224
|
+
|
225
|
+
const message: Message = {
|
226
|
+
messageId: MessageChannel.getMessageId(emptyMessage),
|
227
|
+
channelId: this.channelId,
|
228
|
+
lamportTimestamp: this.lamportTimestamp,
|
229
|
+
causalHistory: this.messageIdLog
|
230
|
+
.slice(-this.causalHistorySize)
|
231
|
+
.map(({ messageId }) => messageId),
|
232
|
+
bloomFilter: this.filter.toBytes(),
|
233
|
+
content: emptyMessage
|
234
|
+
};
|
235
|
+
|
236
|
+
if (callback) {
|
237
|
+
return callback(message);
|
238
|
+
}
|
239
|
+
return Promise.resolve(false);
|
240
|
+
}
|
241
|
+
|
206
242
|
// See https://rfc.vac.dev/vac/raw/sds/#deliver-message
|
207
243
|
private deliverMessage(message: Message): void {
|
208
244
|
const messageLamportTimestamp = message.lamportTimestamp ?? 0;
|
@@ -210,6 +246,12 @@ export class MessageChannel {
|
|
210
246
|
this.lamportTimestamp = messageLamportTimestamp;
|
211
247
|
}
|
212
248
|
|
249
|
+
if (message.content?.length === 0) {
|
250
|
+
// Messages with empty content are sync messages.
|
251
|
+
// They are not added to the local log or bloom filter.
|
252
|
+
return;
|
253
|
+
}
|
254
|
+
|
213
255
|
// The participant MUST insert the message ID into its local log,
|
214
256
|
// based on Lamport timestamp.
|
215
257
|
// If one or more message IDs with the same Lamport timestamp already exists,
|
@@ -227,6 +269,8 @@ export class MessageChannel {
|
|
227
269
|
});
|
228
270
|
}
|
229
271
|
|
272
|
+
// For each received message (including sync messages), inspect the causal history and bloom filter
|
273
|
+
// to determine the acknowledgement status of messages in the outgoing buffer.
|
230
274
|
// See https://rfc.vac.dev/vac/raw/sds/#review-ack-status
|
231
275
|
private reviewAckStatus(receivedMessage: Message): void {
|
232
276
|
// the participant MUST mark all messages in the received causal_history as acknowledged.
|