* Fix tokio error in 1.39
Fix the error generated by tokio 1.39
72 | / tokio::select! {
173 | | daemon_res = &mut fused_runner => {
174 | | warn!("the daemon has terminated by itself - was it a short lived command?");
175 | | let exit_status = daemon_res?;
... |
179 | | event = &mut self.upgrade_plan_watcher.next() => {
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
... |
201 | | }
202 | | }
| | -
| | |
| |_____________temporary value is freed at the end of this statement
| borrow later used here
and
62 | / select! {
63 | | connection_message = &mut mix_receiver.next() => {
| | ^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
64 | | if let Some(connection_message) = connection_message {
65 | | if deal_with_message(connection_message, &mut writer, &local_destination_address, &remote_source_address, connection_id).await {
... |
86 | | }
87 | | }
| | -
| | |
| |_________temporary value is freed at the end of this statement
| borrow later used here
* Upgrade to tokio 1.39.1
* Simpler attempt
* Revert fixes and instead bump to tokio 1.39.2
* update
* bump msrv for nym-node-tester-wasm
* adjusting ts mixnet client constructor
* added forceTls argument to 'ClientOptsSimple'
* more sdk types removed
* fixed import
* removed go debug code
* printing wasm blob version on load
* version bump
* temporarily removed 'nym/nym/wasm/full-nym-wasm'
* changed workspaces definition
* correctly setting initial rc.0 suffix
* updated crate versions
* reverted 'useWorkspaces' lerna option
* Fix up dependency versions
* Add dev mode toggle to SDK publish scripts
* Show location of WASM package
* Change dev mode and CI build order
* Bump package versions in SDK docs
* Remove two versions of `mix-fetch` from SDK docs and only use `-full-fat` version
* Remove old arguments for mixFetch and rename to bust cache
* Remove `nym-wasm-sdk` from linting
* Release v1.2.3 of Typescript SDK
* Force WSS on mixnet client
* Bump TS SDK to 1.2.4-rc.0
* Clean up lock file
* Update node-tester version to 1.2.3 in nym-wallet
---------
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
* [wasm-client] keeping ownership over 'ReceivedBufferRequestSender' channel when spawning 'ResponsePusher'
* Bump version of Typescript SDK to RC.10
* GitHub Actions workflow to publish SDK to NPM
* Bump package version manually
---------
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
* Attempt at simplifying top-level Makefile
* Another sweep at tidying up Makefile
* Further refinements
* Remove deprecated clippy-happy and no-clippy targets
* always using port 443 for tls gateway connection
* bumping up rc version
* hack: additional hardcoded gateways
it disables topology refresh
* Add NPM packages to tool for bumping versions
* Bump RC versions of SDK packages
* Use manual gateway details
* Add progress to `publish.sh` script
* Add docs for WSS workaround
---------
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
* js error message
* Ability to explicitly disconnect mixfetch
* removed unused import
* added disconnect method directly to sdk package
* simplifying error throw
Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com>
* added onunload event listener handler
* Using global instance of mixfetch to disconnect
Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com>
* Bump RC versions
* MixFetch, move unload handler to creation and check for undefined `window`
* Bump RC version
* Force TLS on mixFetch demo
* Add info about working around mixed content errors for mixFetch
---------
Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com>
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
* Squashing commits
added forceTls argument to 'MixFetchOptsSimple'
made forceTls flag optional in mix fetch opts
whacking those moles
* GitHub Actions: install node
---------
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
* Bug fix `mixFetch` build
* Batch integration tests for mixFetch
* Bump RC version
* Tidy up READMEs
* Bump version to RC4 and fix up a few interfaces
* Bump version to RC5 and fix opts
* NodeJS SDK
* mixFetch usage example
* Update internal dev tester readme
* Add NodeJS packages to publish script
* Update lock file
* Upgrade `lerna`
---------
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
* changed NymConfigTemplate trait to call 'template' by reference
* network requester lib
* introduced generic parameter to 'MixTrafficController' to allow non-remote gateways
* allowing for custom gateway sender
* types cleanup
* minor gateway cmds refactor + initial NR work
* wip
* running a NR inside gateway
note: this NR isnt tied to the gateway yet
* rebase fixes
* propagating same shutdown handle
* wip
* starting NR with appropriate local transceiver
* fixed premature shutdown
* wiring up PacketRouter
* both ends wired together
* actually working
so much cleanup to do now
* started removing dead code
* wip
* temp: hardcode gateway
* further cleanup
* fixed build of other binaries
* setup-network-requester subcmd
* overriding NR config in gateway init/run
* wip making it wasm-compatible [again]
* refactored 'GatewaySetup'
* clippy and friends
* removed debug code
* rust 1.72 lints
* ensuring local gateway is available + some comments
* correctly putting network requester data in the same underlying details struct
* improved gateway errors
* changed 'network_requester_config' deserialization
* missing clap annotation for 'enabled' flag in 'setup-network-requester' command
* saving config file after 'setup-network-requester'
* removed dead code
* review comments
* make embedded NR wait for gateway to come online (for at most 70min)
* fixed shutdown on successful gateway wait
* updated NR config override
You can't specify profile in the manifest of a crate when it's part of a
workspace. Move the profile directives that cargo complains about to the
top-level workspace Cargo.toml
* wip
* post-cherry pick fixes
* wip
* wip
* using sqlite-based indexeddb shim
* running nymClient in worker thread
* improved received handling
* building node mix-fetch
* fixed mix fetch request constructor if args[1] == undefined
* fixed build target
* nodejs origin bypass
* mix fetch in node
but I dont think anyone should use it over normal client...
* target locking
* fixed post-rebasing issues