@injectivelabs/exceptions
Advanced tools
Comparing version 1.14.6-beta.3 to 1.14.6-beta.4
@@ -99,5 +99,10 @@ "use strict"; | ||
} | ||
return message; | ||
if (parsedMessage | ||
.toLowerCase() | ||
.includes('Keyring Controller signTypedMessage'.toLowerCase())) { | ||
return 'Please ensure your Ledger is connected, unlocked and your Ethereum app is open.'; | ||
} | ||
return message.replaceAll('Keyring Controller signTypedMessage:', ''); | ||
}; | ||
exports.mapMetamaskMessage = mapMetamaskMessage; | ||
//# sourceMappingURL=maps.js.map |
@@ -96,4 +96,9 @@ import { chainErrorMessagesMap, chainModuleCodeErrorMessagesMap, } from '../messages'; | ||
} | ||
return message; | ||
if (parsedMessage | ||
.toLowerCase() | ||
.includes('Keyring Controller signTypedMessage'.toLowerCase())) { | ||
return 'Please ensure your Ledger is connected, unlocked and your Ethereum app is open.'; | ||
} | ||
return message.replaceAll('Keyring Controller signTypedMessage:', ''); | ||
}; | ||
//# sourceMappingURL=maps.js.map |
{ | ||
"name": "@injectivelabs/exceptions", | ||
"description": "List of exceptions that can be reused throughout Injective's projects.", | ||
"version": "1.14.6-beta.3", | ||
"version": "1.14.6-beta.4", | ||
"sideEffects": false, | ||
@@ -40,3 +40,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "f90ea6f1a418cabda1990a5150c2b9949c437447" | ||
"gitHead": "1ea8d805d93de0e3f300c375e84c5ff80e9813c6" | ||
} |
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
602204
7550