@ledgerhq/errors 6.10.1-monorepo.0 → 6.10.1-monorepo.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -1
- package/CHANGELOG.md +24 -0
- package/lib/helpers.d.ts +14 -0
- package/lib/helpers.d.ts.map +1 -0
- package/lib/helpers.js +141 -0
- package/lib/helpers.js.map +1 -0
- package/lib/index.d.ts +335 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +191 -0
- package/lib/index.js.map +1 -0
- package/lib-es/helpers.d.ts +14 -0
- package/lib-es/helpers.d.ts.map +1 -0
- package/lib-es/helpers.js +134 -0
- package/lib-es/helpers.js.map +1 -0
- package/lib-es/index.d.ts +335 -0
- package/lib-es/index.d.ts.map +1 -0
- package/lib-es/index.js +180 -0
- package/lib-es/index.js.map +1 -0
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
@ledgerhq/errors:build: cache hit, replaying output 509cbe4d5c59a093
|
|
2
|
+
@ledgerhq/errors:build:
|
|
3
|
+
@ledgerhq/errors:build: > @ledgerhq/errors@6.10.1-monorepo.4 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/errors
|
|
4
|
+
@ledgerhq/errors:build: > bash ../../script/build.sh
|
|
5
|
+
@ledgerhq/errors:build:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @ledgerhq/errors
|
|
2
2
|
|
|
3
|
+
## 6.10.1-monorepo.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f6cb87454: test prerelease
|
|
8
|
+
|
|
9
|
+
## 6.10.1-monorepo.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7f4a91716: clean pnpm-lock file
|
|
14
|
+
|
|
15
|
+
## 6.10.1-monorepo.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- a439963a7: test prerelease
|
|
20
|
+
|
|
21
|
+
## 6.10.1-monorepo.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 1b6fec9db: monorepo prelease 2
|
|
26
|
+
|
|
3
27
|
## 6.10.1-monorepo.0
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/lib/helpers.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const addCustomErrorDeserializer: (name: string, deserializer: (obj: any) => any) => void;
|
|
2
|
+
declare type CustomErrorFunc = (message?: string, fields?: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}) => void;
|
|
5
|
+
export declare const createCustomErrorClass: (name: string) => CustomErrorFunc;
|
|
6
|
+
export declare const deserializeError: (object: any) => Error;
|
|
7
|
+
export declare const serializeError: (value: any) => undefined | To | string;
|
|
8
|
+
interface To {
|
|
9
|
+
name?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
stack?: string;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,0BAA0B,SAC/B,MAAM,sBACQ,GAAG,KAAK,GAAG,KAC9B,IAEF,CAAC;AAEF,aAAK,eAAe,GAAG,CACrB,OAAO,CAAC,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,KAC5B,IAAI,CAAC;AAEV,eAAO,MAAM,sBAAsB,SAAU,MAAM,KAAG,eAUrD,CAAC;AAGF,eAAO,MAAM,gBAAgB,WAAY,GAAG,KAAG,KA+C9C,CAAC;AAGF,eAAO,MAAM,cAAc,UAAW,GAAG,KAAG,SAAS,GAAG,EAAE,GAAG,MAS5D,CAAC;AAEF,UAAU,EAAE;IACV,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
package/lib/helpers.js
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable no-continue */
|
|
3
|
+
/* eslint-disable no-unused-vars */
|
|
4
|
+
/* eslint-disable no-param-reassign */
|
|
5
|
+
/* eslint-disable no-prototype-builtins */
|
|
6
|
+
var __values = (this && this.__values) || function(o) {
|
|
7
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
8
|
+
if (m) return m.call(o);
|
|
9
|
+
if (o && typeof o.length === "number") return {
|
|
10
|
+
next: function () {
|
|
11
|
+
if (o && i >= o.length) o = void 0;
|
|
12
|
+
return { value: o && o[i++], done: !o };
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
16
|
+
};
|
|
17
|
+
exports.__esModule = true;
|
|
18
|
+
exports.serializeError = exports.deserializeError = exports.createCustomErrorClass = exports.addCustomErrorDeserializer = void 0;
|
|
19
|
+
var errorClasses = {};
|
|
20
|
+
var deserializers = {};
|
|
21
|
+
var addCustomErrorDeserializer = function (name, deserializer) {
|
|
22
|
+
deserializers[name] = deserializer;
|
|
23
|
+
};
|
|
24
|
+
exports.addCustomErrorDeserializer = addCustomErrorDeserializer;
|
|
25
|
+
var createCustomErrorClass = function (name) {
|
|
26
|
+
var C = function CustomError(message, fields) {
|
|
27
|
+
Object.assign(this, fields);
|
|
28
|
+
this.name = name;
|
|
29
|
+
this.message = message || name;
|
|
30
|
+
this.stack = new Error().stack;
|
|
31
|
+
};
|
|
32
|
+
C.prototype = new Error();
|
|
33
|
+
errorClasses[name] = C;
|
|
34
|
+
return C;
|
|
35
|
+
};
|
|
36
|
+
exports.createCustomErrorClass = createCustomErrorClass;
|
|
37
|
+
// inspired from https://github.com/programble/errio/blob/master/index.js
|
|
38
|
+
var deserializeError = function (object) {
|
|
39
|
+
if (typeof object === "object" && object) {
|
|
40
|
+
try {
|
|
41
|
+
// $FlowFixMe FIXME HACK
|
|
42
|
+
var msg = JSON.parse(object.message);
|
|
43
|
+
if (msg.message && msg.name) {
|
|
44
|
+
object = msg;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
catch (e) {
|
|
48
|
+
// nothing
|
|
49
|
+
}
|
|
50
|
+
var error = void 0;
|
|
51
|
+
if (typeof object.name === "string") {
|
|
52
|
+
var name_1 = object.name;
|
|
53
|
+
var des = deserializers[name_1];
|
|
54
|
+
if (des) {
|
|
55
|
+
error = des(object);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
var constructor = name_1 === "Error" ? Error : errorClasses[name_1];
|
|
59
|
+
if (!constructor) {
|
|
60
|
+
console.warn("deserializing an unknown class '" + name_1 + "'");
|
|
61
|
+
constructor = (0, exports.createCustomErrorClass)(name_1);
|
|
62
|
+
}
|
|
63
|
+
error = Object.create(constructor.prototype);
|
|
64
|
+
try {
|
|
65
|
+
for (var prop in object) {
|
|
66
|
+
if (object.hasOwnProperty(prop)) {
|
|
67
|
+
error[prop] = object[prop];
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
catch (e) {
|
|
72
|
+
// sometimes setting a property can fail (e.g. .name)
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
error = new Error(object.message);
|
|
78
|
+
}
|
|
79
|
+
if (!error.stack && Error.captureStackTrace) {
|
|
80
|
+
Error.captureStackTrace(error, exports.deserializeError);
|
|
81
|
+
}
|
|
82
|
+
return error;
|
|
83
|
+
}
|
|
84
|
+
return new Error(String(object));
|
|
85
|
+
};
|
|
86
|
+
exports.deserializeError = deserializeError;
|
|
87
|
+
// inspired from https://github.com/sindresorhus/serialize-error/blob/master/index.js
|
|
88
|
+
var serializeError = function (value) {
|
|
89
|
+
if (!value)
|
|
90
|
+
return value;
|
|
91
|
+
if (typeof value === "object") {
|
|
92
|
+
return destroyCircular(value, []);
|
|
93
|
+
}
|
|
94
|
+
if (typeof value === "function") {
|
|
95
|
+
return "[Function: ".concat(value.name || "anonymous", "]");
|
|
96
|
+
}
|
|
97
|
+
return value;
|
|
98
|
+
};
|
|
99
|
+
exports.serializeError = serializeError;
|
|
100
|
+
// https://www.npmjs.com/package/destroy-circular
|
|
101
|
+
function destroyCircular(from, seen) {
|
|
102
|
+
var e_1, _a;
|
|
103
|
+
var to = {};
|
|
104
|
+
seen.push(from);
|
|
105
|
+
try {
|
|
106
|
+
for (var _b = __values(Object.keys(from)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
107
|
+
var key = _c.value;
|
|
108
|
+
var value = from[key];
|
|
109
|
+
if (typeof value === "function") {
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
if (!value || typeof value !== "object") {
|
|
113
|
+
to[key] = value;
|
|
114
|
+
continue;
|
|
115
|
+
}
|
|
116
|
+
if (seen.indexOf(from[key]) === -1) {
|
|
117
|
+
to[key] = destroyCircular(from[key], seen.slice(0));
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
to[key] = "[Circular]";
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
124
|
+
finally {
|
|
125
|
+
try {
|
|
126
|
+
if (_c && !_c.done && (_a = _b["return"])) _a.call(_b);
|
|
127
|
+
}
|
|
128
|
+
finally { if (e_1) throw e_1.error; }
|
|
129
|
+
}
|
|
130
|
+
if (typeof from.name === "string") {
|
|
131
|
+
to.name = from.name;
|
|
132
|
+
}
|
|
133
|
+
if (typeof from.message === "string") {
|
|
134
|
+
to.message = from.message;
|
|
135
|
+
}
|
|
136
|
+
if (typeof from.stack === "string") {
|
|
137
|
+
to.stack = from.stack;
|
|
138
|
+
}
|
|
139
|
+
return to;
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,mCAAmC;AACnC,sCAAsC;AACtC,0CAA0C;;;;;;;;;;;;;;AAE1C,IAAM,YAAY,GAAG,EAAE,CAAC;AACxB,IAAM,aAAa,GAAG,EAAE,CAAC;AAElB,IAAM,0BAA0B,GAAG,UACxC,IAAY,EACZ,YAA+B;IAE/B,aAAa,CAAC,IAAI,CAAC,GAAG,YAAY,CAAC;AACrC,CAAC,CAAC;AALW,QAAA,0BAA0B,8BAKrC;AAOK,IAAM,sBAAsB,GAAG,UAAC,IAAY;IACjD,IAAM,CAAC,GAAoB,SAAS,WAAW,CAAC,OAAO,EAAE,MAAM;QAC7D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;QAC/B,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAK,CAAC;IACjC,CAAC,CAAC;IACF,CAAC,CAAC,SAAS,GAAG,IAAI,KAAK,EAAE,CAAC;IAC1B,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACvB,OAAO,CAAC,CAAC;AACX,CAAC,CAAC;AAVW,QAAA,sBAAsB,0BAUjC;AAEF,yEAAyE;AAClE,IAAM,gBAAgB,GAAG,UAAC,MAAW;IAC1C,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,EAAE;QACxC,IAAI;YACF,wBAAwB;YACxB,IAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAA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,CAAC,CAAC,CAAC,CAAC,CAAC;gBACpD,SAAS;aACV;YACD,EAAE,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC;SACxB;;;;;;;;;IACD,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAE;QACjC,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;KACrB;IACD,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;QACpC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;KAC3B;IACD,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE;QAClC,EAAE,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;KACvB;IACD,OAAO,EAAE,CAAC;AACZ,CAAC"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
import { serializeError, deserializeError, createCustomErrorClass, addCustomErrorDeserializer } from "./helpers";
|
|
2
|
+
export { serializeError, deserializeError, createCustomErrorClass, addCustomErrorDeserializer, };
|
|
3
|
+
export declare const AccountNameRequiredError: (message?: string | undefined, fields?: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
} | undefined) => void;
|
|
6
|
+
export declare const AccountNotSupported: (message?: string | undefined, fields?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
} | undefined) => void;
|
|
9
|
+
export declare const AmountRequired: (message?: string | undefined, fields?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
} | undefined) => void;
|
|
12
|
+
export declare const BluetoothRequired: (message?: string | undefined, fields?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
} | undefined) => void;
|
|
15
|
+
export declare const BtcUnmatchedApp: (message?: string | undefined, fields?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
} | undefined) => void;
|
|
18
|
+
export declare const CantOpenDevice: (message?: string | undefined, fields?: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
} | undefined) => void;
|
|
21
|
+
export declare const CashAddrNotSupported: (message?: string | undefined, fields?: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
} | undefined) => void;
|
|
24
|
+
export declare const CurrencyNotSupported: (message?: string | undefined, fields?: {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
} | undefined) => void;
|
|
27
|
+
export declare const DeviceAppVerifyNotSupported: (message?: string | undefined, fields?: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
} | undefined) => void;
|
|
30
|
+
export declare const DeviceGenuineSocketEarlyClose: (message?: string | undefined, fields?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
} | undefined) => void;
|
|
33
|
+
export declare const DeviceNotGenuineError: (message?: string | undefined, fields?: {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
} | undefined) => void;
|
|
36
|
+
export declare const DeviceOnDashboardExpected: (message?: string | undefined, fields?: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
} | undefined) => void;
|
|
39
|
+
export declare const DeviceOnDashboardUnexpected: (message?: string | undefined, fields?: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
} | undefined) => void;
|
|
42
|
+
export declare const DeviceInOSUExpected: (message?: string | undefined, fields?: {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
} | undefined) => void;
|
|
45
|
+
export declare const DeviceHalted: (message?: string | undefined, fields?: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
} | undefined) => void;
|
|
48
|
+
export declare const DeviceNameInvalid: (message?: string | undefined, fields?: {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
} | undefined) => void;
|
|
51
|
+
export declare const DeviceSocketFail: (message?: string | undefined, fields?: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
} | undefined) => void;
|
|
54
|
+
export declare const DeviceSocketNoBulkStatus: (message?: string | undefined, fields?: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
} | undefined) => void;
|
|
57
|
+
export declare const DisconnectedDevice: (message?: string | undefined, fields?: {
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
} | undefined) => void;
|
|
60
|
+
export declare const DisconnectedDeviceDuringOperation: (message?: string | undefined, fields?: {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
} | undefined) => void;
|
|
63
|
+
export declare const EnpointConfigError: (message?: string | undefined, fields?: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
} | undefined) => void;
|
|
66
|
+
export declare const EthAppPleaseEnableContractData: (message?: string | undefined, fields?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
} | undefined) => void;
|
|
69
|
+
export declare const FeeEstimationFailed: (message?: string | undefined, fields?: {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
} | undefined) => void;
|
|
72
|
+
export declare const FirmwareNotRecognized: (message?: string | undefined, fields?: {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
} | undefined) => void;
|
|
75
|
+
export declare const HardResetFail: (message?: string | undefined, fields?: {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
} | undefined) => void;
|
|
78
|
+
export declare const InvalidXRPTag: (message?: string | undefined, fields?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
} | undefined) => void;
|
|
81
|
+
export declare const InvalidAddress: (message?: string | undefined, fields?: {
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
} | undefined) => void;
|
|
84
|
+
export declare const InvalidAddressBecauseDestinationIsAlsoSource: (message?: string | undefined, fields?: {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
} | undefined) => void;
|
|
87
|
+
export declare const LatestMCUInstalledError: (message?: string | undefined, fields?: {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
} | undefined) => void;
|
|
90
|
+
export declare const UnknownMCU: (message?: string | undefined, fields?: {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
} | undefined) => void;
|
|
93
|
+
export declare const LedgerAPIError: (message?: string | undefined, fields?: {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
} | undefined) => void;
|
|
96
|
+
export declare const LedgerAPIErrorWithMessage: (message?: string | undefined, fields?: {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
} | undefined) => void;
|
|
99
|
+
export declare const LedgerAPINotAvailable: (message?: string | undefined, fields?: {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
} | undefined) => void;
|
|
102
|
+
export declare const ManagerAppAlreadyInstalledError: (message?: string | undefined, fields?: {
|
|
103
|
+
[key: string]: any;
|
|
104
|
+
} | undefined) => void;
|
|
105
|
+
export declare const ManagerAppRelyOnBTCError: (message?: string | undefined, fields?: {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
} | undefined) => void;
|
|
108
|
+
export declare const ManagerAppDepInstallRequired: (message?: string | undefined, fields?: {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
} | undefined) => void;
|
|
111
|
+
export declare const ManagerAppDepUninstallRequired: (message?: string | undefined, fields?: {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
} | undefined) => void;
|
|
114
|
+
export declare const ManagerDeviceLockedError: (message?: string | undefined, fields?: {
|
|
115
|
+
[key: string]: any;
|
|
116
|
+
} | undefined) => void;
|
|
117
|
+
export declare const ManagerFirmwareNotEnoughSpaceError: (message?: string | undefined, fields?: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
} | undefined) => void;
|
|
120
|
+
export declare const ManagerNotEnoughSpaceError: (message?: string | undefined, fields?: {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
} | undefined) => void;
|
|
123
|
+
export declare const ManagerUninstallBTCDep: (message?: string | undefined, fields?: {
|
|
124
|
+
[key: string]: any;
|
|
125
|
+
} | undefined) => void;
|
|
126
|
+
export declare const NetworkDown: (message?: string | undefined, fields?: {
|
|
127
|
+
[key: string]: any;
|
|
128
|
+
} | undefined) => void;
|
|
129
|
+
export declare const NoAddressesFound: (message?: string | undefined, fields?: {
|
|
130
|
+
[key: string]: any;
|
|
131
|
+
} | undefined) => void;
|
|
132
|
+
export declare const NotEnoughBalance: (message?: string | undefined, fields?: {
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
} | undefined) => void;
|
|
135
|
+
export declare const NotEnoughBalanceToDelegate: (message?: string | undefined, fields?: {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
} | undefined) => void;
|
|
138
|
+
export declare const NotEnoughBalanceInParentAccount: (message?: string | undefined, fields?: {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
} | undefined) => void;
|
|
141
|
+
export declare const NotEnoughSpendableBalance: (message?: string | undefined, fields?: {
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
} | undefined) => void;
|
|
144
|
+
export declare const NotEnoughBalanceBecauseDestinationNotCreated: (message?: string | undefined, fields?: {
|
|
145
|
+
[key: string]: any;
|
|
146
|
+
} | undefined) => void;
|
|
147
|
+
export declare const NoAccessToCamera: (message?: string | undefined, fields?: {
|
|
148
|
+
[key: string]: any;
|
|
149
|
+
} | undefined) => void;
|
|
150
|
+
export declare const NotEnoughGas: (message?: string | undefined, fields?: {
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
} | undefined) => void;
|
|
153
|
+
export declare const NotSupportedLegacyAddress: (message?: string | undefined, fields?: {
|
|
154
|
+
[key: string]: any;
|
|
155
|
+
} | undefined) => void;
|
|
156
|
+
export declare const GasLessThanEstimate: (message?: string | undefined, fields?: {
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
} | undefined) => void;
|
|
159
|
+
export declare const PasswordsDontMatchError: (message?: string | undefined, fields?: {
|
|
160
|
+
[key: string]: any;
|
|
161
|
+
} | undefined) => void;
|
|
162
|
+
export declare const PasswordIncorrectError: (message?: string | undefined, fields?: {
|
|
163
|
+
[key: string]: any;
|
|
164
|
+
} | undefined) => void;
|
|
165
|
+
export declare const RecommendSubAccountsToEmpty: (message?: string | undefined, fields?: {
|
|
166
|
+
[key: string]: any;
|
|
167
|
+
} | undefined) => void;
|
|
168
|
+
export declare const RecommendUndelegation: (message?: string | undefined, fields?: {
|
|
169
|
+
[key: string]: any;
|
|
170
|
+
} | undefined) => void;
|
|
171
|
+
export declare const TimeoutTagged: (message?: string | undefined, fields?: {
|
|
172
|
+
[key: string]: any;
|
|
173
|
+
} | undefined) => void;
|
|
174
|
+
export declare const UnexpectedBootloader: (message?: string | undefined, fields?: {
|
|
175
|
+
[key: string]: any;
|
|
176
|
+
} | undefined) => void;
|
|
177
|
+
export declare const MCUNotGenuineToDashboard: (message?: string | undefined, fields?: {
|
|
178
|
+
[key: string]: any;
|
|
179
|
+
} | undefined) => void;
|
|
180
|
+
export declare const RecipientRequired: (message?: string | undefined, fields?: {
|
|
181
|
+
[key: string]: any;
|
|
182
|
+
} | undefined) => void;
|
|
183
|
+
export declare const UnavailableTezosOriginatedAccountReceive: (message?: string | undefined, fields?: {
|
|
184
|
+
[key: string]: any;
|
|
185
|
+
} | undefined) => void;
|
|
186
|
+
export declare const UnavailableTezosOriginatedAccountSend: (message?: string | undefined, fields?: {
|
|
187
|
+
[key: string]: any;
|
|
188
|
+
} | undefined) => void;
|
|
189
|
+
export declare const UpdateFetchFileFail: (message?: string | undefined, fields?: {
|
|
190
|
+
[key: string]: any;
|
|
191
|
+
} | undefined) => void;
|
|
192
|
+
export declare const UpdateIncorrectHash: (message?: string | undefined, fields?: {
|
|
193
|
+
[key: string]: any;
|
|
194
|
+
} | undefined) => void;
|
|
195
|
+
export declare const UpdateIncorrectSig: (message?: string | undefined, fields?: {
|
|
196
|
+
[key: string]: any;
|
|
197
|
+
} | undefined) => void;
|
|
198
|
+
export declare const UpdateYourApp: (message?: string | undefined, fields?: {
|
|
199
|
+
[key: string]: any;
|
|
200
|
+
} | undefined) => void;
|
|
201
|
+
export declare const UserRefusedDeviceNameChange: (message?: string | undefined, fields?: {
|
|
202
|
+
[key: string]: any;
|
|
203
|
+
} | undefined) => void;
|
|
204
|
+
export declare const UserRefusedAddress: (message?: string | undefined, fields?: {
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
} | undefined) => void;
|
|
207
|
+
export declare const UserRefusedFirmwareUpdate: (message?: string | undefined, fields?: {
|
|
208
|
+
[key: string]: any;
|
|
209
|
+
} | undefined) => void;
|
|
210
|
+
export declare const UserRefusedAllowManager: (message?: string | undefined, fields?: {
|
|
211
|
+
[key: string]: any;
|
|
212
|
+
} | undefined) => void;
|
|
213
|
+
export declare const UserRefusedOnDevice: (message?: string | undefined, fields?: {
|
|
214
|
+
[key: string]: any;
|
|
215
|
+
} | undefined) => void;
|
|
216
|
+
export declare const TransportOpenUserCancelled: (message?: string | undefined, fields?: {
|
|
217
|
+
[key: string]: any;
|
|
218
|
+
} | undefined) => void;
|
|
219
|
+
export declare const TransportInterfaceNotAvailable: (message?: string | undefined, fields?: {
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
} | undefined) => void;
|
|
222
|
+
export declare const TransportRaceCondition: (message?: string | undefined, fields?: {
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
} | undefined) => void;
|
|
225
|
+
export declare const TransportWebUSBGestureRequired: (message?: string | undefined, fields?: {
|
|
226
|
+
[key: string]: any;
|
|
227
|
+
} | undefined) => void;
|
|
228
|
+
export declare const DeviceShouldStayInApp: (message?: string | undefined, fields?: {
|
|
229
|
+
[key: string]: any;
|
|
230
|
+
} | undefined) => void;
|
|
231
|
+
export declare const WebsocketConnectionError: (message?: string | undefined, fields?: {
|
|
232
|
+
[key: string]: any;
|
|
233
|
+
} | undefined) => void;
|
|
234
|
+
export declare const WebsocketConnectionFailed: (message?: string | undefined, fields?: {
|
|
235
|
+
[key: string]: any;
|
|
236
|
+
} | undefined) => void;
|
|
237
|
+
export declare const WrongDeviceForAccount: (message?: string | undefined, fields?: {
|
|
238
|
+
[key: string]: any;
|
|
239
|
+
} | undefined) => void;
|
|
240
|
+
export declare const WrongAppForCurrency: (message?: string | undefined, fields?: {
|
|
241
|
+
[key: string]: any;
|
|
242
|
+
} | undefined) => void;
|
|
243
|
+
export declare const ETHAddressNonEIP: (message?: string | undefined, fields?: {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
} | undefined) => void;
|
|
246
|
+
export declare const CantScanQRCode: (message?: string | undefined, fields?: {
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
} | undefined) => void;
|
|
249
|
+
export declare const FeeNotLoaded: (message?: string | undefined, fields?: {
|
|
250
|
+
[key: string]: any;
|
|
251
|
+
} | undefined) => void;
|
|
252
|
+
export declare const FeeRequired: (message?: string | undefined, fields?: {
|
|
253
|
+
[key: string]: any;
|
|
254
|
+
} | undefined) => void;
|
|
255
|
+
export declare const FeeTooHigh: (message?: string | undefined, fields?: {
|
|
256
|
+
[key: string]: any;
|
|
257
|
+
} | undefined) => void;
|
|
258
|
+
export declare const SyncError: (message?: string | undefined, fields?: {
|
|
259
|
+
[key: string]: any;
|
|
260
|
+
} | undefined) => void;
|
|
261
|
+
export declare const PairingFailed: (message?: string | undefined, fields?: {
|
|
262
|
+
[key: string]: any;
|
|
263
|
+
} | undefined) => void;
|
|
264
|
+
export declare const GenuineCheckFailed: (message?: string | undefined, fields?: {
|
|
265
|
+
[key: string]: any;
|
|
266
|
+
} | undefined) => void;
|
|
267
|
+
export declare const LedgerAPI4xx: (message?: string | undefined, fields?: {
|
|
268
|
+
[key: string]: any;
|
|
269
|
+
} | undefined) => void;
|
|
270
|
+
export declare const LedgerAPI5xx: (message?: string | undefined, fields?: {
|
|
271
|
+
[key: string]: any;
|
|
272
|
+
} | undefined) => void;
|
|
273
|
+
export declare const FirmwareOrAppUpdateRequired: (message?: string | undefined, fields?: {
|
|
274
|
+
[key: string]: any;
|
|
275
|
+
} | undefined) => void;
|
|
276
|
+
export declare const NoDBPathGiven: (message?: string | undefined, fields?: {
|
|
277
|
+
[key: string]: any;
|
|
278
|
+
} | undefined) => void;
|
|
279
|
+
export declare const DBWrongPassword: (message?: string | undefined, fields?: {
|
|
280
|
+
[key: string]: any;
|
|
281
|
+
} | undefined) => void;
|
|
282
|
+
export declare const DBNotReset: (message?: string | undefined, fields?: {
|
|
283
|
+
[key: string]: any;
|
|
284
|
+
} | undefined) => void;
|
|
285
|
+
/**
|
|
286
|
+
* TransportError is used for any generic transport errors.
|
|
287
|
+
* e.g. Error thrown when data received by exchanges are incorrect or if exchanged failed to communicate with the device for various reason.
|
|
288
|
+
*/
|
|
289
|
+
export declare function TransportError(message: string, id: string): void;
|
|
290
|
+
export declare namespace TransportError {
|
|
291
|
+
var prototype: Error;
|
|
292
|
+
}
|
|
293
|
+
export declare const StatusCodes: {
|
|
294
|
+
PIN_REMAINING_ATTEMPTS: number;
|
|
295
|
+
INCORRECT_LENGTH: number;
|
|
296
|
+
MISSING_CRITICAL_PARAMETER: number;
|
|
297
|
+
COMMAND_INCOMPATIBLE_FILE_STRUCTURE: number;
|
|
298
|
+
SECURITY_STATUS_NOT_SATISFIED: number;
|
|
299
|
+
CONDITIONS_OF_USE_NOT_SATISFIED: number;
|
|
300
|
+
INCORRECT_DATA: number;
|
|
301
|
+
NOT_ENOUGH_MEMORY_SPACE: number;
|
|
302
|
+
REFERENCED_DATA_NOT_FOUND: number;
|
|
303
|
+
FILE_ALREADY_EXISTS: number;
|
|
304
|
+
INCORRECT_P1_P2: number;
|
|
305
|
+
INS_NOT_SUPPORTED: number;
|
|
306
|
+
CLA_NOT_SUPPORTED: number;
|
|
307
|
+
TECHNICAL_PROBLEM: number;
|
|
308
|
+
OK: number;
|
|
309
|
+
MEMORY_PROBLEM: number;
|
|
310
|
+
NO_EF_SELECTED: number;
|
|
311
|
+
INVALID_OFFSET: number;
|
|
312
|
+
FILE_NOT_FOUND: number;
|
|
313
|
+
INCONSISTENT_FILE: number;
|
|
314
|
+
ALGORITHM_NOT_SUPPORTED: number;
|
|
315
|
+
INVALID_KCV: number;
|
|
316
|
+
CODE_NOT_INITIALIZED: number;
|
|
317
|
+
ACCESS_CONDITION_NOT_FULFILLED: number;
|
|
318
|
+
CONTRADICTION_SECRET_CODE_STATUS: number;
|
|
319
|
+
CONTRADICTION_INVALIDATION: number;
|
|
320
|
+
CODE_BLOCKED: number;
|
|
321
|
+
MAX_VALUE_REACHED: number;
|
|
322
|
+
GP_AUTH_FAILED: number;
|
|
323
|
+
LICENSING: number;
|
|
324
|
+
HALTED: number;
|
|
325
|
+
};
|
|
326
|
+
export declare function getAltStatusMessage(code: number): string | undefined | null;
|
|
327
|
+
/**
|
|
328
|
+
* Error thrown when a device returned a non success status.
|
|
329
|
+
* the error.statusCode is one of the `StatusCodes` exported by this library.
|
|
330
|
+
*/
|
|
331
|
+
export declare function TransportStatusError(statusCode: number): void;
|
|
332
|
+
export declare namespace TransportStatusError {
|
|
333
|
+
var prototype: Error;
|
|
334
|
+
}
|
|
335
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,GAC3B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;sBAEpC,CAAC;AACF,eAAO,MAAM,mBAAmB;;sBAE/B,CAAC;AACF,eAAO,MAAM,cAAc;;sBAA2C,CAAC;AACvE,eAAO,MAAM,iBAAiB;;sBAA8C,CAAC;AAC7E,eAAO,MAAM,eAAe;;sBAA4C,CAAC;AACzE,eAAO,MAAM,cAAc;;sBAA2C,CAAC;AACvE,eAAO,MAAM,oBAAoB;;sBAEhC,CAAC;AACF,eAAO,MAAM,oBAAoB;;sBAEhC,CAAC;AACF,eAAO,MAAM,2BAA2B;;sBAEvC,CAAC;AACF,eAAO,MAAM,6BAA6B;;sBAEzC,CAAC;AACF,eAAO,MAAM,qBAAqB;;sBAA6C,CAAC;AAChF,eAAO,MAAM,yBAAyB;;sBAErC,CAAC;AACF,eAAO,MAAM,2BAA2B;;sBAEvC,CAAC;AACF,eAAO,MAAM,mBAAmB;;sBAE/B,CAAC;AACF,e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