@taquito/core 24.2.0 → 24.3.0-beta.1

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.
@@ -23,14 +23,14 @@ const resultDesc = {
23
23
  };
24
24
  /**
25
25
  * @category Error
26
- * @description Parent error class all taquito errors to extend from
26
+ * Parent error class all taquito errors to extend from
27
27
  */
28
28
  class TaquitoError extends Error {
29
29
  }
30
30
  exports.TaquitoError = TaquitoError;
31
31
  /**
32
32
  * @category Error
33
- * @description Error that indicates invalid user inputs
33
+ * Error that indicates invalid user inputs
34
34
  */
35
35
  class ParameterValidationError extends TaquitoError {
36
36
  constructor(message, validationResult, errorDetail) {
@@ -70,35 +70,35 @@ class ParameterValidationError extends TaquitoError {
70
70
  exports.ParameterValidationError = ParameterValidationError;
71
71
  /**
72
72
  * @category Error
73
- * @description Error returned by RPC node
73
+ * Error returned by RPC node
74
74
  */
75
75
  class RpcError extends TaquitoError {
76
76
  }
77
77
  exports.RpcError = RpcError;
78
78
  /**
79
79
  * @category Error
80
- * @description Error that indicates TezosToolKit has not been configured appropriately
80
+ * Error that indicates TezosToolKit has not been configured appropriately
81
81
  */
82
82
  class TezosToolkitConfigError extends TaquitoError {
83
83
  }
84
84
  exports.TezosToolkitConfigError = TezosToolkitConfigError;
85
85
  /**
86
86
  * @category Error
87
- * @description Error that indicates a requested action is not supported by Taquito
87
+ * Error that indicates a requested action is not supported by Taquito
88
88
  */
89
89
  class UnsupportedActionError extends TaquitoError {
90
90
  }
91
91
  exports.UnsupportedActionError = UnsupportedActionError;
92
92
  /**
93
93
  * @category Error
94
- * @description Error during a network operation
94
+ * Error during a network operation
95
95
  */
96
96
  class NetworkError extends TaquitoError {
97
97
  }
98
98
  exports.NetworkError = NetworkError;
99
99
  /**
100
100
  * @category Error
101
- * @description Error that indicates user attempts an action without necessary permissions
101
+ * Error that indicates user attempts an action without necessary permissions
102
102
  */
103
103
  class PermissionDeniedError extends TaquitoError {
104
104
  }
@@ -108,7 +108,7 @@ exports.PermissionDeniedError = PermissionDeniedError;
108
108
  // ==========================================================================================
109
109
  /**
110
110
  * @category Error
111
- * @description Error that indicates an invalid originated or implicit address being passed or used
111
+ * Error that indicates an invalid originated or implicit address being passed or used
112
112
  */
113
113
  class InvalidAddressError extends ParameterValidationError {
114
114
  constructor(address, errorDetail) {
@@ -144,7 +144,7 @@ class InvalidFinalizeUnstakeAmountError extends ParameterValidationError {
144
144
  exports.InvalidFinalizeUnstakeAmountError = InvalidFinalizeUnstakeAmountError;
145
145
  /**
146
146
  * @category Error
147
- * @description Error that indicates an invalid block hash being passed or used
147
+ * Error that indicates an invalid block hash being passed or used
148
148
  */
149
149
  class InvalidBlockHashError extends ParameterValidationError {
150
150
  constructor(blockHash, errorDetail) {
@@ -156,7 +156,7 @@ class InvalidBlockHashError extends ParameterValidationError {
156
156
  exports.InvalidBlockHashError = InvalidBlockHashError;
157
157
  /**
158
158
  * @category Error
159
- * @description Error that indicates an invalid amount of tez being passed as a parameter
159
+ * Error that indicates an invalid amount of tez being passed as a parameter
160
160
  */
161
161
  class InvalidAmountError extends ParameterValidationError {
162
162
  constructor(amount, errorDetail) {
@@ -168,7 +168,7 @@ class InvalidAmountError extends ParameterValidationError {
168
168
  exports.InvalidAmountError = InvalidAmountError;
169
169
  /**
170
170
  * @category Error
171
- * @description Error that indicates an invalid derivation path being passed or used
171
+ * Error that indicates an invalid derivation path being passed or used
172
172
  */
173
173
  class InvalidDerivationPathError extends ParameterValidationError {
174
174
  constructor(derivationPath, errorDetail) {
@@ -180,7 +180,7 @@ class InvalidDerivationPathError extends ParameterValidationError {
180
180
  exports.InvalidDerivationPathError = InvalidDerivationPathError;
181
181
  /**
182
182
  * @category Error
183
- * @description Error that indicates an invalid hex string have been passed or used
183
+ * Error that indicates an invalid hex string have been passed or used
184
184
  */
185
185
  class InvalidHexStringError extends ParameterValidationError {
186
186
  constructor(hexString, errorDetail) {
@@ -192,7 +192,7 @@ class InvalidHexStringError extends ParameterValidationError {
192
192
  exports.InvalidHexStringError = InvalidHexStringError;
193
193
  /**
194
194
  * @category Error
195
- * @description Error that indicates an invalid message being passed or used
195
+ * Error that indicates an invalid message being passed or used
196
196
  */
197
197
  class InvalidMessageError extends ParameterValidationError {
198
198
  constructor(msg, errorDetail) {
@@ -204,7 +204,7 @@ class InvalidMessageError extends ParameterValidationError {
204
204
  exports.InvalidMessageError = InvalidMessageError;
205
205
  /**
206
206
  * @category Error
207
- * @description Error that indicates invalid view parameter of a smart contract
207
+ * Error that indicates invalid view parameter of a smart contract
208
208
  */
209
209
  class InvalidViewParameterError extends ParameterValidationError {
210
210
  constructor(viewName, sigs, args, cause, errorDetail) {
@@ -220,7 +220,7 @@ class InvalidViewParameterError extends ParameterValidationError {
220
220
  exports.InvalidViewParameterError = InvalidViewParameterError;
221
221
  /**
222
222
  * @category Error
223
- * @description Error that indicates an invalid private key being passed or used
223
+ * Error that indicates an invalid private key being passed or used
224
224
  */
225
225
  class InvalidKeyError extends ParameterValidationError {
226
226
  constructor(errorDetail) {
@@ -231,7 +231,7 @@ class InvalidKeyError extends ParameterValidationError {
231
231
  exports.InvalidKeyError = InvalidKeyError;
232
232
  /**
233
233
  * @category Error
234
- * @description Error that indicates an Invalid Public Key being passed or used
234
+ * Error that indicates an Invalid Public Key being passed or used
235
235
  */
236
236
  class InvalidPublicKeyError extends ParameterValidationError {
237
237
  constructor(publicKey, errorDetail) {
@@ -244,7 +244,7 @@ class InvalidPublicKeyError extends ParameterValidationError {
244
244
  exports.InvalidPublicKeyError = InvalidPublicKeyError;
245
245
  /**
246
246
  * @category Error
247
- * @description Error that indicates an invalid signature being passed or used
247
+ * Error that indicates an invalid signature being passed or used
248
248
  */
249
249
  class InvalidSignatureError extends ParameterValidationError {
250
250
  constructor(signature, errorDetail) {
@@ -256,7 +256,7 @@ class InvalidSignatureError extends ParameterValidationError {
256
256
  exports.InvalidSignatureError = InvalidSignatureError;
257
257
  /**
258
258
  * @category Error
259
- * @description Error that indicates an invalid contract address being passed or used
259
+ * Error that indicates an invalid contract address being passed or used
260
260
  */
261
261
  class InvalidContractAddressError extends ParameterValidationError {
262
262
  constructor(contractAddress, errorDetail) {
@@ -268,7 +268,7 @@ class InvalidContractAddressError extends ParameterValidationError {
268
268
  exports.InvalidContractAddressError = InvalidContractAddressError;
269
269
  /**
270
270
  * @category Error
271
- * @description Error that indicates an invalid chain id being passed or used
271
+ * Error that indicates an invalid chain id being passed or used
272
272
  */
273
273
  class InvalidChainIdError extends ParameterValidationError {
274
274
  constructor(chainId, errorDetail) {
@@ -280,7 +280,7 @@ class InvalidChainIdError extends ParameterValidationError {
280
280
  exports.InvalidChainIdError = InvalidChainIdError;
281
281
  /**
282
282
  * @category Error
283
- * @description Error that indicates an invalid public key hash being passed or used
283
+ * Error that indicates an invalid public key hash being passed or used
284
284
  */
285
285
  class InvalidKeyHashError extends ParameterValidationError {
286
286
  constructor(keyHash, errorDetail) {
@@ -292,7 +292,7 @@ class InvalidKeyHashError extends ParameterValidationError {
292
292
  exports.InvalidKeyHashError = InvalidKeyHashError;
293
293
  /**
294
294
  * @category Error
295
- * @description Error that indicates an invalid operation hash being passed or used
295
+ * Error that indicates an invalid operation hash being passed or used
296
296
  */
297
297
  class InvalidOperationHashError extends ParameterValidationError {
298
298
  constructor(operationHash, errorDetail) {
@@ -304,7 +304,7 @@ class InvalidOperationHashError extends ParameterValidationError {
304
304
  exports.InvalidOperationHashError = InvalidOperationHashError;
305
305
  /**
306
306
  * @category Error
307
- * @description Error that indicates an invalid operation kind being passed or used
307
+ * Error that indicates an invalid operation kind being passed or used
308
308
  */
309
309
  class InvalidOperationKindError extends ParameterValidationError {
310
310
  constructor(operationKind, errorDetail) {
@@ -316,7 +316,7 @@ class InvalidOperationKindError extends ParameterValidationError {
316
316
  exports.InvalidOperationKindError = InvalidOperationKindError;
317
317
  /**
318
318
  * @category Error
319
- * @description General error that indicates something is no longer supported and/or deprecated
319
+ * General error that indicates something is no longer supported and/or deprecated
320
320
  */
321
321
  class DeprecationError extends UnsupportedActionError {
322
322
  constructor(message) {
@@ -327,7 +327,7 @@ class DeprecationError extends UnsupportedActionError {
327
327
  exports.DeprecationError = DeprecationError;
328
328
  /**
329
329
  * @category Error
330
- * @description General error that indicates an action is prohibited or not allowed
330
+ * General error that indicates an action is prohibited or not allowed
331
331
  */
332
332
  class ProhibitedActionError extends UnsupportedActionError {
333
333
  constructor(message) {
@@ -338,7 +338,7 @@ class ProhibitedActionError extends UnsupportedActionError {
338
338
  exports.ProhibitedActionError = ProhibitedActionError;
339
339
  /**
340
340
  * @category Error
341
- * @description Error that indicates a failure in grabbing the public key
341
+ * Error that indicates a failure in grabbing the public key
342
342
  */
343
343
  class PublicKeyNotFoundError extends TaquitoError {
344
344
  constructor(pkh, cause) {
@@ -3,6 +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!
5
5
  exports.VERSION = {
6
- "commitHash": "105a7b15cfb862a0732c204e0e9741098d697775",
7
- "version": "24.2.0"
6
+ "commitHash": "05df48fee92f846cba793920d6fa829afd6a1847",
7
+ "version": "24.3.0-beta.1"
8
8
  };
@@ -20,13 +20,13 @@ const resultDesc = {
20
20
  };
21
21
  /**
22
22
  * @category Error
23
- * @description Parent error class all taquito errors to extend from
23
+ * Parent error class all taquito errors to extend from
24
24
  */
25
25
  class TaquitoError extends Error {
26
26
  }
27
27
  /**
28
28
  * @category Error
29
- * @description Error that indicates invalid user inputs
29
+ * Error that indicates invalid user inputs
30
30
  */
31
31
  class ParameterValidationError extends TaquitoError {
32
32
  constructor(message, validationResult, errorDetail) {
@@ -65,31 +65,31 @@ class ParameterValidationError extends TaquitoError {
65
65
  }
66
66
  /**
67
67
  * @category Error
68
- * @description Error returned by RPC node
68
+ * Error returned by RPC node
69
69
  */
70
70
  class RpcError extends TaquitoError {
71
71
  }
72
72
  /**
73
73
  * @category Error
74
- * @description Error that indicates TezosToolKit has not been configured appropriately
74
+ * Error that indicates TezosToolKit has not been configured appropriately
75
75
  */
76
76
  class TezosToolkitConfigError extends TaquitoError {
77
77
  }
78
78
  /**
79
79
  * @category Error
80
- * @description Error that indicates a requested action is not supported by Taquito
80
+ * Error that indicates a requested action is not supported by Taquito
81
81
  */
82
82
  class UnsupportedActionError extends TaquitoError {
83
83
  }
84
84
  /**
85
85
  * @category Error
86
- * @description Error during a network operation
86
+ * Error during a network operation
87
87
  */
88
88
  class NetworkError extends TaquitoError {
89
89
  }
90
90
  /**
91
91
  * @category Error
92
- * @description Error that indicates user attempts an action without necessary permissions
92
+ * Error that indicates user attempts an action without necessary permissions
93
93
  */
94
94
  class PermissionDeniedError extends TaquitoError {
95
95
  }
@@ -98,7 +98,7 @@ class PermissionDeniedError extends TaquitoError {
98
98
  // ==========================================================================================
99
99
  /**
100
100
  * @category Error
101
- * @description Error that indicates an invalid originated or implicit address being passed or used
101
+ * Error that indicates an invalid originated or implicit address being passed or used
102
102
  */
103
103
  class InvalidAddressError extends ParameterValidationError {
104
104
  constructor(address, errorDetail) {
@@ -130,7 +130,7 @@ class InvalidFinalizeUnstakeAmountError extends ParameterValidationError {
130
130
  }
131
131
  /**
132
132
  * @category Error
133
- * @description Error that indicates an invalid block hash being passed or used
133
+ * Error that indicates an invalid block hash being passed or used
134
134
  */
135
135
  class InvalidBlockHashError extends ParameterValidationError {
136
136
  constructor(blockHash, errorDetail) {
@@ -141,7 +141,7 @@ class InvalidBlockHashError extends ParameterValidationError {
141
141
  }
142
142
  /**
143
143
  * @category Error
144
- * @description Error that indicates an invalid amount of tez being passed as a parameter
144
+ * Error that indicates an invalid amount of tez being passed as a parameter
145
145
  */
146
146
  class InvalidAmountError extends ParameterValidationError {
147
147
  constructor(amount, errorDetail) {
@@ -152,7 +152,7 @@ class InvalidAmountError extends ParameterValidationError {
152
152
  }
153
153
  /**
154
154
  * @category Error
155
- * @description Error that indicates an invalid derivation path being passed or used
155
+ * Error that indicates an invalid derivation path being passed or used
156
156
  */
157
157
  class InvalidDerivationPathError extends ParameterValidationError {
158
158
  constructor(derivationPath, errorDetail) {
@@ -163,7 +163,7 @@ class InvalidDerivationPathError extends ParameterValidationError {
163
163
  }
164
164
  /**
165
165
  * @category Error
166
- * @description Error that indicates an invalid hex string have been passed or used
166
+ * Error that indicates an invalid hex string have been passed or used
167
167
  */
168
168
  class InvalidHexStringError extends ParameterValidationError {
169
169
  constructor(hexString, errorDetail) {
@@ -174,7 +174,7 @@ class InvalidHexStringError extends ParameterValidationError {
174
174
  }
175
175
  /**
176
176
  * @category Error
177
- * @description Error that indicates an invalid message being passed or used
177
+ * Error that indicates an invalid message being passed or used
178
178
  */
179
179
  class InvalidMessageError extends ParameterValidationError {
180
180
  constructor(msg, errorDetail) {
@@ -185,7 +185,7 @@ class InvalidMessageError extends ParameterValidationError {
185
185
  }
186
186
  /**
187
187
  * @category Error
188
- * @description Error that indicates invalid view parameter of a smart contract
188
+ * Error that indicates invalid view parameter of a smart contract
189
189
  */
190
190
  class InvalidViewParameterError extends ParameterValidationError {
191
191
  constructor(viewName, sigs, args, cause, errorDetail) {
@@ -200,7 +200,7 @@ class InvalidViewParameterError extends ParameterValidationError {
200
200
  }
201
201
  /**
202
202
  * @category Error
203
- * @description Error that indicates an invalid private key being passed or used
203
+ * Error that indicates an invalid private key being passed or used
204
204
  */
205
205
  class InvalidKeyError extends ParameterValidationError {
206
206
  constructor(errorDetail) {
@@ -210,7 +210,7 @@ class InvalidKeyError extends ParameterValidationError {
210
210
  }
211
211
  /**
212
212
  * @category Error
213
- * @description Error that indicates an Invalid Public Key being passed or used
213
+ * Error that indicates an Invalid Public Key being passed or used
214
214
  */
215
215
  class InvalidPublicKeyError extends ParameterValidationError {
216
216
  constructor(publicKey, errorDetail) {
@@ -222,7 +222,7 @@ class InvalidPublicKeyError extends ParameterValidationError {
222
222
  }
223
223
  /**
224
224
  * @category Error
225
- * @description Error that indicates an invalid signature being passed or used
225
+ * Error that indicates an invalid signature being passed or used
226
226
  */
227
227
  class InvalidSignatureError extends ParameterValidationError {
228
228
  constructor(signature, errorDetail) {
@@ -233,7 +233,7 @@ class InvalidSignatureError extends ParameterValidationError {
233
233
  }
234
234
  /**
235
235
  * @category Error
236
- * @description Error that indicates an invalid contract address being passed or used
236
+ * Error that indicates an invalid contract address being passed or used
237
237
  */
238
238
  class InvalidContractAddressError extends ParameterValidationError {
239
239
  constructor(contractAddress, errorDetail) {
@@ -244,7 +244,7 @@ class InvalidContractAddressError extends ParameterValidationError {
244
244
  }
245
245
  /**
246
246
  * @category Error
247
- * @description Error that indicates an invalid chain id being passed or used
247
+ * Error that indicates an invalid chain id being passed or used
248
248
  */
249
249
  class InvalidChainIdError extends ParameterValidationError {
250
250
  constructor(chainId, errorDetail) {
@@ -255,7 +255,7 @@ class InvalidChainIdError extends ParameterValidationError {
255
255
  }
256
256
  /**
257
257
  * @category Error
258
- * @description Error that indicates an invalid public key hash being passed or used
258
+ * Error that indicates an invalid public key hash being passed or used
259
259
  */
260
260
  class InvalidKeyHashError extends ParameterValidationError {
261
261
  constructor(keyHash, errorDetail) {
@@ -266,7 +266,7 @@ class InvalidKeyHashError extends ParameterValidationError {
266
266
  }
267
267
  /**
268
268
  * @category Error
269
- * @description Error that indicates an invalid operation hash being passed or used
269
+ * Error that indicates an invalid operation hash being passed or used
270
270
  */
271
271
  class InvalidOperationHashError extends ParameterValidationError {
272
272
  constructor(operationHash, errorDetail) {
@@ -277,7 +277,7 @@ class InvalidOperationHashError extends ParameterValidationError {
277
277
  }
278
278
  /**
279
279
  * @category Error
280
- * @description Error that indicates an invalid operation kind being passed or used
280
+ * Error that indicates an invalid operation kind being passed or used
281
281
  */
282
282
  class InvalidOperationKindError extends ParameterValidationError {
283
283
  constructor(operationKind, errorDetail) {
@@ -288,7 +288,7 @@ class InvalidOperationKindError extends ParameterValidationError {
288
288
  }
289
289
  /**
290
290
  * @category Error
291
- * @description General error that indicates something is no longer supported and/or deprecated
291
+ * General error that indicates something is no longer supported and/or deprecated
292
292
  */
293
293
  class DeprecationError extends UnsupportedActionError {
294
294
  constructor(message) {
@@ -298,7 +298,7 @@ class DeprecationError extends UnsupportedActionError {
298
298
  }
299
299
  /**
300
300
  * @category Error
301
- * @description General error that indicates an action is prohibited or not allowed
301
+ * General error that indicates an action is prohibited or not allowed
302
302
  */
303
303
  class ProhibitedActionError extends UnsupportedActionError {
304
304
  constructor(message) {
@@ -308,7 +308,7 @@ class ProhibitedActionError extends UnsupportedActionError {
308
308
  }
309
309
  /**
310
310
  * @category Error
311
- * @description Error that indicates a failure in grabbing the public key
311
+ * Error that indicates a failure in grabbing the public key
312
312
  */
313
313
  class PublicKeyNotFoundError extends TaquitoError {
314
314
  constructor(pkh, cause) {
@@ -26,13 +26,13 @@
26
26
  };
27
27
  /**
28
28
  * @category Error
29
- * @description Parent error class all taquito errors to extend from
29
+ * Parent error class all taquito errors to extend from
30
30
  */
31
31
  class TaquitoError extends Error {
32
32
  }
33
33
  /**
34
34
  * @category Error
35
- * @description Error that indicates invalid user inputs
35
+ * Error that indicates invalid user inputs
36
36
  */
37
37
  class ParameterValidationError extends TaquitoError {
38
38
  constructor(message, validationResult, errorDetail) {
@@ -71,31 +71,31 @@
71
71
  }
72
72
  /**
73
73
  * @category Error
74
- * @description Error returned by RPC node
74
+ * Error returned by RPC node
75
75
  */
76
76
  class RpcError extends TaquitoError {
77
77
  }
78
78
  /**
79
79
  * @category Error
80
- * @description Error that indicates TezosToolKit has not been configured appropriately
80
+ * Error that indicates TezosToolKit has not been configured appropriately
81
81
  */
82
82
  class TezosToolkitConfigError extends TaquitoError {
83
83
  }
84
84
  /**
85
85
  * @category Error
86
- * @description Error that indicates a requested action is not supported by Taquito
86
+ * Error that indicates a requested action is not supported by Taquito
87
87
  */
88
88
  class UnsupportedActionError extends TaquitoError {
89
89
  }
90
90
  /**
91
91
  * @category Error
92
- * @description Error during a network operation
92
+ * Error during a network operation
93
93
  */
94
94
  class NetworkError extends TaquitoError {
95
95
  }
96
96
  /**
97
97
  * @category Error
98
- * @description Error that indicates user attempts an action without necessary permissions
98
+ * Error that indicates user attempts an action without necessary permissions
99
99
  */
100
100
  class PermissionDeniedError extends TaquitoError {
101
101
  }
@@ -104,7 +104,7 @@
104
104
  // ==========================================================================================
105
105
  /**
106
106
  * @category Error
107
- * @description Error that indicates an invalid originated or implicit address being passed or used
107
+ * Error that indicates an invalid originated or implicit address being passed or used
108
108
  */
109
109
  class InvalidAddressError extends ParameterValidationError {
110
110
  constructor(address, errorDetail) {
@@ -136,7 +136,7 @@
136
136
  }
137
137
  /**
138
138
  * @category Error
139
- * @description Error that indicates an invalid block hash being passed or used
139
+ * Error that indicates an invalid block hash being passed or used
140
140
  */
141
141
  class InvalidBlockHashError extends ParameterValidationError {
142
142
  constructor(blockHash, errorDetail) {
@@ -147,7 +147,7 @@
147
147
  }
148
148
  /**
149
149
  * @category Error
150
- * @description Error that indicates an invalid amount of tez being passed as a parameter
150
+ * Error that indicates an invalid amount of tez being passed as a parameter
151
151
  */
152
152
  class InvalidAmountError extends ParameterValidationError {
153
153
  constructor(amount, errorDetail) {
@@ -158,7 +158,7 @@
158
158
  }
159
159
  /**
160
160
  * @category Error
161
- * @description Error that indicates an invalid derivation path being passed or used
161
+ * Error that indicates an invalid derivation path being passed or used
162
162
  */
163
163
  class InvalidDerivationPathError extends ParameterValidationError {
164
164
  constructor(derivationPath, errorDetail) {
@@ -169,7 +169,7 @@
169
169
  }
170
170
  /**
171
171
  * @category Error
172
- * @description Error that indicates an invalid hex string have been passed or used
172
+ * Error that indicates an invalid hex string have been passed or used
173
173
  */
174
174
  class InvalidHexStringError extends ParameterValidationError {
175
175
  constructor(hexString, errorDetail) {
@@ -180,7 +180,7 @@
180
180
  }
181
181
  /**
182
182
  * @category Error
183
- * @description Error that indicates an invalid message being passed or used
183
+ * Error that indicates an invalid message being passed or used
184
184
  */
185
185
  class InvalidMessageError extends ParameterValidationError {
186
186
  constructor(msg, errorDetail) {
@@ -191,7 +191,7 @@
191
191
  }
192
192
  /**
193
193
  * @category Error
194
- * @description Error that indicates invalid view parameter of a smart contract
194
+ * Error that indicates invalid view parameter of a smart contract
195
195
  */
196
196
  class InvalidViewParameterError extends ParameterValidationError {
197
197
  constructor(viewName, sigs, args, cause, errorDetail) {
@@ -206,7 +206,7 @@
206
206
  }
207
207
  /**
208
208
  * @category Error
209
- * @description Error that indicates an invalid private key being passed or used
209
+ * Error that indicates an invalid private key being passed or used
210
210
  */
211
211
  class InvalidKeyError extends ParameterValidationError {
212
212
  constructor(errorDetail) {
@@ -216,7 +216,7 @@
216
216
  }
217
217
  /**
218
218
  * @category Error
219
- * @description Error that indicates an Invalid Public Key being passed or used
219
+ * Error that indicates an Invalid Public Key being passed or used
220
220
  */
221
221
  class InvalidPublicKeyError extends ParameterValidationError {
222
222
  constructor(publicKey, errorDetail) {
@@ -228,7 +228,7 @@
228
228
  }
229
229
  /**
230
230
  * @category Error
231
- * @description Error that indicates an invalid signature being passed or used
231
+ * Error that indicates an invalid signature being passed or used
232
232
  */
233
233
  class InvalidSignatureError extends ParameterValidationError {
234
234
  constructor(signature, errorDetail) {
@@ -239,7 +239,7 @@
239
239
  }
240
240
  /**
241
241
  * @category Error
242
- * @description Error that indicates an invalid contract address being passed or used
242
+ * Error that indicates an invalid contract address being passed or used
243
243
  */
244
244
  class InvalidContractAddressError extends ParameterValidationError {
245
245
  constructor(contractAddress, errorDetail) {
@@ -250,7 +250,7 @@
250
250
  }
251
251
  /**
252
252
  * @category Error
253
- * @description Error that indicates an invalid chain id being passed or used
253
+ * Error that indicates an invalid chain id being passed or used
254
254
  */
255
255
  class InvalidChainIdError extends ParameterValidationError {
256
256
  constructor(chainId, errorDetail) {
@@ -261,7 +261,7 @@
261
261
  }
262
262
  /**
263
263
  * @category Error
264
- * @description Error that indicates an invalid public key hash being passed or used
264
+ * Error that indicates an invalid public key hash being passed or used
265
265
  */
266
266
  class InvalidKeyHashError extends ParameterValidationError {
267
267
  constructor(keyHash, errorDetail) {
@@ -272,7 +272,7 @@
272
272
  }
273
273
  /**
274
274
  * @category Error
275
- * @description Error that indicates an invalid operation hash being passed or used
275
+ * Error that indicates an invalid operation hash being passed or used
276
276
  */
277
277
  class InvalidOperationHashError extends ParameterValidationError {
278
278
  constructor(operationHash, errorDetail) {
@@ -283,7 +283,7 @@
283
283
  }
284
284
  /**
285
285
  * @category Error
286
- * @description Error that indicates an invalid operation kind being passed or used
286
+ * Error that indicates an invalid operation kind being passed or used
287
287
  */
288
288
  class InvalidOperationKindError extends ParameterValidationError {
289
289
  constructor(operationKind, errorDetail) {
@@ -294,7 +294,7 @@
294
294
  }
295
295
  /**
296
296
  * @category Error
297
- * @description General error that indicates something is no longer supported and/or deprecated
297
+ * General error that indicates something is no longer supported and/or deprecated
298
298
  */
299
299
  class DeprecationError extends UnsupportedActionError {
300
300
  constructor(message) {
@@ -304,7 +304,7 @@
304
304
  }
305
305
  /**
306
306
  * @category Error
307
- * @description General error that indicates an action is prohibited or not allowed
307
+ * General error that indicates an action is prohibited or not allowed
308
308
  */
309
309
  class ProhibitedActionError extends UnsupportedActionError {
310
310
  constructor(message) {
@@ -314,7 +314,7 @@
314
314
  }
315
315
  /**
316
316
  * @category Error
317
- * @description Error that indicates a failure in grabbing the public key
317
+ * Error that indicates a failure in grabbing the public key
318
318
  */
319
319
  class PublicKeyNotFoundError extends TaquitoError {
320
320
  constructor(pkh, cause) {
@@ -9,13 +9,13 @@ export declare enum ValidationResult {
9
9
  }
10
10
  /**
11
11
  * @category Error
12
- * @description Parent error class all taquito errors to extend from
12
+ * Parent error class all taquito errors to extend from
13
13
  */
14
14
  export declare class TaquitoError extends Error {
15
15
  }
16
16
  /**
17
17
  * @category Error
18
- * @description Error that indicates invalid user inputs
18
+ * Error that indicates invalid user inputs
19
19
  */
20
20
  export declare class ParameterValidationError extends TaquitoError {
21
21
  readonly errorDetail?: string;
@@ -26,37 +26,37 @@ export declare class ParameterValidationError extends TaquitoError {
26
26
  }
27
27
  /**
28
28
  * @category Error
29
- * @description Error returned by RPC node
29
+ * Error returned by RPC node
30
30
  */
31
31
  export declare class RpcError extends TaquitoError {
32
32
  }
33
33
  /**
34
34
  * @category Error
35
- * @description Error that indicates TezosToolKit has not been configured appropriately
35
+ * Error that indicates TezosToolKit has not been configured appropriately
36
36
  */
37
37
  export declare class TezosToolkitConfigError extends TaquitoError {
38
38
  }
39
39
  /**
40
40
  * @category Error
41
- * @description Error that indicates a requested action is not supported by Taquito
41
+ * Error that indicates a requested action is not supported by Taquito
42
42
  */
43
43
  export declare class UnsupportedActionError extends TaquitoError {
44
44
  }
45
45
  /**
46
46
  * @category Error
47
- * @description Error during a network operation
47
+ * Error during a network operation
48
48
  */
49
49
  export declare class NetworkError extends TaquitoError {
50
50
  }
51
51
  /**
52
52
  * @category Error
53
- * @description Error that indicates user attempts an action without necessary permissions
53
+ * Error that indicates user attempts an action without necessary permissions
54
54
  */
55
55
  export declare class PermissionDeniedError extends TaquitoError {
56
56
  }
57
57
  /**
58
58
  * @category Error
59
- * @description Error that indicates an invalid originated or implicit address being passed or used
59
+ * Error that indicates an invalid originated or implicit address being passed or used
60
60
  */
61
61
  export declare class InvalidAddressError extends ParameterValidationError {
62
62
  readonly address: string;
@@ -76,7 +76,7 @@ export declare class InvalidFinalizeUnstakeAmountError extends ParameterValidati
76
76
  }
77
77
  /**
78
78
  * @category Error
79
- * @description Error that indicates an invalid block hash being passed or used
79
+ * Error that indicates an invalid block hash being passed or used
80
80
  */
81
81
  export declare class InvalidBlockHashError extends ParameterValidationError {
82
82
  readonly blockHash: string;
@@ -84,7 +84,7 @@ export declare class InvalidBlockHashError extends ParameterValidationError {
84
84
  }
85
85
  /**
86
86
  * @category Error
87
- * @description Error that indicates an invalid amount of tez being passed as a parameter
87
+ * Error that indicates an invalid amount of tez being passed as a parameter
88
88
  */
89
89
  export declare class InvalidAmountError extends ParameterValidationError {
90
90
  readonly amount: string;
@@ -92,7 +92,7 @@ export declare class InvalidAmountError extends ParameterValidationError {
92
92
  }
93
93
  /**
94
94
  * @category Error
95
- * @description Error that indicates an invalid derivation path being passed or used
95
+ * Error that indicates an invalid derivation path being passed or used
96
96
  */
97
97
  export declare class InvalidDerivationPathError extends ParameterValidationError {
98
98
  readonly derivationPath: string;
@@ -100,7 +100,7 @@ export declare class InvalidDerivationPathError extends ParameterValidationError
100
100
  }
101
101
  /**
102
102
  * @category Error
103
- * @description Error that indicates an invalid hex string have been passed or used
103
+ * Error that indicates an invalid hex string have been passed or used
104
104
  */
105
105
  export declare class InvalidHexStringError extends ParameterValidationError {
106
106
  readonly hexString: string;
@@ -108,7 +108,7 @@ export declare class InvalidHexStringError extends ParameterValidationError {
108
108
  }
109
109
  /**
110
110
  * @category Error
111
- * @description Error that indicates an invalid message being passed or used
111
+ * Error that indicates an invalid message being passed or used
112
112
  */
113
113
  export declare class InvalidMessageError extends ParameterValidationError {
114
114
  readonly msg: string;
@@ -116,25 +116,25 @@ export declare class InvalidMessageError extends ParameterValidationError {
116
116
  }
117
117
  /**
118
118
  * @category Error
119
- * @description Error that indicates invalid view parameter of a smart contract
119
+ * Error that indicates invalid view parameter of a smart contract
120
120
  */
121
121
  export declare class InvalidViewParameterError extends ParameterValidationError {
122
122
  readonly viewName: string;
123
123
  readonly sigs: any;
124
124
  readonly args: any;
125
- readonly cause?: any;
126
- constructor(viewName: string, sigs: any, args: any, cause?: any, errorDetail?: string);
125
+ readonly cause?: any | undefined;
126
+ constructor(viewName: string, sigs: any, args: any, cause?: any | undefined, errorDetail?: string);
127
127
  }
128
128
  /**
129
129
  * @category Error
130
- * @description Error that indicates an invalid private key being passed or used
130
+ * Error that indicates an invalid private key being passed or used
131
131
  */
132
132
  export declare class InvalidKeyError extends ParameterValidationError {
133
133
  constructor(errorDetail?: string | ValidationResult);
134
134
  }
135
135
  /**
136
136
  * @category Error
137
- * @description Error that indicates an Invalid Public Key being passed or used
137
+ * Error that indicates an Invalid Public Key being passed or used
138
138
  */
139
139
  export declare class InvalidPublicKeyError extends ParameterValidationError {
140
140
  readonly publicKey?: string | undefined;
@@ -142,7 +142,7 @@ export declare class InvalidPublicKeyError extends ParameterValidationError {
142
142
  }
143
143
  /**
144
144
  * @category Error
145
- * @description Error that indicates an invalid signature being passed or used
145
+ * Error that indicates an invalid signature being passed or used
146
146
  */
147
147
  export declare class InvalidSignatureError extends ParameterValidationError {
148
148
  readonly signature: string;
@@ -150,7 +150,7 @@ export declare class InvalidSignatureError extends ParameterValidationError {
150
150
  }
151
151
  /**
152
152
  * @category Error
153
- * @description Error that indicates an invalid contract address being passed or used
153
+ * Error that indicates an invalid contract address being passed or used
154
154
  */
155
155
  export declare class InvalidContractAddressError extends ParameterValidationError {
156
156
  readonly contractAddress: string;
@@ -158,7 +158,7 @@ export declare class InvalidContractAddressError extends ParameterValidationErro
158
158
  }
159
159
  /**
160
160
  * @category Error
161
- * @description Error that indicates an invalid chain id being passed or used
161
+ * Error that indicates an invalid chain id being passed or used
162
162
  */
163
163
  export declare class InvalidChainIdError extends ParameterValidationError {
164
164
  readonly chainId: string;
@@ -166,7 +166,7 @@ export declare class InvalidChainIdError extends ParameterValidationError {
166
166
  }
167
167
  /**
168
168
  * @category Error
169
- * @description Error that indicates an invalid public key hash being passed or used
169
+ * Error that indicates an invalid public key hash being passed or used
170
170
  */
171
171
  export declare class InvalidKeyHashError extends ParameterValidationError {
172
172
  readonly keyHash: string;
@@ -174,7 +174,7 @@ export declare class InvalidKeyHashError extends ParameterValidationError {
174
174
  }
175
175
  /**
176
176
  * @category Error
177
- * @description Error that indicates an invalid operation hash being passed or used
177
+ * Error that indicates an invalid operation hash being passed or used
178
178
  */
179
179
  export declare class InvalidOperationHashError extends ParameterValidationError {
180
180
  readonly operationHash: string;
@@ -182,7 +182,7 @@ export declare class InvalidOperationHashError extends ParameterValidationError
182
182
  }
183
183
  /**
184
184
  * @category Error
185
- * @description Error that indicates an invalid operation kind being passed or used
185
+ * Error that indicates an invalid operation kind being passed or used
186
186
  */
187
187
  export declare class InvalidOperationKindError extends ParameterValidationError {
188
188
  readonly operationKind: string;
@@ -190,24 +190,24 @@ export declare class InvalidOperationKindError extends ParameterValidationError
190
190
  }
191
191
  /**
192
192
  * @category Error
193
- * @description General error that indicates something is no longer supported and/or deprecated
193
+ * General error that indicates something is no longer supported and/or deprecated
194
194
  */
195
195
  export declare class DeprecationError extends UnsupportedActionError {
196
196
  constructor(message: string);
197
197
  }
198
198
  /**
199
199
  * @category Error
200
- * @description General error that indicates an action is prohibited or not allowed
200
+ * General error that indicates an action is prohibited or not allowed
201
201
  */
202
202
  export declare class ProhibitedActionError extends UnsupportedActionError {
203
203
  constructor(message: string);
204
204
  }
205
205
  /**
206
206
  * @category Error
207
- * @description Error that indicates a failure in grabbing the public key
207
+ * Error that indicates a failure in grabbing the public key
208
208
  */
209
209
  export declare class PublicKeyNotFoundError extends TaquitoError {
210
210
  readonly pkh: string;
211
- readonly cause?: any;
212
- constructor(pkh: string, cause?: any);
211
+ readonly cause?: any | undefined;
212
+ constructor(pkh: string, cause?: any | undefined);
213
213
  }
@@ -1,27 +1,27 @@
1
1
  /**
2
- * @description Signer interface which is used across taquito in order to sign and inject operation
2
+ * Signer interface which is used across taquito in order to sign and inject operation
3
3
  */
4
4
  export interface Signer {
5
5
  /**
6
6
  * @param op Message to sign
7
7
  * @param magicByte Magic bytes 11 for block, 12 for preattestation, 13 for attestation, 3 for generic, 5 for the PACK format of michelson
8
- * @description Sign the message and return an object with bytes, sig, prefixSig and sbytes
8
+ * Sign the message and return an object with bytes, sig, prefixSig and sbytes
9
9
  */
10
10
  sign(op: string, magicByte?: Uint8Array): Promise<SignResult>;
11
11
  /**
12
- * @description Return the public key of the account used by the signer
12
+ * Return the public key of the account used by the signer
13
13
  */
14
14
  publicKey(): Promise<string>;
15
15
  /**
16
- * @description Return the public key hash of the account used by the signer
16
+ * Return the public key hash of the account used by the signer
17
17
  */
18
18
  publicKeyHash(): Promise<string>;
19
19
  /**
20
- * @description Optionally return the secret key of the account used by the signer
20
+ * Optionally return the secret key of the account used by the signer
21
21
  */
22
22
  secretKey(): Promise<string | undefined>;
23
23
  /**
24
- * @description Sign the public key to prove possession for bls key and return an object with bytes, sig, prefixSig and sbytes
24
+ * Sign the public key to prove possession for bls key and return an object with bytes, sig, prefixSig and sbytes
25
25
  */
26
26
  provePossession?(): Promise<RawSignResult>;
27
27
  }
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@taquito/core",
3
- "version": "24.2.0",
4
- "description": "Classes, interfaces, and types shared across Taquito packages",
3
+ "version": "24.3.0-beta.1",
4
+ "description": "Shared types, interfaces, and primitives for Taquito packages.",
5
5
  "keywords": [
6
+ "taquito",
6
7
  "tezos",
7
- "blockchain"
8
+ "typescript",
9
+ "blockchain",
10
+ "sdk"
8
11
  ],
9
12
  "main": "dist/taquito-core.umd.js",
10
13
  "module": "dist/taquito-core.es6.js",
@@ -16,14 +19,23 @@
16
19
  "publishConfig": {
17
20
  "access": "public"
18
21
  },
19
- "author": "huianyang <hui-an.yang@ecadlabs.com>",
22
+ "author": "ECAD Labs Inc <info@ecadlabs.com>",
23
+ "contributors": [
24
+ "hui-an.yang <hui-an.yang@ecadlabs.com>",
25
+ "Davis Sawali <davis.sawali@ecadlabs.com>",
26
+ "Jev Björsell (jevonearth)"
27
+ ],
28
+ "homepage": "https://taquito.io/",
20
29
  "repository": {
21
30
  "type": "git",
22
- "url": ""
31
+ "url": "git+https://github.com/ecadlabs/taquito.git"
32
+ },
33
+ "bugs": {
34
+ "url": "https://github.com/ecadlabs/taquito/issues"
23
35
  },
24
36
  "license": "Apache-2.0",
25
37
  "engines": {
26
- "node": ">=20"
38
+ "node": ">=22"
27
39
  },
28
40
  "scripts": {
29
41
  "lint": "eslint --ext .js,.ts .",
@@ -67,6 +79,5 @@
67
79
  "@types/node": "^20",
68
80
  "rollup": "^4.59.0",
69
81
  "rollup-plugin-typescript2": "^0.36.0"
70
- },
71
- "gitHead": "689f242c1780c9fe98c050819c55986912db3934"
82
+ }
72
83
  }
package/LICENSE DELETED
@@ -1,202 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright [yyyy] [name of copyright owner]
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.