@taquito/local-forging
Advanced tools
Comparing version 12.1.0 to 12.1.1
@@ -17,3 +17,3 @@ "use strict"; | ||
const utils_1 = require("../utils"); | ||
const { [0x00]: ommited } = constants_1.kindMapping, kindMappingNoEndorsement = __rest(constants_1.kindMapping, ["0"]); | ||
const { [0x00]: _ommited } = constants_1.kindMapping, kindMappingNoEndorsement = __rest(constants_1.kindMapping, ["0"]); | ||
exports.kindMappingProto12 = Object.assign(Object.assign({}, kindMappingNoEndorsement), { 0x15: 'endorsement' }); | ||
@@ -20,0 +20,0 @@ exports.kindMappingReverseProto12 = (() => { |
@@ -16,2 +16,3 @@ "use strict"; | ||
ProtocolsHash["Psithaca2"] = "Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A"; | ||
ProtocolsHash["PtJakart2"] = "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY"; | ||
ProtocolsHash["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"; | ||
@@ -30,3 +31,4 @@ })(ProtocolsHash = exports.ProtocolsHash || (exports.ProtocolsHash = {})); | ||
Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A: 12, | ||
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 13, | ||
PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY: 13, | ||
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 14, | ||
}; | ||
@@ -33,0 +35,0 @@ function ProtoInferiorTo(a, b) { |
@@ -103,3 +103,4 @@ "use strict"; | ||
} | ||
return Promise.resolve(this.codec.encoder(params)); | ||
const forged = this.codec.encoder(params).toLowerCase(); | ||
return Promise.resolve(forged); | ||
} | ||
@@ -106,0 +107,0 @@ parse(hex) { |
@@ -6,5 +6,5 @@ "use strict"; | ||
exports.VERSION = { | ||
"commitHash": "cbdd0af87e400489076259d065e2d328feb8e1b4", | ||
"version": "12.1.0" | ||
"commitHash": "38da814ec2bb4e81c7ad5a45b6b183a4d0b8dc25", | ||
"version": "12.1.1" | ||
}; | ||
//# sourceMappingURL=version.js.map |
@@ -1241,2 +1241,3 @@ import { Prefix, prefixLength, b58cencode, prefix, buf2hex, b58cdecode, InvalidKeyHashError, InvalidPublicKeyError, InvalidAddressError, InvalidOperationKindError, validateBlock, ValidationResult } from '@taquito/utils'; | ||
ProtocolsHash["Psithaca2"] = "Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A"; | ||
ProtocolsHash["PtJakart2"] = "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY"; | ||
ProtocolsHash["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"; | ||
@@ -1255,3 +1256,4 @@ })(ProtocolsHash || (ProtocolsHash = {})); | ||
Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A: 12, | ||
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 13, | ||
PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY: 13, | ||
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 14, | ||
}; | ||
@@ -1480,4 +1482,4 @@ function ProtoInferiorTo(a, b) { | ||
const VERSION = { | ||
"commitHash": "cbdd0af87e400489076259d065e2d328feb8e1b4", | ||
"version": "12.1.0" | ||
"commitHash": "38da814ec2bb4e81c7ad5a45b6b183a4d0b8dc25", | ||
"version": "12.1.1" | ||
}; | ||
@@ -1551,3 +1553,4 @@ | ||
} | ||
return Promise.resolve(this.codec.encoder(params)); | ||
const forged = this.codec.encoder(params).toLowerCase(); | ||
return Promise.resolve(forged); | ||
} | ||
@@ -1554,0 +1557,0 @@ parse(hex) { |
@@ -1248,2 +1248,3 @@ (function (global, factory) { | ||
ProtocolsHash["Psithaca2"] = "Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A"; | ||
ProtocolsHash["PtJakart2"] = "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY"; | ||
ProtocolsHash["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"; | ||
@@ -1262,3 +1263,4 @@ })(exports.ProtocolsHash || (exports.ProtocolsHash = {})); | ||
Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A: 12, | ||
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 13, | ||
PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY: 13, | ||
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 14, | ||
}; | ||
@@ -1487,4 +1489,4 @@ function ProtoInferiorTo(a, b) { | ||
const VERSION = { | ||
"commitHash": "cbdd0af87e400489076259d065e2d328feb8e1b4", | ||
"version": "12.1.0" | ||
"commitHash": "38da814ec2bb4e81c7ad5a45b6b183a4d0b8dc25", | ||
"version": "12.1.1" | ||
}; | ||
@@ -1558,3 +1560,4 @@ | ||
} | ||
return Promise.resolve(this.codec.encoder(params)); | ||
const forged = this.codec.encoder(params).toLowerCase(); | ||
return Promise.resolve(forged); | ||
} | ||
@@ -1561,0 +1564,0 @@ parse(hex) { |
@@ -38,3 +38,3 @@ import { Decoder } from '../decoder'; | ||
export declare const primEncoder: Encoder<PrimValue>; | ||
export declare const primDecoder: (value: Uint8ArrayConsumer, preamble: Uint8Array) => any; | ||
export declare const primDecoder: (value: Uint8ArrayConsumer, preamble: Uint8Array) => Partial<PrimValue>; | ||
export declare const primViewDecoder: (value: Uint8ArrayConsumer, result: Partial<PrimValue>) => Partial<PrimValue>; | ||
@@ -41,0 +41,0 @@ export declare const decodeCombPair: Decoder; |
@@ -12,4 +12,5 @@ export declare enum ProtocolsHash { | ||
Psithaca2 = "Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A", | ||
PtJakart2 = "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY", | ||
ProtoALpha = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK" | ||
} | ||
export declare function ProtoInferiorTo(a: ProtocolsHash, b: ProtocolsHash): boolean; |
@@ -0,5 +1,7 @@ | ||
import { OpKind } from '@taquito/rpc'; | ||
import { OperationContents } from '@taquito/rpc'; | ||
/** | ||
* @returns A boolean value to indicate whether the operation kind is valid or not | ||
*/ | ||
export declare const validateOperationKind: (opKind: string) => boolean; | ||
export declare const validateOperationKind: (opKind: OpKind) => boolean; | ||
/** | ||
@@ -11,2 +13,2 @@ * returns 0 when the two array of properties are identical or the passed property | ||
*/ | ||
export declare const validateMissingProperty: (operationContent: any) => string[]; | ||
export declare const validateMissingProperty: (operationContent: OperationContents) => string[]; |
{ | ||
"name": "@taquito/local-forging", | ||
"version": "12.1.0", | ||
"version": "12.1.1", | ||
"description": "Provide local forging functionality to be with taquito", | ||
@@ -70,7 +70,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@taquito/utils": "^12.1.0", | ||
"@taquito/utils": "^12.1.1", | ||
"bignumber.js": "^9.0.2" | ||
}, | ||
"devDependencies": { | ||
"@taquito/rpc": "^12.1.0", | ||
"@taquito/rpc": "^12.1.1", | ||
"@types/bluebird": "^3.5.36", | ||
@@ -104,3 +104,3 @@ "@types/jest": "^26.0.23", | ||
}, | ||
"gitHead": "8e044472d87e92bfa748e8193ba84a7ee57d659f" | ||
"gitHead": "e97d6f77d990f91b4e407f4e7b7f8f3785edb2ba" | ||
} |
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
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
540455
5639
Updated@taquito/utils@^12.1.1