@planetarium/bencodex
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -15,3 +15,3 @@ /** | ||
export { encode, encodeInto, estimateSize, } from "./src/encoder.js"; | ||
export { areKeysEqual, isDictionary, isKey, } from "./src/types.js"; | ||
export { areDictionariesEqual, areKeysEqual, areValuesEqual, isDictionary, isKey, } from "./src/types.js"; | ||
export { BencodexDictionary, isRecordValue, RecordView, } from "./src/dict.js"; |
@@ -6,3 +6,3 @@ { | ||
"name": "@planetarium/bencodex", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "An alternative take on implementing Bencodex in TypeScript/JavaScript", | ||
@@ -9,0 +9,0 @@ "keywords": [ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RecordView = exports.isRecordValue = exports.BencodexDictionary = exports.isKey = exports.isDictionary = exports.areKeysEqual = exports.estimateSize = exports.encodeInto = exports.encode = exports.DecodingError = exports.decodeValue = exports.decode = void 0; | ||
exports.RecordView = exports.isRecordValue = exports.BencodexDictionary = exports.isKey = exports.isDictionary = exports.areValuesEqual = exports.areKeysEqual = exports.areDictionariesEqual = exports.estimateSize = exports.encodeInto = exports.encode = exports.DecodingError = exports.decodeValue = exports.decode = void 0; | ||
/** | ||
@@ -25,3 +25,5 @@ * This façade module exports the public API of this package. | ||
var types_js_1 = require("./src/types.js"); | ||
Object.defineProperty(exports, "areDictionariesEqual", { enumerable: true, get: function () { return types_js_1.areDictionariesEqual; } }); | ||
Object.defineProperty(exports, "areKeysEqual", { enumerable: true, get: function () { return types_js_1.areKeysEqual; } }); | ||
Object.defineProperty(exports, "areValuesEqual", { enumerable: true, get: function () { return types_js_1.areValuesEqual; } }); | ||
Object.defineProperty(exports, "isDictionary", { enumerable: true, get: function () { return types_js_1.isDictionary; } }); | ||
@@ -28,0 +30,0 @@ Object.defineProperty(exports, "isKey", { enumerable: true, get: function () { return types_js_1.isKey; } }); |
@@ -15,3 +15,3 @@ /** | ||
export { encode, encodeInto, type EncodingOptions, estimateSize, type NonAllocEncodingOptions, } from "./src/encoder.js"; | ||
export { areKeysEqual, type Dictionary, isDictionary, isKey, type Key, type Value, } from "./src/types.js"; | ||
export { areDictionariesEqual, areKeysEqual, areValuesEqual, type Dictionary, isDictionary, isKey, type Key, type Value, } from "./src/types.js"; | ||
export { BencodexDictionary, isRecordValue, type RecordValue, RecordView, } from "./src/dict.js"; |
175127
3554