@trezor/transport
Version:
Low level library facilitating protocol buffers based communication with Trezor devices
17 lines (16 loc) • 479 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.emptySync = exports.empty = void 0;
const errors_1 = require("../errors");
const result_1 = require("./result");
const empty = () => Promise.resolve((0, result_1.error)({
error: errors_1.WRONG_ENVIRONMENT
}));
exports.empty = empty;
const emptySync = () => (0, result_1.error)({
error: errors_1.WRONG_ENVIRONMENT
});
exports.emptySync = emptySync;
//# sourceMappingURL=resultEmpty.js.map