node-opcua-types 2.113.0 → 2.117.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/dist/_generated_opcua_types.js +831 -831
- package/dist/_generated_opcua_types.js.map +1 -1
- package/dist/generate.js +10 -21
- package/dist/generate.js.map +1 -1
- package/package.json +14 -14
- package/source/_generated_opcua_types.ts +1 -1
package/dist/generate.js
CHANGED
|
@@ -22,15 +22,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
26
|
/**
|
|
36
27
|
* @module node-opcua-types
|
|
@@ -47,18 +38,16 @@ const force_inclusion_QualifiedName = d.QualifiedName;
|
|
|
47
38
|
const force_inclusion_LocalizedText = d.LocalizedText;
|
|
48
39
|
const force_inclusion_Variant = node_opcua_variant_1.Variant;
|
|
49
40
|
const force_inclusion_DataValue = node_opcua_data_value_1.DataValue;
|
|
50
|
-
function main() {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
});
|
|
41
|
+
async function main() {
|
|
42
|
+
try {
|
|
43
|
+
// await build_generated_folder();
|
|
44
|
+
const filename = path.join(__dirname, "../xmlschemas/Opc.Ua.Types.bsd");
|
|
45
|
+
const generatedTypescriptFilename = path.join(__dirname, "_generated_opcua_types.ts");
|
|
46
|
+
await (0, node_opcua_generator_1.generate)(filename, generatedTypescriptFilename);
|
|
47
|
+
}
|
|
48
|
+
catch (err) {
|
|
49
|
+
console.log(err);
|
|
50
|
+
}
|
|
62
51
|
}
|
|
63
52
|
main().then().catch();
|
|
64
53
|
//# sourceMappingURL=generate.js.map
|
package/dist/generate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../source/generate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../source/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4BAA4B;AAC5B,2CAA6B;AAC7B,yDAA2C;AAC3C,iEAAkD;AAClD,+DAAgD;AAChD,4DAA8C;AAC9C,2DAA6C;AAE7C,MAAM,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;AACvC,MAAM,6BAA6B,GAAG,CAAC,CAAC,aAAa,CAAC;AACtD,MAAM,6BAA6B,GAAG,CAAC,CAAC,aAAa,CAAC;AACtD,MAAM,uBAAuB,GAAG,4BAAO,CAAC;AACxC,MAAM,yBAAyB,GAAG,iCAAS,CAAC;AAE5C,KAAK,UAAU,IAAI;IACf,IAAI;QACA,kCAAkC;QAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,gCAAgC,CAAC,CAAC;QACxE,MAAM,2BAA2B,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAC;QACtF,MAAM,IAAA,+BAAQ,EAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;KACzD;IAAC,OAAO,GAAG,EAAE;QACV,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;KACpB;AACL,CAAC;AACD,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.117.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"node-opcua-assert": "2.105.0",
|
|
16
|
-
"node-opcua-basic-types": "2.
|
|
17
|
-
"node-opcua-binary-stream": "2.
|
|
18
|
-
"node-opcua-data-model": "2.
|
|
19
|
-
"node-opcua-data-value": "2.
|
|
20
|
-
"node-opcua-enum": "2.
|
|
21
|
-
"node-opcua-extension-object": "2.
|
|
22
|
-
"node-opcua-factory": "2.
|
|
23
|
-
"node-opcua-generator": "2.
|
|
24
|
-
"node-opcua-nodeid": "2.
|
|
25
|
-
"node-opcua-numeric-range": "2.
|
|
26
|
-
"node-opcua-status-code": "2.
|
|
27
|
-
"node-opcua-variant": "2.
|
|
16
|
+
"node-opcua-basic-types": "2.117.0",
|
|
17
|
+
"node-opcua-binary-stream": "2.117.0",
|
|
18
|
+
"node-opcua-data-model": "2.117.0",
|
|
19
|
+
"node-opcua-data-value": "2.117.0",
|
|
20
|
+
"node-opcua-enum": "2.117.0",
|
|
21
|
+
"node-opcua-extension-object": "2.117.0",
|
|
22
|
+
"node-opcua-factory": "2.117.0",
|
|
23
|
+
"node-opcua-generator": "2.117.0",
|
|
24
|
+
"node-opcua-nodeid": "2.117.0",
|
|
25
|
+
"node-opcua-numeric-range": "2.117.0",
|
|
26
|
+
"node-opcua-status-code": "2.117.0",
|
|
27
|
+
"node-opcua-variant": "2.117.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"should": "^13.2.3"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"internet of things"
|
|
45
45
|
],
|
|
46
46
|
"homepage": "http://node-opcua.github.io/",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "99ed7589a203923985c25be8907b36485c798bbe",
|
|
48
48
|
"files": [
|
|
49
49
|
"dist",
|
|
50
50
|
"source"
|