node-opcua-client-dynamic-extension-object 2.119.0 → 2.120.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/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2022-
|
|
3
|
+
Copyright (c) 2022-2024 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
|
|
4
4
|
|
|
5
5
|
Copyright (c) 2014-2022 Etienne Rossignon
|
|
6
6
|
|
|
@@ -8,7 +8,9 @@ async function _findEncodings(session, dataTypeNodeId) {
|
|
|
8
8
|
const nodeToBrowse = {
|
|
9
9
|
browseDirection: node_opcua_data_model_1.BrowseDirection.Forward,
|
|
10
10
|
includeSubtypes: true,
|
|
11
|
-
|
|
11
|
+
// strictly speaking HasEncoding points to an Object of DataTypeEncodingType, but
|
|
12
|
+
// in some buggy server implementations ObjectType is used instead. (see #1232)
|
|
13
|
+
nodeClassMask: (0, node_opcua_data_model_1.makeNodeClassMask)("Object | ObjectType"),
|
|
12
14
|
nodeId: dataTypeNodeId,
|
|
13
15
|
referenceTypeId: (0, node_opcua_nodeid_1.resolveNodeId)("HasEncoding"),
|
|
14
16
|
resultMask: (0, node_opcua_data_model_1.makeResultMask)("ReferenceType | IsForward | BrowseName | NodeClass | TypeDefinition")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find_encodings.js","sourceRoot":"","sources":["../../source/private/find_encodings.ts"],"names":[],"mappings":";;;AAAA,iEAA2F;AAC3F,yDAA0D;AAC1D,yEAAmG;AAG5F,KAAK,UAAU,cAAc,CAAC,OAA6B,EAAE,cAAsB;IACtF,MAAM,YAAY,GAA0B;QACxC,eAAe,EAAE,uCAAe,CAAC,OAAO;QACxC,eAAe,EAAE,IAAI;QACrB,aAAa,EAAE,IAAA,yCAAiB,EAAC,
|
|
1
|
+
{"version":3,"file":"find_encod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EAAgE;gBAChE,MAAM;QACd,CAAC;IACL,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAxCD,wCAwCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-client-dynamic-extension-object",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.120.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module client-dynamic-extension-object",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"chalk": "4.1.2",
|
|
14
|
-
"node-opcua-assert": "2.
|
|
15
|
-
"node-opcua-binary-stream": "2.
|
|
16
|
-
"node-opcua-constants": "2.
|
|
17
|
-
"node-opcua-data-model": "2.
|
|
18
|
-
"node-opcua-data-value": "2.
|
|
19
|
-
"node-opcua-debug": "2.
|
|
20
|
-
"node-opcua-extension-object": "2.
|
|
21
|
-
"node-opcua-factory": "2.
|
|
22
|
-
"node-opcua-nodeid": "2.
|
|
23
|
-
"node-opcua-pseudo-session": "2.
|
|
24
|
-
"node-opcua-schemas": "2.
|
|
25
|
-
"node-opcua-service-browse": "2.
|
|
26
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
27
|
-
"node-opcua-status-code": "2.
|
|
28
|
-
"node-opcua-types": "2.
|
|
29
|
-
"node-opcua-variant": "2.
|
|
14
|
+
"node-opcua-assert": "2.120.0",
|
|
15
|
+
"node-opcua-binary-stream": "2.120.0",
|
|
16
|
+
"node-opcua-constants": "2.120.0",
|
|
17
|
+
"node-opcua-data-model": "2.120.0",
|
|
18
|
+
"node-opcua-data-value": "2.120.0",
|
|
19
|
+
"node-opcua-debug": "2.120.0",
|
|
20
|
+
"node-opcua-extension-object": "2.120.0",
|
|
21
|
+
"node-opcua-factory": "2.120.0",
|
|
22
|
+
"node-opcua-nodeid": "2.120.0",
|
|
23
|
+
"node-opcua-pseudo-session": "2.120.0",
|
|
24
|
+
"node-opcua-schemas": "2.120.0",
|
|
25
|
+
"node-opcua-service-browse": "2.120.0",
|
|
26
|
+
"node-opcua-service-translate-browse-path": "2.120.0",
|
|
27
|
+
"node-opcua-status-code": "2.120.0",
|
|
28
|
+
"node-opcua-types": "2.120.0",
|
|
29
|
+
"node-opcua-variant": "2.120.0"
|
|
30
30
|
},
|
|
31
31
|
"author": "Etienne Rossignon",
|
|
32
32
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"internet of things"
|
|
44
44
|
],
|
|
45
45
|
"homepage": "http://node-opcua.github.io/",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "f4ae243bb61ba7af4c019a3cfe76dfc0f6427983",
|
|
47
47
|
"files": [
|
|
48
48
|
"dist",
|
|
49
49
|
"source"
|
|
@@ -7,7 +7,9 @@ export async function _findEncodings(session: ISessionForBrowseAll, dataTypeNode
|
|
|
7
7
|
const nodeToBrowse: BrowseDescriptionLike = {
|
|
8
8
|
browseDirection: BrowseDirection.Forward,
|
|
9
9
|
includeSubtypes: true,
|
|
10
|
-
|
|
10
|
+
// strictly speaking HasEncoding points to an Object of DataTypeEncodingType, but
|
|
11
|
+
// in some buggy server implementations ObjectType is used instead. (see #1232)
|
|
12
|
+
nodeClassMask: makeNodeClassMask("Object | ObjectType"),
|
|
11
13
|
nodeId: dataTypeNodeId,
|
|
12
14
|
referenceTypeId: resolveNodeId("HasEncoding"),
|
|
13
15
|
resultMask: makeResultMask("ReferenceType | IsForward | BrowseName | NodeClass | TypeDefinition")
|