Compare commits

...

2 Commits

Author SHA1 Message Date
woodser
c0ea23288e bump version to v0.0.7 2022-09-24 08:47:56 -04:00
woodser
16e1e41a58 add time for schedule test 2022-09-23 17:34:49 -04:00
3 changed files with 4 additions and 3 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "haveno-ts", "name": "haveno-ts",
"version": "0.0.6", "version": "0.0.7",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "haveno-ts", "name": "haveno-ts",
"version": "0.0.6", "version": "0.0.7",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@types/node": "^17.0.30", "@types/node": "^17.0.30",

View File

@ -1,6 +1,6 @@
{ {
"name": "haveno-ts", "name": "haveno-ts",
"version": "0.0.6", "version": "0.0.7",
"description": "Haveno TypeScript interface", "description": "Haveno TypeScript interface",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@ -1130,6 +1130,7 @@ test("Can schedule offers with locked funds", async () => {
await waitForAvailableBalance(outputAmt, user3); await waitForAvailableBalance(outputAmt, user3);
// one output is reserved, one is unlocked // one output is reserved, one is unlocked
await wait(TestConfig.walletSyncPeriodMs);
expect(BigInt((await user3.getBalances()).getAvailableBalance())).toEqual(outputAmt); expect(BigInt((await user3.getBalances()).getAvailableBalance())).toEqual(outputAmt);
expect(BigInt((await user3.getBalances()).getPendingBalance())).toEqual(BigInt(0)); expect(BigInt((await user3.getBalances()).getPendingBalance())).toEqual(BigInt(0));
expect(BigInt((await user3.getBalances()).getReservedOfferBalance())).toEqual(outputAmt); expect(BigInt((await user3.getBalances()).getReservedOfferBalance())).toEqual(outputAmt);