From 71f61abcf77c4246ed4cb354d483b59e7e13493d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren?= Date: Mon, 29 Apr 2024 14:02:17 +0200 Subject: [PATCH] Update Albatross client to one fixed for maintaining connections Add another seed node that is still up. --- package.json | 2 +- src/config/config.local.ts | 5 ++++- src/config/config.testnet.ts | 5 ++++- yarn.lock | 5 ++--- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0b88b26f..bcf902ca 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "i18n:sync": "yarn i18n:extract && yarn i18n:push ; yarn i18n:pull" }, "dependencies": { - "@nimiq/albatross-wasm": "npm:@nimiq/core-web@next", + "@nimiq/albatross-wasm": "https://gitpkg.now.sh/nimiq/core-rs-albatross/web-client/dist?5c66ba9108ad53abde22c9e39056a1bad111cb6c", "@nimiq/browser-warning": "^1.1.1", "@nimiq/electrum-client": "https://github.com/nimiq/electrum-client#build", "@nimiq/fastspot-api": "^1.8.0", diff --git a/src/config/config.local.ts b/src/config/config.local.ts index 63a85ef3..a03abd6a 100644 --- a/src/config/config.local.ts +++ b/src/config/config.local.ts @@ -6,7 +6,10 @@ export default { keyguardEndpoint: window.location.protocol + '//' + window.location.hostname + ':8000/src', network: NETWORK_TEST, networkEndpoint: 'https://network.nimiq-testnet.com', - seedNodes: ['/dns4/seed1.pos.nimiq-testnet.com/tcp/8443/wss'], + seedNodes: [ + '/dns4/seed1.pos.nimiq-testnet.com/tcp/8443/wss', + '/dns4/faucet.pos.nimiq-testnet.com/tcp/8443/wss', + ], privilegedOrigins: [ '*' ], redirectTarget: window.location.protocol + '//' + window.location.hostname + ':8080/demos.html', reportToSentry: false, diff --git a/src/config/config.testnet.ts b/src/config/config.testnet.ts index 6d6f58a7..efccf0a8 100644 --- a/src/config/config.testnet.ts +++ b/src/config/config.testnet.ts @@ -6,7 +6,10 @@ export default { keyguardEndpoint: process.env.VUE_APP_KEYGUARD_URL, network: NETWORK_TEST, networkEndpoint: 'https://network.nimiq-testnet.com', - seedNodes: [process.env.VUE_APP_SEED_NODE_MULTIADDR], + seedNodes: [ + process.env.VUE_APP_SEED_NODE_MULTIADDR, + '/dns4/faucet.pos.nimiq-testnet.com/tcp/8443/wss', + ], privilegedOrigins: [ process.env.VUE_APP_WALLET_URL, process.env.VUE_APP_HUB_URL, // For testing with the deployed demos.html page diff --git a/yarn.lock b/yarn.lock index 07d84986..68f50535 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1481,10 +1481,9 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" -"@nimiq/albatross-wasm@npm:@nimiq/core-web@next": +"@nimiq/albatross-wasm@https://gitpkg.now.sh/nimiq/core-rs-albatross/web-client/dist?5c66ba9108ad53abde22c9e39056a1bad111cb6c": version "2.0.0-alpha.21.0" - resolved "https://registry.yarnpkg.com/@nimiq/core-web/-/core-web-2.0.0-alpha.21.0.tgz#7f90948b466ad0906da92205b5b131b62e25110c" - integrity sha512-MN78xNEH6mmFpV2bLGhbKYqKDhdXZVo4WWMOKjhcGcY8WBg6W8DOiyQVRW1rwQyB3aq1ep0U3cwrJbOLU7nqwg== + resolved "https://gitpkg.now.sh/nimiq/core-rs-albatross/web-client/dist?5c66ba9108ad53abde22c9e39056a1bad111cb6c#8a023500a2b955c68aca95977fb6382782648c05" dependencies: comlink "^4.4.1" websocket "^1.0.34"