51 lines
2.6 KiB
JavaScript
51 lines
2.6 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;
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.TRANSACTION_TYPES = exports.TransactionType = exports.TransactionResult = exports.LedgerEntryType = exports.Type = exports.Field = exports.DEFAULT_DEFINITIONS = exports.XrplDefinitionsBase = exports.Bytes = void 0;
|
|
const enums = __importStar(require("./definitions.json"));
|
|
const xrpl_definitions_base_1 = require("./xrpl-definitions-base");
|
|
Object.defineProperty(exports, "XrplDefinitionsBase", { enumerable: true, get: function () { return xrpl_definitions_base_1.XrplDefinitionsBase; } });
|
|
Object.defineProperty(exports, "Bytes", { enumerable: true, get: function () { return xrpl_definitions_base_1.Bytes; } });
|
|
/**
|
|
* By default, coreTypes from the `types` folder is where known type definitions are initialized to avoid import cycles.
|
|
*/
|
|
const DEFAULT_DEFINITIONS = new xrpl_definitions_base_1.XrplDefinitionsBase(enums, {});
|
|
exports.DEFAULT_DEFINITIONS = DEFAULT_DEFINITIONS;
|
|
const Type = DEFAULT_DEFINITIONS.type;
|
|
exports.Type = Type;
|
|
const LedgerEntryType = DEFAULT_DEFINITIONS.ledgerEntryType;
|
|
exports.LedgerEntryType = LedgerEntryType;
|
|
const TransactionType = DEFAULT_DEFINITIONS.transactionType;
|
|
exports.TransactionType = TransactionType;
|
|
const TransactionResult = DEFAULT_DEFINITIONS.transactionResult;
|
|
exports.TransactionResult = TransactionResult;
|
|
const Field = DEFAULT_DEFINITIONS.field;
|
|
exports.Field = Field;
|
|
/*
|
|
* @brief: All valid transaction types
|
|
*/
|
|
const TRANSACTION_TYPES = DEFAULT_DEFINITIONS.transactionNames;
|
|
exports.TRANSACTION_TYPES = TRANSACTION_TYPES;
|
|
//# sourceMappingURL=index.js.map
|