node-opcua-server-configuration 2.61.0 → 2.62.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.
Files changed (2) hide show
  1. package/bin/configurator.ts +7 -4
  2. package/package.json +12 -12
@@ -27,10 +27,10 @@ import {
27
27
  } from "node-opcua-crypto";
28
28
  import { CertificateAuthority } from "node-opcua-pki";
29
29
  import { OPCUACertificateManager } from "node-opcua-certificate-manager";
30
+ import { TrustListDataType } from "node-opcua-types";
30
31
 
31
32
  import { CertificateType } from "../source";
32
33
  import { ClientPushCertificateManagement } from "../source/clientTools";
33
- import { TrustListDataType } from "node-opcua-types";
34
34
 
35
35
  const endpointUrl = "opc.tcp://localhost:48010";
36
36
 
@@ -39,13 +39,13 @@ function dumpCertificateInfo(certificate: Certificate) {
39
39
  const i = exploreCertificate(certificate);
40
40
  console.log(" serial number : ", i.tbsCertificate.serialNumber);
41
41
  console.log(" subject : ");
42
- for (let [k, v] of Object.entries(i.tbsCertificate.subject)) {
42
+ for (const [k, v] of Object.entries(i.tbsCertificate.subject)) {
43
43
  console.log(` ${k.padEnd(18)}: ${v}`);
44
44
  }
45
45
  console.log(" notBefore : ", i.tbsCertificate.validity.notBefore);
46
46
  console.log(" notAfter : ", i.tbsCertificate.validity.notAfter);
47
47
  console.log(" issuer : ");
48
- for (let [k, v] of Object.entries(i.tbsCertificate.issuer)) {
48
+ for (const [k, v] of Object.entries(i.tbsCertificate.issuer)) {
49
49
  console.log(` ${k.padEnd(18)}: ${v}`);
50
50
  }
51
51
  console.log(" signature algo : ", i.signatureAlgorithm);
@@ -143,7 +143,10 @@ async function addApplicationCertificate(session: IBasicSession) {
143
143
  await trustList.addCertificate(certificate, true);
144
144
  }
145
145
 
146
- async function addApplicationIssuerCertificateAndCRL(session: IBasicSession) {}
146
+ async function addApplicationIssuerCertificateAndCRL(session: IBasicSession) {
147
+ /**
148
+ */
149
+ }
147
150
  async function replaceServerCertificate(session: IBasicSession, caAuthority: CertificateAuthority) {
148
151
  const certificateAutorityhPath = path.join(caAuthority.location);
149
152
  const caCertificate = await readCertificate(caAuthority.caCertificate);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-server-configuration",
3
- "version": "2.61.0",
3
+ "version": "2.62.0",
4
4
  "description": "pure nodejs OPCUA SDK - module -server",
5
5
  "scripts": {
6
6
  "build": "tsc -b",
@@ -12,32 +12,32 @@
12
12
  "types": "./dist/index.d.ts",
13
13
  "dependencies": {
14
14
  "memfs": "^3.3.0",
15
- "node-opcua-address-space": "2.61.0",
15
+ "node-opcua-address-space": "2.62.0",
16
16
  "node-opcua-assert": "2.55.0",
17
17
  "node-opcua-basic-types": "2.61.0",
18
18
  "node-opcua-certificate-manager": "2.61.0",
19
- "node-opcua-client": "2.61.0",
19
+ "node-opcua-client": "2.62.0",
20
20
  "node-opcua-constants": "2.52.0",
21
21
  "node-opcua-crypto": "^1.7.4",
22
22
  "node-opcua-data-model": "2.61.0",
23
23
  "node-opcua-debug": "2.61.0",
24
- "node-opcua-file-transfer": "2.61.0",
24
+ "node-opcua-file-transfer": "2.62.0",
25
25
  "node-opcua-hostname": "2.55.0",
26
26
  "node-opcua-nodeid": "2.61.0",
27
27
  "node-opcua-nodesets": "2.57.0",
28
28
  "node-opcua-pki": "^2.12.1",
29
- "node-opcua-pseudo-session": "2.61.0",
30
- "node-opcua-secure-channel": "2.61.0",
31
- "node-opcua-server": "2.61.0",
32
- "node-opcua-service-translate-browse-path": "2.61.0",
29
+ "node-opcua-pseudo-session": "2.62.0",
30
+ "node-opcua-secure-channel": "2.62.0",
31
+ "node-opcua-server": "2.62.0",
32
+ "node-opcua-service-translate-browse-path": "2.62.0",
33
33
  "node-opcua-status-code": "2.56.0",
34
- "node-opcua-types": "2.61.0",
35
- "node-opcua-variant": "2.61.0",
34
+ "node-opcua-types": "2.62.0",
35
+ "node-opcua-variant": "2.62.0",
36
36
  "rimraf": "^3.0.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "node-opcua-binary-stream": "2.55.0",
40
- "node-opcua-data-value": "2.61.0",
40
+ "node-opcua-data-value": "2.62.0",
41
41
  "node-opcua-leak-detector": "2.61.0",
42
42
  "should": "^13.2.3",
43
43
  "sinon": "^12.0.1"
@@ -57,5 +57,5 @@
57
57
  "internet of things"
58
58
  ],
59
59
  "homepage": "http://node-opcua.github.io/",
60
- "gitHead": "dd8776f047686ca791989f27e11ee48bfd8b61b7"
60
+ "gitHead": "92d7093bc0275f4849f0342e74ee3d50c0d976d3"
61
61
  }