node-opcua-client 2.129.0 → 2.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alarms_and_conditions/client_alarm.d.ts +49 -0
- package/dist/alarms_and_conditions/client_alarm.js +97 -0
- package/dist/alarms_and_conditions/client_alarm.js.map +1 -0
- package/dist/alarms_and_conditions/client_alarm_list.d.ts +25 -0
- package/dist/alarms_and_conditions/client_alarm_list.js +98 -0
- package/dist/alarms_and_conditions/client_alarm_list.js.map +1 -0
- package/dist/alarms_and_conditions/client_alarm_tools.js +2 -3
- package/dist/alarms_and_conditions/client_alarm_tools.js.map +1 -1
- package/dist/alarms_and_conditions/client_alarm_tools_acknowledge_all_conditions.d.ts +18 -0
- package/dist/alarms_and_conditions/client_alarm_tools_acknowledge_all_conditions.js +175 -0
- package/dist/alarms_and_conditions/client_alarm_tools_acknowledge_all_conditions.js.map +1 -0
- package/dist/alarms_and_conditions/client_alarm_tools_dump_event.d.ts +9 -0
- package/dist/alarms_and_conditions/client_alarm_tools_dump_event.js +60 -0
- package/dist/alarms_and_conditions/client_alarm_tools_dump_event.js.map +1 -0
- package/dist/alarms_and_conditions/client_alarm_tools_extractConditionFields.d.ts +3 -0
- package/dist/alarms_and_conditions/client_alarm_tools_extractConditionFields.js +15 -0
- package/dist/alarms_and_conditions/client_alarm_tools_extractConditionFields.js.map +1 -0
- package/dist/client_base.d.ts +0 -2
- package/dist/client_monitored_item.d.ts +0 -1
- package/dist/client_monitored_item_base.d.ts +0 -1
- package/dist/client_monitored_item_group.d.ts +0 -1
- package/dist/client_session.d.ts +0 -2
- package/dist/client_session_keepalive_manager.d.ts +0 -1
- package/dist/client_subscription.d.ts +0 -1
- package/dist/client_utils.js +1 -2
- package/dist/client_utils.js.map +1 -1
- package/dist/private/client_monitored_item_group_impl.d.ts +0 -1
- package/dist/private/client_monitored_item_impl.d.ts +0 -1
- package/dist/private/client_monitored_item_impl.js +0 -2
- package/dist/private/client_monitored_item_impl.js.map +1 -1
- package/dist/private/client_session_impl.d.ts +0 -2
- package/dist/private/client_subscription_impl.d.ts +0 -1
- package/dist/private/client_subscription_impl.js +3 -3
- package/dist/private/client_subscription_impl.js.map +1 -1
- package/dist/private/opcua_client_impl.d.ts +3 -8
- package/dist/private/opcua_client_impl.js +93 -91
- package/dist/private/opcua_client_impl.js.map +1 -1
- package/dist/private/performance.js +1 -2
- package/dist/private/performance.js.map +1 -1
- package/dist/private/reconnection/client_publish_engine_reconnection.js +1 -2
- package/dist/private/reconnection/client_publish_engine_reconnection.js.map +1 -1
- package/dist/private/reconnection/client_reconnection.js +1 -2
- package/dist/private/reconnection/client_reconnection.js.map +1 -1
- package/dist/private/reconnection/client_subscription_reconnection.js +1 -2
- package/dist/private/reconnection/client_subscription_reconnection.js.map +1 -1
- package/dist/private/reconnection/reconnection.js +4 -5
- package/dist/private/reconnection/reconnection.js.map +1 -1
- package/dist/reconnection.d.ts +9 -0
- package/dist/reconnection.js +453 -0
- package/dist/reconnection.js.map +1 -0
- package/dist/tools/findservers.js +2 -3
- package/dist/tools/findservers.js.map +1 -1
- package/dist/tools/read_history_server_capabilities.js +1 -2
- package/dist/tools/read_history_server_capabilities.js.map +1 -1
- package/dist/verify.js +2 -3
- package/dist/verify.js.map +1 -1
- package/package.json +35 -35
- package/source/private/client_monitored_item_impl.ts +0 -2
- package/source/private/opcua_client_impl.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.131.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module client",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "npx rimraf node_modules dist *.tsbuildinfo certificates",
|
|
@@ -15,58 +15,58 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ster5/global-mutex": "^2.0.0",
|
|
17
17
|
"@types/async": "^3.2.24",
|
|
18
|
-
"async": "^3.2.
|
|
18
|
+
"async": "^3.2.6",
|
|
19
19
|
"chalk": "4.1.2",
|
|
20
|
-
"node-opcua-alarm-condition": "2.
|
|
20
|
+
"node-opcua-alarm-condition": "2.131.0",
|
|
21
21
|
"node-opcua-assert": "2.120.0",
|
|
22
|
-
"node-opcua-basic-types": "2.
|
|
22
|
+
"node-opcua-basic-types": "2.131.0",
|
|
23
23
|
"node-opcua-buffer-utils": "2.128.0",
|
|
24
|
-
"node-opcua-certificate-manager": "2.
|
|
25
|
-
"node-opcua-client-dynamic-extension-object": "2.
|
|
26
|
-
"node-opcua-common": "2.
|
|
24
|
+
"node-opcua-certificate-manager": "2.131.0",
|
|
25
|
+
"node-opcua-client-dynamic-extension-object": "2.131.0",
|
|
26
|
+
"node-opcua-common": "2.131.0",
|
|
27
27
|
"node-opcua-constants": "2.125.0",
|
|
28
|
-
"node-opcua-crypto": "4.9.
|
|
29
|
-
"node-opcua-data-model": "2.
|
|
30
|
-
"node-opcua-data-value": "2.
|
|
28
|
+
"node-opcua-crypto": "4.9.4",
|
|
29
|
+
"node-opcua-data-model": "2.131.0",
|
|
30
|
+
"node-opcua-data-value": "2.131.0",
|
|
31
31
|
"node-opcua-date-time": "2.128.0",
|
|
32
32
|
"node-opcua-debug": "2.128.0",
|
|
33
|
-
"node-opcua-extension-object": "2.
|
|
33
|
+
"node-opcua-extension-object": "2.131.0",
|
|
34
34
|
"node-opcua-hostname": "2.128.0",
|
|
35
35
|
"node-opcua-nodeid": "2.128.0",
|
|
36
36
|
"node-opcua-object-registry": "2.128.0",
|
|
37
|
-
"node-opcua-pki": "4.
|
|
38
|
-
"node-opcua-pseudo-session": "2.
|
|
39
|
-
"node-opcua-schemas": "2.
|
|
40
|
-
"node-opcua-secure-channel": "2.
|
|
41
|
-
"node-opcua-service-browse": "2.
|
|
42
|
-
"node-opcua-service-call": "2.
|
|
43
|
-
"node-opcua-service-discovery": "2.
|
|
44
|
-
"node-opcua-service-endpoints": "2.
|
|
45
|
-
"node-opcua-service-filter": "2.
|
|
46
|
-
"node-opcua-service-history": "2.
|
|
47
|
-
"node-opcua-service-query": "2.
|
|
48
|
-
"node-opcua-service-read": "2.
|
|
49
|
-
"node-opcua-service-register-node": "2.
|
|
50
|
-
"node-opcua-service-secure-channel": "2.
|
|
51
|
-
"node-opcua-service-session": "2.
|
|
52
|
-
"node-opcua-service-subscription": "2.
|
|
53
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
54
|
-
"node-opcua-service-write": "2.
|
|
37
|
+
"node-opcua-pki": "4.13.1",
|
|
38
|
+
"node-opcua-pseudo-session": "2.131.0",
|
|
39
|
+
"node-opcua-schemas": "2.131.0",
|
|
40
|
+
"node-opcua-secure-channel": "2.131.0",
|
|
41
|
+
"node-opcua-service-browse": "2.131.0",
|
|
42
|
+
"node-opcua-service-call": "2.131.0",
|
|
43
|
+
"node-opcua-service-discovery": "2.131.0",
|
|
44
|
+
"node-opcua-service-endpoints": "2.131.0",
|
|
45
|
+
"node-opcua-service-filter": "2.131.0",
|
|
46
|
+
"node-opcua-service-history": "2.131.0",
|
|
47
|
+
"node-opcua-service-query": "2.131.0",
|
|
48
|
+
"node-opcua-service-read": "2.131.0",
|
|
49
|
+
"node-opcua-service-register-node": "2.131.0",
|
|
50
|
+
"node-opcua-service-secure-channel": "2.131.0",
|
|
51
|
+
"node-opcua-service-session": "2.131.0",
|
|
52
|
+
"node-opcua-service-subscription": "2.131.0",
|
|
53
|
+
"node-opcua-service-translate-browse-path": "2.131.0",
|
|
54
|
+
"node-opcua-service-write": "2.131.0",
|
|
55
55
|
"node-opcua-status-code": "2.128.0",
|
|
56
|
-
"node-opcua-types": "2.
|
|
56
|
+
"node-opcua-types": "2.131.0",
|
|
57
57
|
"node-opcua-utils": "2.128.0",
|
|
58
|
-
"node-opcua-variant": "2.
|
|
58
|
+
"node-opcua-variant": "2.131.0",
|
|
59
59
|
"thenify": "^3.3.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/underscore": "^1.11.15",
|
|
63
63
|
"dequeue": "^1.0.5",
|
|
64
|
-
"node-opcua-address-space": "2.
|
|
64
|
+
"node-opcua-address-space": "2.131.0",
|
|
65
65
|
"node-opcua-binary-stream": "2.128.0",
|
|
66
|
-
"node-opcua-factory": "2.
|
|
66
|
+
"node-opcua-factory": "2.131.0",
|
|
67
67
|
"node-opcua-leak-detector": "2.128.0",
|
|
68
68
|
"node-opcua-nodesets": "2.121.0",
|
|
69
|
-
"underscore": "^1.13.
|
|
69
|
+
"underscore": "^1.13.7"
|
|
70
70
|
},
|
|
71
71
|
"eslintConfig": {
|
|
72
72
|
"env": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"internet of things"
|
|
89
89
|
],
|
|
90
90
|
"homepage": "http://node-opcua.github.io/",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "80f430dd3044826c904f803af40297839dd809be",
|
|
92
92
|
"files": [
|
|
93
93
|
"dist",
|
|
94
94
|
"source"
|
|
@@ -78,7 +78,6 @@ export class ClientMonitoredItemImpl extends EventEmitter implements ClientMonit
|
|
|
78
78
|
|
|
79
79
|
this.statusCode = StatusCodes.BadDataUnavailable;
|
|
80
80
|
|
|
81
|
-
assert(subscription.constructor.name === "ClientSubscriptionImpl");
|
|
82
81
|
this.subscription = subscription as ClientSubscriptionImpl;
|
|
83
82
|
|
|
84
83
|
this.itemToMonitor = new ReadValueId(itemToMonitor);
|
|
@@ -88,7 +87,6 @@ export class ClientMonitoredItemImpl extends EventEmitter implements ClientMonit
|
|
|
88
87
|
|
|
89
88
|
assert(subscription.session, "expecting session");
|
|
90
89
|
timestampsToReturn = coerceTimestampsToReturn(timestampsToReturn);
|
|
91
|
-
assert(subscription.constructor.name === "ClientSubscriptionImpl");
|
|
92
90
|
this.timestampsToReturn = timestampsToReturn;
|
|
93
91
|
}
|
|
94
92
|
|
|
@@ -478,9 +478,9 @@ export class OPCUAClientImpl extends ClientBaseImpl implements OPCUAClient {
|
|
|
478
478
|
* createSession2 create a session with persistance
|
|
479
479
|
*
|
|
480
480
|
* - if the server returns BadTooManySession, the method will make an other attempt
|
|
481
|
-
*
|
|
481
|
+
* until create session succeed or connection is closed.
|
|
482
482
|
*
|
|
483
|
-
* @
|
|
483
|
+
* @experimental
|
|
484
484
|
* @param userIdentityInfo
|
|
485
485
|
*/
|
|
486
486
|
public async createSession2(userIdentityInfo?: UserIdentityInfo): Promise<ClientSession>;
|
|
@@ -758,7 +758,7 @@ export class OPCUAClientImpl extends ClientBaseImpl implements OPCUAClient {
|
|
|
758
758
|
* @internal
|
|
759
759
|
* @private
|
|
760
760
|
*/
|
|
761
|
-
|
|
761
|
+
#createSession_step3(
|
|
762
762
|
session: ClientSessionImpl,
|
|
763
763
|
callback: (err: Error | null, session?: ClientSessionImpl) => void
|
|
764
764
|
): void {
|
|
@@ -876,7 +876,7 @@ export class OPCUAClientImpl extends ClientBaseImpl implements OPCUAClient {
|
|
|
876
876
|
callback: (err: Error | null, session?: ClientSessionImpl) => void
|
|
877
877
|
): void {
|
|
878
878
|
callbackify(extractFullyQualifiedDomainName)(() => {
|
|
879
|
-
this
|
|
879
|
+
this.#createSession_step3(session, callback);
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
882
|
/**
|