@taquito/taquito 17.3.1-beta-RC.0 → 17.3.2
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/README.md +2 -2
- package/dist/lib/estimate/rpc-estimate-provider.js +3 -3
- package/dist/lib/version.js +2 -2
- package/dist/lib/version.js.map +1 -1
- package/dist/taquito.es6.js +5 -5
- package/dist/taquito.es6.js.map +1 -1
- package/dist/taquito.min.js +1 -1
- package/dist/taquito.umd.js +5 -5
- package/dist/taquito.umd.js.map +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -7,8 +7,8 @@ The `@taquito/taquito` package contains higher-level functionality that builds u
|
|
|
7
7
|
## CDN Bundle
|
|
8
8
|
|
|
9
9
|
```html
|
|
10
|
-
<script src="https://unpkg.com/@taquito/taquito@17.3.
|
|
11
|
-
crossorigin="anonymous" integrity="sha384-
|
|
10
|
+
<script src="https://unpkg.com/@taquito/taquito@17.3.2/dist/taquito.min.js"
|
|
11
|
+
crossorigin="anonymous" integrity="sha384-IxvP0ECHi5oqLyz94wF85pU9+ktcsL1HHtA42MITxZsGbsUMEu/g+0Vkjj5vqiMR"></script>
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## General Information
|
|
@@ -148,9 +148,9 @@ class RPCEstimateProvider extends provider_1.Provider {
|
|
|
148
148
|
if (toValidation !== utils_1.ValidationResult.VALID) {
|
|
149
149
|
throw new core_1.InvalidAddressError(rest.to, utils_1.invalidDetail(toValidation));
|
|
150
150
|
}
|
|
151
|
-
const
|
|
152
|
-
if (rest.source &&
|
|
153
|
-
throw new core_1.InvalidAddressError(rest.source, utils_1.invalidDetail(
|
|
151
|
+
const sourceValidation = utils_1.validateAddress((_b = rest.source) !== null && _b !== void 0 ? _b : '');
|
|
152
|
+
if (rest.source && sourceValidation !== utils_1.ValidationResult.VALID) {
|
|
153
|
+
throw new core_1.InvalidAddressError(rest.source, utils_1.invalidDetail(sourceValidation));
|
|
154
154
|
}
|
|
155
155
|
if (rest.amount < 0) {
|
|
156
156
|
throw new core_1.InvalidAmountError(rest.amount.toString());
|
package/dist/lib/version.js
CHANGED
|
@@ -3,7 +3,7 @@ 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.3.
|
|
6
|
+
"commitHash": "a97e506efd61b86e39ae30db588401b8fda46553",
|
|
7
|
+
"version": "17.3.2"
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=version.js.map
|
package/dist/lib/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AACA,2EAA2E;AAC9D,QAAA,OAAO,GAAG;IACnB,YAAY,EAAE,0CAA0C;IACxD,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AACA,2EAA2E;AAC9D,QAAA,OAAO,GAAG;IACnB,YAAY,EAAE,0CAA0C;IACxD,SAAS,EAAE,QAAQ;CACtB,CAAC"}
|
package/dist/taquito.es6.js
CHANGED
|
@@ -3838,9 +3838,9 @@ class RPCEstimateProvider extends Provider {
|
|
|
3838
3838
|
if (toValidation !== ValidationResult.VALID) {
|
|
3839
3839
|
throw new InvalidAddressError(rest.to, invalidDetail(toValidation));
|
|
3840
3840
|
}
|
|
3841
|
-
const
|
|
3842
|
-
if (rest.source &&
|
|
3843
|
-
throw new InvalidAddressError(rest.source, invalidDetail(
|
|
3841
|
+
const sourceValidation = validateAddress((_b = rest.source) !== null && _b !== void 0 ? _b : '');
|
|
3842
|
+
if (rest.source && sourceValidation !== ValidationResult.VALID) {
|
|
3843
|
+
throw new InvalidAddressError(rest.source, invalidDetail(sourceValidation));
|
|
3844
3844
|
}
|
|
3845
3845
|
if (rest.amount < 0) {
|
|
3846
3846
|
throw new InvalidAmountError(rest.amount.toString());
|
|
@@ -6178,8 +6178,8 @@ class Context {
|
|
|
6178
6178
|
|
|
6179
6179
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
6180
6180
|
const VERSION = {
|
|
6181
|
-
"commitHash": "
|
|
6182
|
-
"version": "17.3.
|
|
6181
|
+
"commitHash": "a97e506efd61b86e39ae30db588401b8fda46553",
|
|
6182
|
+
"version": "17.3.2"
|
|
6183
6183
|
};
|
|
6184
6184
|
|
|
6185
6185
|
/**
|