@taquito/utils
Advanced tools
Comparing version 6.0.3-beta.1 to 6.1.0-beta.0
"use strict"; | ||
var __spreadArrays = (this && this.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -51,3 +64,3 @@ var constants_1 = require("./constants"); | ||
function validateAddress(value) { | ||
return validatePrefixedValue(value, __spreadArrays(implicitPrefix, contractPrefix)); | ||
return validatePrefixedValue(value, __spread(implicitPrefix, contractPrefix)); | ||
} | ||
@@ -54,0 +67,0 @@ exports.validateAddress = validateAddress; |
@@ -103,10 +103,25 @@ import { Buffer } from 'buffer'; | ||
function __spreadArrays() { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
function __read(o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
} | ||
function __spread() { | ||
for (var ar = [], i = 0; i < arguments.length; i++) | ||
ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
} | ||
var bs58check = require('bs58check'); | ||
@@ -151,3 +166,3 @@ var ValidationResult; | ||
function validateAddress(value) { | ||
return validatePrefixedValue(value, __spreadArrays(implicitPrefix, contractPrefix)); | ||
return validatePrefixedValue(value, __spread(implicitPrefix, contractPrefix)); | ||
} | ||
@@ -154,0 +169,0 @@ function validateChain(value) { |
@@ -106,10 +106,25 @@ (function (global, factory) { | ||
function __spreadArrays() { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
function __read(o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
} | ||
function __spread() { | ||
for (var ar = [], i = 0; i < arguments.length; i++) | ||
ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
} | ||
var bs58check = require('bs58check'); | ||
@@ -153,3 +168,3 @@ (function (ValidationResult) { | ||
function validateAddress(value) { | ||
return validatePrefixedValue(value, __spreadArrays(implicitPrefix, contractPrefix)); | ||
return validatePrefixedValue(value, __spread(implicitPrefix, contractPrefix)); | ||
} | ||
@@ -156,0 +171,0 @@ function validateChain(value) { |
{ | ||
"name": "@taquito/utils", | ||
"version": "6.0.3-beta.1", | ||
"version": "6.1.0-beta.0", | ||
"description": "converts michelson data and types into convenient JS/TS objects", | ||
@@ -95,3 +95,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "03d82c19297e22cc74abe814c4fbf7475fa4ffbe" | ||
"gitHead": "2d5087b871ab1fc36bd69bf99476cef15a4c78b5" | ||
} |
@@ -13,3 +13,3 @@ { | ||
"path": "dist/taquito-utils.es5.js", | ||
"sha512": "f9ed940c8908983e38bea5f750b65340e72b7e1a3429435052e0818d3ceb9dc40a18766cf2b366b81aa2dd9dac14420b990bfe2d5fcc463551037483ddd8537d" | ||
"sha512": "cb020d20f3f992464a157c27ad2fb6f8ba59b7df0bdfba84b624e2113d19c0687552387e1f84e5d0d32d17d8075bcf36b97620c28512be215e223e628ffd642b" | ||
}, | ||
@@ -22,7 +22,7 @@ { | ||
"path": "dist/taquito-utils.umd.js", | ||
"sha512": "41349d39214ef9f84f64c2662b46aae83612021c037bafc087b7b7d87487f126f55d32d1d6e4287f14c3ddca138396402d922cead2d6bfabd191643f4c157f19" | ||
"sha512": "c76e5f35ae7bc672f0260a9dc605179f753635f226750273f4601d7daab8feb304b95180d859eca33c02f1769795ce47c077b1160433f249f111a1f00d32686a" | ||
}, | ||
{ | ||
"path": "dist/lib/validators.js", | ||
"sha512": "5b5b3ad445770745328aa6a013ad71474bf68d2e7f9844a1633210744bbfcecc82837065735b6003ee4d4712f1f46ae37eef3a4e861f9ad266fde3426871dc44" | ||
"sha512": "989ee14521ea688541ae9d93d9840408ebd59392b3406b1336968465235c61ff1d118563e1bbdc42b4a4288c59f1be1d2a66db972f017d1560130936eb6fcda5" | ||
}, | ||
@@ -35,3 +35,3 @@ { | ||
"path": "dist/taquito-utils.es5.js.map", | ||
"sha512": "bf866dc143ffe4c3fcbf7747aceb70804efdc66bf22c4300079ff9461546dddf3e05b7fc1bd38b35b261b590b32f6716d5f27e25d26aae865fb106fa7868b0e0" | ||
"sha512": "c0c3fa05c0fc949812193c60fa52ffb69092827bcea556dd89f32ecb75be35950ba02f42055d6784fce0f817c885fa4e2bdbee75e1d614670c540e1988c8d4b0" | ||
}, | ||
@@ -44,7 +44,7 @@ { | ||
"path": "dist/taquito-utils.umd.js.map", | ||
"sha512": "1a73446cadd7df60e14fed14b66dab3e4ccca35bc95bd9234feb3b71a648a07ad580d516188e1535a2489961525f01917f1bc1eafba771cad5930ae1276f5a1e" | ||
"sha512": "8c441f1afcfa6392c94b4df81b79b1783fd9d44a10852868fb6c4cfe94e69e91e93a365276f4a6cbed5f0d47ca3cb0b36acb640a4212023506d3d8e3617d20d3" | ||
}, | ||
{ | ||
"path": "dist/lib/validators.js.map", | ||
"sha512": "8b9a27de72dcb2287ce6190ce721fe95a713c5534ca4cc1d8340747e6563c2c958c792ee1cc51e6e9bd17851c566ba27868e7708047eebb7d6a3ac198cf0935c" | ||
"sha512": "dafc8b7fb3abd7f1126e375ef21c6b2f620b65f3fac59ebca26d7cc03e09beed28a490dbccf167ceec85d1780cbdc8424b00b26a16634da1890aca3b4c567688" | ||
}, | ||
@@ -101,3 +101,3 @@ { | ||
], | ||
"sha512": "69c77c6e7eb2c8644f558a7ef8cea29ec8063bf4d49b803ae098313b1ba1eeadddd936cfacd9af60b5a55706b865d03bfc35f0d54dab4e07de46f444c206ea96" | ||
"sha512": "ab1ac934c48ae232c216c5e8ddef24ca2b5b5f5e81e6b2c368e408e4c6dd23b381fe696b68f82849762373ff1d973eab5a4267a5cf03244b05c5aa77fe1773c0" | ||
} | ||
@@ -110,3 +110,3 @@ }, | ||
"name": "@taquito/utils", | ||
"version": "6.0.3-beta.1", | ||
"version": "6.1.0-beta.0", | ||
"description": "converts michelson data and types into convenient JS/TS objects", | ||
@@ -207,3 +207,3 @@ "keywords": [ | ||
], | ||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJePeWuCRCwAkEJD2ZwqwAAb18QADY82mBDHs8pX3bsvXIjFPwO\nzlX8xn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EBickc5AOJ3k1BpVwDJCcGgPylROtanwGAVtLwJF61Xs0Wg/srhfrb\nmzZ65hgN5GYebteg5sP+8g9Hp6g+AiPNb8n79jkbn7LZedtkqyq6CZgN5aPhl+6x\nee+Fe1a7ONs3buhwZW+uAC6TkjOLLMHs1ouiPwFjeiWtK6LaiQgPK5qq5/yPCyAh\nNhasJQVKaHQ1HGCKVvNhPctjDt/oLCH5QBfllTjeSXso6PTK1ewYTF0U/WBQiN/R\nLPyrpFShadyaycjbaUlVXpPjfWq2QWf0lkyUiTxS4GcQBJRCpofaqV2RemuFvvIK\npCUYCfFDxInK10LP0542CeASUrBvDPcJlStPBnodMjR3HH4pZCXuZa+kFob3shH8\ndj5kw6L4nJykenpN5i3d\n=N2bj\n-----END PGP SIGNATURE-----\n" | ||
} |
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
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
148689
2028