Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-chunkmanager

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-chunkmanager - npm Package Compare versions

Comparing version 2.72.1 to 2.73.0

4

dist/chunk_manager.d.ts

@@ -43,2 +43,6 @@ /// <reference types="node" />

constructor(options: IChunkManagerOptions);
evaluateTotalLengthAndChunks(bodySize: number): {
totalLength: number;
chunkCount: number;
};
write(buffer: Buffer, length?: number): void;

@@ -45,0 +49,0 @@ end(): void;

@@ -73,2 +73,7 @@ "use strict";

}
evaluateTotalLengthAndChunks(bodySize) {
const chunkCount = Math.ceil(bodySize / this.maxBodySize);
const totalLength = this.chunkSize + chunkCount;
return { totalLength, chunkCount };
}
write(buffer, length) {

@@ -75,0 +80,0 @@ length = length || buffer.length;

10

dist/SequenceHeader.d.ts

@@ -6,11 +6,15 @@ /***

import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
import { BaseUAObject, StructuredTypeSchema } from "node-opcua-factory";
import { BaseUAObject, IStructuredTypeSchema } from "node-opcua-factory";
export interface SequenceHeaderOptions {
sequenceNumber?: UInt32;
requestId?: UInt32;
}
export declare class SequenceHeader extends BaseUAObject {
static possibleFields: string[];
static schema: StructuredTypeSchema;
static schema: IStructuredTypeSchema;
sequenceNumber: UInt32;
requestId: UInt32;
constructor(options?: any);
constructor(options?: SequenceHeaderOptions);
encode(stream: OutputBinaryStream): void;
decode(stream: BinaryStream): void;
}
{
"name": "node-opcua-chunkmanager",
"version": "2.72.1",
"version": "2.73.0",
"description": "pure nodejs OPCUA SDK - module -chunkmanager",

@@ -16,6 +16,6 @@ "main": "./dist/index.js",

"node-opcua-assert": "2.66.0",
"node-opcua-basic-types": "2.72.1",
"node-opcua-binary-stream": "2.71.0",
"node-opcua-basic-types": "2.73.0",
"node-opcua-binary-stream": "2.73.0",
"node-opcua-buffer-utils": "2.71.0",
"node-opcua-factory": "2.72.1",
"node-opcua-factory": "2.73.0",
"node-opcua-packet-assembler": "2.71.0"

@@ -44,3 +44,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "ba98dd91a9eada9815268c66c98ca5391bc884e7"
"gitHead": "b23a87c1ef777c0d8b680f45ee77e2a319feb092"
}

@@ -157,2 +157,8 @@ /***

public evaluateTotalLengthAndChunks(bodySize: number): { totalLength: number; chunkCount: number } {
const chunkCount = Math.ceil(bodySize / this.maxBodySize);
const totalLength = this.chunkSize + chunkCount;
return { totalLength, chunkCount };
}
public write(buffer: Buffer, length?: number) {

@@ -159,0 +165,0 @@ length = length || buffer.length;

@@ -12,6 +12,6 @@ /***

parameters,
StructuredTypeSchema
IStructuredTypeSchema
} from "node-opcua-factory";
const schemaSequenceHeader: StructuredTypeSchema = buildStructuredType({
const schemaSequenceHeader: IStructuredTypeSchema = buildStructuredType({
baseType: "BaseUAObject",

@@ -29,2 +29,6 @@ fields: [

export interface SequenceHeaderOptions {
sequenceNumber?: UInt32;
requestId?: UInt32;
}
export class SequenceHeader extends BaseUAObject {

@@ -36,3 +40,3 @@ public static possibleFields: string[] = ["sequenceNumber", "requestId"];

constructor(options?: any) {
constructor(options?: SequenceHeaderOptions) {
options = options || {};

@@ -39,0 +43,0 @@ super();

Sorry, the diff of this file is not supported yet

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