Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
ENGAGE-631 Fix issue, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Matko95 committed Jul 19, 2023
1 parent 50836a0 commit c00a109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rhino.fi/client-js",
"version": "5.1.7",
"version": "5.1.8",
"main": "src/index.js",
"files": [
"src",
Expand Down
2 changes: 1 addition & 1 deletion src/api/bridgedWithdraw.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const endpoint = '/v1/trading/bridgedWithdrawals'
module.exports = async (dvf, data, authNonce, signature) => {
const { chain, token, amount, nonce } = validateArg0(data)

const payload = dvf.createBridgedWithdrawalPayload({ chain, token, amount, nonce }, authNonce, signature)
const payload = await dvf.createBridgedWithdrawalPayload({ chain, token, amount, nonce }, authNonce, signature)

// Force the use of header (instead of payload) for authentication.
dvf = FP.set('config.useAuthHeader', true, dvf)
Expand Down

0 comments on commit c00a109

Please sign in to comment.