tigerbeetle-node 0.13.88 → 0.13.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -74,9 +74,8 @@ addresses for all replicas in the cluster. The cluster
|
|
|
74
74
|
ID and replica addresses are both chosen by the system that
|
|
75
75
|
starts the TigerBeetle cluster.
|
|
76
76
|
|
|
77
|
-
Clients are thread-safe
|
|
78
|
-
|
|
79
|
-
multiple concurrent tasks.
|
|
77
|
+
Clients are thread-safe and a single instance should be shared
|
|
78
|
+
between multiple concurrent tasks.
|
|
80
79
|
|
|
81
80
|
Multiple clients are useful when connecting to more than
|
|
82
81
|
one TigerBeetle cluster.
|
|
@@ -252,7 +251,7 @@ distinguish accounts.
|
|
|
252
251
|
```javascript
|
|
253
252
|
const accounts = await client.lookupAccounts([137n, 138n]);
|
|
254
253
|
console.log(accounts);
|
|
255
|
-
/*
|
|
254
|
+
/*
|
|
256
255
|
* [{
|
|
257
256
|
* id: 137n,
|
|
258
257
|
* user_data: 0n,
|
|
@@ -589,7 +588,7 @@ const errors = await client.createTransfers(batch);
|
|
|
589
588
|
* { index: 2, error: 1 }, // linked_event_failed
|
|
590
589
|
* { index: 3, error: 25 }, // exists
|
|
591
590
|
* { index: 4, error: 1 }, // linked_event_failed
|
|
592
|
-
*
|
|
591
|
+
*
|
|
593
592
|
* { index: 6, error: 17 }, // exists_with_different_flags
|
|
594
593
|
* { index: 7, error: 1 }, // linked_event_failed
|
|
595
594
|
* ]
|
|
@@ -615,4 +614,3 @@ $ npm pack
|
|
|
615
614
|
### On Windows
|
|
616
615
|
|
|
617
616
|
Not yet supported.
|
|
618
|
-
|
|
Binary file
|
|
Binary file
|