@vostokplatform/signature-generator
Advanced tools
Comparing version 1.6.7-RC8 to 1.6.8-RC1
@@ -48,2 +48,3 @@ export declare const PERMISSION_TRANSACTION_ROLE: { | ||
DOCKER_CALL_V2 = 104, | ||
DOCKER_CALL_V3 = 104, | ||
DOCKER_DISABLE = 106, | ||
@@ -73,2 +74,3 @@ POLICY_REGISTER_NODE = 111, | ||
DOCKER_CALL_V2 = "dockerCallV2", | ||
DOCKER_CALL_V3 = "dockerCallV3", | ||
DOCKER_DISABLE = "dockerDisable", | ||
@@ -98,2 +100,3 @@ POLICY_REGISTER_NODE = "policyRegisterNode", | ||
DOCKER_CALL_V2 = 2, | ||
DOCKER_CALL_V3 = 3, | ||
DOCKER_DISABLE = 1, | ||
@@ -100,0 +103,0 @@ POLICY_REGISTER_NODE = 1, |
@@ -105,5 +105,7 @@ export interface ISignatureGenerator { | ||
export interface IDOCKERCALL_V2_PROPS extends IDOCKERCALL_PROPS { | ||
feeAssetId: string; | ||
contractVersion: number; | ||
} | ||
export interface IDOCKERCALL_V3_PROPS extends IDOCKERCALL_V2_PROPS { | ||
feeAssetId: string; | ||
} | ||
export interface IDOCKERCREATE_PROPS extends IDEFAULT_PROPS { | ||
@@ -183,2 +185,3 @@ params: Array<IDATA_ENTRY>; | ||
dockerCallV2: ISignatureGeneratorConstructor<IDOCKERCALL_V2_PROPS>; | ||
dockerCallV3: ISignatureGeneratorConstructor<IDOCKERCALL_V3_PROPS>; | ||
dockerDisable: ISignatureGeneratorConstructor<IDOCKERDISABLE_PROPS>; | ||
@@ -185,0 +188,0 @@ policyRegisterNode: ISignatureGeneratorConstructor<IPOLICY_REGISTER_NODE_PROPS>; |
@@ -331,7 +331,19 @@ "use strict"; | ||
new __1.Long('timestamp'), | ||
new __1.Integer('contractVersion'), | ||
new __1.AssetId('feeAssetId'), | ||
new __1.Integer('contractVersion') | ||
]); | ||
exports.TX_NUMBER_MAP[104 /* DOCKER_CALL_V2 */] = DOCKER_CALL_V2; | ||
exports.TX_TYPE_MAP["dockerCallV2" /* DOCKER_CALL_V2 */] = DOCKER_CALL_V2; | ||
var DOCKER_CALL_V3 = generate([ | ||
104 /* DOCKER_CALL_V2 */, | ||
2 /* DOCKER_CALL_V2 */, | ||
new __1.Base58('senderPublicKey'), | ||
new __1.Base58WithLength('contractId'), | ||
new __1.DockerCreateParamsEntries('params'), | ||
new __1.Long('fee'), | ||
new __1.Long('timestamp'), | ||
new __1.Integer('contractVersion'), | ||
new __1.AssetId('feeAssetId') | ||
]); | ||
exports.TX_NUMBER_MAP[104 /* DOCKER_CALL_V3 */] = DOCKER_CALL_V3; | ||
exports.TX_TYPE_MAP["dockerCallV3" /* DOCKER_CALL_V3 */] = DOCKER_CALL_V3; | ||
var DOCKER_DISABLE = generate([ | ||
@@ -338,0 +350,0 @@ 106 /* DOCKER_DISABLE */, |
{ | ||
"name": "@vostokplatform/signature-generator", | ||
"version": "1.6.7-RC8", | ||
"version": "1.6.8-RC1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
5992808
102399