Skip to content

Commit

Permalink
Merge pull request #2027 from hirosystems/feat/update-api-toolkit-1.6.2
Browse files Browse the repository at this point in the history
feat: update api-toolkit
  • Loading branch information
He1DAr authored Jul 5, 2024
2 parents 88fc5ce + 71da884 commit c35b65a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
14 changes: 10 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "9.0.9",
"@hirosystems/api-toolkit": "1.5.0",
"@hirosystems/api-toolkit": "1.6.2",
"@promster/express": "6.0.0",
"@promster/server": "6.0.6",
"@promster/types": "3.2.3",
Expand Down
4 changes: 2 additions & 2 deletions src/tests/other-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ describe('other tests', () => {
const block_hash = '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb66313';
const principal_addr = 'S.hello-world';
const odd_tx_error = {
error: `Hex string is an odd number of digits: ${tx_id}`,
error: `Hex string is an odd number of digits`,
};
const odd_block_error = {
error: `Hex string is an odd number of digits: ${block_hash}`,
error: `Hex string is an odd number of digits`,
};
const metadata_error = { error: `Unexpected value for 'include_metadata' parameter: "bac"` };
const principal_error = { error: 'invalid STX address "S.hello-world"' };
Expand Down

0 comments on commit c35b65a

Please sign in to comment.