node-opcua-server 2.127.0 → 2.128.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/README.md +54 -0
- package/dist/filter/check_where_clause_on_address_space.js +1 -2
- package/dist/filter/check_where_clause_on_address_space.js.map +1 -1
- package/dist/filter/extract_event_fields.js +1 -2
- package/dist/filter/extract_event_fields.js.map +1 -1
- package/dist/helper.js +3 -4
- package/dist/helper.js.map +1 -1
- package/dist/i_channel_data.d.ts +0 -1
- package/dist/i_register_server_manager.d.ts +0 -1
- package/dist/monitored_item.d.ts +0 -2
- package/dist/node_sampler.js +2 -3
- package/dist/node_sampler.js.map +1 -1
- package/dist/opcua_server.d.ts +0 -1
- package/dist/opcua_server.js +2 -2
- package/dist/opcua_server.js.map +1 -1
- package/dist/register_server_manager.d.ts +0 -2
- package/dist/register_server_manager_hidden.d.ts +0 -1
- package/dist/register_server_manager_mdns_only.d.ts +0 -1
- package/dist/server_capabilities.d.ts +2 -2
- package/dist/server_capabilities.js.map +1 -1
- package/dist/server_end_point.d.ts +0 -1
- package/dist/server_engine.d.ts +0 -1
- package/dist/server_engine.js +3 -6
- package/dist/server_engine.js.map +1 -1
- package/dist/server_publish_engine.d.ts +0 -1
- package/dist/server_session.d.ts +0 -2
- package/dist/server_subscription.d.ts +0 -1
- package/dist/sessions_compatible_for_transfer.js +1 -2
- package/dist/sessions_compatible_for_transfer.js.map +1 -1
- package/dist/user_manager.js +2 -2
- package/dist/user_manager.js.map +1 -1
- package/dist/user_manager_ua.js +1 -2
- package/dist/user_manager_ua.js.map +1 -1
- package/dist/validate_filter.js +1 -2
- package/dist/validate_filter.js.map +1 -1
- package/package.json +44 -46
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# node-opcua-server
|
|
2
|
+
|
|
3
|
+
an implementation of an OPC UA stack fully written in javascript and NodeJS
|
|
4
|
+
|
|
5
|
+
see http://node-opcua.github.io/
|
|
6
|
+
|
|
7
|
+
# Documentation
|
|
8
|
+
|
|
9
|
+
"NodeOPCUA by Example" (https://leanpub.com/node-opcuabyexample-edition2024) provides a good starting point to understand and start using node-opcua.
|
|
10
|
+
|
|
11
|
+
More advanced interactive material & documentation is made available online for Registered members of the NodeOPCUA Subscription. Please visit https://support.sterfive.com to apply or contact Sterfive.
|
|
12
|
+
|
|
13
|
+
## Sponsors & Backers
|
|
14
|
+
|
|
15
|
+
We appreciate that, once you have evaluated the software you consider supporting our effort by applying to our sponsor program:
|
|
16
|
+
|
|
17
|
+
- https://github.com/sponsors/node-opcua
|
|
18
|
+
- https://opencollective.com/node-opcua
|
|
19
|
+
|
|
20
|
+
Grants ensure the following:
|
|
21
|
+
|
|
22
|
+
- 🔨 Long-term maintenance of the project
|
|
23
|
+
- ⚙️ maintain the website and continuous integration platform
|
|
24
|
+
- 🛣 Progress on the road map
|
|
25
|
+
- 🐛 Quick responses to bug reports
|
|
26
|
+
- 🚀 New features & enhancements
|
|
27
|
+
- ⚖️ representing the node-opcua user community at the OPC Foundation
|
|
28
|
+
|
|
29
|
+
# Support
|
|
30
|
+
|
|
31
|
+
Technical Support is exclusively provided to registered members of the NodeOPCUA Subscription (https://support.sterfive.com) or through dedicated Professional Services.
|
|
32
|
+
|
|
33
|
+
# License
|
|
34
|
+
|
|
35
|
+
Node-OPCUA is made available to you under the MIT open-source license.
|
|
36
|
+
|
|
37
|
+
See [LICENSE](./LICENSE) for details.
|
|
38
|
+
|
|
39
|
+
# value-added extensions
|
|
40
|
+
|
|
41
|
+
Contact Sterfive SAS (mailto:contact@sterfive.com) for additional companion modules that are available to registered members:
|
|
42
|
+
|
|
43
|
+
- node-opcua-pub-sub : Part 14 implementation to develop OPC UA PubSub over MQTT applications
|
|
44
|
+
- node-opcua-webproxy: to operate node-opcua from within a web browser
|
|
45
|
+
- node-opcua-optimized-client: super-charge OPC UA Client
|
|
46
|
+
- react-components: a collection of React UI components
|
|
47
|
+
- aggregator: a powerful OPC UA aggregator that can combine and monitored hundred of servers and millions of variables.
|
|
48
|
+
- node-opcua-gds: a Global Discovery Server (Part 12)
|
|
49
|
+
- node-opcua-modeler-ex: a powerful NO-GUI OPC UA modeler
|
|
50
|
+
|
|
51
|
+
# Copyright
|
|
52
|
+
|
|
53
|
+
- Copyright (c) 2022-2024 Sterfive SAS - https://www.sterfive.com
|
|
54
|
+
- Copyright (c) 2014-2022 Etienne Rossignon
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.checkWhereClauseOnAdressSpace =
|
|
3
|
+
exports.checkWhereClauseOnAdressSpace = checkWhereClauseOnAdressSpace;
|
|
4
4
|
const node_opcua_service_filter_1 = require("node-opcua-service-filter");
|
|
5
5
|
const node_opcua_service_filter_2 = require("node-opcua-service-filter");
|
|
6
6
|
function checkWhereClauseOnAdressSpace(addressSpace, sessionContext, whereClause, eventData) {
|
|
@@ -19,5 +19,4 @@ function checkWhereClauseOnAdressSpace(addressSpace, sessionContext, whereClause
|
|
|
19
19
|
const filterContext = new node_opcua_service_filter_2.FilterContextOnAddressSpace(sessionContext, eventData);
|
|
20
20
|
return (0, node_opcua_service_filter_1.checkFilter)(filterContext, whereClause);
|
|
21
21
|
}
|
|
22
|
-
exports.checkWhereClauseOnAdressSpace = checkWhereClauseOnAdressSpace;
|
|
23
22
|
//# sourceMappingURL=check_where_clause_on_address_space.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_where_clause_on_address_space.js","sourceRoot":"","sources":["../../source/filter/check_where_clause_on_address_space.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"check_where_clause_on_address_space.js","sourceRoot":"","sources":["../../source/filter/check_where_clause_on_address_space.ts"],"names":[],"mappings":";;AAKA,sEAuBC;AA3BD,yEAAwD;AACxD,yEAAwE;AAGxE,SAAgB,6BAA6B,CACzC,YAA2B,EAC3B,cAA+B,EAC/B,WAA0B,EAC1B,SAAqB;IAIrB,yCAAyC;IACzC,oBAAoB;IACpB,sBAAsB;IACtB,6CAA6C;IAC7C,6CAA6C;IAC7C,2DAA2D;IAC3D,gGAAgG;IAChG,mBAAmB;IACnB,+DAA+D;IAC/D,YAAY;IACZ,QAAQ;IACR,KAAK;IACL,MAAM,aAAa,GAAG,IAAI,uDAA2B,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;IAEjF,OAAO,IAAA,uCAAW,EAAC,aAAa,EAAE,WAAW,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.extractEventFields =
|
|
3
|
+
exports.extractEventFields = extractEventFields;
|
|
4
4
|
const node_opcua_service_filter_1 = require("node-opcua-service-filter");
|
|
5
5
|
const node_opcua_service_filter_2 = require("node-opcua-service-filter");
|
|
6
6
|
//
|
|
@@ -14,5 +14,4 @@ function extractEventFields(sessionContext, selectClauses, eventData) {
|
|
|
14
14
|
const context = new node_opcua_service_filter_2.FilterContextOnAddressSpace(sessionContext, eventData);
|
|
15
15
|
return (0, node_opcua_service_filter_1.extractEventFieldsBase)(context, selectClauses);
|
|
16
16
|
}
|
|
17
|
-
exports.extractEventFields = extractEventFields;
|
|
18
17
|
//# sourceMappingURL=extract_event_fields.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract_event_fields.js","sourceRoot":"","sources":["../../source/filter/extract_event_fields.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extract_event_fields.js","sourceRoot":"","sources":["../../source/filter/extract_event_fields.ts"],"names":[],"mappings":";;AAaA,gDAOC;AAnBD,yEAAmE;AACnE,yEAAwE;AAGxE,EAAE;AAEF;;;;;GAKG;AACH,SAAgB,kBAAkB,CAC9B,cAA+B,EAC/B,aAAuC,EACvC,SAAqB;IAErB,MAAM,OAAO,GAAG,IAAI,uDAA2B,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;IAC3E,OAAO,IAAA,kDAAsB,EAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC1D,CAAC"}
|
package/dist/helper.js
CHANGED
|
@@ -3,7 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.installSessionLogging = installSessionLogging;
|
|
7
|
+
exports.installSubscriptionMonitoring = installSubscriptionMonitoring;
|
|
8
|
+
exports.installSessionLoggingOnEngine = installSessionLoggingOnEngine;
|
|
7
9
|
const util_1 = __importDefault(require("util"));
|
|
8
10
|
const server_subscription_1 = require("./server_subscription");
|
|
9
11
|
const consolelog = (...args) => {
|
|
@@ -19,7 +21,6 @@ const doDebug = false;
|
|
|
19
21
|
function installSessionLogging(server) {
|
|
20
22
|
installSessionLoggingOnEngine(server.engine);
|
|
21
23
|
}
|
|
22
|
-
exports.installSessionLogging = installSessionLogging;
|
|
23
24
|
const info = (subscription) => {
|
|
24
25
|
return util_1.default.format(subscription.subscriptionId, server_subscription_1.SubscriptionState[subscription.state].padEnd(9), subscription.state, "kac=", subscription.currentKeepAliveCount.toString().padStart(3) +
|
|
25
26
|
"/" +
|
|
@@ -50,7 +51,6 @@ function installSubscriptionMonitoring(subscription) {
|
|
|
50
51
|
consolelog("subscription keepalive".padEnd(45), info(subscription));
|
|
51
52
|
});
|
|
52
53
|
}
|
|
53
|
-
exports.installSubscriptionMonitoring = installSubscriptionMonitoring;
|
|
54
54
|
function installSessionLoggingOnEngine(serverEngine) {
|
|
55
55
|
function on_create_session(session) {
|
|
56
56
|
try {
|
|
@@ -74,5 +74,4 @@ function installSessionLoggingOnEngine(serverEngine) {
|
|
|
74
74
|
serverEngine.removeListener("create_session", on_create_session);
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
-
exports.installSessionLoggingOnEngine = installSessionLoggingOnEngine;
|
|
78
77
|
//# sourceMappingURL=helper.js.map
|
package/dist/helper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../source/helper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../source/helper.ts"],"names":[],"mappings":";;;;;AAiBA,sDAEC;AAsBD,sEAsBC;AACD,sEAsBC;AAtFD,gDAAwB;AAIxB,+DAAwE;AAExE,MAAM,UAAU,GAAG,CAAC,GAAG,IAAS,EAAE,EAAE;IAChC,MAAM,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;IACrB,MAAM,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACjG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAC7C,CAAC,CAAC;AACF,MAAM,OAAO,GAAG,KAAK,CAAC;AAEtB;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,MAAmB;IACrD,6BAA6B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,IAAI,GAAG,CAAC,YAA0B,EAAE,EAAE;IACxC,OAAO,cAAI,CAAC,MAAM,CACd,YAAY,CAAC,cAAc,EAC3B,uCAAiB,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAC/C,YAAY,CAAC,KAAK,EAClB,MAAM,EACN,YAAY,CAAC,qBAAqB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;QACzD,GAAG;QACH,YAAY,C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CAAC,CAAC;IACrE,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/i_channel_data.d.ts
CHANGED
package/dist/monitored_item.d.ts
CHANGED
package/dist/node_sampler.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.appendToTimer = appendToTimer;
|
|
4
|
+
exports.removeFromTimer = removeFromTimer;
|
|
4
5
|
/**
|
|
5
6
|
* @module node-opcua-server
|
|
6
7
|
*/
|
|
@@ -56,7 +57,6 @@ function appendToTimer(monitoredItem) {
|
|
|
56
57
|
_t.monitoredItemsCount++;
|
|
57
58
|
return key;
|
|
58
59
|
}
|
|
59
|
-
exports.appendToTimer = appendToTimer;
|
|
60
60
|
function removeFromTimer(monitoredItem) {
|
|
61
61
|
const samplingInterval = monitoredItem.samplingInterval;
|
|
62
62
|
(0, node_opcua_assert_1.assert)(samplingInterval > 0);
|
|
@@ -79,5 +79,4 @@ function removeFromTimer(monitoredItem) {
|
|
|
79
79
|
delete timers[key];
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
exports.removeFromTimer = removeFromTimer;
|
|
83
82
|
//# sourceMappingURL=node_sampler.js.map
|
package/dist/node_sampler.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node_sampler.js","sourceRoot":"","sources":["../source/node_sampler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node_sampler.js","sourceRoot":"","sources":["../source/node_sampler.ts"],"names":[],"mappings":";;AAoCA,sCAuCC;AAED,0CAqBC;AAlGD;;GAEG;AACH,yDAA2C;AAC3C,uDAAiE;AACjE,uDAAkD;AAClD,uDAA0C;AAE1C,MAAM,QAAQ,GAAG,IAAA,gCAAa,EAAC,UAAU,CAAC,CAAC;AAC3C,MAAM,OAAO,GAAG,IAAA,iCAAc,EAAC,UAAU,CAAC,CAAC;AAS3C,M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c,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IACxD,EAAE,CAAC,mBAAmB,EAAE,CAAC;IACzB,IAAA,0BAAM,EAAC,EAAE,CAAC,mBAAmB,IAAI,CAAC,CAAC,CAAC;IACpC,IAAI,EAAE,CAAC,mBAAmB,KAAK,CAAC,EAAE,CAAC;QAC/B,IAAI,EAAE,CAAC,WAAW,KAAI,KAAK,EAAE,CAAC;YAC1B,aAAa,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;QAClC,CAAC;QACD,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;AACL,CAAC"}
|
package/dist/opcua_server.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module node-opcua-server
|
|
3
3
|
*/
|
|
4
|
-
/// <reference types="node" />
|
|
5
4
|
import { EventEmitter } from "events";
|
|
6
5
|
import { PseudoVariantBoolean, PseudoVariantByteString, PseudoVariantDateTime, PseudoVariantDuration, PseudoVariantExtensionObject, PseudoVariantExtensionObjectArray, PseudoVariantLocalizedText, PseudoVariantNodeId, PseudoVariantString, RaiseEventData, PseudoVariantStringPredefined, UAEventType } from "node-opcua-address-space";
|
|
7
6
|
import { OPCUACertificateManager } from "node-opcua-certificate-manager";
|
package/dist/opcua_server.js
CHANGED
|
@@ -10,7 +10,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
10
10
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.OPCUAServer = exports.RegisterServerMethod =
|
|
13
|
+
exports.OPCUAServer = exports.RegisterServerMethod = void 0;
|
|
14
|
+
exports.filterDiagnosticInfo = filterDiagnosticInfo;
|
|
14
15
|
const crypto_1 = require("crypto");
|
|
15
16
|
const util_1 = require("util");
|
|
16
17
|
const async_1 = __importDefault(require("async"));
|
|
@@ -470,7 +471,6 @@ function filterDiagnosticInfo(returnDiagnostics, response) {
|
|
|
470
471
|
}
|
|
471
472
|
}
|
|
472
473
|
}
|
|
473
|
-
exports.filterDiagnosticInfo = filterDiagnosticInfo;
|
|
474
474
|
var RegisterServerMethod;
|
|
475
475
|
(function (RegisterServerMethod) {
|
|
476
476
|
RegisterServerMethod[RegisterServerMethod["HIDDEN"] = 1] = "HIDDEN";
|