@taquito/core 17.3.2 → 17.4.0
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/dist/lib/errors.js +0 -1
- package/dist/lib/taquito-core.js +5 -2
- package/dist/lib/version.js +2 -3
- package/dist/taquito-core.es6.js +290 -290
- package/dist/taquito-core.es6.js.map +1 -1
- package/dist/taquito-core.umd.js +290 -292
- package/dist/taquito-core.umd.js.map +1 -1
- package/dist/types/errors.d.ts +202 -202
- package/dist/types/taquito-core.d.ts +5 -5
- package/dist/types/version.d.ts +4 -4
- package/package.json +14 -7
- package/dist/lib/errors.js.map +0 -1
- package/dist/lib/taquito-core.js.map +0 -1
- package/dist/lib/version.js.map +0 -1
package/dist/lib/errors.js
CHANGED
package/dist/lib/taquito-core.js
CHANGED
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
8
|
-
Object.
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
9
13
|
}) : (function(o, m, k, k2) {
|
|
10
14
|
if (k2 === undefined) k2 = k;
|
|
11
15
|
o[k2] = m[k];
|
|
@@ -15,4 +19,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
19
|
};
|
|
16
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
21
|
__exportStar(require("./errors"), exports);
|
|
18
|
-
//# sourceMappingURL=taquito-core.js.map
|
package/dist/lib/version.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
5
5
|
exports.VERSION = {
|
|
6
|
-
"commitHash": "
|
|
7
|
-
"version": "17.
|
|
6
|
+
"commitHash": "a908ab176a8c52c025fd43e7acd452415396f54e",
|
|
7
|
+
"version": "17.4.0"
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=version.js.map
|
package/dist/taquito-core.es6.js
CHANGED
|
@@ -1,293 +1,293 @@
|
|
|
1
|
-
// ==========================================================================================
|
|
2
|
-
// parent error classes for Taquito
|
|
3
|
-
// ==========================================================================================
|
|
4
|
-
/**
|
|
5
|
-
* @category Error
|
|
6
|
-
* @description Parent error class all taquito errors to extend from
|
|
7
|
-
*/
|
|
8
|
-
class TaquitoError extends Error {
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @category Error
|
|
12
|
-
* @description Error that indicates invalid user inputs
|
|
13
|
-
*/
|
|
14
|
-
class ParameterValidationError extends TaquitoError {
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @category Error
|
|
18
|
-
* @description Error returned by RPC node
|
|
19
|
-
*/
|
|
20
|
-
class RpcError extends TaquitoError {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @category Error
|
|
24
|
-
* @description Error that indicates TezosToolKit has not been configured appropriately
|
|
25
|
-
*/
|
|
26
|
-
class TezosToolkitConfigError extends TaquitoError {
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @category Error
|
|
30
|
-
* @description Error that indicates a requested action is not supported by Taquito
|
|
31
|
-
*/
|
|
32
|
-
class UnsupportedActionError extends TaquitoError {
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @category Error
|
|
36
|
-
* @description Error during a network operation
|
|
37
|
-
*/
|
|
38
|
-
class NetworkError extends TaquitoError {
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* @category Error
|
|
42
|
-
* @description Error that indicates user attempts an action without necessary permissions
|
|
43
|
-
*/
|
|
44
|
-
class PermissionDeniedError extends TaquitoError {
|
|
45
|
-
}
|
|
46
|
-
// ==========================================================================================
|
|
47
|
-
// common error classes for Taquito
|
|
48
|
-
// ==========================================================================================
|
|
49
|
-
/**
|
|
50
|
-
* @category Error
|
|
51
|
-
* @description Error that indicates an invalid originated or implicit address being passed or used
|
|
52
|
-
*/
|
|
53
|
-
class InvalidAddressError extends ParameterValidationError {
|
|
54
|
-
constructor(address, errorDetail) {
|
|
55
|
-
super();
|
|
56
|
-
this.address = address;
|
|
57
|
-
this.errorDetail = errorDetail;
|
|
58
|
-
this.name = 'InvalidAddressError';
|
|
59
|
-
this.message = `Invalid address "${address}"`;
|
|
60
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @category Error
|
|
65
|
-
* @description Error that indicates an invalid block hash being passed or used
|
|
66
|
-
*/
|
|
67
|
-
class InvalidBlockHashError extends ParameterValidationError {
|
|
68
|
-
constructor(blockHash, errorDetail) {
|
|
69
|
-
super();
|
|
70
|
-
this.blockHash = blockHash;
|
|
71
|
-
this.errorDetail = errorDetail;
|
|
72
|
-
this.name = 'InvalidBlockHashError';
|
|
73
|
-
this.message = `Invalid block hash "${blockHash}"`;
|
|
74
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @category Error
|
|
79
|
-
* @description Error that indicates an invalid amount of tez being passed as a parameter
|
|
80
|
-
*/
|
|
81
|
-
class InvalidAmountError extends ParameterValidationError {
|
|
82
|
-
constructor(amount) {
|
|
83
|
-
super();
|
|
84
|
-
this.amount = amount;
|
|
85
|
-
this.name = 'InvalidAmountError';
|
|
86
|
-
this.message = `Invalid amount "${amount}"`;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* @category Error
|
|
91
|
-
* @description Error that indicates an invalid derivation path being passed or used
|
|
92
|
-
*/
|
|
93
|
-
class InvalidDerivationPathError extends ParameterValidationError {
|
|
94
|
-
constructor(derivationPath, errorDetail) {
|
|
95
|
-
super();
|
|
96
|
-
this.derivationPath = derivationPath;
|
|
97
|
-
this.errorDetail = errorDetail;
|
|
98
|
-
this.name = 'InvalidDerivationPathError';
|
|
99
|
-
this.message = `Invalid derivation path "${derivationPath}"`;
|
|
100
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* @category Error
|
|
105
|
-
* @description Error that indicates an invalid hex string have been passed or used
|
|
106
|
-
*/
|
|
107
|
-
class InvalidHexStringError extends ParameterValidationError {
|
|
108
|
-
constructor(hexString, errorDetail) {
|
|
109
|
-
super();
|
|
110
|
-
this.hexString = hexString;
|
|
111
|
-
this.errorDetail = errorDetail;
|
|
112
|
-
this.name = 'InvalidHexStringError';
|
|
113
|
-
this.message = `Invalid hex string "${hexString}"`;
|
|
114
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* @category Error
|
|
119
|
-
* @description Error that indicates an invalid message being passed or used
|
|
120
|
-
*/
|
|
121
|
-
class InvalidMessageError extends ParameterValidationError {
|
|
122
|
-
constructor(msg, errorDetail) {
|
|
123
|
-
super();
|
|
124
|
-
this.msg = msg;
|
|
125
|
-
this.errorDetail = errorDetail;
|
|
126
|
-
this.name = 'InvalidMessageError';
|
|
127
|
-
this.message = `Invalid message "${msg}"`;
|
|
128
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* @category Error
|
|
133
|
-
* @description Error that indicates invalid view parameter of a smart contract
|
|
134
|
-
*/
|
|
135
|
-
class InvalidViewParameterError extends ParameterValidationError {
|
|
136
|
-
constructor(viewName, sigs, args, cause) {
|
|
137
|
-
super();
|
|
138
|
-
this.viewName = viewName;
|
|
139
|
-
this.sigs = sigs;
|
|
140
|
-
this.args = args;
|
|
141
|
-
this.cause = cause;
|
|
142
|
-
this.name = 'InvalidViewParameterError';
|
|
143
|
-
this.message = `Invalid view arguments ${JSON.stringify(args)} received for name "${viewName}" expecting one of the following signatures ${JSON.stringify(sigs)}.`;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* @category Error
|
|
148
|
-
* @description Error that indicates an invalid private key being passed or used
|
|
149
|
-
*/
|
|
150
|
-
class InvalidKeyError extends ParameterValidationError {
|
|
151
|
-
constructor(errorDetail) {
|
|
152
|
-
super();
|
|
153
|
-
this.errorDetail = errorDetail;
|
|
154
|
-
this.name = 'InvalidKeyError';
|
|
155
|
-
this.message = `Invalid private key`;
|
|
156
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* @category Error
|
|
161
|
-
* @description Error that indicates an Invalid Public Key being passed or used
|
|
162
|
-
*/
|
|
163
|
-
class InvalidPublicKeyError extends ParameterValidationError {
|
|
164
|
-
constructor(publicKey, errorDetail) {
|
|
165
|
-
super();
|
|
166
|
-
this.publicKey = publicKey;
|
|
167
|
-
this.errorDetail = errorDetail;
|
|
168
|
-
this.name = 'InvalidPublicKeyError';
|
|
169
|
-
this.message = `Invalid public key "${publicKey}"`;
|
|
170
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* @category Error
|
|
175
|
-
* @description Error that indicates an invalid signature being passed or used
|
|
176
|
-
*/
|
|
177
|
-
class InvalidSignatureError extends ParameterValidationError {
|
|
178
|
-
constructor(signature, errorDetail) {
|
|
179
|
-
super();
|
|
180
|
-
this.signature = signature;
|
|
181
|
-
this.errorDetail = errorDetail;
|
|
182
|
-
this.name = 'InvalidSignatureError';
|
|
183
|
-
this.message = `Invalid signature "${signature}"`;
|
|
184
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* @category Error
|
|
189
|
-
* @description Error that indicates an invalid contract address being passed or used
|
|
190
|
-
*/
|
|
191
|
-
class InvalidContractAddressError extends ParameterValidationError {
|
|
192
|
-
constructor(contractAddress, errorDetail) {
|
|
193
|
-
super();
|
|
194
|
-
this.contractAddress = contractAddress;
|
|
195
|
-
this.errorDetail = errorDetail;
|
|
196
|
-
this.name = 'InvalidContractAddressError';
|
|
197
|
-
this.message = `Invalid contract address "${contractAddress}"`;
|
|
198
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* @category Error
|
|
203
|
-
* @description Error that indicates an invalid chain id being passed or used
|
|
204
|
-
*/
|
|
205
|
-
class InvalidChainIdError extends ParameterValidationError {
|
|
206
|
-
constructor(chainId, errorDetail) {
|
|
207
|
-
super();
|
|
208
|
-
this.chainId = chainId;
|
|
209
|
-
this.errorDetail = errorDetail;
|
|
210
|
-
this.name = 'InvalidChainIdError';
|
|
211
|
-
this.message = `Invalid chain id "${chainId}"`;
|
|
212
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* @category Error
|
|
217
|
-
* @description Error that indicates an invalid public key hash being passed or used
|
|
218
|
-
*/
|
|
219
|
-
class InvalidKeyHashError extends ParameterValidationError {
|
|
220
|
-
constructor(keyHash, errorDetail) {
|
|
221
|
-
super();
|
|
222
|
-
this.keyHash = keyHash;
|
|
223
|
-
this.errorDetail = errorDetail;
|
|
224
|
-
this.name = 'InvalidKeyHashError';
|
|
225
|
-
this.message = `Invalid public key hash "${keyHash}"`;
|
|
226
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* @category Error
|
|
231
|
-
* @description Error that indicates an invalid operation hash being passed or used
|
|
232
|
-
*/
|
|
233
|
-
class InvalidOperationHashError extends ParameterValidationError {
|
|
234
|
-
constructor(operationHash, errorDetail) {
|
|
235
|
-
super();
|
|
236
|
-
this.operationHash = operationHash;
|
|
237
|
-
this.errorDetail = errorDetail;
|
|
238
|
-
this.name = 'InvalidOperationHashError';
|
|
239
|
-
this.message = `Invalid operation hash "${operationHash}"`;
|
|
240
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* @category Error
|
|
245
|
-
* @description Error that indicates an invalid operation kind being passed or used
|
|
246
|
-
*/
|
|
247
|
-
class InvalidOperationKindError extends ParameterValidationError {
|
|
248
|
-
constructor(operationKind, errorDetail) {
|
|
249
|
-
super();
|
|
250
|
-
this.operationKind = operationKind;
|
|
251
|
-
this.errorDetail = errorDetail;
|
|
252
|
-
this.name = 'InvalidOperationKindError';
|
|
253
|
-
this.message = `Invalid operation kind "${operationKind}"`;
|
|
254
|
-
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* @category Error
|
|
259
|
-
* @description General error that indicates something is no longer supported and/or deprecated
|
|
260
|
-
*/
|
|
261
|
-
class DeprecationError extends UnsupportedActionError {
|
|
262
|
-
constructor(message) {
|
|
263
|
-
super();
|
|
264
|
-
this.message = message;
|
|
265
|
-
this.name = 'DeprecationError';
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* @category Error
|
|
270
|
-
* @description General error that indicates an action is prohibited or not allowed
|
|
271
|
-
*/
|
|
272
|
-
class ProhibitedActionError extends UnsupportedActionError {
|
|
273
|
-
constructor(message) {
|
|
274
|
-
super();
|
|
275
|
-
this.message = message;
|
|
276
|
-
this.name = 'ProhibitedActionError';
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* @category Error
|
|
281
|
-
* @description Error that indicates a failure in grabbing the public key
|
|
282
|
-
*/
|
|
283
|
-
class PublicKeyNotFoundError extends TaquitoError {
|
|
284
|
-
constructor(pkh, cause) {
|
|
285
|
-
super();
|
|
286
|
-
this.pkh = pkh;
|
|
287
|
-
this.cause = cause;
|
|
288
|
-
this.name = 'PublicKeyNotFoundError';
|
|
289
|
-
this.message = `Public key not found of this address "${pkh}" in either wallet or contract API.`;
|
|
290
|
-
}
|
|
1
|
+
// ==========================================================================================
|
|
2
|
+
// parent error classes for Taquito
|
|
3
|
+
// ==========================================================================================
|
|
4
|
+
/**
|
|
5
|
+
* @category Error
|
|
6
|
+
* @description Parent error class all taquito errors to extend from
|
|
7
|
+
*/
|
|
8
|
+
class TaquitoError extends Error {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @category Error
|
|
12
|
+
* @description Error that indicates invalid user inputs
|
|
13
|
+
*/
|
|
14
|
+
class ParameterValidationError extends TaquitoError {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @category Error
|
|
18
|
+
* @description Error returned by RPC node
|
|
19
|
+
*/
|
|
20
|
+
class RpcError extends TaquitoError {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @category Error
|
|
24
|
+
* @description Error that indicates TezosToolKit has not been configured appropriately
|
|
25
|
+
*/
|
|
26
|
+
class TezosToolkitConfigError extends TaquitoError {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @category Error
|
|
30
|
+
* @description Error that indicates a requested action is not supported by Taquito
|
|
31
|
+
*/
|
|
32
|
+
class UnsupportedActionError extends TaquitoError {
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @category Error
|
|
36
|
+
* @description Error during a network operation
|
|
37
|
+
*/
|
|
38
|
+
class NetworkError extends TaquitoError {
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @category Error
|
|
42
|
+
* @description Error that indicates user attempts an action without necessary permissions
|
|
43
|
+
*/
|
|
44
|
+
class PermissionDeniedError extends TaquitoError {
|
|
45
|
+
}
|
|
46
|
+
// ==========================================================================================
|
|
47
|
+
// common error classes for Taquito
|
|
48
|
+
// ==========================================================================================
|
|
49
|
+
/**
|
|
50
|
+
* @category Error
|
|
51
|
+
* @description Error that indicates an invalid originated or implicit address being passed or used
|
|
52
|
+
*/
|
|
53
|
+
class InvalidAddressError extends ParameterValidationError {
|
|
54
|
+
constructor(address, errorDetail) {
|
|
55
|
+
super();
|
|
56
|
+
this.address = address;
|
|
57
|
+
this.errorDetail = errorDetail;
|
|
58
|
+
this.name = 'InvalidAddressError';
|
|
59
|
+
this.message = `Invalid address "${address}"`;
|
|
60
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @category Error
|
|
65
|
+
* @description Error that indicates an invalid block hash being passed or used
|
|
66
|
+
*/
|
|
67
|
+
class InvalidBlockHashError extends ParameterValidationError {
|
|
68
|
+
constructor(blockHash, errorDetail) {
|
|
69
|
+
super();
|
|
70
|
+
this.blockHash = blockHash;
|
|
71
|
+
this.errorDetail = errorDetail;
|
|
72
|
+
this.name = 'InvalidBlockHashError';
|
|
73
|
+
this.message = `Invalid block hash "${blockHash}"`;
|
|
74
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @category Error
|
|
79
|
+
* @description Error that indicates an invalid amount of tez being passed as a parameter
|
|
80
|
+
*/
|
|
81
|
+
class InvalidAmountError extends ParameterValidationError {
|
|
82
|
+
constructor(amount) {
|
|
83
|
+
super();
|
|
84
|
+
this.amount = amount;
|
|
85
|
+
this.name = 'InvalidAmountError';
|
|
86
|
+
this.message = `Invalid amount "${amount}"`;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @category Error
|
|
91
|
+
* @description Error that indicates an invalid derivation path being passed or used
|
|
92
|
+
*/
|
|
93
|
+
class InvalidDerivationPathError extends ParameterValidationError {
|
|
94
|
+
constructor(derivationPath, errorDetail) {
|
|
95
|
+
super();
|
|
96
|
+
this.derivationPath = derivationPath;
|
|
97
|
+
this.errorDetail = errorDetail;
|
|
98
|
+
this.name = 'InvalidDerivationPathError';
|
|
99
|
+
this.message = `Invalid derivation path "${derivationPath}"`;
|
|
100
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @category Error
|
|
105
|
+
* @description Error that indicates an invalid hex string have been passed or used
|
|
106
|
+
*/
|
|
107
|
+
class InvalidHexStringError extends ParameterValidationError {
|
|
108
|
+
constructor(hexString, errorDetail) {
|
|
109
|
+
super();
|
|
110
|
+
this.hexString = hexString;
|
|
111
|
+
this.errorDetail = errorDetail;
|
|
112
|
+
this.name = 'InvalidHexStringError';
|
|
113
|
+
this.message = `Invalid hex string "${hexString}"`;
|
|
114
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @category Error
|
|
119
|
+
* @description Error that indicates an invalid message being passed or used
|
|
120
|
+
*/
|
|
121
|
+
class InvalidMessageError extends ParameterValidationError {
|
|
122
|
+
constructor(msg, errorDetail) {
|
|
123
|
+
super();
|
|
124
|
+
this.msg = msg;
|
|
125
|
+
this.errorDetail = errorDetail;
|
|
126
|
+
this.name = 'InvalidMessageError';
|
|
127
|
+
this.message = `Invalid message "${msg}"`;
|
|
128
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @category Error
|
|
133
|
+
* @description Error that indicates invalid view parameter of a smart contract
|
|
134
|
+
*/
|
|
135
|
+
class InvalidViewParameterError extends ParameterValidationError {
|
|
136
|
+
constructor(viewName, sigs, args, cause) {
|
|
137
|
+
super();
|
|
138
|
+
this.viewName = viewName;
|
|
139
|
+
this.sigs = sigs;
|
|
140
|
+
this.args = args;
|
|
141
|
+
this.cause = cause;
|
|
142
|
+
this.name = 'InvalidViewParameterError';
|
|
143
|
+
this.message = `Invalid view arguments ${JSON.stringify(args)} received for name "${viewName}" expecting one of the following signatures ${JSON.stringify(sigs)}.`;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @category Error
|
|
148
|
+
* @description Error that indicates an invalid private key being passed or used
|
|
149
|
+
*/
|
|
150
|
+
class InvalidKeyError extends ParameterValidationError {
|
|
151
|
+
constructor(errorDetail) {
|
|
152
|
+
super();
|
|
153
|
+
this.errorDetail = errorDetail;
|
|
154
|
+
this.name = 'InvalidKeyError';
|
|
155
|
+
this.message = `Invalid private key`;
|
|
156
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @category Error
|
|
161
|
+
* @description Error that indicates an Invalid Public Key being passed or used
|
|
162
|
+
*/
|
|
163
|
+
class InvalidPublicKeyError extends ParameterValidationError {
|
|
164
|
+
constructor(publicKey, errorDetail) {
|
|
165
|
+
super();
|
|
166
|
+
this.publicKey = publicKey;
|
|
167
|
+
this.errorDetail = errorDetail;
|
|
168
|
+
this.name = 'InvalidPublicKeyError';
|
|
169
|
+
this.message = `Invalid public key "${publicKey}"`;
|
|
170
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @category Error
|
|
175
|
+
* @description Error that indicates an invalid signature being passed or used
|
|
176
|
+
*/
|
|
177
|
+
class InvalidSignatureError extends ParameterValidationError {
|
|
178
|
+
constructor(signature, errorDetail) {
|
|
179
|
+
super();
|
|
180
|
+
this.signature = signature;
|
|
181
|
+
this.errorDetail = errorDetail;
|
|
182
|
+
this.name = 'InvalidSignatureError';
|
|
183
|
+
this.message = `Invalid signature "${signature}"`;
|
|
184
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* @category Error
|
|
189
|
+
* @description Error that indicates an invalid contract address being passed or used
|
|
190
|
+
*/
|
|
191
|
+
class InvalidContractAddressError extends ParameterValidationError {
|
|
192
|
+
constructor(contractAddress, errorDetail) {
|
|
193
|
+
super();
|
|
194
|
+
this.contractAddress = contractAddress;
|
|
195
|
+
this.errorDetail = errorDetail;
|
|
196
|
+
this.name = 'InvalidContractAddressError';
|
|
197
|
+
this.message = `Invalid contract address "${contractAddress}"`;
|
|
198
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @category Error
|
|
203
|
+
* @description Error that indicates an invalid chain id being passed or used
|
|
204
|
+
*/
|
|
205
|
+
class InvalidChainIdError extends ParameterValidationError {
|
|
206
|
+
constructor(chainId, errorDetail) {
|
|
207
|
+
super();
|
|
208
|
+
this.chainId = chainId;
|
|
209
|
+
this.errorDetail = errorDetail;
|
|
210
|
+
this.name = 'InvalidChainIdError';
|
|
211
|
+
this.message = `Invalid chain id "${chainId}"`;
|
|
212
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* @category Error
|
|
217
|
+
* @description Error that indicates an invalid public key hash being passed or used
|
|
218
|
+
*/
|
|
219
|
+
class InvalidKeyHashError extends ParameterValidationError {
|
|
220
|
+
constructor(keyHash, errorDetail) {
|
|
221
|
+
super();
|
|
222
|
+
this.keyHash = keyHash;
|
|
223
|
+
this.errorDetail = errorDetail;
|
|
224
|
+
this.name = 'InvalidKeyHashError';
|
|
225
|
+
this.message = `Invalid public key hash "${keyHash}"`;
|
|
226
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @category Error
|
|
231
|
+
* @description Error that indicates an invalid operation hash being passed or used
|
|
232
|
+
*/
|
|
233
|
+
class InvalidOperationHashError extends ParameterValidationError {
|
|
234
|
+
constructor(operationHash, errorDetail) {
|
|
235
|
+
super();
|
|
236
|
+
this.operationHash = operationHash;
|
|
237
|
+
this.errorDetail = errorDetail;
|
|
238
|
+
this.name = 'InvalidOperationHashError';
|
|
239
|
+
this.message = `Invalid operation hash "${operationHash}"`;
|
|
240
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* @category Error
|
|
245
|
+
* @description Error that indicates an invalid operation kind being passed or used
|
|
246
|
+
*/
|
|
247
|
+
class InvalidOperationKindError extends ParameterValidationError {
|
|
248
|
+
constructor(operationKind, errorDetail) {
|
|
249
|
+
super();
|
|
250
|
+
this.operationKind = operationKind;
|
|
251
|
+
this.errorDetail = errorDetail;
|
|
252
|
+
this.name = 'InvalidOperationKindError';
|
|
253
|
+
this.message = `Invalid operation kind "${operationKind}"`;
|
|
254
|
+
this.message += errorDetail ? ` ${errorDetail}.` : '.';
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @category Error
|
|
259
|
+
* @description General error that indicates something is no longer supported and/or deprecated
|
|
260
|
+
*/
|
|
261
|
+
class DeprecationError extends UnsupportedActionError {
|
|
262
|
+
constructor(message) {
|
|
263
|
+
super();
|
|
264
|
+
this.message = message;
|
|
265
|
+
this.name = 'DeprecationError';
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @category Error
|
|
270
|
+
* @description General error that indicates an action is prohibited or not allowed
|
|
271
|
+
*/
|
|
272
|
+
class ProhibitedActionError extends UnsupportedActionError {
|
|
273
|
+
constructor(message) {
|
|
274
|
+
super();
|
|
275
|
+
this.message = message;
|
|
276
|
+
this.name = 'ProhibitedActionError';
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* @category Error
|
|
281
|
+
* @description Error that indicates a failure in grabbing the public key
|
|
282
|
+
*/
|
|
283
|
+
class PublicKeyNotFoundError extends TaquitoError {
|
|
284
|
+
constructor(pkh, cause) {
|
|
285
|
+
super();
|
|
286
|
+
this.pkh = pkh;
|
|
287
|
+
this.cause = cause;
|
|
288
|
+
this.name = 'PublicKeyNotFoundError';
|
|
289
|
+
this.message = `Public key not found of this address "${pkh}" in either wallet or contract API.`;
|
|
290
|
+
}
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
export { DeprecationError, InvalidAddressError, InvalidAmountError, InvalidBlockHashError, InvalidChainIdError, InvalidContractAddressError, InvalidDerivationPathError, InvalidHexStringError, InvalidKeyError, InvalidKeyHashError, InvalidMessageError, InvalidOperationHashError, InvalidOperationKindError, InvalidPublicKeyError, InvalidSignatureError, InvalidViewParameterError, NetworkError, ParameterValidationError, PermissionDeniedError, ProhibitedActionError, PublicKeyNotFoundError, RpcError, TaquitoError, TezosToolkitConfigError, UnsupportedActionError };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito-core.es6.js","sources":["../src/errors.ts"],"sourcesContent":["// ==========================================================================================\n// parent error classes for Taquito\n// ==========================================================================================\n/**\n * @category Error\n * @description Parent error class all taquito errors to extend from\n */\nexport class TaquitoError extends Error {}\n\n/**\n * @category Error\n * @description Error that indicates invalid user inputs\n */\nexport class ParameterValidationError extends TaquitoError {}\n\n/**\n * @category Error\n * @description Error returned by RPC node\n */\nexport class RpcError extends TaquitoError {}\n\n/**\n * @category Error\n * @description Error that indicates TezosToolKit has not been configured appropriately\n */\nexport class TezosToolkitConfigError extends TaquitoError {}\n\n/**\n * @category Error\n * @description Error that indicates a requested action is not supported by Taquito\n */\nexport class UnsupportedActionError extends TaquitoError {}\n\n/**\n * @category Error\n * @description Error during a network operation\n */\nexport class NetworkError extends TaquitoError {}\n\n/**\n * @category Error\n * @description Error that indicates user attempts an action without necessary permissions\n */\nexport class PermissionDeniedError extends TaquitoError {}\n\n// ==========================================================================================\n// common error classes for Taquito\n// ==========================================================================================\n/**\n * @category Error\n * @description Error that indicates an invalid originated or implicit address being passed or used\n */\nexport class InvalidAddressError extends ParameterValidationError {\n constructor(public readonly address: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidAddressError';\n this.message = `Invalid address \"${address}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid block hash being passed or used\n */\nexport class InvalidBlockHashError extends ParameterValidationError {\n constructor(public readonly blockHash: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidBlockHashError';\n this.message = `Invalid block hash \"${blockHash}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid amount of tez being passed as a parameter\n */\nexport class InvalidAmountError extends ParameterValidationError {\n constructor(public readonly amount: string) {\n super();\n this.name = 'InvalidAmountError';\n this.message = `Invalid amount \"${amount}\"`;\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid derivation path being passed or used\n */\nexport class InvalidDerivationPathError extends ParameterValidationError {\n constructor(public readonly derivationPath: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidDerivationPathError';\n this.message = `Invalid derivation path \"${derivationPath}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid hex string have been passed or used\n */\nexport class InvalidHexStringError extends ParameterValidationError {\n constructor(public readonly hexString: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidHexStringError';\n this.message = `Invalid hex string \"${hexString}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid message being passed or used\n */\nexport class InvalidMessageError extends ParameterValidationError {\n constructor(public readonly msg: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidMessageError';\n this.message = `Invalid message \"${msg}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates invalid view parameter of a smart contract\n */\nexport class InvalidViewParameterError extends ParameterValidationError {\n constructor(\n public readonly viewName: string,\n public readonly sigs: any,\n public readonly args: any,\n public readonly cause?: any\n ) {\n super();\n this.name = 'InvalidViewParameterError';\n this.message = `Invalid view arguments ${JSON.stringify(\n args\n )} received for name \"${viewName}\" expecting one of the following signatures ${JSON.stringify(\n sigs\n )}.`;\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid private key being passed or used\n */\nexport class InvalidKeyError extends ParameterValidationError {\n constructor(public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidKeyError';\n this.message = `Invalid private key`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an Invalid Public Key being passed or used\n */\nexport class InvalidPublicKeyError extends ParameterValidationError {\n constructor(public readonly publicKey: string, readonly errorDetail?: string) {\n super();\n this.name = 'InvalidPublicKeyError';\n this.message = `Invalid public key \"${publicKey}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid signature being passed or used\n */\nexport class InvalidSignatureError extends ParameterValidationError {\n constructor(public readonly signature: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidSignatureError';\n this.message = `Invalid signature \"${signature}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid contract address being passed or used\n */\nexport class InvalidContractAddressError extends ParameterValidationError {\n constructor(public readonly contractAddress: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidContractAddressError';\n this.message = `Invalid contract address \"${contractAddress}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid chain id being passed or used\n */\nexport class InvalidChainIdError extends ParameterValidationError {\n constructor(public readonly chainId: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidChainIdError';\n this.message = `Invalid chain id \"${chainId}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid public key hash being passed or used\n */\nexport class InvalidKeyHashError extends ParameterValidationError {\n constructor(public readonly keyHash: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidKeyHashError';\n this.message = `Invalid public key hash \"${keyHash}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid operation hash being passed or used\n */\nexport class InvalidOperationHashError extends ParameterValidationError {\n constructor(public readonly operationHash: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidOperationHashError';\n this.message = `Invalid operation hash \"${operationHash}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates an invalid operation kind being passed or used\n */\nexport class InvalidOperationKindError extends ParameterValidationError {\n constructor(public readonly operationKind: string, public readonly errorDetail?: string) {\n super();\n this.name = 'InvalidOperationKindError';\n this.message = `Invalid operation kind \"${operationKind}\"`;\n this.message += errorDetail ? ` ${errorDetail}.` : '.';\n }\n}\n\n/**\n * @category Error\n * @description General error that indicates something is no longer supported and/or deprecated\n */\nexport class DeprecationError extends UnsupportedActionError {\n constructor(public readonly message: string) {\n super();\n this.name = 'DeprecationError';\n }\n}\n\n/**\n * @category Error\n * @description General error that indicates an action is prohibited or not allowed\n */\nexport class ProhibitedActionError extends UnsupportedActionError {\n constructor(public readonly message: string) {\n super();\n this.name = 'ProhibitedActionError';\n }\n}\n\n/**\n * @category Error\n * @description Error that indicates a failure in grabbing the public key\n */\nexport class PublicKeyNotFoundError extends TaquitoError {\n constructor(public readonly pkh: string, public readonly cause?: any) {\n super();\n this.name = 'PublicKeyNotFoundError';\n this.message = `Public key not found of this address \"${pkh}\" in either wallet or contract API.`;\n }\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;;;AAGG;AACG,MAAO,YAAa,SAAQ,KAAK,CAAA;AAAG,CAAA;AAE1C;;;AAGG;AACG,MAAO,wBAAyB,SAAQ,YAAY,CAAA;AAAG,CAAA;AAE7D;;;AAGG;AACG,MAAO,QAAS,SAAQ,YAAY,CAAA;AAAG,CAAA;AAE7C;;;AAGG;AACG,MAAO,uBAAwB,SAAQ,YAAY,CAAA;AAAG,CAAA;AAE5D;;;AAGG;AACG,MAAO,sBAAuB,SAAQ,YAAY,CAAA;AAAG,CAAA;AAE3D;;;AAGG;AACG,MAAO,YAAa,SAAQ,YAAY,CAAA;AAAG,CAAA;AAEjD;;;AAGG;AACG,MAAO,qBAAsB,SAAQ,YAAY,CAAA;AAAG,CAAA;AAE1D;AACA;AACA;AACA;;;AAGG;AACG,MAAO,mBAAoB,SAAQ,wBAAwB,CAAA;IAC/D,WAA4B,CAAA,OAAe,EAAkB,WAAoB,EAAA;AAC/E,QAAA,KAAK,EAAE,CAAC;QADkB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAQ;QAAkB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAS;AAE/E,QAAA,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;AAClC,QAAA,IAAI,CAAC,OAAO,GAAG,CAAoB,iBAAA,EAAA,OAAO,GAAG,CAAC;AAC9C,QAAA,IAAI,CAAC,OAAO,IAAI,WAAW,GAAG,CAAI,CAAA,EAAA,WAAW,CAAG,CAAA,CAAA,GAAG,GAAG,CAAC;KACxD;AACF,CAAA;AAED;;;AAGG;AACG,MAAO,qBAAsB,SA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