diff --git a/client/package.json b/client/package.json index 45dd966b..5000b959 100644 --- a/client/package.json +++ b/client/package.json @@ -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", diff --git a/client/yarn.lock b/client/yarn.lock index d0ea348c..650b68b3 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -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" diff --git a/package.json b/package.json index 8ec3b5d9..8a44f3f3 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/views/SignTransactionLedger.vue b/src/views/SignTransactionLedger.vue index 4b63cad5..0448a501 100644 --- a/src/views/SignTransactionLedger.vue +++ b/src/views/SignTransactionLedger.vue @@ -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'; @@ -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}`; } } diff --git a/yarn.lock b/yarn.lock index 1698ffd4..e4dbce1a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"