@vostokplatform/signature-generator
Advanced tools
Comparing version 2.0.0-RC8 to 2.0.0-RC9
@@ -218,13 +218,3 @@ "use strict"; | ||
Long.prototype.getBytes = function (value) { | ||
var bytes; | ||
if (typeof value === 'number') { | ||
bytes = convert_1.default.longToByteArray(value); | ||
} | ||
else { | ||
if (typeof value === 'string') { | ||
value = new data_entities_1.BigNumber(value); | ||
} | ||
bytes = convert_1.default.bigNumberToByteArray(value); | ||
} | ||
return Promise.resolve(Uint8Array.from(bytes)); | ||
return Promise.resolve(Uint8Array.from(convert_1.default.bigNumberToByteArray(new data_entities_1.BigNumber(value)))); | ||
}; | ||
@@ -231,0 +221,0 @@ return Long; |
{ | ||
"name": "@vostokplatform/signature-generator", | ||
"version": "2.0.0-RC8", | ||
"version": "2.0.0-RC9", | ||
"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
5945791
101439