Some checks failed
morphit-release / Build + publish release tarball (push) Has been cancelled
103 lines
5.7 KiB
JavaScript
103 lines
5.7 KiB
JavaScript
"use strict";
|
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
}
|
|
Object.defineProperty(o, k2, desc);
|
|
}) : (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
o[k2] = m[k];
|
|
}));
|
|
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
}) : function(o, v) {
|
|
o["default"] = v;
|
|
});
|
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
if (mod && mod.__esModule) return mod;
|
|
var result = {};
|
|
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
__setModuleDefault(result, mod);
|
|
return result;
|
|
};
|
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.isDBlurtError = exports.classifyError = exports.ValidationError = exports.SerializationError = exports.RpcApplicationError = exports.DBlurtError = exports.utils = void 0;
|
|
/**
|
|
* dblurt public exports.
|
|
* @author Johan Nordberg <code@johan-nordberg.com>
|
|
* @license
|
|
* Copyright (c) 2017 Johan Nordberg. All Rights Reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without modification,
|
|
* are permitted provided that the following conditions are met:
|
|
*
|
|
* 1. Redistribution of source code must retain the above copyright notice, this
|
|
* list of conditions and the following disclaimer.
|
|
*
|
|
* 2. Redistribution in binary form must reproduce the above copyright notice,
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
* and/or other materials provided with the distribution.
|
|
*
|
|
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
* may be used to endorse or promote products derived from this software without
|
|
* specific prior written permission.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
|
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*
|
|
* You acknowledge that this software is not designed, licensed or intended for use
|
|
* in the design, construction, operation or maintenance of any military facility.
|
|
*/
|
|
const utils = __importStar(require("./utils"));
|
|
exports.utils = utils;
|
|
__exportStar(require("./helpers/account_history"), exports);
|
|
__exportStar(require("./helpers/blockchain"), exports);
|
|
__exportStar(require("./helpers/condenser"), exports);
|
|
__exportStar(require("./helpers/database"), exports);
|
|
__exportStar(require("./helpers/nexus"), exports);
|
|
__exportStar(require("./helpers/read_models"), exports);
|
|
__exportStar(require("./helpers/tools"), exports);
|
|
__exportStar(require("./helpers/transaction_status"), exports);
|
|
__exportStar(require("./chain/account"), exports);
|
|
__exportStar(require("./chain/account_history"), exports);
|
|
__exportStar(require("./chain/asset"), exports);
|
|
__exportStar(require("./chain/block"), exports);
|
|
__exportStar(require("./chain/blog"), exports);
|
|
__exportStar(require("./chain/comment"), exports);
|
|
__exportStar(require("./chain/deserializer"), exports);
|
|
__exportStar(require("./chain/nexus"), exports);
|
|
__exportStar(require("./chain/misc"), exports);
|
|
__exportStar(require("./chain/proposal"), exports);
|
|
__exportStar(require("./chain/operation"), exports);
|
|
__exportStar(require("./chain/serializer"), exports);
|
|
__exportStar(require("./chain/transaction"), exports);
|
|
__exportStar(require("./chain/witness"), exports);
|
|
__exportStar(require("./client"), exports);
|
|
var errors_1 = require("./errors");
|
|
Object.defineProperty(exports, "DBlurtError", { enumerable: true, get: function () { return errors_1.DBlurtError; } });
|
|
Object.defineProperty(exports, "RpcApplicationError", { enumerable: true, get: function () { return errors_1.RpcApplicationError; } });
|
|
Object.defineProperty(exports, "SerializationError", { enumerable: true, get: function () { return errors_1.SerializationError; } });
|
|
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return errors_1.ValidationError; } });
|
|
Object.defineProperty(exports, "classifyError", { enumerable: true, get: function () { return errors_1.classifyError; } });
|
|
Object.defineProperty(exports, "isDBlurtError", { enumerable: true, get: function () { return errors_1.isDBlurtError; } });
|
|
__exportStar(require("./experimental_client"), exports);
|
|
__exportStar(require("./transports/core_rpc_transport"), exports);
|
|
__exportStar(require("./transports/legacy_rpc_transport"), exports);
|
|
__exportStar(require("./transports/rpc_transport"), exports);
|
|
__exportStar(require("./crypto"), exports);
|
|
__exportStar(require("./authority"), exports);
|
|
__exportStar(require("./social"), exports);
|
|
__exportStar(require("./content"), exports);
|