@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
78 lines • 4.85 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEVICE_LABELS_CONFIG = void 0;
const devices_1 = require("@ledgerhq/devices");
const AppInfos_1 = require("../enum/AppInfos");
const DeviceLabels_1 = require("../enum/DeviceLabels");
exports.DEVICE_LABELS_CONFIG = {
[]: {
receiveVerify: {
[]: DeviceLabels_1.DeviceLabels.VERIFY_ADDRESS,
[]: DeviceLabels_1.DeviceLabels.PUBKEY,
default: DeviceLabels_1.DeviceLabels.ADDRESS,
},
receiveConfirm: {
[]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
[]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
default: DeviceLabels_1.DeviceLabels.APPROVE,
},
delegateVerify: {
[]: DeviceLabels_1.DeviceLabels.TYPE_DELEGATE,
[]: DeviceLabels_1.DeviceLabels.RECEIVER,
[]: DeviceLabels_1.DeviceLabels.VIEW_HEADER,
[]: DeviceLabels_1.DeviceLabels.DELEGATE_FROM,
[]: DeviceLabels_1.DeviceLabels.REVIEW_OPERATION,
[]: DeviceLabels_1.DeviceLabels.CHAIN_ID,
[]: DeviceLabels_1.DeviceLabels.CHAIN_ID,
default: DeviceLabels_1.DeviceLabels.REVIEW_OPERATION,
},
delegateConfirm: {
[]: DeviceLabels_1.DeviceLabels.ACCEPT,
[]: DeviceLabels_1.DeviceLabels.SIGN,
[]: DeviceLabels_1.DeviceLabels.CONTINUE_TO_ACTION,
[]: DeviceLabels_1.DeviceLabels.APPROVE,
[]: DeviceLabels_1.DeviceLabels.ACCEPT_RISK,
default: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
},
},
default: {
receiveVerify: {
[]: DeviceLabels_1.DeviceLabels.VERIFY_BSC,
[]: DeviceLabels_1.DeviceLabels.PLEASE_REVIEW,
[]: DeviceLabels_1.DeviceLabels.VERIFY_ETHEREUM,
[]: DeviceLabels_1.DeviceLabels.PLEASE_REVIEW,
[]: DeviceLabels_1.DeviceLabels.VERIFY_POLYGON,
[]: DeviceLabels_1.DeviceLabels.VERIFY_SOLANA_ADDRESS,
default: DeviceLabels_1.DeviceLabels.ADDRESS,
},
receiveConfirm: {
[]: DeviceLabels_1.DeviceLabels.CONFIRM,
[]: DeviceLabels_1.DeviceLabels.CONFIRM,
[]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
[]: DeviceLabels_1.DeviceLabels.CONFIRM,
[]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
[]: DeviceLabels_1.DeviceLabels.CONFIRM,
[]: DeviceLabels_1.DeviceLabels.CONFIRM,
default: DeviceLabels_1.DeviceLabels.APPROVE,
},
delegateVerify: {
[]: DeviceLabels_1.DeviceLabels.PLEASE_REVIEW,
[]: DeviceLabels_1.DeviceLabels.RECEIVER,
[]: DeviceLabels_1.DeviceLabels.VIEW_HEADER,
[]: DeviceLabels_1.DeviceLabels.REVIEW_TRANSACTION,
default: DeviceLabels_1.DeviceLabels.REVIEW_OPERATION,
},
delegateConfirm: {
[]: DeviceLabels_1.DeviceLabels.ACCEPT,
[]: DeviceLabels_1.DeviceLabels.ACCEPT_AND_SEND,
[]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
[]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
[]: DeviceLabels_1.DeviceLabels.SIGN,
[]: DeviceLabels_1.DeviceLabels.CONTINUE_TO_ACTION,
[]: DeviceLabels_1.DeviceLabels.SIGN_TRANSACTION,
[]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE,
default: DeviceLabels_1.DeviceLabels.APPROVE,
},
},
};
//# sourceMappingURL=deviceLabelsData.js.map