From 5efc1cc78931001164cc4c5f6cc0a124d4fd5509 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 2 Sep 2022 11:16:46 +1000 Subject: [PATCH] Fixes keepkey typo and adds dcent to replacements (#1243) --- packages/core/.eslintrc.cjs | 3 ++- packages/core/package.json | 2 +- packages/core/src/replacement.ts | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/core/.eslintrc.cjs b/packages/core/.eslintrc.cjs index a579a991d..dbbeea2ae 100644 --- a/packages/core/.eslintrc.cjs +++ b/packages/core/.eslintrc.cjs @@ -38,6 +38,7 @@ module.exports = { } ], 'object-curly-spacing': ['error', 'always'], - '@typescript-eslint/no-empty-function': 'off' + '@typescript-eslint/no-empty-function': 'off', + quotes: ['error', 'single', { allowTemplateLiterals: true }] } } diff --git a/packages/core/package.json b/packages/core/package.json index 799d1fb92..6abf25587 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.8.1", + "version": "2.8.2-alpha.1", "description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/core/src/replacement.ts b/packages/core/src/replacement.ts index 4f4d1a3d1..378e452f5 100644 --- a/packages/core/src/replacement.ts +++ b/packages/core/src/replacement.ts @@ -12,7 +12,8 @@ const WALLETS_SUPPORT_REPLACEMENT: WalletState['label'][] = [ 'Ledger', 'Trezor', 'Keystone', - 'Keepkey' + 'KeepKey', + `D'CENT` ] export const actionableEventCode = (eventCode: string): boolean =>