From 377058c61ece8c4539cb9305cfba3a46bc2b6873 Mon Sep 17 00:00:00 2001 From: Kosta Korenkov Date: Mon, 18 Jun 2018 19:26:05 +0300 Subject: [PATCH] expose Util --- dist/index.js | 7 ++++--- lib/index.js | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index b269a97..8f47f00 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,8 +1,9 @@ -'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.Outpoint = exports.Output = exports.Input = exports.Type = exports.Tx = exports.Block = exports.Period = undefined;var _period = require('./period');var _period2 = _interopRequireDefault(_period); +'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.Util = exports.Outpoint = exports.Output = exports.Input = exports.Type = exports.Tx = exports.Block = exports.Period = undefined;var _period = require('./period');var _period2 = _interopRequireDefault(_period); var _block = require('./block');var _block2 = _interopRequireDefault(_block); var _transaction = require('./transaction');var _transaction2 = _interopRequireDefault(_transaction); var _input = require('./input');var _input2 = _interopRequireDefault(_input); var _output = require('./output');var _output2 = _interopRequireDefault(_output); -var _outpoint = require('./outpoint');var _outpoint2 = _interopRequireDefault(_outpoint);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports. +var _outpoint = require('./outpoint');var _outpoint2 = _interopRequireDefault(_outpoint); +var _util = require('./util');var _util2 = _interopRequireDefault(_util);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports. -Period = _period2.default;exports.Block = _block2.default;exports.Tx = _transaction2.default;exports.Type = _transaction.Type;exports.Input = _input2.default;exports.Output = _output2.default;exports.Outpoint = _outpoint2.default; \ No newline at end of file +Period = _period2.default;exports.Block = _block2.default;exports.Tx = _transaction2.default;exports.Type = _transaction.Type;exports.Input = _input2.default;exports.Output = _output2.default;exports.Outpoint = _outpoint2.default;exports.Util = _util2.default; \ No newline at end of file diff --git a/lib/index.js b/lib/index.js index b2e4037..c03c6a0 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,5 +4,6 @@ import Tx, { Type } from './transaction'; import Input from './input'; import Output from './output'; import Outpoint from './outpoint'; +import Util from './util'; -export { Period, Block, Tx, Type, Input, Output, Outpoint }; +export { Period, Block, Tx, Type, Input, Output, Outpoint, Util };