node-opcua-nodeid 2.97.0 → 2.98.1

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.
@@ -1,68 +1,68 @@
1
- /// <reference types="node" />
2
- /**
3
- * @module node-opcua-nodeid
4
- */
5
- import { Guid } from "node-opcua-guid";
6
- import { NodeId, NodeIdType } from "./nodeid";
7
- /**
8
- * An ExpandedNodeId extends the NodeId structure.
9
- *
10
- * An ExpandedNodeId extends the NodeId structure by allowing the NamespaceUri to be
11
- * explicitly specified instead of using the NamespaceIndex. The NamespaceUri is optional. If it
12
- * is specified then the NamespaceIndex inside the NodeId shall be ignored.
13
- *
14
- * The ExpandedNodeId is encoded by first encoding a NodeId as described in Clause 5 .2.2.9
15
- * and then encoding NamespaceUri as a String.
16
- *
17
- * An instance of an ExpandedNodeId may still use the NamespaceIndex instead of the
18
- * NamespaceUri. In this case, the NamespaceUri is not encoded in the stream. The presence of
19
- * the NamespaceUri in the stream is indicated by setting the NamespaceUri flag in the encoding
20
- * format byte for the NodeId.
21
- *
22
- * If the NamespaceUri is present then the encoder shall encode the NamespaceIndex as 0 in
23
- * the stream when the NodeId portion is encoded. The unused NamespaceIndex is included in
24
- * the stream for consistency,
25
- *
26
- * An ExpandedNodeId may also have a ServerIndex which is encoded as a UInt32 after the
27
- * NamespaceUri. The ServerIndex flag in the NodeId encoding byte indicates whether the
28
- * ServerIndex is present in the stream. The ServerIndex is omitted if it is equal to zero.
29
- *
30
- * @class ExpandedNodeId
31
- * @extends NodeId
32
- *
33
- *
34
- *
35
- * @param identifierType - the nodeID type
36
- * @param value - the node id value. The type of Value depends on identifierType.
37
- * @param namespace - the index of the related namespace (optional , default value = 0 )
38
- * @param namespaceUri - NamespaceUri
39
- * @param serverIndex - the server Index
40
- * @constructor
41
- */
42
- export declare class ExpandedNodeId extends NodeId {
43
- static nullExpandedNodeId: ExpandedNodeId;
44
- static fromNodeId(nodeId: NodeId, namespaceUri?: string, serverIndex?: number): ExpandedNodeId;
45
- namespaceUri: null | string;
46
- serverIndex: number;
47
- constructor(forDeserialization: null);
48
- constructor(identifierType: NodeIdType, value: number | string | Guid | Buffer, namespace: number, namespaceUri?: null | string, serverIndex?: number);
49
- /**
50
- * @method toString
51
- * @return {string}
52
- */
53
- toString(): string;
54
- /**
55
- * convert nodeId to a JSON string. same as {@link NodeId#toString }
56
- * @method toJSON
57
- * @return {String}
58
- */
59
- toJSON(): any;
60
- }
61
- export declare function coerceExpandedNodeId(value: unknown): ExpandedNodeId;
62
- /**
63
- * @method makeExpandedNodeId
64
- * @param value
65
- * @param [namespace=0] the namespace
66
- * @return {ExpandedNodeId}
67
- */
68
- export declare function makeExpandedNodeId(value: unknown, namespace?: number): ExpandedNodeId;
1
+ /// <reference types="node" />
2
+ /**
3
+ * @module node-opcua-nodeid
4
+ */
5
+ import { Guid } from "node-opcua-guid";
6
+ import { NodeId, NodeIdType } from "./nodeid";
7
+ /**
8
+ * An ExpandedNodeId extends the NodeId structure.
9
+ *
10
+ * An ExpandedNodeId extends the NodeId structure by allowing the NamespaceUri to be
11
+ * explicitly specified instead of using the NamespaceIndex. The NamespaceUri is optional. If it
12
+ * is specified then the NamespaceIndex inside the NodeId shall be ignored.
13
+ *
14
+ * The ExpandedNodeId is encoded by first encoding a NodeId as described in Clause 5 .2.2.9
15
+ * and then encoding NamespaceUri as a String.
16
+ *
17
+ * An instance of an ExpandedNodeId may still use the NamespaceIndex instead of the
18
+ * NamespaceUri. In this case, the NamespaceUri is not encoded in the stream. The presence of
19
+ * the NamespaceUri in the stream is indicated by setting the NamespaceUri flag in the encoding
20
+ * format byte for the NodeId.
21
+ *
22
+ * If the NamespaceUri is present then the encoder shall encode the NamespaceIndex as 0 in
23
+ * the stream when the NodeId portion is encoded. The unused NamespaceIndex is included in
24
+ * the stream for consistency,
25
+ *
26
+ * An ExpandedNodeId may also have a ServerIndex which is encoded as a UInt32 after the
27
+ * NamespaceUri. The ServerIndex flag in the NodeId encoding byte indicates whether the
28
+ * ServerIndex is present in the stream. The ServerIndex is omitted if it is equal to zero.
29
+ *
30
+ * @class ExpandedNodeId
31
+ * @extends NodeId
32
+ *
33
+ *
34
+ *
35
+ * @param identifierType - the nodeID type
36
+ * @param value - the node id value. The type of Value depends on identifierType.
37
+ * @param namespace - the index of the related namespace (optional , default value = 0 )
38
+ * @param namespaceUri - NamespaceUri
39
+ * @param serverIndex - the server Index
40
+ * @constructor
41
+ */
42
+ export declare class ExpandedNodeId extends NodeId {
43
+ static nullExpandedNodeId: ExpandedNodeId;
44
+ static fromNodeId(nodeId: NodeId, namespaceUri?: string, serverIndex?: number): ExpandedNodeId;
45
+ namespaceUri: null | string;
46
+ serverIndex: number;
47
+ constructor(forDeserialization: null);
48
+ constructor(identifierType: NodeIdType, value: number | string | Guid | Buffer, namespace: number, namespaceUri?: null | string, serverIndex?: number);
49
+ /**
50
+ * @method toString
51
+ * @return {string}
52
+ */
53
+ toString(): string;
54
+ /**
55
+ * convert nodeId to a JSON string. same as {@link NodeId#toString }
56
+ * @method toJSON
57
+ * @return {String}
58
+ */
59
+ toJSON(): any;
60
+ }
61
+ export declare function coerceExpandedNodeId(value: unknown): ExpandedNodeId;
62
+ /**
63
+ * @method makeExpandedNodeId
64
+ * @param value
65
+ * @param [namespace=0] the namespace
66
+ * @return {ExpandedNodeId}
67
+ */
68
+ export declare function makeExpandedNodeId(value: unknown, namespace?: number): ExpandedNodeId;
@@ -1,110 +1,110 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.makeExpandedNodeId = exports.coerceExpandedNodeId = exports.ExpandedNodeId = void 0;
4
- const nodeid_1 = require("./nodeid");
5
- /**
6
- * An ExpandedNodeId extends the NodeId structure.
7
- *
8
- * An ExpandedNodeId extends the NodeId structure by allowing the NamespaceUri to be
9
- * explicitly specified instead of using the NamespaceIndex. The NamespaceUri is optional. If it
10
- * is specified then the NamespaceIndex inside the NodeId shall be ignored.
11
- *
12
- * The ExpandedNodeId is encoded by first encoding a NodeId as described in Clause 5 .2.2.9
13
- * and then encoding NamespaceUri as a String.
14
- *
15
- * An instance of an ExpandedNodeId may still use the NamespaceIndex instead of the
16
- * NamespaceUri. In this case, the NamespaceUri is not encoded in the stream. The presence of
17
- * the NamespaceUri in the stream is indicated by setting the NamespaceUri flag in the encoding
18
- * format byte for the NodeId.
19
- *
20
- * If the NamespaceUri is present then the encoder shall encode the NamespaceIndex as 0 in
21
- * the stream when the NodeId portion is encoded. The unused NamespaceIndex is included in
22
- * the stream for consistency,
23
- *
24
- * An ExpandedNodeId may also have a ServerIndex which is encoded as a UInt32 after the
25
- * NamespaceUri. The ServerIndex flag in the NodeId encoding byte indicates whether the
26
- * ServerIndex is present in the stream. The ServerIndex is omitted if it is equal to zero.
27
- *
28
- * @class ExpandedNodeId
29
- * @extends NodeId
30
- *
31
- *
32
- *
33
- * @param identifierType - the nodeID type
34
- * @param value - the node id value. The type of Value depends on identifierType.
35
- * @param namespace - the index of the related namespace (optional , default value = 0 )
36
- * @param namespaceUri - NamespaceUri
37
- * @param serverIndex - the server Index
38
- * @constructor
39
- */
40
- class ExpandedNodeId extends nodeid_1.NodeId {
41
- static fromNodeId(nodeId, namespaceUri, serverIndex) {
42
- return new ExpandedNodeId(nodeId.identifierType, nodeId.value, nodeId.namespace, namespaceUri, serverIndex);
43
- }
44
- constructor(identifierType, value, namespace, namespaceUri, serverIndex) {
45
- super(identifierType, value, namespace);
46
- this.namespaceUri = namespaceUri || null;
47
- this.serverIndex = serverIndex || 0;
48
- }
49
- /**
50
- * @method toString
51
- * @return {string}
52
- */
53
- toString() {
54
- let str = nodeid_1.NodeId.prototype.toString.call(this);
55
- if (this.namespaceUri) {
56
- str += ";namespaceUri:" + this.namespaceUri;
57
- }
58
- if (this.serverIndex) {
59
- str += ";serverIndex:" + this.serverIndex;
60
- }
61
- return str;
62
- }
63
- /**
64
- * convert nodeId to a JSON string. same as {@link NodeId#toString }
65
- * @method toJSON
66
- * @return {String}
67
- */
68
- toJSON() {
69
- return this.toString();
70
- }
71
- }
72
- exports.ExpandedNodeId = ExpandedNodeId;
73
- ExpandedNodeId.nullExpandedNodeId = new ExpandedNodeId(nodeid_1.NodeIdType.NUMERIC, 0, 0);
74
- function coerceExpandedNodeId(value) {
75
- const n = (0, nodeid_1.coerceNodeId)(value);
76
- return new ExpandedNodeId(n.identifierType, n.value, n.namespace, /*namespaceUri*/ null, /*serverIndex*/ 0);
77
- }
78
- exports.coerceExpandedNodeId = coerceExpandedNodeId;
79
- /**
80
- * @method makeExpandedNodeId
81
- * @param value
82
- * @param [namespace=0] the namespace
83
- * @return {ExpandedNodeId}
84
- */
85
- function makeExpandedNodeId(value, namespace) {
86
- if (value === undefined && namespace === undefined) {
87
- return new ExpandedNodeId(nodeid_1.NodeIdType.NUMERIC, 0, 0, null, 0);
88
- }
89
- const serverIndex = 0;
90
- let n;
91
- const namespaceUri = null;
92
- if (value instanceof ExpandedNodeId) {
93
- // construct from a ExpandedNodeId => copy
94
- n = value;
95
- return new ExpandedNodeId(n.identifierType, n.value, n.namespace, n.namespaceUri, n.serverIndex);
96
- }
97
- if (value instanceof nodeid_1.NodeId) {
98
- // construct from a nodeId
99
- n = value;
100
- return new ExpandedNodeId(n.identifierType, n.value, n.namespace, namespaceUri, serverIndex);
101
- }
102
- const valueInt = parseInt(value, 10);
103
- if (!isFinite(valueInt)) {
104
- throw new Error(" cannot makeExpandedNodeId out of " + value);
105
- }
106
- namespace = namespace || 0;
107
- return new ExpandedNodeId(nodeid_1.NodeIdType.NUMERIC, valueInt, namespace, namespaceUri, serverIndex);
108
- }
109
- exports.makeExpandedNodeId = makeExpandedNodeId;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.makeExpandedNodeId = exports.coerceExpandedNodeId = exports.ExpandedNodeId = void 0;
4
+ const nodeid_1 = require("./nodeid");
5
+ /**
6
+ * An ExpandedNodeId extends the NodeId structure.
7
+ *
8
+ * An ExpandedNodeId extends the NodeId structure by allowing the NamespaceUri to be
9
+ * explicitly specified instead of using the NamespaceIndex. The NamespaceUri is optional. If it
10
+ * is specified then the NamespaceIndex inside the NodeId shall be ignored.
11
+ *
12
+ * The ExpandedNodeId is encoded by first encoding a NodeId as described in Clause 5 .2.2.9
13
+ * and then encoding NamespaceUri as a String.
14
+ *
15
+ * An instance of an ExpandedNodeId may still use the NamespaceIndex instead of the
16
+ * NamespaceUri. In this case, the NamespaceUri is not encoded in the stream. The presence of
17
+ * the NamespaceUri in the stream is indicated by setting the NamespaceUri flag in the encoding
18
+ * format byte for the NodeId.
19
+ *
20
+ * If the NamespaceUri is present then the encoder shall encode the NamespaceIndex as 0 in
21
+ * the stream when the NodeId portion is encoded. The unused NamespaceIndex is included in
22
+ * the stream for consistency,
23
+ *
24
+ * An ExpandedNodeId may also have a ServerIndex which is encoded as a UInt32 after the
25
+ * NamespaceUri. The ServerIndex flag in the NodeId encoding byte indicates whether the
26
+ * ServerIndex is present in the stream. The ServerIndex is omitted if it is equal to zero.
27
+ *
28
+ * @class ExpandedNodeId
29
+ * @extends NodeId
30
+ *
31
+ *
32
+ *
33
+ * @param identifierType - the nodeID type
34
+ * @param value - the node id value. The type of Value depends on identifierType.
35
+ * @param namespace - the index of the related namespace (optional , default value = 0 )
36
+ * @param namespaceUri - NamespaceUri
37
+ * @param serverIndex - the server Index
38
+ * @constructor
39
+ */
40
+ class ExpandedNodeId extends nodeid_1.NodeId {
41
+ static fromNodeId(nodeId, namespaceUri, serverIndex) {
42
+ return new ExpandedNodeId(nodeId.identifierType, nodeId.value, nodeId.namespace, namespaceUri, serverIndex);
43
+ }
44
+ constructor(identifierType, value, namespace, namespaceUri, serverIndex) {
45
+ super(identifierType, value, namespace);
46
+ this.namespaceUri = namespaceUri || null;
47
+ this.serverIndex = serverIndex || 0;
48
+ }
49
+ /**
50
+ * @method toString
51
+ * @return {string}
52
+ */
53
+ toString() {
54
+ let str = nodeid_1.NodeId.prototype.toString.call(this);
55
+ if (this.namespaceUri) {
56
+ str += ";namespaceUri:" + this.namespaceUri;
57
+ }
58
+ if (this.serverIndex) {
59
+ str += ";serverIndex:" + this.serverIndex;
60
+ }
61
+ return str;
62
+ }
63
+ /**
64
+ * convert nodeId to a JSON string. same as {@link NodeId#toString }
65
+ * @method toJSON
66
+ * @return {String}
67
+ */
68
+ toJSON() {
69
+ return this.toString();
70
+ }
71
+ }
72
+ ExpandedNodeId.nullExpandedNodeId = new ExpandedNodeId(nodeid_1.NodeIdType.NUMERIC, 0, 0);
73
+ exports.ExpandedNodeId = ExpandedNodeId;
74
+ function coerceExpandedNodeId(value) {
75
+ const n = (0, nodeid_1.coerceNodeId)(value);
76
+ return new ExpandedNodeId(n.identifierType, n.value, n.namespace, /*namespaceUri*/ null, /*serverIndex*/ 0);
77
+ }
78
+ exports.coerceExpandedNodeId = coerceExpandedNodeId;
79
+ /**
80
+ * @method makeExpandedNodeId
81
+ * @param value
82
+ * @param [namespace=0] the namespace
83
+ * @return {ExpandedNodeId}
84
+ */
85
+ function makeExpandedNodeId(value, namespace) {
86
+ if (value === undefined && namespace === undefined) {
87
+ return new ExpandedNodeId(nodeid_1.NodeIdType.NUMERIC, 0, 0, null, 0);
88
+ }
89
+ const serverIndex = 0;
90
+ let n;
91
+ const namespaceUri = null;
92
+ if (value instanceof ExpandedNodeId) {
93
+ // construct from a ExpandedNodeId => copy
94
+ n = value;
95
+ return new ExpandedNodeId(n.identifierType, n.value, n.namespace, n.namespaceUri, n.serverIndex);
96
+ }
97
+ if (value instanceof nodeid_1.NodeId) {
98
+ // construct from a nodeId
99
+ n = value;
100
+ return new ExpandedNodeId(n.identifierType, n.value, n.namespace, namespaceUri, serverIndex);
101
+ }
102
+ const valueInt = parseInt(value, 10);
103
+ if (!isFinite(valueInt)) {
104
+ throw new Error(" cannot makeExpandedNodeId out of " + value);
105
+ }
106
+ namespace = namespace || 0;
107
+ return new ExpandedNodeId(nodeid_1.NodeIdType.NUMERIC, valueInt, namespace, namespaceUri, serverIndex);
108
+ }
109
+ exports.makeExpandedNodeId = makeExpandedNodeId;
110
110
  //# sourceMappingURL=expanded_nodeid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"expanded_nodeid.js","sourceRoot":"","sources":["../source/expanded_nodeid.ts"],"names":[],"mappings":";;;AAIA,qCAA4D;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,cAAe,SAAQ,eAAM;IAG/B,MAAM,CAAC,UAAU,CAAC,MAAc,EAAE,YAAqB,EAAE,WAAoB;QAChF,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;IAChH,CAAC;IAaD,YACI,cAAkC,EAClC,KAAuC,EACvC,SAAkB,EAClB,YAA4B,EAC5B,WAAoB;QAEpB,KAAK,CAAC,cAAc,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,YAAY,IAAI,IAAI,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,WAAW,IAAI,CAAC,CAAC;IACxC,CAAC;IAED;;;OAGG;IACI,QAAQ;QACX,IAAI,GAAG,GAAG,eAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,IAAI,CAAC,YAAY,EAAE;YACnB,GAAG,IAAI,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC;SAC/C;QACD,IAAI,IAAI,CAAC,WAAW,EAAE;YAClB,GAAG,IAAI,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC;SAC7C;QACD,OAAO,GAAG,CAAC;IACf,CAAC;IAED;;;;OAIG;IACI,MAAM;QACT,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;IAC3B,CAAC;;AApDL,wCAqDC;AApDiB,iCAAkB,GAAG,IAAI,cAAc,CAAC,mBAAU,CAAC,OAAO,EAAE,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YAAY,EAAE,WAAW,CAAC,CAAC;KAChG;IAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAe,EAAE,EAAE,CAAC,CAAC;IAC/C,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,oCAAoC,GAAG,KAAK,CAAC,CAAC;KACjE;IACD,SAAS,GAAG,SAAS,IAAI,CAAC,CAAC;IAC3B,OAAO,IAAI,cAAc,CAAC,mBAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;AAClG,CAAC;AAzBD,gDAyBC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * @module node-opcua-nodeid
3
- */
4
- export * from "./nodeid";
5
- export * from "./expanded_nodeid";
1
+ /**
2
+ * @module node-opcua-nodeid
3
+ */
4
+ export * from "./nodeid";
5
+ export * from "./expanded_nodeid";
package/dist/index.js CHANGED
@@ -1,22 +1,22 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- /**
18
- * @module node-opcua-nodeid
19
- */
20
- __exportStar(require("./nodeid"), exports);
21
- __exportStar(require("./expanded_nodeid"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /**
18
+ * @module node-opcua-nodeid
19
+ */
20
+ __exportStar(require("./nodeid"), exports);
21
+ __exportStar(require("./expanded_nodeid"), exports);
22
22
  //# sourceMappingURL=index.js.map