node-opcua-server-configuration 2.78.0 → 2.79.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-server-configuration",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.79.1",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -server",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc -b",
|
|
@@ -13,33 +13,33 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"chalk": "4.1.2",
|
|
15
15
|
"memfs": "^3.4.7",
|
|
16
|
-
"node-opcua-address-space": "2.
|
|
17
|
-
"node-opcua-address-space-base": "2.
|
|
16
|
+
"node-opcua-address-space": "2.79.1",
|
|
17
|
+
"node-opcua-address-space-base": "2.79.0",
|
|
18
18
|
"node-opcua-assert": "2.77.0",
|
|
19
|
-
"node-opcua-basic-types": "2.
|
|
19
|
+
"node-opcua-basic-types": "2.79.0",
|
|
20
20
|
"node-opcua-binary-stream": "2.77.0",
|
|
21
21
|
"node-opcua-certificate-manager": "2.77.0",
|
|
22
|
-
"node-opcua-client": "2.
|
|
23
|
-
"node-opcua-common": "2.
|
|
22
|
+
"node-opcua-client": "2.79.1",
|
|
23
|
+
"node-opcua-common": "2.79.0",
|
|
24
24
|
"node-opcua-constants": "2.77.0",
|
|
25
25
|
"node-opcua-crypto": "^1.11.0",
|
|
26
|
-
"node-opcua-data-model": "2.
|
|
26
|
+
"node-opcua-data-model": "2.79.0",
|
|
27
27
|
"node-opcua-debug": "2.77.0",
|
|
28
|
-
"node-opcua-file-transfer": "2.
|
|
28
|
+
"node-opcua-file-transfer": "2.79.1",
|
|
29
29
|
"node-opcua-hostname": "2.77.0",
|
|
30
|
-
"node-opcua-nodeid": "2.
|
|
30
|
+
"node-opcua-nodeid": "2.79.0",
|
|
31
31
|
"node-opcua-pki": "^2.17.0",
|
|
32
|
-
"node-opcua-pseudo-session": "2.
|
|
33
|
-
"node-opcua-secure-channel": "2.
|
|
34
|
-
"node-opcua-server": "2.
|
|
35
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
32
|
+
"node-opcua-pseudo-session": "2.79.0",
|
|
33
|
+
"node-opcua-secure-channel": "2.79.0",
|
|
34
|
+
"node-opcua-server": "2.79.1",
|
|
35
|
+
"node-opcua-service-translate-browse-path": "2.79.0",
|
|
36
36
|
"node-opcua-status-code": "2.77.0",
|
|
37
|
-
"node-opcua-types": "2.
|
|
38
|
-
"node-opcua-variant": "2.
|
|
37
|
+
"node-opcua-types": "2.79.0",
|
|
38
|
+
"node-opcua-variant": "2.79.0",
|
|
39
39
|
"rimraf": "^3.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"node-opcua-data-value": "2.
|
|
42
|
+
"node-opcua-data-value": "2.79.0",
|
|
43
43
|
"node-opcua-leak-detector": "2.77.0",
|
|
44
44
|
"node-opcua-nodesets": "2.77.0",
|
|
45
45
|
"should": "^13.2.3"
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"internet of things"
|
|
60
60
|
],
|
|
61
61
|
"homepage": "http://node-opcua.github.io/",
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "84a0b2555b1bdbfd0c25151621c5522b03f4fb34"
|
|
63
63
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-server-configuration-server
|
|
3
|
-
*/
|
|
4
|
-
import { AddressSpace, UACertificateExpirationAlarmEx } from "node-opcua-address-space";
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* @param addressSpace
|
|
8
|
-
* @returns
|
|
9
|
-
* @deprecated
|
|
10
|
-
*/
|
|
11
|
-
export declare function installCertificateExpirationAlarm(addressSpace: AddressSpace): UACertificateExpirationAlarmEx;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.installCertificateExpirationAlarm = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @module node-opcua-server-configuration-server
|
|
6
|
-
*/
|
|
7
|
-
const node_opcua_address_space_1 = require("node-opcua-address-space");
|
|
8
|
-
const node_opcua_debug_1 = require("node-opcua-debug");
|
|
9
|
-
const node_opcua_nodeid_1 = require("node-opcua-nodeid");
|
|
10
|
-
const node_opcua_variant_1 = require("node-opcua-variant");
|
|
11
|
-
const debugLog = (0, node_opcua_debug_1.make_debugLog)("ServerConfiguration");
|
|
12
|
-
const errorLog = (0, node_opcua_debug_1.make_errorLog)("ServerConfiguration");
|
|
13
|
-
const doDebug = (0, node_opcua_debug_1.checkDebugFlag)("ServerConfiguration");
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @param addressSpace
|
|
17
|
-
* @returns
|
|
18
|
-
* @deprecated
|
|
19
|
-
*/
|
|
20
|
-
function installCertificateExpirationAlarm(addressSpace) {
|
|
21
|
-
var _a;
|
|
22
|
-
debugLog("installCertificateExpirationAlarm");
|
|
23
|
-
/**
|
|
24
|
-
* note: the ServerCertificateAlarm is not in the OPCUA standard
|
|
25
|
-
*/
|
|
26
|
-
const server = addressSpace.rootFolder.objects.server;
|
|
27
|
-
const namespace = addressSpace.getOwnNamespace();
|
|
28
|
-
const options = {
|
|
29
|
-
browseName: "ServerCertificateAlarm",
|
|
30
|
-
conditionSource: undefined,
|
|
31
|
-
eventSourceOf: server,
|
|
32
|
-
inputNode: new node_opcua_nodeid_1.NodeId(),
|
|
33
|
-
normalState: new node_opcua_nodeid_1.NodeId(),
|
|
34
|
-
optionals: ["ExpirationLimit"]
|
|
35
|
-
};
|
|
36
|
-
const certificateExpirationAlarm = (0, node_opcua_address_space_1.instantiateCertificateExpirationAlarm)(namespace, "CertificateExpirationAlarmType", options);
|
|
37
|
-
certificateExpirationAlarm.currentBranch().setRetain(false);
|
|
38
|
-
certificateExpirationAlarm.activeState.setValue(false);
|
|
39
|
-
certificateExpirationAlarm.ackedState.setValue(false);
|
|
40
|
-
(_a = certificateExpirationAlarm.suppressedState) === null || _a === void 0 ? void 0 : _a.setValue(false);
|
|
41
|
-
certificateExpirationAlarm.certificate.setValueFromSource({ dataType: node_opcua_variant_1.DataType.ByteString, value: null });
|
|
42
|
-
certificateExpirationAlarm.eventId.setValueFromSource({ dataType: node_opcua_variant_1.DataType.ByteString, value: null });
|
|
43
|
-
return certificateExpirationAlarm;
|
|
44
|
-
}
|
|
45
|
-
exports.installCertificateExpirationAlarm = installCertificateExpirationAlarm;
|
|
46
|
-
//# sourceMappingURL=install_CertificateAlarm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"install_CertificateAlarm.js","sourceRoot":"","sources":["../../source/server/install_CertificateAlarm.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,uEAMkC;AAGlC,uDAAgF;AAChF,yDAAuD;AACvD,2DAA8C;AAE9C,MAAM,QAAQ,GAAG,IAAA,gCAAa,EAAC,qBAAqB,CAAC,CAAC;AACtD,MAAM,QAAQ,GAAG,IAAA,gCAAa,EAAC,qBAAqB,CAAC,CAAC;AACtD,MAAM,OAAO,GAAG,IAAA,iCAAc,EAAC,qBAAqB,CAAC,CAAC;AAEtD;;;;;GAKG;AACH,SAAgB,iCAAiC,CAAC,YAA0B;;IACxE,QAAQ,CAAC,mCAAmC,CAAC,CAAC;IAC9C;;OAEG;IACH,MAAM,MAAM,GAAG,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC;IACtD,MAAM,SAAS,GAAG,YAAY,CAAC,eAAe,EAAE,CAAC;IAEjD,MAAM,OAAO,GAAqC;QAC9C,UAAU,EAAE,wBAAwB;QACpC,eAAe,EAAE,SAAS;QAC1B,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,IAAI,0BAAM,EAAE;QACvB,WAAW,EAAE,IAAI,0BAAM,E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