@taquito/utils
Advanced tools
Comparing version 7.1.0-preview-lambdaview.0 to 7.2.0-alpha.0
@@ -61,5 +61,6 @@ "use strict"; | ||
*/ | ||
exports.b58cdecode = function (enc, prefixArg) { | ||
var b58cdecode = function (enc, prefixArg) { | ||
return bs58check.decode(enc).slice(prefixArg.length); | ||
}; | ||
exports.b58cdecode = b58cdecode; | ||
/** | ||
@@ -149,5 +150,6 @@ * | ||
*/ | ||
exports.hex2buf = function (hex) { | ||
var hex2buf = function (hex) { | ||
return new Uint8Array(hex.match(/[\da-f]{2}/gi).map(function (h) { return parseInt(h, 16); })); | ||
}; | ||
exports.hex2buf = hex2buf; | ||
/** | ||
@@ -160,3 +162,3 @@ * | ||
*/ | ||
exports.mergebuf = function (b1, b2) { | ||
var mergebuf = function (b1, b2) { | ||
var r = new Uint8Array(b1.length + b2.length); | ||
@@ -167,2 +169,3 @@ r.set(b1); | ||
}; | ||
exports.mergebuf = mergebuf; | ||
/** | ||
@@ -174,3 +177,3 @@ * | ||
*/ | ||
exports.mic2arr = function me2(s) { | ||
var mic2arr = function me2(s) { | ||
var ret = []; | ||
@@ -225,2 +228,3 @@ if (Object.prototype.hasOwnProperty.call(s, 'prim')) { | ||
}; | ||
exports.mic2arr = mic2arr; | ||
/** | ||
@@ -232,3 +236,3 @@ * | ||
*/ | ||
exports.buf2hex = function (buffer) { | ||
var buf2hex = function (buffer) { | ||
var byteArray = new Uint8Array(buffer); | ||
@@ -243,2 +247,3 @@ var hexParts = []; | ||
}; | ||
exports.buf2hex = buf2hex; | ||
//# sourceMappingURL=taquito-utils.js.map |
{ | ||
"name": "@taquito/utils", | ||
"version": "7.1.0-preview-lambdaview.0", | ||
"version": "7.2.0-alpha.0", | ||
"description": "converts michelson data and types into convenient JS/TS objects", | ||
@@ -69,9 +69,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.5", | ||
"@types/jest": "^26.0.16", | ||
"@types/node": "^14.14.10", | ||
"colors": "^1.4.0", | ||
"coveralls": "^3.1.0", | ||
"cross-env": "^7.0.2", | ||
"jest": "^26.5.2", | ||
"jest-config": "^26.5.2", | ||
"jest": "^26.6.3", | ||
"jest-config": "^26.6.3", | ||
"lint-staged": "^10.4.0", | ||
@@ -88,4 +88,4 @@ "lodash.camelcase": "^4.3.0", | ||
"shelljs": "^0.8.4", | ||
"ts-jest": "^26.4.1", | ||
"ts-node": "^9.0.0", | ||
"ts-jest": "^26.4.4", | ||
"ts-node": "^9.1.1", | ||
"tslint": "^6.1.3", | ||
@@ -95,5 +95,5 @@ "tslint-config-prettier": "^1.18.0", | ||
"typedoc": "^0.19.2", | ||
"typescript": "^4.0.3" | ||
"typescript": "^4.1.2" | ||
}, | ||
"gitHead": "5263f97e652a38b0d04f1696241ed214c59b3c6d" | ||
"gitHead": "cb287bf294290e81516f30a606b55cf26e0b3225" | ||
} |
@@ -17,3 +17,3 @@ { | ||
"path": "dist/lib/taquito-utils.js", | ||
"sha512": "a6492e7caad924f2aad6aab04fa97cad33d36fb212244fb52c49b62940c03e33ec69242e579a3738f9d6feb737570c1f83e92d6ed1e6e5f9767a075ddef002cb" | ||
"sha512": "77a13f9115ad12d6fce14b472b9b8a0b09c2dabdac86891fd36a9e45128e63001d7ec468abfd47cba5b59de9c114fec555333059bbdf450e099b9864c98f6049" | ||
}, | ||
@@ -38,3 +38,3 @@ { | ||
"path": "dist/lib/taquito-utils.js.map", | ||
"sha512": "d3d0ac60f61166e84ba65f23091135441f310bce601d2f9a1bfe56da8b123dee4fcb27e2db7ea9619001de48de2b428d3fc2f369fc09535dd76a97371d5c31d1" | ||
"sha512": "5cb135f7c142ccc27fdd35da198825ea4c2b5467de7d63ae70d1da9d16f37d3baba2da24e8a35f540ecb47f0a77b162f0f11de7cc8db09c19a210d9ddb42a146" | ||
}, | ||
@@ -100,3 +100,3 @@ { | ||
], | ||
"sha512": "382481b4167fd09861df84dddc86a8be5e6c842b16041f2317879c0ed7bf3087f4684695adee86f6d4b767e5849de2f2ddccf53c182a84f22ace6ad624dd221f" | ||
"sha512": "069c23e18fc186bbea185f8c9db1cd628390931b4d1b0e9d8acc263e9f54e5667a5779297c28efc2ace826be64cb533a0e1aef6434d95b3ffc72ccaafd50376a" | ||
} | ||
@@ -109,3 +109,3 @@ }, | ||
"name": "@taquito/utils", | ||
"version": "7.1.0-preview-lambdaview.0", | ||
"version": "7.1.0-beta.0", | ||
"description": "converts michelson data and types into convenient JS/TS objects", | ||
@@ -176,9 +176,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.5", | ||
"@types/jest": "^26.0.16", | ||
"@types/node": "^14.14.10", | ||
"colors": "^1.4.0", | ||
"coveralls": "^3.1.0", | ||
"cross-env": "^7.0.2", | ||
"jest": "^26.5.2", | ||
"jest-config": "^26.5.2", | ||
"jest": "^26.6.3", | ||
"jest-config": "^26.6.3", | ||
"lint-staged": "^10.4.0", | ||
@@ -195,4 +195,4 @@ "lodash.camelcase": "^4.3.0", | ||
"shelljs": "^0.8.4", | ||
"ts-jest": "^26.4.1", | ||
"ts-node": "^9.0.0", | ||
"ts-jest": "^26.4.4", | ||
"ts-node": "^9.1.1", | ||
"tslint": "^6.1.3", | ||
@@ -202,3 +202,3 @@ "tslint-config-prettier": "^1.18.0", | ||
"typedoc": "^0.19.2", | ||
"typescript": "^4.0.3" | ||
"typescript": "^4.1.2" | ||
}, | ||
@@ -210,3 +210,3 @@ "gitHead": "551e35aeff7d6dcde1c72284238c0ed3c3aae77e" | ||
], | ||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJfqdD2CRAD9Qy5GYHsngAAsUgQAAFSj3UfVOVCjDgwqF+4KZ+/\n3JQ0rwN6d9DiD+v1EHcoTDJyB22dKSNlv2GdxiYvf/FzKai2iRA7+soXuCcmHvg1\nKImXsGFbUuxoFZZstbAKe8kEDKJncDA4vwUEzwFyqhLnyHrYcuLmqkFf22zXhwWj\nzVD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wVzVqstvDsV13Jk7+XPxbbdpLDD6p3z36oX6/ZABiKbKi+j+UA/FS8OLS\nXVVVXgYXkzFk0zXxIICsoxE7lt90Qqjlzyd+0fk2CalKuuZulRX5UP3q3lINifw6\nlV4LRkUUy7vIgXOna8qNHDd9GY/snBrHL+19C4k/BpqtYfzv+Ky9itehvkTcDo0V\ns0YICDiHKIKvKGPy0OUL5ZY1Gd26pIkWH5zY/8sBE1oFiq5XJioui3jly4ULUeUG\niq6/6oP9kKxdqQTmjyeG\n=C1vW\n-----END PGP SIGNATURE-----\n" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135693
1969