UNPKG

@ledgerhq/live-common

Version:
78 lines 4.85 kB
"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 = { [devices_1.DeviceModelId.nanoS]: { receiveVerify: { [AppInfos_1.AppInfos.ETHEREUM.name]: DeviceLabels_1.DeviceLabels.VERIFY_ADDRESS, [AppInfos_1.AppInfos.SOLANA.name]: DeviceLabels_1.DeviceLabels.PUBKEY, default: DeviceLabels_1.DeviceLabels.ADDRESS, }, receiveConfirm: { [AppInfos_1.AppInfos.COSMOS.name]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, [AppInfos_1.AppInfos.POLKADOT.name]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, default: DeviceLabels_1.DeviceLabels.APPROVE, }, delegateVerify: { [AppInfos_1.AppInfos.COSMOS.name]: DeviceLabels_1.DeviceLabels.TYPE_DELEGATE, [AppInfos_1.AppInfos.MULTIVERS_X.name]: DeviceLabels_1.DeviceLabels.RECEIVER, [AppInfos_1.AppInfos.NEAR.name]: DeviceLabels_1.DeviceLabels.VIEW_HEADER, [AppInfos_1.AppInfos.SOLANA.name]: DeviceLabels_1.DeviceLabels.DELEGATE_FROM, [AppInfos_1.AppInfos.TEZOS.name]: DeviceLabels_1.DeviceLabels.REVIEW_OPERATION, [AppInfos_1.AppInfos.INJECTIVE.name]: DeviceLabels_1.DeviceLabels.CHAIN_ID, [AppInfos_1.AppInfos.OSMOSIS.name]: DeviceLabels_1.DeviceLabels.CHAIN_ID, default: DeviceLabels_1.DeviceLabels.REVIEW_OPERATION, }, delegateConfirm: { [AppInfos_1.AppInfos.CELO.name]: DeviceLabels_1.DeviceLabels.ACCEPT, [AppInfos_1.AppInfos.MULTIVERS_X.name]: DeviceLabels_1.DeviceLabels.SIGN, [AppInfos_1.AppInfos.NEAR.name]: DeviceLabels_1.DeviceLabels.CONTINUE_TO_ACTION, [AppInfos_1.AppInfos.SOLANA.name]: DeviceLabels_1.DeviceLabels.APPROVE, [AppInfos_1.AppInfos.TEZOS.name]: DeviceLabels_1.DeviceLabels.ACCEPT_RISK, default: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, }, }, default: { receiveVerify: { [AppInfos_1.AppInfos.BNB_CHAIN.name]: DeviceLabels_1.DeviceLabels.VERIFY_BSC, [AppInfos_1.AppInfos.COSMOS.name]: DeviceLabels_1.DeviceLabels.PLEASE_REVIEW, [AppInfos_1.AppInfos.ETHEREUM.name]: DeviceLabels_1.DeviceLabels.VERIFY_ETHEREUM, [AppInfos_1.AppInfos.POLKADOT.name]: DeviceLabels_1.DeviceLabels.PLEASE_REVIEW, [AppInfos_1.AppInfos.POLYGON.name]: DeviceLabels_1.DeviceLabels.VERIFY_POLYGON, [AppInfos_1.AppInfos.SOLANA.name]: DeviceLabels_1.DeviceLabels.VERIFY_SOLANA_ADDRESS, default: DeviceLabels_1.DeviceLabels.ADDRESS, }, receiveConfirm: { [AppInfos_1.AppInfos.BITCOIN.name]: DeviceLabels_1.DeviceLabels.CONFIRM, [AppInfos_1.AppInfos.BNB_CHAIN.name]: DeviceLabels_1.DeviceLabels.CONFIRM, [AppInfos_1.AppInfos.COSMOS.name]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, [AppInfos_1.AppInfos.ETHEREUM.name]: DeviceLabels_1.DeviceLabels.CONFIRM, [AppInfos_1.AppInfos.POLKADOT.name]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, [AppInfos_1.AppInfos.POLYGON.name]: DeviceLabels_1.DeviceLabels.CONFIRM, [AppInfos_1.AppInfos.SOLANA.name]: DeviceLabels_1.DeviceLabels.CONFIRM, default: DeviceLabels_1.DeviceLabels.APPROVE, }, delegateVerify: { [AppInfos_1.AppInfos.COSMOS.name]: DeviceLabels_1.DeviceLabels.PLEASE_REVIEW, [AppInfos_1.AppInfos.MULTIVERS_X.name]: DeviceLabels_1.DeviceLabels.RECEIVER, [AppInfos_1.AppInfos.NEAR.name]: DeviceLabels_1.DeviceLabels.VIEW_HEADER, [AppInfos_1.AppInfos.SOLANA.name]: DeviceLabels_1.DeviceLabels.REVIEW_TRANSACTION, default: DeviceLabels_1.DeviceLabels.REVIEW_OPERATION, }, delegateConfirm: { [AppInfos_1.AppInfos.CELO.name]: DeviceLabels_1.DeviceLabels.ACCEPT, [AppInfos_1.AppInfos.TEZOS.name]: DeviceLabels_1.DeviceLabels.ACCEPT_AND_SEND, [AppInfos_1.AppInfos.COSMOS.name]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, [AppInfos_1.AppInfos.INJECTIVE.name]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, [AppInfos_1.AppInfos.MULTIVERS_X.name]: DeviceLabels_1.DeviceLabels.SIGN, [AppInfos_1.AppInfos.NEAR.name]: DeviceLabels_1.DeviceLabels.CONTINUE_TO_ACTION, [AppInfos_1.AppInfos.SOLANA.name]: DeviceLabels_1.DeviceLabels.SIGN_TRANSACTION, [AppInfos_1.AppInfos.OSMOSIS.name]: DeviceLabels_1.DeviceLabels.CAPS_APPROVE, default: DeviceLabels_1.DeviceLabels.APPROVE, }, }, }; //# sourceMappingURL=deviceLabelsData.js.map