UNPKG

@trezor/transport

Version:

Low level library facilitating protocol buffers based communication with Trezor devices

10 lines 472 B
"use strict"; 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