Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/errors

Package Overview
Dependencies
Maintainers
8
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/errors - npm Package Compare versions

Comparing version 6.18.0 to 6.19.0-next.0

12

CHANGELOG.md
# @ledgerhq/errors
## 6.19.0-next.0
### Minor Changes
- [#7603](https://github.com/LedgerHQ/ledger-live/pull/7603) [`5c738cb`](https://github.com/LedgerHQ/ledger-live/commit/5c738cbd35ce5d0ca39ad3b86a61cc6234d1bdf7) Thanks [@thesan](https://github.com/thesan)! - Fix Trustchain error when switching device while logged in
### Patch Changes
- [#7672](https://github.com/LedgerHQ/ledger-live/pull/7672) [`fb9466a`](https://github.com/LedgerHQ/ledger-live/commit/fb9466a4d7827fd4759c726ad3ae0b43dddcacd3) Thanks [@hzheng-ledger](https://github.com/hzheng-ledger)! - Add support for jettons
- [#7690](https://github.com/LedgerHQ/ledger-live/pull/7690) [`a3fd728`](https://github.com/LedgerHQ/ledger-live/commit/a3fd72861f2a7df676bd793062b3816fdb9d1f57) Thanks [@thesan](https://github.com/thesan)! - Refresh ledger sync QR code on expiration
## 6.18.0

@@ -4,0 +16,0 @@

2

lib-es/helpers.d.ts

@@ -11,3 +11,3 @@ export declare const addCustomErrorDeserializer: (name: string, deserializer: (obj: any) => any) => void;

[key: string]: unknown;
}, T extends LedgerErrorConstructor<F>>(name: string) => T;
}, T extends LedgerErrorConstructor<F> = LedgerErrorConstructor<F>>(name: string) => T;
export declare const deserializeError: (object: any) => Error | undefined;

@@ -14,0 +14,0 @@ export declare const serializeError: (value: undefined | To | string | (() => unknown)) => undefined | To | string;

@@ -457,2 +457,3 @@ import { serializeError, deserializeError, createCustomErrorClass, addCustomErrorDeserializer, LedgerErrorConstructor } from "./helpers";

INVALID_BACKUP_HEADER: number;
TRUSTCHAIN_WRONG_SEED: number;
};

@@ -459,0 +460,0 @@ export declare function getAltStatusMessage(code: number): string | undefined | null;

@@ -225,2 +225,4 @@ import { serializeError, deserializeError, createCustomErrorClass, addCustomErrorDeserializer, } from "./helpers";

INVALID_BACKUP_HEADER: 0x684a,
// Not documented:
TRUSTCHAIN_WRONG_SEED: 0xb007,
};

@@ -227,0 +229,0 @@ export function getAltStatusMessage(code) {

@@ -11,3 +11,3 @@ export declare const addCustomErrorDeserializer: (name: string, deserializer: (obj: any) => any) => void;

[key: string]: unknown;
}, T extends LedgerErrorConstructor<F>>(name: string) => T;
}, T extends LedgerErrorConstructor<F> = LedgerErrorConstructor<F>>(name: string) => T;
export declare const deserializeError: (object: any) => Error | undefined;

@@ -14,0 +14,0 @@ export declare const serializeError: (value: undefined | To | string | (() => unknown)) => undefined | To | string;

@@ -457,2 +457,3 @@ import { serializeError, deserializeError, createCustomErrorClass, addCustomErrorDeserializer, LedgerErrorConstructor } from "./helpers";

INVALID_BACKUP_HEADER: number;
TRUSTCHAIN_WRONG_SEED: number;
};

@@ -459,0 +460,0 @@ export declare function getAltStatusMessage(code: number): string | undefined | null;

@@ -235,2 +235,4 @@ "use strict";

INVALID_BACKUP_HEADER: 0x684a,
// Not documented:
TRUSTCHAIN_WRONG_SEED: 0xb007,
};

@@ -237,0 +239,0 @@ function getAltStatusMessage(code) {

{
"name": "@ledgerhq/errors",
"version": "6.18.0",
"version": "6.19.0-next.0",
"description": "Ledger common errors",

@@ -5,0 +5,0 @@ "keywords": [

@@ -22,3 +22,3 @@ /* eslint-disable no-continue */

F extends { [key: string]: unknown },
T extends LedgerErrorConstructor<F>,
T extends LedgerErrorConstructor<F> = LedgerErrorConstructor<F>,
>(

@@ -25,0 +25,0 @@ name: string,

@@ -302,2 +302,5 @@ import {

INVALID_BACKUP_HEADER: 0x684a,
// Not documented:
TRUSTCHAIN_WRONG_SEED: 0xb007,
};

@@ -304,0 +307,0 @@

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc