Skip to content

Commit ca1cf9f

Browse files
committed
Unit test for NFT withdraw & bug fix
1 parent 904c903 commit ca1cf9f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## JS SDK Version ChangeLog
44

55
----
6+
#### v1.3.1 -- no release
7+
1) Fix some bug
8+
1) Update withdraw NFT unit test
69
#### v1.3.0 -- no release
710
formatter Uint8Array support
811

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@loopring-web/loopring-sdk",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"author": "Loopring Dev Team",
55
"description": "Loopring SDK",
66
"private": false,

src/tests/withdrawNFT.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ describe('Withdraw NFT test', function () {
126126
amount:'0',
127127
}
128128
const resultFee = await userApi.getNFTOffchainFeeAmt(requestFee, apiKey)
129+
129130
console.log('requestFee',resultFee)
131+
130132
const request3:NFTWithdrawRequestV3 = {
131133
minGas: 0,
132134
exchange: exchangeInfo.exchangeAddress,
@@ -154,7 +156,7 @@ describe('Withdraw NFT test', function () {
154156
eddsaKey: eddsaKey.sk, apiKey})
155157
console.log('response:',response)
156158

157-
}, DEFAULT_TIMEOUT)
159+
}, DEFAULT_TIMEOUT+2000)
158160

159161

160162
})

0 commit comments

Comments
 (0)