node-opcua-pseudo-session
Advanced tools
Comparing version 2.1.8 to 2.2.0
@@ -41,6 +41,8 @@ /// <reference types="node" /> | ||
export interface IBasicSession { | ||
read(nodeToRead: ReadValueIdLike, maxAge: number, callback: ResponseCallback<DataValue>): void; | ||
read(nodesToRead: ReadValueIdLike[], maxAge: number, callback: ResponseCallback<DataValue[]>): void; | ||
read(nodeToRead: ReadValueIdLike, callback: ResponseCallback<DataValue>): void; | ||
read(nodesToRead: ReadValueIdLike[], callback: ResponseCallback<DataValue[]>): void; | ||
read(nodeToRead: ReadValueIdLike): Promise<DataValue>; | ||
read(nodesToRead: ReadValueIdLike[]): Promise<DataValue[]>; | ||
read(nodeToRead: ReadValueIdLike, maxAge?: number): Promise<DataValue>; | ||
read(nodesToRead: ReadValueIdLike[], maxAge?: number): Promise<DataValue[]>; | ||
} | ||
@@ -47,0 +49,0 @@ export declare type MethodId = NodeIdLike; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "node-opcua-pseudo-session", | ||
"version": "2.1.8", | ||
"version": "2.2.0", | ||
"description": "pure nodejs OPCUA SDK - module -client-proxy", | ||
@@ -15,12 +15,12 @@ "scripts": { | ||
"async": "^3.1.0", | ||
"node-opcua-data-model": "^2.1.6", | ||
"node-opcua-data-value": "^2.1.8", | ||
"node-opcua-nodeid": "^2.1.6", | ||
"node-opcua-service-browse": "^2.1.8", | ||
"node-opcua-service-call": "^2.1.8", | ||
"node-opcua-service-read": "^2.1.8", | ||
"node-opcua-service-translate-browse-path": "^2.1.8", | ||
"node-opcua-status-code": "^2.1.6", | ||
"node-opcua-utils": "^2.1.6", | ||
"node-opcua-variant": "^2.1.6", | ||
"node-opcua-data-model": "^2.2.0", | ||
"node-opcua-data-value": "^2.2.0", | ||
"node-opcua-nodeid": "^2.2.0", | ||
"node-opcua-service-browse": "^2.2.0", | ||
"node-opcua-service-call": "^2.2.0", | ||
"node-opcua-service-read": "^2.2.0", | ||
"node-opcua-service-translate-browse-path": "^2.2.0", | ||
"node-opcua-status-code": "^2.2.0", | ||
"node-opcua-utils": "^2.2.0", | ||
"node-opcua-variant": "^2.2.0", | ||
"underscore": "^1.9.1" | ||
@@ -43,3 +43,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "a9290b68d48927403e853e438ea9bd1bc6ad3f78" | ||
"gitHead": "e77e0371580d04e874b2023f8a5751c3608bc3f9" | ||
} |
@@ -67,19 +67,19 @@ /** | ||
browseNext( | ||
continuationPoint: Buffer, | ||
releaseContinuationPoints: boolean, | ||
callback: ResponseCallback<BrowseResult>): void; | ||
continuationPoint: Buffer, | ||
releaseContinuationPoints: boolean, | ||
callback: ResponseCallback<BrowseResult>): void; | ||
browseNext( | ||
continuationPoints: Buffer[], | ||
releaseContinuationPoints: boolean, | ||
callback: ResponseCallback<BrowseResult[]>): void; | ||
continuationPoints: Buffer[], | ||
releaseContinuationPoints: boolean, | ||
callback: ResponseCallback<BrowseResult[]>): void; | ||
browseNext( | ||
continuationPoint: Buffer, | ||
releaseContinuationPoints: boolean | ||
continuationPoint: Buffer, | ||
releaseContinuationPoints: boolean | ||
): Promise<BrowseResult>; | ||
browseNext( | ||
continuationPoints: Buffer[], | ||
releaseContinuationPoints: boolean | ||
continuationPoints: Buffer[], | ||
releaseContinuationPoints: boolean | ||
): Promise<BrowseResult[]>; | ||
@@ -89,2 +89,6 @@ } | ||
read(nodeToRead: ReadValueIdLike, maxAge: number, callback: ResponseCallback<DataValue>): void; | ||
read(nodesToRead: ReadValueIdLike[], maxAge: number, callback: ResponseCallback<DataValue[]>): void; | ||
read(nodeToRead: ReadValueIdLike, callback: ResponseCallback<DataValue>): void; | ||
@@ -94,9 +98,8 @@ | ||
read(nodeToRead: ReadValueIdLike): Promise<DataValue>; | ||
read(nodeToRead: ReadValueIdLike, maxAge?: number): Promise<DataValue>; | ||
read(nodesToRead: ReadValueIdLike[]): Promise<DataValue[]>; | ||
read(nodesToRead: ReadValueIdLike[], maxAge?: number): Promise<DataValue[]>; | ||
} | ||
export type MethodId = NodeIdLike ; | ||
export type MethodId = NodeIdLike; | ||
@@ -111,14 +114,14 @@ export interface ArgumentDefinition { | ||
call( | ||
methodToCall: CallMethodRequestLike, | ||
callback: (err: Error | null, result?: CallMethodResult) => void): void; | ||
methodToCall: CallMethodRequestLike, | ||
callback: (err: Error | null, result?: CallMethodResult) => void): void; | ||
call( | ||
methodsToCall: CallMethodRequestLike[], | ||
callback: (err: Error | null, results?: CallMethodResult[]) => void): void; | ||
methodsToCall: CallMethodRequestLike[], | ||
callback: (err: Error | null, results?: CallMethodResult[]) => void): void; | ||
call( | ||
methodToCall: CallMethodRequestLike): Promise<CallMethodResult>; | ||
methodToCall: CallMethodRequestLike): Promise<CallMethodResult>; | ||
call( | ||
methodsToCall: CallMethodRequestLike[]): Promise<CallMethodResult[]>; | ||
methodsToCall: CallMethodRequestLike[]): Promise<CallMethodResult[]>; | ||
@@ -143,5 +146,5 @@ getArgumentDefinition(methodId: MethodId): Promise<ArgumentDefinition>; | ||
export function getArgumentDefinitionHelper( | ||
session: IBasicSession, | ||
methodId: MethodId, | ||
callback: ResponseCallback<ArgumentDefinition> | ||
session: IBasicSession, | ||
methodId: MethodId, | ||
callback: ResponseCallback<ArgumentDefinition> | ||
) { | ||
@@ -172,3 +175,3 @@ | ||
const inputArgumentRefArray = browseResult.references.filter( | ||
(r) => r.browseName.name === "InputArguments"); | ||
(r) => r.browseName.name === "InputArguments"); | ||
@@ -179,3 +182,3 @@ // note : InputArguments property is optional thus may be missing | ||
const outputArgumentRefArray = browseResult.references.filter( | ||
(r) => r.browseName.name === "OutputArguments"); | ||
(r) => r.browseName.name === "OutputArguments"); | ||
@@ -182,0 +185,0 @@ // note : OutputArguments property is optional thus may be missing |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
206542
12
347
Updatednode-opcua-data-model@^2.2.0
Updatednode-opcua-data-value@^2.2.0
Updatednode-opcua-nodeid@^2.2.0
Updatednode-opcua-utils@^2.2.0
Updatednode-opcua-variant@^2.2.0