node-opcua-service-discovery 2.53.0 → 2.56.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.
- package/LICENSE +20 -20
- package/package.json +13 -13
- package/source/index.ts +35 -35
- package/source/server_capabilities.ts +27 -27
package/LICENSE
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014-2021 Etienne Rossignon
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
-
subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014-2021 Etienne Rossignon
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-service-discovery",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.56.2",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -service-discovery",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc -b",
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@types/bonjour": "^3.5.9",
|
|
15
15
|
"bonjour": "^3.5.0",
|
|
16
|
-
"node-opcua-assert": "2.
|
|
17
|
-
"node-opcua-basic-types": "2.
|
|
18
|
-
"node-opcua-binary-stream": "2.
|
|
19
|
-
"node-opcua-data-model": "2.
|
|
20
|
-
"node-opcua-debug": "2.
|
|
21
|
-
"node-opcua-factory": "2.
|
|
22
|
-
"node-opcua-nodeid": "2.
|
|
23
|
-
"node-opcua-object-registry": "2.
|
|
24
|
-
"node-opcua-service-endpoints": "2.
|
|
25
|
-
"node-opcua-service-secure-channel": "2.
|
|
26
|
-
"node-opcua-types": "2.
|
|
16
|
+
"node-opcua-assert": "2.55.0",
|
|
17
|
+
"node-opcua-basic-types": "2.56.0",
|
|
18
|
+
"node-opcua-binary-stream": "2.55.0",
|
|
19
|
+
"node-opcua-data-model": "2.56.0",
|
|
20
|
+
"node-opcua-debug": "2.55.0",
|
|
21
|
+
"node-opcua-factory": "2.56.0",
|
|
22
|
+
"node-opcua-nodeid": "2.55.0",
|
|
23
|
+
"node-opcua-object-registry": "2.56.0",
|
|
24
|
+
"node-opcua-service-endpoints": "2.56.2",
|
|
25
|
+
"node-opcua-service-secure-channel": "2.56.2",
|
|
26
|
+
"node-opcua-types": "2.56.2"
|
|
27
27
|
},
|
|
28
28
|
"author": "Etienne Rossignon",
|
|
29
29
|
"license": "MIT",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"internet of things"
|
|
41
41
|
],
|
|
42
42
|
"homepage": "http://node-opcua.github.io/",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "45dbf2f65d96a91fae6e884bb5006af4249cf1fa"
|
|
44
44
|
}
|
package/source/index.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-service-discovery
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
RegisteredServer,
|
|
7
|
-
RegisterServerRequest,
|
|
8
|
-
RegisterServerResponse,
|
|
9
|
-
MdnsDiscoveryConfiguration,
|
|
10
|
-
RegisterServer2Request,
|
|
11
|
-
RegisterServer2Response,
|
|
12
|
-
|
|
13
|
-
RegisterServerRequestOptions,
|
|
14
|
-
RegisterServer2RequestOptions,
|
|
15
|
-
|
|
16
|
-
FindServersRequest,
|
|
17
|
-
FindServersRequestOptions,
|
|
18
|
-
FindServersResponse,
|
|
19
|
-
|
|
20
|
-
FindServersOnNetworkRequest,
|
|
21
|
-
FindServersOnNetworkRequestOptions,
|
|
22
|
-
FindServersOnNetworkResponse,
|
|
23
|
-
|
|
24
|
-
ServerOnNetwork
|
|
25
|
-
} from "node-opcua-types";
|
|
26
|
-
|
|
27
|
-
export { serverCapabilities } from "./server_capabilities";
|
|
28
|
-
export {
|
|
29
|
-
acquireBonjour,
|
|
30
|
-
Announcement,
|
|
31
|
-
releaseBonjour,
|
|
32
|
-
BonjourHolder,
|
|
33
|
-
sameAnnouncement,
|
|
34
|
-
_announceServerOnMulticastSubnet
|
|
35
|
-
}from "./bonjour";
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-service-discovery
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
RegisteredServer,
|
|
7
|
+
RegisterServerRequest,
|
|
8
|
+
RegisterServerResponse,
|
|
9
|
+
MdnsDiscoveryConfiguration,
|
|
10
|
+
RegisterServer2Request,
|
|
11
|
+
RegisterServer2Response,
|
|
12
|
+
|
|
13
|
+
RegisterServerRequestOptions,
|
|
14
|
+
RegisterServer2RequestOptions,
|
|
15
|
+
|
|
16
|
+
FindServersRequest,
|
|
17
|
+
FindServersRequestOptions,
|
|
18
|
+
FindServersResponse,
|
|
19
|
+
|
|
20
|
+
FindServersOnNetworkRequest,
|
|
21
|
+
FindServersOnNetworkRequestOptions,
|
|
22
|
+
FindServersOnNetworkResponse,
|
|
23
|
+
|
|
24
|
+
ServerOnNetwork
|
|
25
|
+
} from "node-opcua-types";
|
|
26
|
+
|
|
27
|
+
export { serverCapabilities } from "./server_capabilities";
|
|
28
|
+
export {
|
|
29
|
+
acquireBonjour,
|
|
30
|
+
Announcement,
|
|
31
|
+
releaseBonjour,
|
|
32
|
+
BonjourHolder,
|
|
33
|
+
sameAnnouncement,
|
|
34
|
+
_announceServerOnMulticastSubnet
|
|
35
|
+
}from "./bonjour";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-service-discovery
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// see most up to date version at http://www.opcfoundation.org/UA/schemas/1.04/ServerCapabilities.csv
|
|
6
|
-
export const serverCapabilities = [
|
|
7
|
-
|
|
8
|
-
"NA", // No capability information is available. Cannot be used in combination with any other capability.
|
|
9
|
-
"DA", // Provides current data.
|
|
10
|
-
"HD", // Provides historical data.
|
|
11
|
-
"AC", // Provides alarms and conditions that may require operator interaction.
|
|
12
|
-
"HE", // Provides historical alarms and events.
|
|
13
|
-
"GDS", // Supports the Global Discovery Server information model.
|
|
14
|
-
"LDS", // Only supports the Discovery Services. Cannot be used in combination with any other capability.
|
|
15
|
-
"DI", // Supports the Device Integration (DI) information model (see DI).
|
|
16
|
-
"ADI", // Supports the Analyser Device Integration (ADI) information model (see ADI).
|
|
17
|
-
"FDI", // Supports the Field Device Integration (FDI) information model (see FDI).
|
|
18
|
-
"FDIC", // Supports the Field Device Integration (FDI) Communication Server information model (see FDI).
|
|
19
|
-
"PLC", // Supports the PLCopen information model (see PLCopen).
|
|
20
|
-
"S95", // Supports the ISA95 information model (see ISA-95).
|
|
21
|
-
|
|
22
|
-
// new in 1.04
|
|
23
|
-
"RCP", // Supports the reverse connect capabilities defined in Part 6.
|
|
24
|
-
"PUB", // Supports the Publisher capabilities defined in Part 14.
|
|
25
|
-
"SUB", // Supports the Publisher capabilities defined in Part 14.
|
|
26
|
-
|
|
27
|
-
];
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-service-discovery
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// see most up to date version at http://www.opcfoundation.org/UA/schemas/1.04/ServerCapabilities.csv
|
|
6
|
+
export const serverCapabilities = [
|
|
7
|
+
|
|
8
|
+
"NA", // No capability information is available. Cannot be used in combination with any other capability.
|
|
9
|
+
"DA", // Provides current data.
|
|
10
|
+
"HD", // Provides historical data.
|
|
11
|
+
"AC", // Provides alarms and conditions that may require operator interaction.
|
|
12
|
+
"HE", // Provides historical alarms and events.
|
|
13
|
+
"GDS", // Supports the Global Discovery Server information model.
|
|
14
|
+
"LDS", // Only supports the Discovery Services. Cannot be used in combination with any other capability.
|
|
15
|
+
"DI", // Supports the Device Integration (DI) information model (see DI).
|
|
16
|
+
"ADI", // Supports the Analyser Device Integration (ADI) information model (see ADI).
|
|
17
|
+
"FDI", // Supports the Field Device Integration (FDI) information model (see FDI).
|
|
18
|
+
"FDIC", // Supports the Field Device Integration (FDI) Communication Server information model (see FDI).
|
|
19
|
+
"PLC", // Supports the PLCopen information model (see PLCopen).
|
|
20
|
+
"S95", // Supports the ISA95 information model (see ISA-95).
|
|
21
|
+
|
|
22
|
+
// new in 1.04
|
|
23
|
+
"RCP", // Supports the reverse connect capabilities defined in Part 6.
|
|
24
|
+
"PUB", // Supports the Publisher capabilities defined in Part 14.
|
|
25
|
+
"SUB", // Supports the Publisher capabilities defined in Part 14.
|
|
26
|
+
|
|
27
|
+
];
|