Commit Graph

498 Commits

Author SHA1 Message Date
fryorcraken.eth feb6e1b92c
test: nwaku does not behave as expected 2023-09-21 12:25:38 +10:00
fryorcraken.eth 053b6545ad
feat!: return `REMOTE_PEER_REJECTED` if remote peer rejected the message 2023-09-21 11:56:02 +10:00
fryorcraken.eth 6807185f3b
doc: document potential errors 2023-09-21 11:56:02 +10:00
fryorcraken.eth a31b6e472e
refactor: Remove nest of try/catch in favor of sequential try/catch 2023-09-21 11:56:02 +10:00
fryorcraken.eth b696a89572
fix: catch stream creation promise rejection for `lightPush.send` 2023-09-21 11:56:02 +10:00
Simon-Pierre Vivier 7905aa478b
fix: explicit nwaku subscriptions in tests (#1572)
* Nwaku subscriptions explicit in tests

* Subscription before each & renaming

* Fix
2023-09-19 22:45:27 +02:00
fbarbu15 e284c78701
chore: new lightpush tests (#1571)
* new lightpush tests

* fixes after CI run

* split tests into 2 files

* small fix

* address code review comments

* small fix after CI run

---------

Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-19 15:51:03 +05:30
dependabot[bot] 4bce7295e0
chore(deps)(deps-dev): bump rollup from 3.29.0 to 3.29.2 (#1577)
Bumps [rollup](https://github.com/rollup/rollup) from 3.29.0 to 3.29.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.29.0...v3.29.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 21:33:23 +05:30
dependabot[bot] 05ea276c4f
chore(deps)(deps-dev): bump karma from 6.4.1 to 6.4.2 (#1576)
Bumps [karma](https://github.com/karma-runner/karma) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.4.1...v6.4.2)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 21:20:28 +05:30
fbarbu15 aae1d9f68b
chore: move the failed retries on test level (#1573)
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-18 11:48:47 +02:00
dependabot[bot] bb4fdaa248
chore(deps)(deps-dev): bump datastore-core from 9.2.2 to 9.2.3 (#1574)
Bumps [datastore-core](https://github.com/ipfs/js-stores) from 9.2.2 to 9.2.3.
- [Release notes](https://github.com/ipfs/js-stores/releases)
- [Commits](https://github.com/ipfs/js-stores/compare/datastore-core-v9.2.2...datastore-core-v9.2.3)

---
updated-dependencies:
- dependency-name: datastore-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-18 13:04:11 +05:30
dependabot[bot] 8312871789
chore(deps)(deps-dev): bump interface-datastore from 7.0.4 to 8.2.5 (#1575)
Bumps [interface-datastore](https://github.com/ipfs/js-stores) from 7.0.4 to 8.2.5.
- [Release notes](https://github.com/ipfs/js-stores/releases)
- [Commits](https://github.com/ipfs/js-stores/compare/interface-datastore-v7.0.4...interface-datastore-v8.2.5)

---
updated-dependencies:
- dependency-name: interface-datastore
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-17 00:55:20 +05:30
dependabot[bot] b624a1afd5
chore(deps)(deps): bump protons-runtime from 5.0.0 to 5.0.2 (#1561)
Bumps [protons-runtime](https://github.com/ipfs/protons) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/ipfs/protons/releases)
- [Commits](https://github.com/ipfs/protons/compare/protons-runtime-v5.0.0...protons-runtime-v5.0.2)

---
updated-dependencies:
- dependency-name: protons-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-15 16:50:08 +05:30
dependabot[bot] ea2ab025d4
chore(deps)(deps): bump @libp2p/mplex from 9.0.2 to 9.0.5 (#1550)
Bumps [@libp2p/mplex](https://github.com/libp2p/js-libp2p) from 9.0.2 to 9.0.5.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/mdns-v9.0.2...mdns-v9.0.5)

---
updated-dependencies:
- dependency-name: "@libp2p/mplex"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-15 16:18:16 +05:30
Sasha d049ebbc34
fix: throw error when no response (#1567) 2023-09-14 13:35:10 +02:00
fbarbu15 b42601d156
chore: new filter tests (#1552)
* add bulk of tests

* refactored and improved tests

* add more comments

* fixes after CI run

* split filter tests into mulitple suites

* split filter tests into mulitple suites
2023-09-12 23:31:35 +02:00
fryorcraken 55431a52e0
chore: release master (#1558) 2023-09-11 13:27:24 +02:00
Sasha db686b3f7a
chore!: revert typescript eslint plugins (#1551)
* force update lock file

* revert eslint upgrades

* revert both plugins
2023-09-08 20:32:06 +02:00
dependabot[bot] 2d7fff1e20
chore(deps)(deps-dev): bump @typescript-eslint/eslint-plugin (#1549)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.62.0 to 6.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.6.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 21:50:05 +05:30
Danish Arora 6f09fbf4ed
feat: use the lowest latency peer for protocols (#1540)
* maintain pings in a hashmap

* convert `KeepAliveManager` into a singleton

* chore: fix an unrelated cyclic dependency error

* update `selectPeerForProtocol` to return peer with the lowest latency

* use the new KeepAliveManager API

* use the new API for `selectPeerForProtocol`

* add tests

* use PeerData to hold the ping instead of a new variable

* improve tests for readability

* move back KeepAliveManager from singleton

* reenable all tests

* minor improvements

* improve error handling

* convert .then() syntax to async/await
2023-09-08 21:36:55 +05:30
dependabot[bot] 2c0360bfe8
chore(deps)(deps): bump libp2p from 0.46.8 to 0.46.9 (#1544)
Bumps [libp2p](https://github.com/libp2p/js-libp2p) from 0.46.8 to 0.46.9.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/libp2p-v0.46.8...libp2p-v0.46.9)

---
updated-dependencies:
- dependency-name: libp2p
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-08 00:39:40 +05:30
dependabot[bot] 7ae27413a3
chore(deps)(deps-dev): bump rollup from 3.28.0 to 3.29.0 (#1545)
Bumps [rollup](https://github.com/rollup/rollup) from 3.28.0 to 3.29.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.28.0...v3.29.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 00:12:39 +05:30
Danish Arora 81a52a8097
feat!: set peer-exchange with default bootstrap (#1469)
* set peer-exchange with default bootstrap

* only initialise protocols with bootstrap peers

* update package

* update package-lock

* refactor `getPeers` while setting up a protocol

* move codecs to `@waku/interfaces`

* lightpush: send messages to multiple peers

* only use multiple peers for LP and Filter

* fix: ts warnings

* lightpush: tests pass

* update breaking changes for new API

* move codecs back into protocol files

* refactor: `getPeers()`

* rm: log as an arg

* add tsdoc for getPeers

* add import

* add prettier rule to eslint

* add: peer exchange to sdk as a dep

* fix eslint error

* add try catch

* revert unecessary diff

* revert unecessary diff

* fix imports

* convert relaycodecs to array

* remove: peerId as an arg for protocol methods

* keep peerId as an arg for peer-exchange

* remove: peerId from getPeers()

* lightpush: extract hardcoded numPeers as a constant

* return all peers if numPeers is 0 and increase readability for random peers

* refactor considering more than 1 bootstrap peers can exist

* use `getPeers`

* change arg for `getPeers` to object

* address comments

* refactor tests for new API

* lightpush: make constant the class variable

* use `maxBootstrapPeers` instead of `includeBootstrap`

* refactor protocols for new API

* add tests for `getPeers`

* skip getPeers test

* rm: only from test

* move tests to `base_protocol.spec.ts`

* break down `getPeers` into a `filter` method

* return all bootstrap peers if arg is 0

* refactor test without stubbing

* address comments

* update test title

* move `filterPeers` to a separate file

* address comments & add more test

* make test title more verbose

* address comments

* remove ProtocolOptions

* chore: refactor tests for new API

* add defaults for getPeers

* address comments

* rm unneeded comment

* address comment: add diversity of node tags to test

* address comments

* fix: imports
2023-09-07 13:15:49 +05:30
dependabot[bot] 408b79d6a5
chore(deps)(deps-dev): bump @typescript-eslint/parser (#1538)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.62.0 to 6.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.6.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-09-07 11:21:37 +05:30
dependabot[bot] 9d503adfbc
chore(deps)(deps): bump @libp2p/websockets from 7.0.3 to 7.0.5 (#1539)
Bumps [@libp2p/websockets](https://github.com/libp2p/js-libp2p) from 7.0.3 to 7.0.5.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/websockets-v7.0.3...websockets-v7.0.5)

---
updated-dependencies:
- dependency-name: "@libp2p/websockets"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 21:51:45 +05:30
Danish Arora 6d81d6ab0c
rename optimistically to preemptively (#1536) 2023-09-06 09:36:17 +05:30
dependabot[bot] 2cf4a58f62
chore(deps)(deps-dev): bump @rollup/plugin-commonjs (#1533)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 24.1.0 to 25.0.4.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v25.0.4/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 01:07:37 +02:00
dependabot[bot] 2364b4f8e2
chore(deps)(deps): bump libp2p from 0.46.3 to 0.46.8 (#1534)
Bumps [libp2p](https://github.com/libp2p/js-libp2p) from 0.46.3 to 0.46.8.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/libp2p-v0.46.3...libp2p-v0.46.8)

---
updated-dependencies:
- dependency-name: libp2p
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 23:39:49 +05:30
Danish Arora 9fc79f6853
chore: export `FilterCodecs` (#1532)
* export FilterCodecs

* root export
2023-09-05 15:38:02 +05:30
dependabot[bot] aea96349d4
chore(deps)(deps-dev): bump @types/uuid from 9.0.1 to 9.0.3 (#1529)
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 9.0.1 to 9.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 22:10:50 +05:30
dependabot[bot] c8b404afb6
chore(deps)(deps-dev): bump @types/debug from 4.1.7 to 4.1.8 (#1530)
Bumps [@types/debug](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/debug) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/debug)

---
updated-dependencies:
- dependency-name: "@types/debug"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 21:57:31 +05:30
dependabot[bot] 3bf9cb83c0
chore(deps)(deps-dev): bump cspell from 7.0.1 to 7.3.2
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 7.0.1 to 7.3.2.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v7.0.1...v7.3.2)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 07:10:14 +00:00
Danish Arora 78f64f60ee
chore: remove prettier, and default to eslint (#1495)
* rm: unwanted commit ff3ffdd138

* prettier: readds trailing commas

* update: .vscode settings to use eslint by default

* run eslint -- removes trailing commas

* remove: prettier

* remove linting from autogen proto

* address comments

* lint .eslintrc.json
2023-09-04 12:37:38 +05:30
Danish Arora 574a05ff68
chore: remove `aegir` as a dependency (#1525)
* remove aegir as a dep

* upgrade @libp2p/interface-compliance-tests

* update package-lock
2023-09-04 12:26:38 +05:30
Danish Arora b4f8216761
feat: pre-emptive stream creation for protocols (#1516)
* pass log as an arg to baseprotocol

* optimistically create and use streams for light protocols

* refactor BaseProtocol for readability

* use optimistic stream selection in protocols

* use a new stream for every request instead of reusing

* replenish streams correctly

* create StreamManager

* refactor for a single stream

* fix: listener binds

* declare streamManager as a class var isntead of extending

* remove stream destruction as it happens by default

* simplify logic & address comments

* fix: bind typo

* refactor for improvements

* fix typedoc

* rm: lock

* restructure StreamManager for readbility

* remove log as an arg

* use newStream as a facade in BaseProtoocl
2023-09-04 10:27:25 +05:30
dependabot[bot] 1c090924d0
chore(deps)(deps): bump it-all from 3.0.2 to 3.0.3 (#1519)
Bumps [it-all](https://github.com/achingbrain/it) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/achingbrain/it/releases)
- [Commits](https://github.com/achingbrain/it/compare/it-all-v3.0.2...it-all-v3.0.3)

---
updated-dependencies:
- dependency-name: it-all
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 17:28:31 +02:00
dependabot[bot] e7e35f05ed
chore(deps)(deps): bump @chainsafe/libp2p-gossipsub (#1499)
Bumps [@chainsafe/libp2p-gossipsub](https://github.com/ChainSafe/js-libp2p-gossipsub) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/ChainSafe/js-libp2p-gossipsub/releases)
- [Changelog](https://github.com/ChainSafe/js-libp2p-gossipsub/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ChainSafe/js-libp2p-gossipsub/compare/v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: "@chainsafe/libp2p-gossipsub"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:47:23 +02:00
Sasha 27177a7efa
chore: improve preparePushMessage (#1509)
* chore: improve readability a bit

* rename

* decople to a type

* fix error
2023-08-30 22:14:32 +02:00
dependabot[bot] 423abb9211
chore(deps)(deps): bump @noble/hashes from 1.3.1 to 1.3.2 (#1515)
Bumps [@noble/hashes](https://github.com/paulmillr/noble-hashes) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/paulmillr/noble-hashes/releases)
- [Commits](https://github.com/paulmillr/noble-hashes/compare/1.3.1...1.3.2)

---
updated-dependencies:
- dependency-name: "@noble/hashes"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 21:24:13 +05:30
fbarbu15 a904609e19 Merge branch 'master' of https://github.com/waku-org/js-waku into chore/add-dispatch-to-ci 2023-08-29 20:18:53 +03:00
dependabot[bot] 39c323891c
chore(deps)(deps-dev): bump puppeteer from 20.4.0 to 21.1.1 (#1513)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 20.4.0 to 21.1.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v20.4.0...puppeteer-v21.1.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 22:20:05 +05:30
dependabot[bot] df5f286e68
chore(deps)(deps): bump @libp2p/peer-id from 2.0.4 to 3.0.2 (#1512)
Bumps [@libp2p/peer-id](https://github.com/libp2p/js-libp2p) from 2.0.4 to 3.0.2.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/prometheus-metrics-v2.0.4...logger-v3.0.2)

---
updated-dependencies:
- dependency-name: "@libp2p/peer-id"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 22:12:23 +05:30
Danish Arora 2389977a98
chore!: refactor store protocol for readability (#1456)
* refactor store protocol for readability

* update interface

* fix: test

* rm: comments

* Update packages/core/src/lib/store/index.ts

Co-authored-by: fryorcraken <110212804+fryorcraken@users.noreply.github.com>

* fix commit

---------

Co-authored-by: fryorcraken <110212804+fryorcraken@users.noreply.github.com>
2023-08-28 13:19:47 +05:30
dependabot[bot] 45baa768ad
chore(deps)(deps): bump fast-check from 3.8.1 to 3.12.0 (#1498)
Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check) from 3.8.1 to 3.12.0.
- [Release notes](https://github.com/dubzzz/fast-check/releases)
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md)
- [Commits](https://github.com/dubzzz/fast-check/commits/v3.12.0/packages/fast-check)

---
updated-dependencies:
- dependency-name: fast-check
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 12:46:48 +05:30
fbarbu15 617622c3ec manually triggerr ci with custom nim node image 2023-08-24 14:03:44 +03:00
Danish Arora 812310a816
chore: refactor LightPush `send` (#1487)
* refactor lightpush send

* add trycatch
2023-08-22 15:11:34 +05:30
dependabot[bot] 9d4fa3f159
chore(deps)(deps-dev): bump rollup from 3.21.3 to 3.28.0 (#1494)
Bumps [rollup](https://github.com/rollup/rollup) from 3.21.3 to 3.28.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.21.3...v3.28.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-08-21 21:53:10 +05:30
dependabot[bot] 445f7e7cb8
chore(deps)(deps-dev): bump cspell from 7.0.0 to 7.0.1 (#1493)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v7.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 21:45:00 +05:30
dependabot[bot] 0d9ea1b4a8
chore(deps)(deps-dev): bump datastore-core from 9.2.0 to 9.2.2 (#1492)
Bumps [datastore-core](https://github.com/ipfs/js-stores) from 9.2.0 to 9.2.2.
- [Release notes](https://github.com/ipfs/js-stores/releases)
- [Commits](https://github.com/ipfs/js-stores/compare/datastore-core-v9.2.0...datastore-core-v9.2.2)

---
updated-dependencies:
- dependency-name: datastore-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-19 13:58:15 +05:30
dependabot[bot] 1d484e0546
chore(deps)(deps-dev): bump @libp2p/peer-id-factory from 2.0.4 to 3.0.3 (#1491)
Bumps [@libp2p/peer-id-factory](https://github.com/libp2p/js-libp2p) from 2.0.4 to 3.0.3.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/prometheus-metrics-v2.0.4...keychain-v3.0.3)

---
updated-dependencies:
- dependency-name: "@libp2p/peer-id-factory"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-19 13:44:17 +05:30