Commit Graph

126 Commits

Author SHA1 Message Date
dependabot[bot] a5916e0c95
chore(deps): bump protobufjs from 6.11.3 to 6.11.4
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.3 to 6.11.4.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/commits)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 19:06:07 +00:00
Sasha dc9b7974bb
Merge pull request #54 from EmilIvanichkovv/fix-logging-in-pairing-module
Fix logging in pairing module
2024-02-15 11:17:26 +01:00
Emil Ivanichkov dc2fd56797 refactor: Use `log` instead of `console.log` in `pairing` module 2024-02-15 11:59:42 +02:00
Emil Ivanichkov 8bafd89ca4 refactor: Remove forgotten debugging line 2024-02-15 11:58:31 +02:00
Emil Ivanichkov a19e968c85 refactor: Make `csOutbound` & `csInbound` fields of `HandshakeResult` protected
With this change we can extend the `HandshakeResult` class and use them
in the subclass
2024-01-30 12:26:05 -04:00
Emil Ivanichkov e436becaf7 feat: Add `getCSOutbound` & `getCSInbound` methods to `HandshakeResult` 2024-01-30 12:26:05 -04:00
Emil Ivanichkov 4d6d4ca5bd feat: Add `getNametagPosition` & `getNametagAtPosition` method to `MessageNametagBuffer` 2024-01-30 12:26:05 -04:00
Emil Ivanichkov 1a0b044451 chore: Add exports for `CipherState`, `Nonce` & `PayloadV2` 2024-01-30 12:26:05 -04:00
Emil Ivanichkov 54e0fd5759 fix: Implementation of `rotateLeft` function in `src/messagenametag.ts` 2024-01-25 10:39:16 -04:00
Emil Ivanichkov 4be1418b58 fix: Fix call of `HKDF` in the `genMessageNametagSecrets` function 2024-01-25 08:25:08 -04:00
Richard Ramos 0f9b146776 refactor: cipher specific endianness for nonce 2023-11-27 15:21:41 -04:00
Richard Ramos 32e64030ed refactor: cipher type as parameter 2023-11-27 15:21:41 -04:00
Richard Ramos 932d9a0263 chore: add missing `.js` suffix 2023-11-27 15:21:41 -04:00
Richard Ramos 37086a523f chore: removing ChaChaPolyCipherState and NoisePublicKey encryption/decryption, as it is only used for tests, and not during normal usage 2023-11-27 15:21:41 -04:00
Richard Ramos 1cacb2f548 refactor: removed taglen as parameter as it is defined in spec that it is always`16` 2023-11-27 15:21:41 -04:00
Richard Ramos 3cd683c2f1 refactor: `commitPublicKey` receives a hashing function 2023-11-27 15:21:41 -04:00
Richard Ramos 6baa061f0e refactor: key type as parameter 2023-11-27 15:21:41 -04:00
Richard Ramos d9b8fdc98e refactor: tagLen as parameter 2023-11-27 15:21:41 -04:00
Richard Ramos 5d54dc28be refactor: SHA256 as parameter 2023-11-27 15:21:41 -04:00
Sasha 31510dac38
feat: use IReceiver with toSubscriptionIterator 2023-05-15 10:50:43 +02:00
Oleksandr Kozlov 392571e512
fix mock 2023-05-12 21:54:38 +02:00
Sasha 2ac286638d
fix lint 2023-05-11 00:27:56 +02:00
Sasha ba201fb560
update mock 2023-05-11 00:25:19 +02:00
Sasha 3e27606edc
fix lint 2023-05-10 23:23:32 +02:00
Sasha 8a7121535a
merge with master 2023-05-10 23:13:14 +02:00
Sasha 1c8ec24c9e
update dependencies 2023-05-10 23:11:42 +02:00
fryorcraken.eth b8f8ed8917
Merge pull request #36 from waku-org/feat/meta 2023-05-10 14:02:12 +10:00
Sasha 1c15cac893
use IReceiver with toSubscriptionIterator 2023-05-09 19:24:11 +02:00
fryorcraken.eth 4f18b886c9
feat: enable meta field to be set
Ref: https://github.com/waku-org/js-waku/issues/1208
2023-05-09 16:27:00 +10:00
Sasha 174bc32617
chore(deps): bump undici from 5.16.0 to 5.21.0 2023-04-06 01:16:38 +02:00
Sasha eeef7ec626
chore(deps): bump webpack from 5.75.0 to 5.77.0 2023-04-06 01:16:24 +02:00
Sasha 08c871c3b4
chore: bump to 0.0.3
bump to 0.0.3
2023-04-04 23:17:32 +02:00
weboko 34ead3036b
bump to 0.0.3 2023-04-04 23:14:56 +02:00
Sasha 3201743ed7
fix!: update to latest waku + use ISender 2023-04-04 23:13:38 +02:00
weboko 00d552d659
fix tests & remove Sender 2023-04-04 01:34:13 +02:00
weboko 9eb817dd68
use ISender 2023-04-04 01:11:57 +02:00
weboko 96e4b46c42
update waku 2023-04-04 01:02:07 +02:00
dependabot[bot] 91e4df5d0b
chore(deps): bump webpack from 5.75.0 to 5.77.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.77.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.77.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 22:34:04 +00:00
Sasha 9136800038
Merge pull request #31 from waku-org/chore/remove-example
chore: remove noise example
2023-03-30 00:33:06 +02:00
weboko 3a65578f44
merger with master 2023-03-30 00:30:07 +02:00
Richard Ramos 6666080651 fix: use base64url WITH padding 2023-03-29 09:33:05 -04:00
Richard Ramos 83d7370328
chore: remove noise example 2023-03-29 09:32:26 -04:00
dependabot[bot] 4b040aa2a7
chore(deps): bump undici from 5.16.0 to 5.21.0
Bumps [undici](https://github.com/nodejs/undici) from 5.16.0 to 5.21.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.16.0...v5.21.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 20:10:14 +00:00
Sasha ead21e71b6
chore(deps-dev): bump webpack from 5.75.0 to 5.76.0 in /example 2023-03-15 21:09:37 +01:00
dependabot[bot] 1c40ee9322
chore(deps-dev): bump webpack from 5.75.0 to 5.76.0 in /example
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 08:53:26 +00:00
fryorcraken.eth 63c572abe4
Merge pull request #24 from waku-org/dependabot/npm_and_yarn/example/undici-5.19.1 2023-03-03 09:44:21 +11:00
Richard Ramos bcef30c94b chore: use base64 url safe encoding for noise 2023-02-28 14:13:45 -04:00
dependabot[bot] 8d4e5ad578
chore(deps): bump undici from 5.13.0 to 5.19.1 in /example
Bumps [undici](https://github.com/nodejs/undici) from 5.13.0 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.13.0...v5.19.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 23:00:41 +00:00
Sasha ad8035a012
Merge pull request #18 from waku-org/weboko/update-js-waku
chore: update js-waku version
2023-02-08 23:29:57 +01:00
weboko cd6b78088d
use import type and add comment to karma build 2023-02-08 22:48:33 +01:00