@btoon/js 0.1.0 → 0.1.1
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 -2
- package/dist/cjs/constants.d.ts +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ compression envelope and an optional HMAC-signed envelope.
|
|
|
17
17
|
the input justifies, strict UTF-8, duplicate-key rejection, capped decompression, and
|
|
18
18
|
signatures verified before anything is parsed.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Implements spec 0.1. In Node.js it is also the fastest BTOON package: on
|
|
21
21
|
10,000 records it encodes in 1.1 ms and decodes in 1.6 ms, against 7.8 ms and 7.1 ms for
|
|
22
22
|
the native [`btoon`](https://github.com/BTOON-project/btoon-nodejs) addon, with
|
|
23
23
|
byte-identical output.
|
|
@@ -183,7 +183,7 @@ Notes:
|
|
|
183
183
|
## API
|
|
184
184
|
|
|
185
185
|
```ts
|
|
186
|
-
const VERSION: '0.1.
|
|
186
|
+
const VERSION: '0.1.1';
|
|
187
187
|
const SPEC_VERSION: '0.1';
|
|
188
188
|
|
|
189
189
|
function encode(value: unknown, options?: EncodeOptions): Uint8Array;
|
package/dist/cjs/constants.d.ts
CHANGED
package/dist/cjs/constants.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MAX_DATE_MS = exports.TIMESTAMP_BRAND = exports.EXT_BRAND = exports.ALGORITHM_NAMES = exports.ALGORITHM_IDS = exports.SIGNED_HEADER_SIZE = exports.COMPRESSION_HEADER_SIZE = exports.MIN_COMPRESSION_SIZE = exports.DEFAULT_MAX_DECOMPRESSED_SIZE = exports.DEFAULT_MAX_DEPTH = exports.NANOS_PER_SECOND = exports.MAX_OFFSET_MINUTES = exports.TABULAR_VERSION = exports.EXT_TABULAR = exports.EXT_F64_VECTOR = exports.EXT_F32_VECTOR = exports.EXT_BIGINT = exports.EXT_DATETIME = exports.EXT_DATE = exports.EXT_TIMESTAMP = exports.SPEC_VERSION = exports.VERSION = void 0;
|
|
4
4
|
/** Version of this library. */
|
|
5
|
-
exports.VERSION = '0.1.
|
|
5
|
+
exports.VERSION = '0.1.1';
|
|
6
6
|
/** Version of the BTOON specification this library implements. */
|
|
7
7
|
exports.SPEC_VERSION = '0.1';
|
|
8
8
|
// Extension type ids (SPEC §5).
|
package/dist/esm/constants.d.ts
CHANGED
package/dist/esm/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@btoon/js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "BTOON (Binary TOON) for JavaScript and TypeScript: canonical, hardened MessagePack with a columnar encoding for tables. Pure TypeScript, zero dependencies; runs in browsers, Node.js, Deno, Bun and edge runtimes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"btoon",
|