@injectivelabs/exceptions
Advanced tools
Comparing version 1.14.2-beta.2 to 1.14.2-beta.3
@@ -11,2 +11,5 @@ "use strict"; | ||
'Ledger device: CLA_NOT_SUPPORTED', | ||
'CLA_NOT_SUPPORTED', | ||
'CLA', | ||
'Locked', | ||
'Failed to open the device', | ||
@@ -36,8 +39,2 @@ 'Failed to open the device', | ||
} | ||
if (message.includes('locked')) { | ||
this.setMessage('Please make sure your Ledger device is connected, unlocked and your Ethereum app is open'); | ||
} | ||
if (message.includes('CLA')) { | ||
this.setMessage('Please make sure your Ledger device is connected, unlocked and your Ethereum app is open'); | ||
} | ||
if (message.includes('Unable to set device configuration.')) { | ||
@@ -44,0 +41,0 @@ this.setMessage('Please restart your Ledger device and try connecting again'); |
@@ -8,2 +8,5 @@ import { ConcreteException } from '../exception'; | ||
'Ledger device: CLA_NOT_SUPPORTED', | ||
'CLA_NOT_SUPPORTED', | ||
'CLA', | ||
'Locked', | ||
'Failed to open the device', | ||
@@ -33,8 +36,2 @@ 'Failed to open the device', | ||
} | ||
if (message.includes('locked')) { | ||
this.setMessage('Please make sure your Ledger device is connected, unlocked and your Ethereum app is open'); | ||
} | ||
if (message.includes('CLA')) { | ||
this.setMessage('Please make sure your Ledger device is connected, unlocked and your Ethereum app is open'); | ||
} | ||
if (message.includes('Unable to set device configuration.')) { | ||
@@ -41,0 +38,0 @@ this.setMessage('Please restart your Ledger device and try connecting again'); |
{ | ||
"name": "@injectivelabs/exceptions", | ||
"description": "List of exceptions that can be reused throughout Injective's projects.", | ||
"version": "1.14.2-beta.2", | ||
"version": "1.14.2-beta.3", | ||
"sideEffects": false, | ||
@@ -40,3 +40,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "f6b269c15c76a76d6669fd78304f8f7bcef71f1c" | ||
"gitHead": "b3bd3346be6bcee83abdc82aee4419d4cc55628e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
583604
7341