@ledgerhq/coin-hedera
Version:
Ledger Hedera Coin integration
26 lines • 820 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMockedOperation = void 0;
const bignumber_js_1 = __importDefault(require("bignumber.js"));
const getMockedOperation = (overrides) => {
return {
id: "",
hash: "",
type: "IN",
value: new bignumber_js_1.default(0),
fee: new bignumber_js_1.default(0),
senders: [],
recipients: [],
blockHeight: undefined,
blockHash: undefined,
accountId: "",
date: new Date(),
extra: {},
...overrides,
};
};
exports.getMockedOperation = getMockedOperation;
//# sourceMappingURL=operation.fixture.js.map