Commit Graph

116 Commits

Author SHA1 Message Date
Richard Ramos 550e26533f
refactor: cipher specific endianness for nonce 2023-11-21 13:19:09 -04:00
Richard Ramos 938789d7cd
refactor: cipher type as parameter 2023-11-21 12:38:43 -04:00
Richard Ramos 85c235e7f5
chore: add missing `.js` suffix 2023-11-21 12:36:23 -04:00
Richard Ramos 9aa0761c0f
chore: removing ChaChaPolyCipherState and NoisePublicKey encryption/decryption, as it is only used for tests, and not during normal usage 2023-11-21 12:36:01 -04:00
Richard Ramos ece0b95c81
refactor: removed taglen as parameter as it is defined in spec that it is always`16` 2023-11-20 16:56:33 -04:00
Richard Ramos bdead7e3a9
refactor: `commitPublicKey` receives a hashing function 2023-11-20 16:40:40 -04:00
Richard Ramos 62836e847b
refactor: key type as parameter 2023-11-20 15:58:54 -04:00
Richard Ramos 83d6d553a3
refactor: tagLen as parameter 2023-11-20 15:14:02 -04:00
Richard Ramos bf665a0222
refactor: SHA256 as parameter 2023-11-20 14:34:08 -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
weboko 9a37ea69af
remove isomorphic fetch dependency 2023-02-02 01:23:00 +01:00
weboko fcbd6036db
disable minimization 2023-02-02 01:08:09 +01:00
weboko b1c7048923
return resolve plugin 2023-02-02 00:03:26 +01:00
weboko 0fdcfcee35
try to use default resolution 2023-02-02 00:01:31 +01:00
weboko f241aadeba
add debuger to karma 2023-02-01 23:54:29 +01:00
weboko 943812a675
fix mocha for local run 2023-02-01 23:25:55 +01:00
weboko 0090efabaf
fix imports 2023-02-01 01:59:30 +01:00
weboko 0bf8f309d2
return test 2023-02-01 01:54:32 +01:00
weboko 1be3ff36cb
remove failing test 2023-02-01 01:53:03 +01:00
weboko ccc5f52b4c
return exclude option 2023-02-01 01:43:40 +01:00