Commit Graph

2151 Commits

Author SHA1 Message Date
Franck Royer 0564c4f95c
test: Increase timeout
go-waku takes 9s to start, partially because nat cannot be deactivated.
2022-08-25 14:48:57 +10:00
status-bors-ng[bot] 2d229e489f
Merge #904
904: misc: add issues to Waku project r=fryorcraken a=fryorcraken



Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-25 02:37:22 +00:00
fryorcraken.eth 252a1616c5
misc: add issues to Waku project 2022-08-25 12:36:03 +10:00
fryorcraken.eth 392deadeb8
misc: current action is for classic projects 2022-08-25 12:36:03 +10:00
fryorcraken.eth b6612e9835
Merge pull request #903 from status-im/run-full-suite
test: fix test suite
2022-08-24 19:27:15 +10:00
fryorcraken.eth db22c2e86b
fix: set default value for version if not on the wire 2022-08-24 19:06:53 +10:00
fryorcraken.eth a58691aabd
refact: move default value to function signature 2022-08-24 19:04:31 +10:00
fryorcraken.eth 5eec4564fe
style: typo 2022-08-24 18:43:00 +10:00
fryorcraken.eth 863f8ee7a4
fix: do not use uint8arrays/concat as it returns `Buffer` in NodeJS
`Buffer` does not have the same behaviour as `Uint8Array` when creating
a `DataView`. This is a problem when manipulating byte for encoding and
decoding purposes.
2022-08-24 18:42:48 +10:00
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