Commit Graph

388 Commits

Author SHA1 Message Date
Dave Hrycyszyn db6dc62cdd Using wss with a named gateway so that it can work on the web 2022-10-26 16:32:04 +01:00
Dave Hrycyszyn d59798099f Bumping to 1.0.1 version number for webassembly package 2022-10-26 15:46:25 +01:00
Dave Hrycyszyn 7ebb7cca87 Adding options for fat wasm 2022-10-26 15:44:42 +01:00
Dave Hrycyszyn 5d2ab89f77 Adding compression options 2022-10-26 15:44:29 +01:00
Dave Hrycyszyn ac63b92e7c Removing accidental yarn lock 2022-10-26 15:44:20 +01:00
Jędrzej Stuczyński 3a6932d47c local adjustments 2022-10-10 13:32:25 +01:00
Jędrzej Stuczyński cf71cf0906 Introduced a client-configurable option to force it to use extended packet size 2022-10-10 12:10:23 +01:00
Jędrzej Stuczyński de239cd288 Adjusting default settings 2022-10-10 10:44:45 +01:00
Jędrzej Stuczyński 1593cd08c4 Introduced disable_main_poisson_packet_distribution to force real_traffic_stream to disable poisson sending (#1664)
* Introduced disable_main_poisson_packet_distribution to force real_traffic_stream to disable poisson sending

* Updated changelog
2022-10-10 10:42:42 +01:00
Jędrzej Stuczyński 0752c1c281 Restored topology refreshing 2022-10-07 11:07:33 +01:00
Mark Sinclair f44089abbc Make webassembly work in a web worker
- `wasm-timer` modified to work in web worker
- add worker target to webpack
- add client to call from HTML
- update README to build WASM for bundling (this does not build ES modules)
2022-10-07 11:07:33 +01:00
Jędrzej Stuczyński 7f8e8439e2 config changes 2022-10-07 11:07:26 +01:00
Jędrzej Stuczyński 55f441912a Added a config option to disable loop cover traffic stream 2022-10-06 16:55:45 +01:00
Jędrzej Stuczyński 96e7df0dd5 disabling topology refresh in wasm 2022-10-05 17:50:47 +01:00
Jędrzej Stuczyński c7bf4de1ba all clients compiling without warnings 2022-10-05 17:38:15 +01:00
Jędrzej Stuczyński 1969a85231 Fixed compilation warnings for wasm client 2022-10-05 15:48:35 +01:00
Mark Sinclair 1526cb8d67 Upgrade wasm-bindgen to 0.2.83 2022-10-05 11:18:39 +01:00
Jędrzej Stuczyński 31056a90cb WIP cleanup before machine switch 2022-10-05 09:49:23 +01:00
Jędrzej Stuczyński 932e137e27 Easier way of sending binary messages 2022-10-04 13:24:54 +01:00
Jędrzej Stuczyński c83a1b609a Removed hardcoded constants 2022-10-04 13:19:19 +01:00
Jędrzej Stuczyński eff45f7d90 Removed unused module 2022-10-04 13:16:38 +01:00
Jędrzej Stuczyński 54719d2c3e Beginning of clean-up - creation of config to keep things together 2022-10-04 13:13:48 +01:00
Jędrzej Stuczyński dc9daea2f6 wip 2022-10-04 10:01:16 +01:00
Jędrzej Stuczyński f4ea183c1e Compiles but runtime time fails 2022-10-03 14:00:47 +01:00
Dave Hrycyszyn 13c2ca4a78 Noted a correct npm publish command 2022-09-15 16:28:56 +01:00
Dave Hrycyszyn 6af84535fa Formatting 2022-09-15 16:27:44 +01:00
Mark Sinclair c8699cbe8d wasm-client: fix up dependencies and feature flags so that wasm-pack build works (#1585)
* wasm-client: fix up dependencies and feature flags so that wasm-pack build works

* Update CHANGELOG
2022-09-15 16:11:49 +01:00
Dave Hrycyszyn 5c6d31bcb5 README fix 2022-09-15 15:48:58 +01:00
Dave Hrycyszyn 3823292ba8 Bumping version number to 1.0.0 2022-09-15 15:48:42 +01:00
Drazen Urch 16ef1c547b Remove eth feature, and BBBC related code (#1612)
* Remove eth feature, and BBBC related code

* Burn some more, especially clients
2022-09-15 13:58:44 +02:00
Dave Hrycyszyn 2f53e40355 Switching to mainnet validator API 2022-09-14 11:49:06 +01:00
Dave Hrycyszyn bb9753cda6 Switching webassembly client to sync web assembly (async loading doens't work) 2022-09-14 11:49:06 +01:00
Dave Hrycyszyn 95d0afdeb6 Whitespace fix 2022-09-14 11:49:06 +01:00
dependabot[bot] 67900956f8 Bump terser in /clients/native/examples/js-examples/websocket (#1620)
Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.15.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.12.1...v5.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-14 11:04:14 +01:00
Dave Hrycyszyn db24170752 Fixing npm audit in js example code 2022-09-14 10:32:39 +01:00
Mark Sinclair fdff4bf1b7 Nym Wallet v1.0.9 (#1605)
* network-defaults: update mainnet default nymd_url

* update tests

* Bump nym-wallet version to 1.0.9 and update CHANGELOG

Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com>
2022-09-09 14:47:17 +01:00
Jon Häggblad 351adb7f7b socks5: add missing SHUTDOWN_HAS_BEEN_SIGNALLED.store 2022-09-09 13:02:53 +02:00
Jon Häggblad e0567dddf2 gateway-client: additional shutdown handling 2022-09-09 12:10:41 +02:00
Jon Häggblad d109c53370 socks5: tasks with closed channels should all exit 2022-09-09 12:10:41 +02:00
Jon Häggblad baed6c89fc socks5: assert that tasks are not exiting when not shutdown 2022-09-09 12:10:32 +02:00
Jon Häggblad 106491ef01 more clippy 2022-09-09 12:09:59 +02:00
Jon Häggblad 46135146ea clippy 2022-09-09 12:09:59 +02:00
Jon Häggblad 10be112279 socks5-client: graceful shutdown 2022-09-09 12:09:59 +02:00
Jon Häggblad f172a23ef8 clients: remove cluster of unwrap and expects for gateway handling (#1599)
* clients: remove cluster of unwraps and expects for gateway handling

* rustfmt
2022-09-07 15:35:26 +02:00
Bogdan-Ștefan Neacşu d289c46e87 Feature/nr err report (#1576)
* common/socks5: Use thiserror and add copyright notice

* Send allowlist failure msg back to socks5 client

* Add some serde unit tests

* Fix clippy after rustup update

* Update changelog
2022-08-31 16:27:02 +03:00
Bogdan-Ștefan Neacşu a6aba3defd Feature/validator api shutdown (#1573)
* Rewarded set updater shutdown (partial) handling

* Shutdown handling in monitor

* Remove shutdown from packet receiver

* Configurable shutdown timeout

* Select on test_run too

* Remove unnecessary await/async

* Add bias to shutdown select and concurrency for big tasks

* Put cpu-bound packet prep on separate thread, to avoid blocking

* Use a better fit timeout value

* Fix clippy warnings

* Update changelog

* Fix wasm client
2022-08-30 14:14:50 +03:00
Bogdan-Ștefan Neacşu 7134755073 Feature/credential mode (#1570)
* Activate enabled cred mode for coconut feature

* Fix disable cred mode propagation bug
2022-08-26 16:45:32 +03:00
Bogdan-Ștefan Neacşu 865e809342 Remove hard-coded values from credential client (#1566) 2022-08-25 17:52:43 +03:00
Jon Häggblad 51f9c1ca29 Connect: remove some sources of panics when initializing socks5-client (#1563)
* connect: remove panic when unable to load previous gateway conf

* connect: dont panic when cant get config file
2022-08-25 16:25:31 +02:00
Tommy Verrall de877fb337 Merge pull request #1521 from nymtech/release/nym-binaries-1.0.2
Release/nym binaries 1.0.2
2022-08-11 11:42:36 +01:00