@taquito/utils
Advanced tools
Comparing version
@@ -18,6 +18,5 @@ "use strict"; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
}; | ||
@@ -97,3 +96,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
function validateAddress(value) { | ||
return validatePrefixedValue(value, __spreadArray(__spreadArray([], __read(implicitPrefix)), __read(contractPrefix))); | ||
return validatePrefixedValue(value, __spread(implicitPrefix, contractPrefix)); | ||
} | ||
@@ -186,3 +185,3 @@ exports.validateAddress = validateAddress; | ||
* import { validatePublicKey } from '@taquito/utils'; | ||
* const publicKey = 'edsigtkpiSSschcaCt9pUVrpNPf7TTcgvgDEDD6NCEHMy8NNQJCGnMfLZzYoQj74yLjo9wx6MPVV29CvVzgi7qEcEUok3k7AuMg' | ||
* const publicKey = 'edpkvS5QFv7KRGfa3b87gg9DBpxSm3NpSwnjhUjNBQrRUUR66F7C9g' | ||
* const validation = validatePublicKey(publicKey) | ||
@@ -189,0 +188,0 @@ * console.log(validation) |
@@ -7,6 +7,6 @@ "use strict"; | ||
exports.VERSION = { | ||
"commitHash": "5711569ffaf481d88ba3251343a1788090b35dd4", | ||
"version": "10.2.1" | ||
"commitHash": "9774316a5cc2f7abfad1e668a096b9fe324bf255", | ||
"version": "11.0.0-beta-RC.0" | ||
}; | ||
/* tslint:enable */ | ||
//# sourceMappingURL=version.js.map |
@@ -121,6 +121,7 @@ import { Buffer } from 'buffer'; | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
/** @deprecated */ | ||
function __spread() { | ||
for (var ar = [], i = 0; i < arguments.length; i++) | ||
ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
} | ||
@@ -197,3 +198,3 @@ | ||
function validateAddress(value) { | ||
return validatePrefixedValue(value, __spreadArray(__spreadArray([], __read(implicitPrefix)), __read(contractPrefix))); | ||
return validatePrefixedValue(value, __spread(implicitPrefix, contractPrefix)); | ||
} | ||
@@ -281,3 +282,3 @@ /** | ||
* import { validatePublicKey } from '@taquito/utils'; | ||
* const publicKey = 'edsigtkpiSSschcaCt9pUVrpNPf7TTcgvgDEDD6NCEHMy8NNQJCGnMfLZzYoQj74yLjo9wx6MPVV29CvVzgi7qEcEUok3k7AuMg' | ||
* const publicKey = 'edpkvS5QFv7KRGfa3b87gg9DBpxSm3NpSwnjhUjNBQrRUUR66F7C9g' | ||
* const validation = validatePublicKey(publicKey) | ||
@@ -295,4 +296,4 @@ * console.log(validation) | ||
var VERSION = { | ||
"commitHash": "5711569ffaf481d88ba3251343a1788090b35dd4", | ||
"version": "10.2.1" | ||
"commitHash": "9774316a5cc2f7abfad1e668a096b9fe324bf255", | ||
"version": "11.0.0-beta-RC.0" | ||
}; | ||
@@ -299,0 +300,0 @@ /* tslint:enable */ |
@@ -125,6 +125,7 @@ (function (global, factory) { | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
/** @deprecated */ | ||
function __spread() { | ||
for (var ar = [], i = 0; i < arguments.length; i++) | ||
ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
} | ||
@@ -201,3 +202,3 @@ | ||
function validateAddress(value) { | ||
return validatePrefixedValue(value, __spreadArray(__spreadArray([], __read(implicitPrefix)), __read(contractPrefix))); | ||
return validatePrefixedValue(value, __spread(implicitPrefix, contractPrefix)); | ||
} | ||
@@ -285,3 +286,3 @@ /** | ||
* import { validatePublicKey } from '@taquito/utils'; | ||
* const publicKey = 'edsigtkpiSSschcaCt9pUVrpNPf7TTcgvgDEDD6NCEHMy8NNQJCGnMfLZzYoQj74yLjo9wx6MPVV29CvVzgi7qEcEUok3k7AuMg' | ||
* const publicKey = 'edpkvS5QFv7KRGfa3b87gg9DBpxSm3NpSwnjhUjNBQrRUUR66F7C9g' | ||
* const validation = validatePublicKey(publicKey) | ||
@@ -299,4 +300,4 @@ * console.log(validation) | ||
var VERSION = { | ||
"commitHash": "5711569ffaf481d88ba3251343a1788090b35dd4", | ||
"version": "10.2.1" | ||
"commitHash": "9774316a5cc2f7abfad1e668a096b9fe324bf255", | ||
"version": "11.0.0-beta-RC.0" | ||
}; | ||
@@ -303,0 +304,0 @@ /* tslint:enable */ |
@@ -98,3 +98,3 @@ import { Prefix } from './constants'; | ||
* import { validatePublicKey } from '@taquito/utils'; | ||
* const publicKey = 'edsigtkpiSSschcaCt9pUVrpNPf7TTcgvgDEDD6NCEHMy8NNQJCGnMfLZzYoQj74yLjo9wx6MPVV29CvVzgi7qEcEUok3k7AuMg' | ||
* const publicKey = 'edpkvS5QFv7KRGfa3b87gg9DBpxSm3NpSwnjhUjNBQrRUUR66F7C9g' | ||
* const validation = validatePublicKey(publicKey) | ||
@@ -101,0 +101,0 @@ * console.log(validation) |
{ | ||
"name": "@taquito/utils", | ||
"version": "10.2.1", | ||
"version": "11.0.0-beta-RC.0", | ||
"description": "converts michelson data and types into convenient JS/TS objects", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
"prettier --write", | ||
"tslint --fix", | ||
"eslint --fix", | ||
"git add" | ||
@@ -98,5 +98,5 @@ ] | ||
"typedoc": "^0.20.36", | ||
"typescript": "^4.1.5" | ||
"typescript": "~4.1.5" | ||
}, | ||
"gitHead": "c3d65aa8a91c161ca2560e10d48f85b6b63255b0" | ||
"gitHead": "4411c2b126f5cfd98fa82b828c5b5d4f3f23e017" | ||
} |
@@ -196,3 +196,3 @@ { | ||
"typedoc": "^0.20.23", | ||
"typescript": "^4.1.5" | ||
"typescript": "~4.1.5" | ||
}, | ||
@@ -199,0 +199,0 @@ "gitHead": "551e35aeff7d6dcde1c72284238c0ed3c3aae77e" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2136
0.05%147407
-0.22%2
100%