Skip to content

Commit

Permalink
Update Albatross client to one fixed for maintaining connections
Browse files Browse the repository at this point in the history
Add another seed node that is still up.
  • Loading branch information
sisou committed Apr 29, 2024
1 parent f99a7b4 commit 71f61ab
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion src/config/config.local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 4 additions & 1 deletion src/config/config.testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 71f61ab

Please sign in to comment.