node-opcua-common
Advanced tools
Comparing version 2.0.0-alpha.12 to 2.0.0-alpha.13
@@ -13,4 +13,4 @@ /// <reference types="node" /> | ||
export interface IOPCUASecureObjectOptions { | ||
certificateFile: string; | ||
privateKeyFile: string; | ||
certificateFile?: string; | ||
privateKeyFile?: string; | ||
} | ||
@@ -17,0 +17,0 @@ /** |
@@ -33,4 +33,4 @@ "use strict"; | ||
node_opcua_assert_1.assert(typeof options.privateKeyFile === "string"); | ||
this.certificateFile = options.certificateFile; | ||
this.privateKeyFile = options.privateKeyFile; | ||
this.certificateFile = options.certificateFile || "invalid certificate file"; | ||
this.privateKeyFile = options.privateKeyFile || "invalid private key file"; | ||
} | ||
@@ -37,0 +37,0 @@ getCertificate() { |
{ | ||
"name": "node-opcua-common", | ||
"version": "2.0.0-alpha.12", | ||
"version": "2.0.0-alpha.13", | ||
"description": "pure nodejs OPCUA SDK - module -common", | ||
@@ -15,10 +15,10 @@ "scripts": { | ||
"node-opcua-assert": "^2.0.0-alpha.10", | ||
"node-opcua-basic-types": "^2.0.0-alpha.12", | ||
"node-opcua-basic-types": "^2.0.0-alpha.13", | ||
"node-opcua-crypto": "^1.0.1", | ||
"node-opcua-data-model": "^2.0.0-alpha.12", | ||
"node-opcua-factory": "^2.0.0-alpha.12", | ||
"node-opcua-nodeid": "^2.0.0-alpha.11", | ||
"node-opcua-service-endpoints": "^2.0.0-alpha.12", | ||
"node-opcua-service-secure-channel": "^2.0.0-alpha.12", | ||
"node-opcua-types": "^2.0.0-alpha.12", | ||
"node-opcua-data-model": "^2.0.0-alpha.13", | ||
"node-opcua-factory": "^2.0.0-alpha.13", | ||
"node-opcua-nodeid": "^2.0.0-alpha.13", | ||
"node-opcua-service-endpoints": "^2.0.0-alpha.13", | ||
"node-opcua-service-secure-channel": "^2.0.0-alpha.13", | ||
"node-opcua-types": "^2.0.0-alpha.13", | ||
"underscore": "^1.9.1" | ||
@@ -29,3 +29,3 @@ }, | ||
"@types/node": "^10.12.23", | ||
"node-opcua-generator": "^2.0.0-alpha.12", | ||
"node-opcua-generator": "^2.0.0-alpha.13", | ||
"should": "13.2.3" | ||
@@ -48,3 +48,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "61699a99c75c631388f2e8d8e33eb209649c5eac" | ||
"gitHead": "6a0c56afb819a44d5abd453d39ce684df6fb3505" | ||
} |
@@ -31,4 +31,4 @@ /** | ||
export interface IOPCUASecureObjectOptions { | ||
certificateFile: string; | ||
privateKeyFile: string; | ||
certificateFile?: string; | ||
privateKeyFile?: string; | ||
} | ||
@@ -63,4 +63,4 @@ | ||
this.certificateFile = options.certificateFile; | ||
this.privateKeyFile = options.privateKeyFile; | ||
this.certificateFile = options.certificateFile || "invalid certificate file"; | ||
this.privateKeyFile = options.privateKeyFile || "invalid private key file"; | ||
} | ||
@@ -67,0 +67,0 @@ |
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
18352