@waku/core 0.0.17 → 0.0.18

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/bundle/{browser-2f1afe46.js → browser-bde977a3.js} +12 -9
  3. package/bundle/index.js +610 -32840
  4. package/bundle/lib/base_protocol.js +4 -1
  5. package/bundle/lib/message/version_0.js +2 -3
  6. package/bundle/{peer_exchange-1229c8b0.js → version_0-c6b47311.js} +172 -45
  7. package/dist/index.d.ts +1 -3
  8. package/dist/index.js +1 -3
  9. package/dist/index.js.map +1 -1
  10. package/dist/lib/base_protocol.js +3 -0
  11. package/dist/lib/base_protocol.js.map +1 -1
  12. package/dist/lib/connection_manager.d.ts +1 -0
  13. package/dist/lib/connection_manager.js +33 -25
  14. package/dist/lib/connection_manager.js.map +1 -1
  15. package/dist/lib/filter/filter_rpc.js +1 -0
  16. package/dist/lib/filter/filter_rpc.js.map +1 -1
  17. package/dist/lib/filter/index.js +4 -1
  18. package/dist/lib/filter/index.js.map +1 -1
  19. package/dist/lib/keep_alive_manager.d.ts +1 -0
  20. package/dist/lib/keep_alive_manager.js +5 -1
  21. package/dist/lib/keep_alive_manager.js.map +1 -1
  22. package/dist/lib/light_push/index.d.ts +1 -1
  23. package/dist/lib/light_push/index.js +27 -7
  24. package/dist/lib/light_push/index.js.map +1 -1
  25. package/dist/lib/light_push/push_rpc.js +1 -0
  26. package/dist/lib/light_push/push_rpc.js.map +1 -1
  27. package/dist/lib/message/index.d.ts +0 -1
  28. package/dist/lib/message/index.js +0 -1
  29. package/dist/lib/message/index.js.map +1 -1
  30. package/dist/lib/message/version_0.d.ts +1 -2
  31. package/dist/lib/message/version_0.js +6 -0
  32. package/dist/lib/message/version_0.js.map +1 -1
  33. package/dist/lib/store/history_rpc.js +1 -0
  34. package/dist/lib/store/history_rpc.js.map +1 -1
  35. package/dist/lib/store/index.js +2 -0
  36. package/dist/lib/store/index.js.map +1 -1
  37. package/dist/lib/waku.js +6 -0
  38. package/dist/lib/waku.js.map +1 -1
  39. package/package.json +8 -11
  40. package/src/index.ts +1 -9
  41. package/src/lib/connection_manager.ts +13 -4
  42. package/src/lib/filter/index.ts +1 -1
  43. package/src/lib/keep_alive_manager.ts +1 -2
  44. package/src/lib/light_push/index.ts +26 -9
  45. package/src/lib/message/index.ts +0 -1
  46. package/src/lib/message/version_0.ts +1 -1
  47. package/bundle/lib/message/topic_only_message.js +0 -3
  48. package/bundle/topic_only_message-e8406994.js +0 -43
  49. package/bundle/version_0-5a4becbc.js +0 -149
  50. package/dist/lib/group_by.d.ts +0 -3
  51. package/dist/lib/group_by.js +0 -13
  52. package/dist/lib/group_by.js.map +0 -1
  53. package/dist/lib/message/topic_only_message.d.ts +0 -18
  54. package/dist/lib/message/topic_only_message.js +0 -35
  55. package/dist/lib/message/topic_only_message.js.map +0 -1
  56. package/dist/lib/relay/constants.d.ts +0 -63
  57. package/dist/lib/relay/constants.js +0 -64
  58. package/dist/lib/relay/constants.js.map +0 -1
  59. package/dist/lib/relay/index.d.ts +0 -11
  60. package/dist/lib/relay/index.js +0 -181
  61. package/dist/lib/relay/index.js.map +0 -1
  62. package/dist/lib/relay/message_validator.d.ts +0 -4
  63. package/dist/lib/relay/message_validator.js +0 -25
  64. package/dist/lib/relay/message_validator.js.map +0 -1
  65. package/src/lib/group_by.ts +0 -14
  66. package/src/lib/message/topic_only_message.ts +0 -51
  67. package/src/lib/relay/constants.ts +0 -74
  68. package/src/lib/relay/index.ts +0 -294
  69. package/src/lib/relay/message_validator.ts +0 -35
package/CHANGELOG.md CHANGED
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
5
5
  The file is maintained by [Release Please](https://github.com/googleapis/release-please) based on [Conventional Commits](https://www.conventionalcommits.org) specification,
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.18](https://github.com/waku-org/js-waku/compare/core-v0.0.17...core-v0.0.18) (2023-05-18)
9
+
10
+
11
+ ### ⚠ BREAKING CHANGES
12
+
13
+ * @waku/relay ([#1316](https://github.com/waku-org/js-waku/issues/1316))
14
+
15
+ ### Features
16
+
17
+ * @waku/relay ([#1316](https://github.com/waku-org/js-waku/issues/1316)) ([50c2c25](https://github.com/waku-org/js-waku/commit/50c2c2540f3c5ff78d93f3fea646da0eee246e17))
18
+ * Add 1MB restriction to LightPush and Relay ([#1351](https://github.com/waku-org/js-waku/issues/1351)) ([72f97d4](https://github.com/waku-org/js-waku/commit/72f97d4545512f92936b1a9b50fa0b53f8603f9d))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * Improve logging for connection manager ([#1303](https://github.com/waku-org/js-waku/issues/1303)) ([f4e3101](https://github.com/waku-org/js-waku/commit/f4e31019e115de0fffef01bb51a8f8e22c6cc8af))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * The following workspace dependencies were updated
29
+ * dependencies
30
+ * @waku/interfaces bumped from * to 0.0.13
31
+ * @waku/utils bumped from * to 0.0.6
32
+
8
33
  ## [0.0.17](https://github.com/waku-org/js-waku/compare/core-v0.0.16...core-v0.0.17) (2023-05-09)
9
34
 
10
35
 
@@ -1,8 +1,10 @@
1
- var browserExports = {};
2
- var browser = {
3
- get exports(){ return browserExports; },
4
- set exports(v){ browserExports = v; },
5
- };
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ function getDefaultExportFromCjs (x) {
4
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
+ }
6
+
7
+ var browser = {exports: {}};
6
8
 
7
9
  /**
8
10
  * Helpers.
@@ -718,9 +720,10 @@ var common = setup;
718
720
  } catch (error) {
719
721
  return '[UnexpectedJSONParseError]: ' + error.message;
720
722
  }
721
- };
722
- } (browser, browserExports));
723
+ };
724
+ } (browser, browser.exports));
723
725
 
724
- var debug = browserExports;
726
+ var browserExports = browser.exports;
727
+ var debug = /*@__PURE__*/getDefaultExportFromCjs(browserExports);
725
728
 
726
- export { debug as d };
729
+ export { commonjsGlobal as c, debug as d, getDefaultExportFromCjs as g };