UNPKG

@ton-community/tlb-runtime

Version:

TL‑B Runtime is a library for parsing and (de)serializing data according to TL‑B schemas

18 lines (17 loc) 1.66 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.blockSchema = exports.unwrap = exports.TLBSchemaError = exports.TLBRuntimeError = exports.TLBDataError = exports.parseTLB = exports.TLBRuntime = exports.parseCell = exports.encodeCell = exports.replacer = void 0; var parser_1 = require("./parser"); Object.defineProperty(exports, "replacer", { enumerable: true, get: function () { return parser_1.replacer; } }); Object.defineProperty(exports, "encodeCell", { enumerable: true, get: function () { return parser_1.encodeCell; } }); Object.defineProperty(exports, "parseCell", { enumerable: true, get: function () { return parser_1.parseCell; } }); var TLBRuntime_1 = require("./TLBRuntime"); Object.defineProperty(exports, "TLBRuntime", { enumerable: true, get: function () { return TLBRuntime_1.TLBRuntime; } }); Object.defineProperty(exports, "parseTLB", { enumerable: true, get: function () { return TLBRuntime_1.parseTLB; } }); Object.defineProperty(exports, "TLBDataError", { enumerable: true, get: function () { return TLBRuntime_1.TLBDataError; } }); Object.defineProperty(exports, "TLBRuntimeError", { enumerable: true, get: function () { return TLBRuntime_1.TLBRuntimeError; } }); Object.defineProperty(exports, "TLBSchemaError", { enumerable: true, get: function () { return TLBRuntime_1.TLBSchemaError; } }); var Result_1 = require("./Result"); Object.defineProperty(exports, "unwrap", { enumerable: true, get: function () { return Result_1.unwrap; } }); var schema_1 = require("./schema"); Object.defineProperty(exports, "blockSchema", { enumerable: true, get: function () { return schema_1.blockSchema; } });