@taquito/utils
Advanced tools
Comparing version 9.0.0 to 9.0.1
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.bytes2Char = exports.char2Bytes = exports.buf2hex = exports.mic2arr = exports.mergebuf = exports.hex2buf = exports.encodeKeyHash = exports.encodeKey = exports.encodePubKey = exports.b58decode = exports.b58cdecode = exports.b58cencode = exports.encodeOpHash = exports.encodeExpr = exports.prefixLength = exports.Prefix = exports.prefix = void 0; | ||
exports.bytes2Char = exports.char2Bytes = exports.buf2hex = exports.mic2arr = exports.mergebuf = exports.hex2buf = exports.encodeKeyHash = exports.encodeKey = exports.encodePubKey = exports.b58decode = exports.b58cdecode = exports.b58cencode = exports.encodeOpHash = exports.encodeExpr = exports.prefixLength = exports.Prefix = exports.prefix = exports.VERSION = void 0; | ||
/* | ||
@@ -29,2 +29,4 @@ * Some code in this file is originally from sotez and eztz | ||
__exportStar(require("./validators"), exports); | ||
var version_1 = require("./version"); | ||
Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return version_1.VERSION; } }); | ||
var constants_2 = require("./constants"); | ||
@@ -31,0 +33,0 @@ Object.defineProperty(exports, "prefix", { enumerable: true, get: function () { return constants_2.prefix; } }); |
@@ -60,3 +60,3 @@ "use strict"; | ||
// Remove annotation from contract address before doing the validation | ||
var contractAddress = /(KT1\w{33})(\%(.*))?/.exec(value); | ||
var contractAddress = /^(KT1\w{33})(\%(.*))?/.exec(value); | ||
if (contractAddress) { | ||
@@ -63,0 +63,0 @@ value = contractAddress[1]; |
@@ -7,6 +7,6 @@ "use strict"; | ||
exports.VERSION = { | ||
"commitHash": "a34c1b8fea3594fb5a02699bf98933df10e2225c", | ||
"version": "9.0.0-beta-RC.0" | ||
"commitHash": "334454ed1f3717affb11a943e271fe2a6330a0c5", | ||
"version": "9.0.1" | ||
}; | ||
/* tslint:enable */ | ||
//# sourceMappingURL=version.js.map |
@@ -161,3 +161,3 @@ import { Buffer } from 'buffer'; | ||
// Remove annotation from contract address before doing the validation | ||
var contractAddress = /(KT1\w{33})(\%(.*))?/.exec(value); | ||
var contractAddress = /^(KT1\w{33})(\%(.*))?/.exec(value); | ||
if (contractAddress) { | ||
@@ -290,2 +290,10 @@ value = contractAddress[1]; | ||
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! | ||
/* tslint:disable */ | ||
var VERSION = { | ||
"commitHash": "334454ed1f3717affb11a943e271fe2a6330a0c5", | ||
"version": "9.0.1" | ||
}; | ||
/* tslint:enable */ | ||
/** | ||
@@ -527,3 +535,3 @@ * @packageDocumentation | ||
export { Prefix, ValidationResult, b58cdecode, b58cencode, b58decode, buf2hex, bytes2Char, char2Bytes, encodeExpr, encodeKey, encodeKeyHash, encodeOpHash, encodePubKey, hex2buf, isValidPrefix, mergebuf, mic2arr, prefix, prefixLength, validateAddress, validateChain, validateContractAddress, validateKeyHash, validatePublicKey, validateSignature }; | ||
export { Prefix, VERSION, ValidationResult, b58cdecode, b58cencode, b58decode, buf2hex, bytes2Char, char2Bytes, encodeExpr, encodeKey, encodeKeyHash, encodeOpHash, encodePubKey, hex2buf, isValidPrefix, mergebuf, mic2arr, prefix, prefixLength, validateAddress, validateChain, validateContractAddress, validateKeyHash, validatePublicKey, validateSignature }; | ||
//# sourceMappingURL=taquito-utils.es5.js.map |
@@ -163,3 +163,3 @@ (function (global, factory) { | ||
// Remove annotation from contract address before doing the validation | ||
var contractAddress = /(KT1\w{33})(\%(.*))?/.exec(value); | ||
var contractAddress = /^(KT1\w{33})(\%(.*))?/.exec(value); | ||
if (contractAddress) { | ||
@@ -292,2 +292,10 @@ value = contractAddress[1]; | ||
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! | ||
/* tslint:disable */ | ||
var VERSION = { | ||
"commitHash": "334454ed1f3717affb11a943e271fe2a6330a0c5", | ||
"version": "9.0.1" | ||
}; | ||
/* tslint:enable */ | ||
/** | ||
@@ -529,2 +537,3 @@ * @packageDocumentation | ||
exports.VERSION = VERSION; | ||
exports.b58cdecode = b58cdecode; | ||
@@ -531,0 +540,0 @@ exports.b58cencode = b58cencode; |
@@ -7,2 +7,3 @@ /** | ||
export * from './validators'; | ||
export { VERSION } from './version'; | ||
export { prefix, Prefix, prefixLength } from './constants'; | ||
@@ -9,0 +10,0 @@ /** |
{ | ||
"name": "@taquito/utils", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"description": "converts michelson data and types into convenient JS/TS objects", | ||
@@ -34,4 +34,5 @@ "keywords": [ | ||
"prebuild": "rimraf dist", | ||
"build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts", | ||
"start": "rollup -c rollup.config.ts -w", | ||
"version-stamp": "node ../taquito/version-stamping.js", | ||
"build": "npm run version-stamp && tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts", | ||
"start": "npm run version-stamp && rollup -c rollup.config.ts -w", | ||
"test": "jest" | ||
@@ -97,3 +98,3 @@ }, | ||
}, | ||
"gitHead": "fc23362f205c5297fd7ae7eb7e3702f67b959d3d" | ||
"gitHead": "9498110077139338d90e3f3df4576c48db82cd82" | ||
} |
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
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
145323
2132