@bithomp/xrpl-api
Version:
A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger
15 lines (14 loc) • 502 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const common_1 = require("../../common");
const memos_1 = __importDefault(require("./memos"));
function parseAmendment(tx) {
return (0, common_1.removeUndefined)({
amendment: tx.Amendment,
memos: (0, memos_1.default)(tx),
});
}
exports.default = parseAmendment;