node-opcua-extension-object
Advanced tools
Comparing version 2.7.0 to 2.8.0
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -64,2 +64,9 @@ "use strict"; | ||
else { | ||
if (object instanceof OpaqueStructure) { | ||
// Writing raw Opaque buffer as Opaque Structure ... | ||
node_opcua_basic_types_1.encodeNodeId(object.nodeId, stream); | ||
stream.writeUInt8(0x01); // 0x01 The body is encoded as a ByteString. | ||
stream.writeByteStream(object.buffer); | ||
return; | ||
} | ||
/* istanbul ignore next */ | ||
@@ -66,0 +73,0 @@ if (!(object instanceof node_opcua_factory_1.BaseUAObject)) { |
@@ -0,0 +0,0 @@ /** |
@@ -11,3 +11,3 @@ "use strict"; | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -14,0 +14,0 @@ /** |
{ | ||
"name": "node-opcua-extension-object", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "pure nodejs OPCUA SDK - module -extension-object", | ||
@@ -16,7 +16,7 @@ "main": "./dist/index.js", | ||
"node-opcua-assert": "^2.6.1", | ||
"node-opcua-basic-types": "^2.7.0", | ||
"node-opcua-basic-types": "^2.8.0", | ||
"node-opcua-binary-stream": "^2.6.1", | ||
"node-opcua-debug": "^2.6.1", | ||
"node-opcua-factory": "^2.7.0", | ||
"node-opcua-nodeid": "^2.6.1" | ||
"node-opcua-factory": "^2.8.0", | ||
"node-opcua-nodeid": "^2.8.0" | ||
}, | ||
@@ -38,3 +38,3 @@ "author": "Etienne Rossignon", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "868b9f5d0bf0411f30476a0947301dc1d487e462" | ||
"gitHead": "e3b0892d751900c13898ca82be84bbfe66997f0c" | ||
} |
@@ -75,4 +75,12 @@ /** | ||
} else { | ||
if (object instanceof OpaqueStructure) { | ||
// Writing raw Opaque buffer as Opaque Structure ... | ||
encodeNodeId(object.nodeId, stream); | ||
stream.writeUInt8(0x01); // 0x01 The body is encoded as a ByteString. | ||
stream.writeByteStream(object.buffer); | ||
return; | ||
} | ||
/* istanbul ignore next */ | ||
if (!((object as any) instanceof BaseUAObject)) { | ||
if (!(object instanceof BaseUAObject)) { | ||
throw new Error("Expecting a extension object"); | ||
@@ -79,0 +87,0 @@ } |
@@ -0,0 +0,0 @@ /** |
Sorry, the diff of this file is not supported yet
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
24550
397
Updatednode-opcua-factory@^2.8.0
Updatednode-opcua-nodeid@^2.8.0