@vostokplatform/signature-generator
Advanced tools
Comparing version 2.0.0-RC14 to 2.0.0-RC15
@@ -415,5 +415,4 @@ "use strict"; | ||
Recipient.prototype.getBytes = function (value) { | ||
if (value.length <= 30) { | ||
var name_1 = value.split(':').pop(); | ||
var aliasBytes = getAliasBytes(name_1); | ||
if (/alias:.:/i.test(value)) { | ||
var aliasBytes = getAliasBytes(value.split(':').pop()); | ||
return Promise.resolve(Uint8Array.from(aliasBytes)); | ||
@@ -420,0 +419,0 @@ } |
{ | ||
"name": "@vostokplatform/signature-generator", | ||
"version": "2.0.0-RC14", | ||
"version": "2.0.0-RC15", | ||
"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
5949561
101510