tigerbeetle-node 0.13.108 → 0.13.110
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 +2 -0
- package/dist/bin/aarch64-linux-gnu/client.node +0 -0
- package/dist/bin/aarch64-linux-musl/client.node +0 -0
- package/dist/bin/aarch64-macos/client.node +0 -0
- package/dist/bin/x86_64-linux-gnu/client.node +0 -0
- package/dist/bin/x86_64-linux-musl/client.node +0 -0
- package/dist/bin/x86_64-macos/client.node +0 -0
- package/dist/bin/x86_64-windows/client.node +0 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -59,6 +59,8 @@ features of TigerBeetle.
|
|
|
59
59
|
* [Basic](/src/clients/node/samples/basic/): Create two accounts and transfer an amount between them.
|
|
60
60
|
* [Two-Phase Transfer](/src/clients/node/samples/two-phase/): Create two accounts and start a pending transfer between
|
|
61
61
|
them, then post the transfer.
|
|
62
|
+
* [Many Two-Phase Transfers](/src/clients/node/samples/two-phase-many/): Create two accounts and start a number of pending transfer
|
|
63
|
+
between them, posting and voiding alternating transfers.
|
|
62
64
|
### Sidenote: `BigInt`
|
|
63
65
|
TigerBeetle uses 64-bit integers for many fields while JavaScript's
|
|
64
66
|
builtin `Number` maximum value is `2^53-1`. The `n` suffix in JavaScript
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tigerbeetle-node",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.110",
|
|
4
4
|
"description": "TigerBeetle Node.js client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"test": "node dist/test",
|
|
29
29
|
"build": "npm run build_tsc && npm run build_lib",
|
|
30
30
|
"build_tsc": "./node_modules/typescript/bin/tsc",
|
|
31
|
-
"build_lib": "node scripts/
|
|
32
|
-
"prepack": "npm run build && find dist/bin -
|
|
31
|
+
"build_lib": "node scripts/build_lib.js",
|
|
32
|
+
"prepack": "npm run build && find dist/bin \\( -iname \\*.so -o -iname \\*.dylib -o -iname \\*.dll \\) -printf \"mv '%h/%f' '%h/client.node'\\n\" | sh",
|
|
33
33
|
"clean": "rm -rf build dist node_modules src/zig-cache zig"
|
|
34
34
|
},
|
|
35
35
|
"author": "TigerBeetle, Inc",
|