node-opcua-file-transfer 2.63.1 → 2.64.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.
- package/dist/client/client_file.d.ts +68 -68
- package/dist/client/client_file.js +309 -309
- package/dist/index.d.ts +5 -5
- package/dist/index.js +17 -17
- package/dist/open_mode.d.ts +39 -39
- package/dist/open_mode.js +44 -44
- package/dist/server/file_type_helpers.d.ts +68 -68
- package/dist/server/file_type_helpers.js +492 -492
- package/package.json +25 -25
- package/readme.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-file-transfer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.64.1",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -server",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc -b",
|
|
@@ -11,33 +11,33 @@
|
|
|
11
11
|
"main": "./dist/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"node-opcua-address-space": "2.
|
|
15
|
-
"node-opcua-assert": "2.
|
|
16
|
-
"node-opcua-basic-types": "2.
|
|
17
|
-
"node-opcua-client": "2.
|
|
18
|
-
"node-opcua-constants": "2.
|
|
19
|
-
"node-opcua-data-model": "2.
|
|
20
|
-
"node-opcua-debug": "2.
|
|
21
|
-
"node-opcua-nodeid": "2.
|
|
22
|
-
"node-opcua-nodesets": "2.
|
|
23
|
-
"node-opcua-pki": "^2.
|
|
24
|
-
"node-opcua-pseudo-session": "2.
|
|
25
|
-
"node-opcua-secure-channel": "2.
|
|
26
|
-
"node-opcua-server": "2.
|
|
27
|
-
"node-opcua-service-call": "2.
|
|
28
|
-
"node-opcua-service-read": "2.
|
|
29
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
30
|
-
"node-opcua-status-code": "2.
|
|
31
|
-
"node-opcua-types": "2.
|
|
32
|
-
"node-opcua-variant": "2.
|
|
14
|
+
"node-opcua-address-space": "2.64.1",
|
|
15
|
+
"node-opcua-assert": "2.64.1",
|
|
16
|
+
"node-opcua-basic-types": "2.64.1",
|
|
17
|
+
"node-opcua-client": "2.64.1",
|
|
18
|
+
"node-opcua-constants": "2.64.1",
|
|
19
|
+
"node-opcua-data-model": "2.64.1",
|
|
20
|
+
"node-opcua-debug": "2.64.1",
|
|
21
|
+
"node-opcua-nodeid": "2.64.1",
|
|
22
|
+
"node-opcua-nodesets": "2.64.1",
|
|
23
|
+
"node-opcua-pki": "^2.14.0",
|
|
24
|
+
"node-opcua-pseudo-session": "2.64.1",
|
|
25
|
+
"node-opcua-secure-channel": "2.64.1",
|
|
26
|
+
"node-opcua-server": "2.64.1",
|
|
27
|
+
"node-opcua-service-call": "2.64.1",
|
|
28
|
+
"node-opcua-service-read": "2.64.1",
|
|
29
|
+
"node-opcua-service-translate-browse-path": "2.64.1",
|
|
30
|
+
"node-opcua-status-code": "2.64.1",
|
|
31
|
+
"node-opcua-types": "2.64.1",
|
|
32
|
+
"node-opcua-variant": "2.64.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"memfs": "^3.4.1",
|
|
36
|
-
"node-opcua-binary-stream": "2.
|
|
37
|
-
"node-opcua-data-value": "2.
|
|
38
|
-
"node-opcua-leak-detector": "2.
|
|
36
|
+
"node-opcua-binary-stream": "2.64.1",
|
|
37
|
+
"node-opcua-data-value": "2.64.1",
|
|
38
|
+
"node-opcua-leak-detector": "2.64.1",
|
|
39
39
|
"should": "^13.2.3",
|
|
40
|
-
"sinon": "^
|
|
40
|
+
"sinon": "^13.0.1"
|
|
41
41
|
},
|
|
42
42
|
"author": "Etienne Rossignon",
|
|
43
43
|
"license": "MIT",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"internet of things"
|
|
55
55
|
],
|
|
56
56
|
"homepage": "http://node-opcua.github.io/",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "b65b8738603cd475d7d99a2b20b0ae9d32b4110c"
|
|
58
58
|
}
|
package/readme.md
CHANGED
|
@@ -14,7 +14,7 @@ $ npm install node-opcua-file-transfer
|
|
|
14
14
|
## exposing a File node in the addressSpace
|
|
15
15
|
|
|
16
16
|
```javascript
|
|
17
|
-
import { OPCUAServer,
|
|
17
|
+
import { OPCUAServer, UAFile } from "node-opcua";
|
|
18
18
|
import { installFileType } from "node-opcua-file-transfer";
|
|
19
19
|
|
|
20
20
|
```
|
|
@@ -44,7 +44,7 @@ const myFile = fileType.instantiate({
|
|
|
44
44
|
nodeId: "s=MyFile",
|
|
45
45
|
browseName: "MyFile",
|
|
46
46
|
organizedBy: addressSpace.rootFolder.objects
|
|
47
|
-
}) as
|
|
47
|
+
}) as UAFile;
|
|
48
48
|
|
|
49
49
|
// now bind the opcuaFile object with our file
|
|
50
50
|
installFileType(opcuaFile, {
|