Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
435: Client/Node: Add missing codes r=eatonphil a=sentientwaffle

Fixes tigerbeetle#434

## Pre-merge checklist

Performance:

* [ ] Compare `zig benchmark` on linux before and after this pr.
    ``` sh
    # benchmark results before
    ...
    
    # benchmark results after
    ...
    ```
OR
* [x] I am very sure this PR could not affect performance.


Co-authored-by: sentientwaffle <sentientwaffle@gmail.com>
  • Loading branch information
bors[bot] and sentientwaffle authored Feb 1, 2023
2 parents 6afa81f + c7186b0 commit 5f1e3c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/clients/node/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 src/clients/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tigerbeetle-node",
"version": "0.11.10",
"version": "0.11.11",
"description": "TigerBeetle Node.js client",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions src/clients/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export enum CreateAccountError {
// ok = 0 (No Error)
linked_event_failed = 1,
linked_event_chain_open,
timestamp_must_be_zero,

reserved_flag,
reserved_field,
Expand Down Expand Up @@ -97,6 +98,7 @@ export enum CreateTransferError {
// ok = 0 (No Error)
linked_event_failed = 1,
linked_event_chain_open,
timestamp_must_be_zero,

reserved_flag,
reserved_field,
Expand Down Expand Up @@ -137,6 +139,7 @@ export enum CreateTransferError {
overflows_credits_posted,
overflows_debits,
overflows_credits,
overflows_timeout,

exceeds_credits,
exceeds_debits,
Expand Down

0 comments on commit 5f1e3c6

Please sign in to comment.