Skip to content

Commit

Permalink
Update @nimiq/core to v2.0.2, fixing transaction history queries
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Nov 23, 2024
1 parent dc09bad commit 2324f5b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"private": false,
"types": "types/index.d.ts",
"dependencies": {
"@nimiq/core": "^2.0.1",
"@nimiq/core": "^2.0.3",
"@nimiq/fastspot-api": "^1.10.2",
"@nimiq/rpc": "^0.4.0",
"@nimiq/utils": "^0.5.0",
Expand Down
8 changes: 4 additions & 4 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"

"@nimiq/core@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.1.tgz#44d947058962c597a18e52d8e7b49c6c7492d138"
integrity sha512-4YPfuxMkWgiLrEyC/ufbWnhccTe5i31s8ROwV/SV3Qd+dgaaxrHk0BWM8YmrFMfkDOj8lakenXq/4wzzqbtJ2Q==
"@nimiq/core@^2.0.3":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.3.tgz#d14ae22c27128740113cdb1f22f8d8ca67a73eff"
integrity sha512-+5cVCaYNcQsh3XOvvJFZPi3TvXNCZQfiuLlxqSWwHnaJsQ4C1g9GNhQQELLUomLiZvtEIqR4Qs7cUF/zw7gHGQ==
dependencies:
comlink "^4.4.1"
websocket "^1.0.34"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"i18n:sync": "yarn i18n:extract && yarn i18n:push ; yarn i18n:pull"
},
"dependencies": {
"@nimiq/core": "^2.0.1",
"@nimiq/core": "^2.0.3",
"@nimiq/browser-warning": "^1.1.1",
"@nimiq/electrum-client": "https://github.com/nimiq/electrum-client#build",
"@nimiq/fastspot-api": "^1.10.2",
Expand Down
2 changes: 2 additions & 0 deletions src/views/SignTransactionLedger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ export default class SignTransactionLedger extends Vue {
}
}
} else { // recipientType === Nimiq.AccountType.Staking
// @ts-ignore Missmatch with Nimiq.PlainTransactionDetails from fastspot-api
switch (senderData.type) {
case 'remove-stake': {
return 'Unstake';
Expand All @@ -696,6 +697,7 @@ export default class SignTransactionLedger extends Vue {
return 'Delete validator';
}
default: {
// @ts-ignore Missmatch with Nimiq.PlainTransactionDetails from fastspot-api
return `Unrecognized outgoing staking data: ${senderData.type} - ${senderData.raw}`;
}
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1807,10 +1807,10 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"

"@nimiq/albatross-wasm@npm:@nimiq/core@^2.0.0", "@nimiq/core@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.1.tgz#44d947058962c597a18e52d8e7b49c6c7492d138"
integrity sha512-4YPfuxMkWgiLrEyC/ufbWnhccTe5i31s8ROwV/SV3Qd+dgaaxrHk0BWM8YmrFMfkDOj8lakenXq/4wzzqbtJ2Q==
"@nimiq/albatross-wasm@npm:@nimiq/core@^2.0.0", "@nimiq/core@^2.0.3":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.3.tgz#d14ae22c27128740113cdb1f22f8d8ca67a73eff"
integrity sha512-+5cVCaYNcQsh3XOvvJFZPi3TvXNCZQfiuLlxqSWwHnaJsQ4C1g9GNhQQELLUomLiZvtEIqR4Qs7cUF/zw7gHGQ==
dependencies:
comlink "^4.4.1"
websocket "^1.0.34"
Expand Down

0 comments on commit 2324f5b

Please sign in to comment.