@ledgerhq/errors
Advanced tools
Comparing version 4.45.0 to 4.46.0
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.StatusCodes = exports.DBNotReset = exports.DBWrongPassword = exports.NoDBPathGiven = exports.GenuineCheckFailed = exports.PairingFailed = exports.SyncError = exports.FeeRequired = exports.FeeNotLoaded = exports.CantScanQRCode = exports.ETHAddressNonEIP = exports.WrongDeviceForAccount = exports.WebsocketConnectionFailed = exports.WebsocketConnectionError = exports.WebUSBInterfaceNotAvailable = exports.WebUSBUserCancelled = exports.UserRefusedOnDevice = exports.UserRefusedAllowManager = exports.UserRefusedFirmwareUpdate = exports.UserRefusedAddress = exports.UserRefusedDeviceNameChange = exports.UpdateYourApp = exports.UnexpectedBootloader = exports.TimeoutTagged = exports.PasswordIncorrectError = exports.PasswordsDontMatchError = exports.NotEnoughBalanceBecauseDestinationNotCreated = exports.NotEnoughBalance = exports.NoAddressesFound = exports.NetworkDown = exports.ManagerUninstallBTCDep = exports.ManagerNotEnoughSpaceError = exports.ManagerDeviceLockedError = exports.ManagerAppRelyOnBTCError = exports.ManagerAppAlreadyInstalledError = exports.LedgerAPINotAvailable = exports.LedgerAPIErrorWithMessage = exports.LedgerAPIError = exports.UnknownMCU = exports.LatestMCUInstalledError = exports.InvalidAddressBecauseDestinationIsAlsoSource = exports.InvalidAddress = exports.HardResetFail = exports.FeeEstimationFailed = exports.EnpointConfigError = exports.DisconnectedDeviceDuringOperation = exports.DisconnectedDevice = exports.DeviceSocketNoBulkStatus = exports.DeviceSocketFail = exports.DeviceNameInvalid = exports.DeviceOnDashboardExpected = exports.DeviceNotGenuineError = exports.DeviceGenuineSocketEarlyClose = exports.DeviceAppVerifyNotSupported = exports.CantOpenDevice = exports.BtcUnmatchedApp = exports.BluetoothRequired = exports.AccountNameRequiredError = undefined; | ||
exports.StatusCodes = exports.DBNotReset = exports.DBWrongPassword = exports.NoDBPathGiven = exports.GenuineCheckFailed = exports.PairingFailed = exports.SyncError = exports.FeeRequired = exports.FeeNotLoaded = exports.CantScanQRCode = exports.ETHAddressNonEIP = exports.WrongDeviceForAccount = exports.WebsocketConnectionFailed = exports.WebsocketConnectionError = exports.TransportInterfaceNotAvailable = exports.TransportOpenUserCancelled = exports.UserRefusedOnDevice = exports.UserRefusedAllowManager = exports.UserRefusedFirmwareUpdate = exports.UserRefusedAddress = exports.UserRefusedDeviceNameChange = exports.UpdateYourApp = exports.UnexpectedBootloader = exports.TimeoutTagged = exports.PasswordIncorrectError = exports.PasswordsDontMatchError = exports.NotEnoughBalanceBecauseDestinationNotCreated = exports.NotEnoughBalance = exports.NoAddressesFound = exports.NetworkDown = exports.ManagerUninstallBTCDep = exports.ManagerNotEnoughSpaceError = exports.ManagerDeviceLockedError = exports.ManagerAppRelyOnBTCError = exports.ManagerAppAlreadyInstalledError = exports.LedgerAPINotAvailable = exports.LedgerAPIErrorWithMessage = exports.LedgerAPIError = exports.UnknownMCU = exports.LatestMCUInstalledError = exports.InvalidAddressBecauseDestinationIsAlsoSource = exports.InvalidAddress = exports.HardResetFail = exports.FeeEstimationFailed = exports.EnpointConfigError = exports.DisconnectedDeviceDuringOperation = exports.DisconnectedDevice = exports.DeviceSocketNoBulkStatus = exports.DeviceSocketFail = exports.DeviceNameInvalid = exports.DeviceOnDashboardExpected = exports.DeviceNotGenuineError = exports.DeviceGenuineSocketEarlyClose = exports.DeviceAppVerifyNotSupported = exports.CantOpenDevice = exports.BtcUnmatchedApp = exports.BluetoothRequired = exports.AccountNameRequiredError = undefined; | ||
exports.TransportError = TransportError; | ||
@@ -57,4 +57,4 @@ exports.getAltStatusMessage = getAltStatusMessage; | ||
var UserRefusedOnDevice = exports.UserRefusedOnDevice = (0, _helpers.createCustomErrorClass)("UserRefusedOnDevice"); // TODO rename because it's just for transaction refusal | ||
var WebUSBUserCancelled = exports.WebUSBUserCancelled = (0, _helpers.createCustomErrorClass)("WebUSBUserCancelled"); | ||
var WebUSBInterfaceNotAvailable = exports.WebUSBInterfaceNotAvailable = (0, _helpers.createCustomErrorClass)("WebUSBInterfaceNotAvailable"); | ||
var TransportOpenUserCancelled = exports.TransportOpenUserCancelled = (0, _helpers.createCustomErrorClass)("TransportOpenUserCancelled"); | ||
var TransportInterfaceNotAvailable = exports.TransportInterfaceNotAvailable = (0, _helpers.createCustomErrorClass)("TransportInterfaceNotAvailable"); | ||
var WebsocketConnectionError = exports.WebsocketConnectionError = (0, _helpers.createCustomErrorClass)("WebsocketConnectionError"); | ||
@@ -61,0 +61,0 @@ var WebsocketConnectionFailed = exports.WebsocketConnectionFailed = (0, _helpers.createCustomErrorClass)("WebsocketConnectionFailed"); |
{ | ||
"name": "@ledgerhq/errors", | ||
"version": "4.45.0", | ||
"version": "4.46.0", | ||
"description": "Ledger common errors", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "3c84228be94d44ef46fe44916a0dcc13228a79d0" | ||
"gitHead": "c2e02f504eebb93e4a4a4fd9ff318fab7f531480" | ||
} |
@@ -82,3 +82,5 @@ // @flow | ||
export const UpdateYourApp = createCustomErrorClass("UpdateYourApp"); | ||
export const UserRefusedDeviceNameChange = createCustomErrorClass("UserRefusedDeviceNameChange"); | ||
export const UserRefusedDeviceNameChange = createCustomErrorClass( | ||
"UserRefusedDeviceNameChange" | ||
); | ||
export const UserRefusedAddress = createCustomErrorClass("UserRefusedAddress"); | ||
@@ -94,7 +96,7 @@ export const UserRefusedFirmwareUpdate = createCustomErrorClass( | ||
); // TODO rename because it's just for transaction refusal | ||
export const WebUSBUserCancelled = createCustomErrorClass( | ||
"WebUSBUserCancelled" | ||
export const TransportOpenUserCancelled = createCustomErrorClass( | ||
"TransportOpenUserCancelled" | ||
); | ||
export const WebUSBInterfaceNotAvailable = createCustomErrorClass( | ||
"WebUSBInterfaceNotAvailable" | ||
export const TransportInterfaceNotAvailable = createCustomErrorClass( | ||
"TransportInterfaceNotAvailable" | ||
); | ||
@@ -101,0 +103,0 @@ export const WebsocketConnectionError = createCustomErrorClass( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
645613
549