New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vostokplatform/signature-generator

Package Overview
Dependencies
Maintainers
9
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vostokplatform/signature-generator - npm Package Compare versions

Comparing version 1.4.8 to 1.4.9

14

dist/byteProcessor/ByteProcessor.js

@@ -546,2 +546,16 @@ "use strict";

exports.DockerCreateParamsEntries = DockerCreateParamsEntries;
var ArrayOfStringsWithLength = /** @class */ (function (_super) {
__extends(ArrayOfStringsWithLength, _super);
function ArrayOfStringsWithLength() {
return _super !== null && _super.apply(this, arguments) || this;
}
ArrayOfStringsWithLength.prototype.process = function (values, byteLength) {
if (byteLength === void 0) { byteLength = 2; }
var value = values.reduce(function (acc, e) { return acc + e; }, '');
var bytesWithLength = convert_1.default.stringToByteArrayWithSize(value, byteLength);
return Promise.resolve(Uint8Array.from(bytesWithLength));
};
return ArrayOfStringsWithLength;
}(ByteProcessor));
exports.ArrayOfStringsWithLength = ArrayOfStringsWithLength;
//# sourceMappingURL=ByteProcessor.js.map

8

dist/signatureFactory/SignatureFactory.js

@@ -348,4 +348,4 @@ "use strict";

new __1.StringWithLength('description'),
new __1.StringWithLength('recipients'),
new __1.StringWithLength('owners'),
new __1.ArrayOfStringsWithLength('recipients'),
new __1.ArrayOfStringsWithLength('owners'),
new __1.Long('timestamp'),

@@ -361,4 +361,4 @@ new __1.Long('fee'),

new __1.StringWithLength('policyId'),
new __1.StringWithLength('recipients'),
new __1.StringWithLength('owners'),
new __1.ArrayOfStringsWithLength('recipients'),
new __1.ArrayOfStringsWithLength('owners'),
new __1.PermissionOpType('opType'),

@@ -365,0 +365,0 @@ new __1.Long('timestamp'),

{
"name": "@vostokplatform/signature-generator",
"version": "1.4.8",
"version": "1.4.9",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "files": [

@@ -393,1 +393,9 @@ "use strict";

exports.DockerCreateParamsEntries = DockerCreateParamsEntries;
class ArrayOfStringsWithLength extends ByteProcessor {
process(values, byteLength = 2) {
const value = values.reduce((acc, e) => acc + e, '');
const bytesWithLength = convert_1.default.stringToByteArrayWithSize(value, byteLength);
return Promise.resolve(Uint8Array.from(bytesWithLength));
}
}
exports.ArrayOfStringsWithLength = ArrayOfStringsWithLength;

@@ -410,2 +410,10 @@ import {BigNumber} from '@waves/data-entities';

}
}
export class ArrayOfStringsWithLength extends ByteProcessor {
public process(values: string[], byteLength: number = 2) {
const value = values.reduce((acc, e) => acc + e, '');
const bytesWithLength = convert.stringToByteArrayWithSize(value, byteLength);
return Promise.resolve(Uint8Array.from(bytesWithLength));
}
}

@@ -343,4 +343,4 @@ "use strict";

new __1.StringWithLength('description'),
new __1.StringWithLength('recipients'),
new __1.StringWithLength('owners'),
new __1.ArrayOfStringsWithLength('recipients'),
new __1.ArrayOfStringsWithLength('owners'),
new __1.Long('timestamp'),

@@ -356,4 +356,4 @@ new __1.Long('fee'),

new __1.StringWithLength('policyId'),
new __1.StringWithLength('recipients'),
new __1.StringWithLength('owners'),
new __1.ArrayOfStringsWithLength('recipients'),
new __1.ArrayOfStringsWithLength('owners'),
new __1.PermissionOpType('opType'),

@@ -360,0 +360,0 @@ new __1.Long('timestamp'),

@@ -22,2 +22,3 @@ import {

StringWithLength,
ArrayOfStringsWithLength,
Transfers,

@@ -442,4 +443,4 @@ PermissionTarget,

new StringWithLength('description'),
new StringWithLength('recipients'), // todo
new StringWithLength('owners'), // todo
new ArrayOfStringsWithLength('recipients'), // todo
new ArrayOfStringsWithLength('owners'), // todo
new Long('timestamp'),

@@ -457,4 +458,4 @@ new Long('fee'),

new StringWithLength('policyId'),
new StringWithLength('recipients'), // todo
new StringWithLength('owners'), // todo
new ArrayOfStringsWithLength('recipients'), // todo
new ArrayOfStringsWithLength('owners'), // todo
new PermissionOpType('opType'),

@@ -461,0 +462,0 @@ new Long('timestamp'),

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc