Skip to content

Commit

Permalink
Merge pull request #30 from LucentYang/main
Browse files Browse the repository at this point in the history
update release info
  • Loading branch information
CoboZhu authored Jul 27, 2023
2 parents f5a803c + 184460c commit a9a8a9f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [v0.37.0] (2023-07-27)
[v0.37.0]: https://github.com/CoboGlobal/cobo-js-api/compare/v0.36.0...v0.37.0
### Added
- Add API to get result of API SignMessage. https://github.com/CoboGlobal/cobo-js-api/pull/29

## [v0.36.0] (2023-07-20)
[v0.36.0]: https://github.com/CoboGlobal/cobo-js-api/compare/v0.35.0...v0.36.0
### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ add dependency in `package.json`
```
"dependencies": {
...
"cobo-custody": "https://github.com/CoboGlobal/cobo-js-api/releases/download/v0.36.0/release.tgz"
"cobo-custody": "https://github.com/CoboGlobal/cobo-js-api/releases/download/v0.37.0/release.tgz"
}
```

Expand Down
4 changes: 2 additions & 2 deletions test/MPCClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ test('test list tss node requests', async () => {
});

test('test get sign messages by requestIds', async () => {
const res = await mpc_client.TransactionsByRequestIds('1690349242683,1690268795963,1690187858862');
const res = await mpc_client.SignMessagesByRequestIds('1690349242683,1690268795963,1690187858862');
console.log(res);
console.log(res.result);
expect(res.success).toBeTruthy();
});

test('test get sign messages by coboIds', async () => {
const res = await mpc_client.TransactionsByCoboIds('20230726132723000341052000008222,20230725150636000308867000003494,20230725135301000361318000002480');
const res = await mpc_client.SignMessagesByCoboIds('20230726132723000341052000008222,20230725150636000308867000003494,20230725135301000361318000002480');
console.log(res);
console.log(res.result);
expect(res.success).toBeTruthy();
Expand Down

0 comments on commit a9a8a9f

Please sign in to comment.