node-opcua-json 0.10.0 → 0.12.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/dist2/index.d.ts CHANGED
@@ -33,4 +33,5 @@ export * from "./json_basic_encoding_decoding_int64";
33
33
  export * from "./json_basic_encoding_decoding_nodeid";
34
34
  export * from "./json_basic_encoding_decoding_statuscode";
35
35
  export * from "./json_basic_encoding_decoding_extension_object";
36
+ export * from "./json_basic_encoding_body_functor";
36
37
  export { opcuaJsonEncodeExtensionObject, opcuaJsonDecodeExtensionObject } from "./json_basic_encoding_decoding_extension_object";
package/dist2/index.js CHANGED
@@ -94,7 +94,8 @@
94
94
  __exportStar(__nccwpck_require__(376), exports),
95
95
  __exportStar(__nccwpck_require__(937), exports),
96
96
  __exportStar(__nccwpck_require__(720), exports),
97
- __exportStar(__nccwpck_require__(889), exports);
97
+ __exportStar(__nccwpck_require__(889), exports),
98
+ __exportStar(__nccwpck_require__(694), exports);
98
99
  var json_basic_encoding_decoding_extension_object_1 = __nccwpck_require__(889);
99
100
  Object.defineProperty(exports, "opcuaJsonEncodeExtensionObject", {
100
101
  enumerable: !0,
@@ -660,7 +661,11 @@
660
661
  value: value,
661
662
  });
662
663
  }
663
- return new node_opcua_variant_1.Variant({ dataType: dataType, value: f(pojo.Body, builder) });
664
+ return new node_opcua_variant_1.Variant({
665
+ dataType: dataType,
666
+ arrayType: node_opcua_variant_1.VariantArrayType.Scalar,
667
+ value: f(pojo.Body, builder),
668
+ });
664
669
  });
665
670
  },
666
671
  626: (module) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-json",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "OPCUA JSON encoder/decoder for node-opcua",
5
5
  "author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
6
6
  "homepage": "https://support.sterfive.com",
@@ -15,20 +15,23 @@
15
15
  "url": "git@gitlab.sterfive.fr:sterfive/node-opcua-pubsub.git"
16
16
  },
17
17
  "peerDependencies": {
18
- "node-opcua-basic-types": "2.60.0",
18
+ "node-opcua-basic-types": "2.61.0",
19
19
  "node-opcua-binary-stream": "2.55.0",
20
20
  "node-opcua-buffer-utils": "2.55.0",
21
- "node-opcua-data-model": "2.60.0",
22
- "node-opcua-data-value": "2.60.0",
23
- "node-opcua-date-time": "2.60.0",
24
- "node-opcua-extension-object": "2.60.0",
25
- "node-opcua-factory": "2.60.0",
26
- "node-opcua-nodeid": "2.60.0",
27
- "node-opcua-numeric-range": "2.60.0",
21
+ "node-opcua-data-model": "2.61.0",
22
+ "node-opcua-data-value": "2.61.0",
23
+ "node-opcua-date-time": "2.61.0",
24
+ "node-opcua-extension-object": "2.61.0",
25
+ "node-opcua-factory": "2.61.0",
26
+ "node-opcua-nodeid": "2.61.0",
27
+ "node-opcua-numeric-range": "2.61.0",
28
28
  "node-opcua-status-code": "2.56.0",
29
- "node-opcua-types": "2.60.0",
30
- "node-opcua-variant": "2.60.0"
29
+ "node-opcua-types": "2.61.0",
30
+ "node-opcua-variant": "2.61.0"
31
31
  },
32
32
  "gitHead": "092c80425fdaf5de81462ce7a225842dfbd13708",
33
+ "dependencies": {
34
+ "@types/aws-iot-device-sdk": "^2.2.3"
35
+ },
33
36
  "scripts": {}
34
37
  }