Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tigerbeetle-node

Package Overview
Dependencies
Maintainers
3
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tigerbeetle-node - npm Package Compare versions

Comparing version 0.13.118 to 0.13.119

3

dist/index.js

@@ -24,3 +24,4 @@ "use strict";

"linux": "linux",
"darwin": "macos"
"darwin": "macos",
"win32": "windows",
};

@@ -27,0 +28,0 @@ if (!(arch in archMap)) {

@@ -62,3 +62,3 @@ "use strict";

assert_1.default.strictEqual(errors.length, 1);
assert_1.default.deepStrictEqual(errors[0], { index: 0, code: _1.CreateAccountError.exists });
assert_1.default.deepStrictEqual(errors[0], { index: 0, result: _1.CreateAccountError.exists });
});

@@ -272,4 +272,4 @@ test('throws error if timestamp is not set to 0n on account', async () => {

assert_1.default.strictEqual(errors.length, 2);
assert_1.default.deepStrictEqual(errors[0], { index: 0, code: _1.CreateTransferError.linked_event_failed });
assert_1.default.deepStrictEqual(errors[1], { index: 1, code: _1.CreateTransferError.exists_with_different_flags });
assert_1.default.deepStrictEqual(errors[0], { index: 0, result: _1.CreateTransferError.linked_event_failed });
assert_1.default.deepStrictEqual(errors[1], { index: 1, result: _1.CreateTransferError.exists_with_different_flags });
const accounts = await client.lookupAccounts([accountA.id, accountB.id]);

@@ -276,0 +276,0 @@ assert_1.default.strictEqual(accounts.length, 2);

{
"name": "tigerbeetle-node",
"version": "0.13.118",
"version": "0.13.119",
"description": "TigerBeetle Node.js client",

@@ -29,7 +29,7 @@ "main": "dist/index.js",

"test": "node dist/test",
"build": "npm run build_tsc && npm run build_lib",
"build_tsc": "./node_modules/typescript/bin/tsc",
"build_lib": "node scripts/build_lib.js",
"prepack": "npm run build && find dist/bin \\( -iname \\*.so -o -iname \\*.dylib -o -iname \\*.dll \\) -printf \"mv '%h/%f' '%h/client.node'\\n\" | sh",
"clean": "rm -rf build dist node_modules src/zig-cache zig"
"build": "node ./scripts/build.js",
"build_tsc": "node ./node_modules/typescript/bin/tsc",
"build_lib": "node ./scripts/build_lib.js",
"prepack": "node ./scripts/prepack.js",
"clean": "node ./scripts/clean.js"
},

@@ -36,0 +36,0 @@ "author": "TigerBeetle, Inc",

@@ -14,3 +14,3 @@ ---

Linux >= 5.6 is the only production environment we
support. But for ease of development we also support macOS. Windows is not yet supported.
support. But for ease of development we also support macOS and Windows.
* NodeJS >= `14`

@@ -619,2 +619,12 @@

Not yet supported.
In PowerShell run:
```console
git clone https://github.com/tigerbeetle/tigerbeetle
cd tigerbeetle
git submodule update --init --recursive
.\scripts\install_zig.bat
cd src/clients/node
npm install --include dev
npm pack
```

@@ -20,3 +20,4 @@ export * from './bindings'

"linux": "linux",
"darwin": "macos"
"darwin": "macos",
"win32" : "windows",
}

@@ -23,0 +24,0 @@

@@ -74,3 +74,3 @@ import assert, { AssertionError } from 'assert'

assert.strictEqual(errors.length, 1)
assert.deepStrictEqual(errors[0], { index: 0, code: CreateAccountError.exists })
assert.deepStrictEqual(errors[0], { index: 0, result: CreateAccountError.exists })
})

@@ -314,4 +314,4 @@

assert.strictEqual(errors.length, 2)
assert.deepStrictEqual(errors[0], { index: 0, code: CreateTransferError.linked_event_failed })
assert.deepStrictEqual(errors[1], { index: 1, code: CreateTransferError.exists_with_different_flags })
assert.deepStrictEqual(errors[0], { index: 0, result: CreateTransferError.linked_event_failed })
assert.deepStrictEqual(errors[1], { index: 1, result: CreateTransferError.exists_with_different_flags })

@@ -318,0 +318,0 @@ const accounts = await client.lookupAccounts([accountA.id, accountB.id])

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc