node-opcua-samples 2.76.1 → 2.76.2

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,33 +1,33 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- process.env.NODEOPCUADEBUG = "CLIENT{TRACE};TRANSPORT{CHUNK-HELACK}";
13
- const node_opcua_1 = require("node-opcua");
14
- (() => __awaiter(void 0, void 0, void 0, function* () {
15
- const client = node_opcua_1.OPCUAClient.create({
16
- requestedSessionTimeout: 1000,
17
- transportSettings: {
18
- maxChunkCount: 1,
19
- maxMessageSize: 1 * 8192,
20
- receiveBufferSize: 8 * 1024,
21
- sendBufferSize: 8 * 1024
22
- },
23
- connectionStrategy: {
24
- initialDelay: 10,
25
- maxDelay: 100,
26
- maxRetry: 2
27
- }
28
- });
29
- yield client.connect("opc.tcp://localhost:48010");
30
- // await client.connect("opc.tcp://localhost:53530");
31
- yield client.disconnect();
32
- }))();
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ process.env.NODEOPCUADEBUG = "CLIENT{TRACE};TRANSPORT{CHUNK-HELACK}";
13
+ const node_opcua_1 = require("node-opcua");
14
+ (() => __awaiter(void 0, void 0, void 0, function* () {
15
+ const client = node_opcua_1.OPCUAClient.create({
16
+ requestedSessionTimeout: 1000,
17
+ transportSettings: {
18
+ maxChunkCount: 1,
19
+ maxMessageSize: 1 * 8192,
20
+ receiveBufferSize: 8 * 1024,
21
+ sendBufferSize: 8 * 1024
22
+ },
23
+ connectionStrategy: {
24
+ initialDelay: 10,
25
+ maxDelay: 100,
26
+ maxRetry: 2
27
+ }
28
+ });
29
+ yield client.connect("opc.tcp://localhost:48010");
30
+ // await client.connect("opc.tcp://localhost:53530");
31
+ yield client.disconnect();
32
+ }))();
33
33
  //# sourceMappingURL=tiny_client.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-samples",
3
- "version": "2.76.1",
3
+ "version": "2.76.2",
4
4
  "description": "pure nodejs OPCUA SDK - module -samples",
5
5
  "bin": {
6
6
  "simple_client": "./dist/simple_client_ts.js",
@@ -17,13 +17,18 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@types/underscore": "^1.11.4",
20
- "@types/yargs": "17.0.10",
20
+ "@types/yargs": "17.0.12",
21
+ "chalk": "4.1.2",
21
22
  "easy-table": "^1.2.0",
23
+ "env-paths": "2.2.1",
22
24
  "exit": "^0.1.2",
23
- "node-opcua": "2.76.1",
25
+ "node-opcua": "2.76.2",
26
+ "node-opcua-address-space": "2.76.2",
24
27
  "node-opcua-assert": "2.76.0",
28
+ "node-opcua-crypto": "^1.11.0",
25
29
  "node-opcua-pki": "^2.17.0",
26
- "node-opcua-server-configuration": "2.76.1",
30
+ "node-opcua-server-configuration": "2.76.2",
31
+ "node-opcua-utils": "2.76.0",
27
32
  "sprintf-js": "^1.1.2",
28
33
  "treeify": "^1.1.0",
29
34
  "underscore": "^1.13.4",
@@ -44,5 +49,5 @@
44
49
  "internet of things"
45
50
  ],
46
51
  "homepage": "http://node-opcua.github.io/",
47
- "gitHead": "d87d1dc4ab8f153a442f83552e3264621f0a409b"
52
+ "gitHead": "acb5ecaf1e1c71af3b63e80909d58447f3f298e7"
48
53
  }