genconfig release v7.6.124
loading water dialer async (#1429)
* feat: adding wasm downloader
* fix: update tests package name
* fix: generating wasm downloader mock
* feat: adding magnet downloader
* feat: adding case for using magnet downloader
* fix: replacing magnetic references by magnet and also removing magnet skip
* fix: downgrade torrent version to 1.53.3 to avoid errors happening at confluence - anacrolix/confluence needs a new tag and we need to update that at lantern/replica and then here at lantern/flashlight
* fix: updating the way we're comparing hashes
* chore: go mod tidy
* feat: using DirectThenFronted proxy for fetching WASM and also update proxy vars
* feat: fix test and print error message
* feat: give life to the dial monster
* feat: release the beast
* fix: rename mocks.go to mocks_test.go
* fix: pass empty rootCA at this moment
* fix: removing hashsum parameter
* fix: replacing http client parameter by package var so I can mock it for tests
* fix: leaving mkdirtemp first parameter empty and set lantern-water-module dir name
* fix: update torrent to latest version
* fix: generating more mocks for torrent so we can unit test it without integration
* chore: removing test that was fetching random torrent
* chore: keeping torrent at v1.53.3
* fix: removing WithHTTPDownloader
* fix: adding garmr-ulfr suggestions from http-proxy PR
* feat: adding minimal version control for WASM files
* feat: using filename/transport as index for mapped wasm files
* feat: integrate version control with water wasm and replace direct downloader
* chore: sending writer directly instead of creating a temp buffer
* chore: sending config dir as parameter to water impl
* chore: small refactor for organizing download step
* feat: add support for WASM history
* feat: update history after loading WASM correctly
* feat: creating water dialer async
* chore: go mod tidy
* chore: running go generate
* fix: renaming versionControl to waterVersionControl
* fix: removing VersionControl unused interface
* fix: moving version control commit to GetWASM
* fix: moving WASMDownloader initialization from version control to water impl and receive downloader for fetching wasm
* fix: renaming structs to refer to water
* fix: renaming configDir to dir
* fix: updating mock test references
* fix: removing water_impl responsibility for setting the water version control dir
* fix: creating const at package level for outdated WASMs
* fix: removing csv dependency and making it simpler
* chore: go mod tidy
* fix: replace os.IsNotExist
* fix: grouping files to be deleted and delete them outside filepath.Walk
* fix: creating water dir if it doesn't exist
* fix: removing unused imports
* chore: adding some logs
* fix: adding downloadErr so we can understand what happened
* fix: re-organize dialer initialization
* fix: update test for asserting if there's no errors
* chore: removing TODO since behavior is acceptable