tigerbeetle-node
Advanced tools
Comparing version 0.16.1 to 0.16.2
@@ -170,2 +170,6 @@ export declare enum AccountFlags { | ||
account_id: bigint; | ||
user_data_128: bigint; | ||
user_data_64: bigint; | ||
user_data_32: number; | ||
code: number; | ||
timestamp_min: bigint; | ||
@@ -172,0 +176,0 @@ timestamp_max: bigint; |
@@ -456,2 +456,6 @@ "use strict"; | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -476,2 +480,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -496,2 +504,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -516,2 +528,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -536,2 +552,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: timestamp + 1n, | ||
@@ -555,2 +575,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: timestamp + 1n, | ||
@@ -567,2 +591,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -587,2 +615,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -606,2 +638,6 @@ timestamp_max: timestamp - 1n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -618,2 +654,6 @@ timestamp_max: timestamp - 1n, | ||
account_id: 0n, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -628,2 +668,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: (1n << 64n) - 1n, | ||
@@ -638,2 +682,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -648,2 +696,6 @@ timestamp_max: (1n << 64n) - 1n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: (1n << 64n) - 2n, | ||
@@ -658,2 +710,6 @@ timestamp_max: 1n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -668,2 +724,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -678,2 +738,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -680,0 +744,0 @@ timestamp_max: 0n, |
{ | ||
"name": "tigerbeetle-node", | ||
"version": "0.16.1", | ||
"version": "0.16.2", | ||
"description": "TigerBeetle Node.js client", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -579,2 +579,6 @@ --- | ||
account_id: 2n, | ||
user_data_128: 0n, // No filter by UserData. | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, // No filter by Code. | ||
timestamp_min: 0n, // No filter by Timestamp. | ||
@@ -609,2 +613,6 @@ timestamp_max: 0n, // No filter by Timestamp. | ||
account_id: 2n, | ||
user_data_128: 0n, // No filter by UserData. | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, // No filter by Code. | ||
timestamp_min: 0n, // No filter by Timestamp. | ||
@@ -641,5 +649,3 @@ timestamp_max: 0n, // No filter by Timestamp. | ||
limit: 10, // Limit to ten balances at most. | ||
flags: AccountFilterFlags.debits | // Include transfer from the debit side. | ||
AccountFilterFlags.credits | // Include transfer from the credit side. | ||
AccountFilterFlags.reversed, // Sort by timestamp in reverse-chronological order. | ||
flags: QueryFilterFlags.reversed, // Sort by timestamp in reverse-chronological order. | ||
}; | ||
@@ -669,5 +675,3 @@ const query_accounts = await client.queryAccounts(query_filter); | ||
limit: 10, // Limit to ten balances at most. | ||
flags: AccountFilterFlags.debits | // Include transfer from the debit side. | ||
AccountFilterFlags.credits | // Include transfer from the credit side. | ||
AccountFilterFlags.reversed, // Sort by timestamp in reverse-chronological order. | ||
flags: QueryFilterFlags.reversed, // Sort by timestamp in reverse-chronological order. | ||
}; | ||
@@ -674,0 +678,0 @@ const query_transfers = await client.queryTransfers(query_filter); |
@@ -783,2 +783,22 @@ /////////////////////////////////////////////////////// | ||
/** | ||
* See [user_data_128](https://docs.tigerbeetle.com/reference/account-filter#user_data_128) | ||
*/ | ||
user_data_128: bigint | ||
/** | ||
* See [user_data_64](https://docs.tigerbeetle.com/reference/account-filter#user_data_64) | ||
*/ | ||
user_data_64: bigint | ||
/** | ||
* See [user_data_32](https://docs.tigerbeetle.com/reference/account-filter#user_data_32) | ||
*/ | ||
user_data_32: number | ||
/** | ||
* See [code](https://docs.tigerbeetle.com/reference/account-filter#code) | ||
*/ | ||
code: number | ||
/** | ||
* See [timestamp_min](https://docs.tigerbeetle.com/reference/account-filter#timestamp_min) | ||
@@ -785,0 +805,0 @@ */ |
@@ -539,2 +539,6 @@ import assert, { AssertionError } from 'assert' | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -563,2 +567,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -588,2 +596,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -613,2 +625,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -638,2 +654,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: timestamp + 1n, | ||
@@ -662,2 +682,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: timestamp + 1n, | ||
@@ -677,2 +701,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -702,2 +730,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -726,2 +758,6 @@ timestamp_max: timestamp - 1n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -741,2 +777,6 @@ timestamp_max: timestamp - 1n, | ||
account_id: 0n, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -753,2 +793,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: (1n << 64n) - 1n, // ulong max value | ||
@@ -765,2 +809,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -777,2 +825,6 @@ timestamp_max: (1n << 64n) - 1n, // ulong max value | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: (1n << 64n) - 2n, // ulong max - 1 | ||
@@ -789,2 +841,6 @@ timestamp_max: 1n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -801,2 +857,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -813,2 +873,6 @@ timestamp_max: 0n, | ||
account_id: accountC.id, | ||
user_data_128: 0n, | ||
user_data_64: 0n, | ||
user_data_32: 0, | ||
code: 0, | ||
timestamp_min: 0n, | ||
@@ -815,0 +879,0 @@ timestamp_max: 0n, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4202
793
9891797