Commit Graph

1692 Commits

Author SHA1 Message Date
fryorcraken.eth 79146711c5
fix: ensure the content topics that needs to be decrypted are passed 2022-08-24 17:51:06 +10:00
fryorcraken.eth 5ddca918ca
fix: stop store pagination if `response` field is missing 2022-08-24 17:34:37 +10:00
fryorcraken.eth cfece62e2a
misc: enable lint-staged for config cjs files 2022-08-24 16:14:43 +10:00
fryorcraken.eth f4da5a8266
test: tsconfig file for karma with esnext enabled 2022-08-24 16:10:13 +10:00
fryorcraken.eth b984888993
build: add missing exports map entries 2022-08-24 15:56:12 +10:00
fryorcraken.eth 931028e0ac
build: bump ts-node to 10.9.1 and ts-loader to 9.3.1 2022-08-24 15:25:37 +10:00
fryorcraken.eth 280058de4a
test: deep.equal crashes when comparing Buffer and UInt8Array 2022-08-24 12:46:51 +10:00
fryorcraken.eth ebb0e786cb
Merge pull request #901 from status-im/parameterized-tests 2022-08-24 10:05:01 +10:00
fryorcraken.eth d2bb50adda
test: doc specifies log level capitalized 2022-08-24 07:53:34 +10:00
fryorcraken.eth f0eb925838
test: enable passing arguments to service node 2022-08-24 07:46:36 +10:00
Franck Royer 5f4e14e56c
test: parameterize waku service node dir/bin 2022-08-24 07:46:36 +10:00
Franck Royer cd665a1803
test: pass `--store` 2022-08-24 07:46:35 +10:00
Franck Royer 953bda781f
test: Ensure pubsub topic is used when sending and retrieving messages 2022-08-24 07:46:35 +10:00
Franck Royer 4a96472084
test: improve RPC call debugging 2022-08-24 07:46:34 +10:00
Franck Royer d65e99275b
test: parameterized some nwaku options 2022-08-24 07:46:33 +10:00
Franck Royer 024209fdd0
test: remove dupe functions 2022-08-24 07:46:32 +10:00
fryorcraken.eth cdd0752ad6
Merge pull request #899 from status-im/nwaku-v0.11 2022-08-20 01:08:05 +10:00
fryorcraken.eth 771d515b6f
ci: rename nim-waku to nwaku and upgrade to v0.11 2022-08-20 01:04:19 +10:00
fryorcraken.eth 3635b43c01
Merge pull request #898 from status-im/ci/split-tests 2022-08-19 23:49:28 +10:00
fryorcraken.eth e229aa1a19
ci: update bors 2022-08-19 23:37:02 +10:00
fryorcraken.eth 501a3329f0
ci: remove trivial descriptions 2022-08-19 23:34:52 +10:00
fryorcraken.eth 0ec17c2f96
ci: split in several jobs 2022-08-19 23:34:52 +10:00
fryorcraken.eth 6019082240
ci: bump actions/checkout to v3 2022-08-19 23:34:52 +10:00
fryorcraken.eth b47fe21e39
ci: only test on ubuntu
Browser is what actually matter.
2022-08-19 23:34:52 +10:00
fryorcraken.eth e689b13106
ci: buildbuf is not used 2022-08-19 23:34:52 +10:00
status-bors-ng[bot] 63bfb9b2e2
Merge #896
896: Auto-release merged PRs r=fryorcraken a=fryorcraken



Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-19 13:21:11 +00:00
fryorcraken.eth d120b0f3e3
Merge pull request #897 from status-im/export-predefined-nodes 2022-08-19 23:12:08 +10:00
fryorcraken.eth db6e7921d5
ci: test name has changed 2022-08-19 23:10:35 +10:00
fryorcraken.eth b0b2880746
fix: export predefined bootstrap nodes 2022-08-19 23:05:03 +10:00
fryorcraken.eth 215aa59b77
feat(ci): published merged PRs 2022-08-19 21:17:17 +10:00
fryorcraken.eth fd54d21e1a
refactor(ci): move node to env var, move env var up
So it can be used by all jobs.
2022-08-19 18:28:57 +10:00
fryorcraken.eth 8d1b461d61
chore(ci): upgrade setup-node action to v3 2022-08-19 18:26:46 +10:00
fryorcraken.eth dd30a56f15
fix(ci): caching is already handled by npm-install action 2022-08-19 18:26:08 +10:00
status-bors-ng[bot] d7181da98b
Merge #892
892: fix: type export via `typesVersions` r=fryorcraken a=filoozom

## Problem

Importing anything from TypeScript in `js-waku/lib/` (`v0.25.0-rc.0`) does not work. It can't find the types despite the `exports.*.types` in `package.json`.

## Solution

This solution was inspired by `libp2p` ([example in ``@libp2p/interfaces`](https://github.com/libp2p/js-libp2p-interfaces/blob/master/packages/interfaces/package.json#L24-L39)),` and just adds `typesVersions` to `package.json`.

Documentation: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#folder-redirects-using-

## Notes

- See https://github.com/status-im/js-waku/issues/891#issuecomment-1217388556


Co-authored-by: Philippe Schommers <philippe@schommers.be>
2022-08-19 04:52:27 +00:00
Philippe Schommers 5137f28cbf
fix: type export via `typesVersions` 2022-08-19 12:41:49 +10:00
status-bors-ng[bot] 25869b82c4
Merge #894
894: fix: add peer_discovery_static_list to exports map r=fryorcraken a=fryorcraken

Needed to access `PeerDiscoveryStaticPeers`.


Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-19 02:18:55 +00:00
status-bors-ng[bot] 67811662d9
Merge #893
893: fix: do not throw on lack of response r=fryorcraken a=fryorcraken

Expected proto3 behaviour, just no message returned.

Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-17 16:19:20 +00:00
fryorcraken.eth 9cad6d5d72
fix: add peer_discovery_static_list to exports map
Needed to access `PeerDiscoveryStaticPeers`.
2022-08-17 23:29:23 +10:00
fryorcraken.eth 28f77ec083
fix: use debug instead of console.log 2022-08-17 22:39:42 +10:00
fryorcraken.eth ecb5b490e3
fix: do not throw on lack of response
Expected proto3 behaviour, just no message returned.
2022-08-17 22:39:19 +10:00
fryorcraken.eth 28cb144b23
Merge pull request #888 from status-im/chore/libp2p 2022-08-17 12:00:16 +10:00
fryorcraken.eth 1c2df434e0
fix(deps): freeze @libp2p/interface-connection 2022-08-16 15:24:11 +10:00
fryorcraken.eth e488f120e0
fix(deps): free uint8arraylist
Some issue with transient dependencies.
2022-08-16 15:07:30 +10:00
fryorcraken.eth 38e39e71be
fix(deps): free uint8arraylist
Some issue with transient dependencies.
2022-08-16 15:06:11 +10:00
fryorcraken.eth 574e99c768
chore(deps): upgrade it-pipe 2022-08-16 14:48:31 +10:00
fryorcraken.eth b866c650bb
chore(deps): install used transient dep 2022-08-16 14:47:16 +10:00
fryorcraken.eth d9d8c4c23c
chore(deps): upgrade libp2p
To bring in @libp2p/multistream-select@3.0.0 and fix #886.
2022-08-16 14:43:29 +10:00
fryorcraken.eth d66dfad37e
Merge pull request #883 from status-im/dependabot/npm_and_yarn/libp2p/interface-peer-store-1.2.1 2022-08-15 13:27:48 +10:00
dependabot[bot] cf675c4224
chore(deps): bump @libp2p/interface-peer-store from 1.2.0 to 1.2.1
Bumps [@libp2p/interface-peer-store](https://github.com/libp2p/js-libp2p-interfaces) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases)
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-peer-store-v1.2.0...@libp2p/interface-peer-store-v1.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 15:25:05 +00:00
status-bors-ng[bot] 5eda1ec8aa
Merge #882
882: build: run npm audit fix r=fryorcraken a=fryorcraken



Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-08 03:24:49 +00:00