Skip to content

Commit

Permalink
Update to @nimiq/core v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Nov 21, 2024
1 parent af172b2 commit 444a291
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/nimiq/keyguard/client#readme",
"dependencies": {
"@nimiq/albatross-wasm": "npm:@nimiq/core@^2.0.0",
"@nimiq/albatross-wasm": "npm:@nimiq/core@^2.0.1",
"@nimiq/rpc": "^0.3.0",
"@opengsn/common": "^2.2.5"
},
Expand Down
8 changes: 4 additions & 4 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"

"@nimiq/albatross-wasm@npm:@nimiq/core@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.0.tgz#ed1509f7914b52ee4ba42eddb0eb596f867dd76f"
integrity sha512-cr388Q3NiSBpIDA7zAlLwlyMf/+qp+p6ytCNah3fzXluC2l8JGrpDqNT1ezzchjZTbj1hjJE7gcyUSzzpPDvnQ==
"@nimiq/albatross-wasm@npm:@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==
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 @@ -38,7 +38,7 @@
},
"homepage": "https://github.com/nimiq/keyguard#readme",
"devDependencies": {
"@nimiq/albatross-wasm": "npm:@nimiq/core@^2.0.0",
"@nimiq/albatross-wasm": "npm:@nimiq/core@^2.0.1",
"@nimiq/core-web": "1.6.3",
"@nimiq/rpc": "^0.3.0",
"@nimiq/style": "^0.8.3",
Expand Down
2 changes: 1 addition & 1 deletion src/request/swap-iframe/SwapIFrameApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class SwapIFrameApi extends BitcoinRequestParserMixin(RequestParser) { // eslint
);
const refundSignatureProof = Nimiq.SignatureProof.singleSig(publicKey, refundSignature);

const proof = new Nimiq.SerialBuffer(1 + 1 + 32 + 1 + 64 /* Nimiq.SignatureProof.SINGLE_SIG_SIZE */);
const proof = new Nimiq.SerialBuffer(1 + Nimiq.SignatureProof.SINGLE_SIG_SIZE);
proof.writeUint8(2 /* Nimiq.HashedTimeLockedContract.ProofType.TIMEOUT_RESOLVE */);
proof.write(refundSignatureProof.serialize());
refundTransaction.proof = proof;
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -432,10 +432,10 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@nimiq/albatross-wasm@npm:@nimiq/core@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.0.tgz#ed1509f7914b52ee4ba42eddb0eb596f867dd76f"
integrity sha512-cr388Q3NiSBpIDA7zAlLwlyMf/+qp+p6ytCNah3fzXluC2l8JGrpDqNT1ezzchjZTbj1hjJE7gcyUSzzpPDvnQ==
"@nimiq/albatross-wasm@npm:@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==
dependencies:
comlink "^4.4.1"
websocket "^1.0.34"
Expand Down

0 comments on commit 444a291

Please sign in to comment.