@tier0/node-opc-da 1.0.7 → 1.0.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tier0/node-opc-da",
3
- "version": "1.0.7",
4
- "description": "A library to communicate with OPC-DA servers",
3
+ "version": "1.0.9",
4
+ "description": "An implementation of the OPC DA Specification for Node.js",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -23,7 +23,7 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@tier0/node-dcom": "^1.2.0",
26
+ "@tier0/node-dcom": "1.2.1",
27
27
  "random": "^2.1.1",
28
28
  "long": "^4.0.0"
29
29
  }
package/src/enumString.js CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  const constants = require('./constants.js');
8
- const dcom = require('node-dcom');
8
+ const dcom = require('@tier0/node-dcom');
9
9
  const util = require('util');
10
10
  const debug = util.debuglog('node-opc-da');
11
11
 
package/src/filetime.js CHANGED
@@ -1,6 +1,6 @@
1
1
  //@ts-check
2
2
 
3
- const {Struct} = require('node-dcom');
3
+ const {Struct} = require('@tier0/node-dcom');
4
4
  const Long = require('long');
5
5
 
6
6
  class FileTime {
package/src/index.js CHANGED
@@ -14,7 +14,7 @@ const OPCItemManager = require('./opcItemManager');
14
14
  const OPCItemProperties = require('./opcItemProperties');
15
15
  const OPCServer = require('./opcServer');
16
16
  const OPCSyncIO = require('./opcSyncIO');
17
- const dcom = require('node-dcom');
17
+ const dcom = require('@tier0/node-dcom');
18
18
  const EventEmitter = require('events').EventEmitter;
19
19
  const {ComServer, Session, Clsid} = dcom;
20
20
 
package/src/opcBrowser.js CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  const constants = require('./constants.js');
8
- const {CallBuilder, ComString, ComValue, Types, Pointer, Flags} = require('node-dcom');
8
+ const {CallBuilder, ComString, ComValue, Types, Pointer, Flags} = require('@tier0/node-dcom');
9
9
  const EnumString = require('./enumString');
10
10
  const util = require('util');
11
11
  const debug = util.debuglog('node-opc-da');
@@ -12,7 +12,7 @@ const util = require('util');
12
12
  const debug = util.debuglog('node-opc-da');
13
13
  const { EventEmitter } = require('events');
14
14
 
15
- const { CallBuilder, ComString, ComValue, Flags, Pointer, types} = require('node-dcom');
15
+ const { CallBuilder, ComString, ComValue, Flags, Pointer, types} = require('@tier0/node-dcom');
16
16
 
17
17
 
18
18
  /**
@@ -8,7 +8,7 @@ const constants = require('./constants.js');
8
8
  const util = require('util');
9
9
  const debug = util.debuglog('node-opc-da');
10
10
 
11
- const { CallBuilder, ComArray, ComString, ComValue, Flags, Pointer, Struct, Variant, Types } = require('node-dcom');
11
+ const { CallBuilder, ComArray, ComString, ComValue, Flags, Pointer, Struct, Variant, Types } = require('@tier0/node-dcom');
12
12
 
13
13
  /**
14
14
  * @typedef {object} ItemStruct
package/src/opcServer.js CHANGED
@@ -15,7 +15,7 @@ const filetime = require('./filetime');
15
15
  const util = require('util');
16
16
  const debug = util.debuglog('node-opca-da');
17
17
  const events = require('events');
18
- const { CallBuilder, ComString, ComValue, Flags, Pointer, Struct, Types } = require('node-dcom');
18
+ const { CallBuilder, ComString, ComValue, Flags, Pointer, Struct, Types } = require('@tier0/node-dcom');
19
19
 
20
20
  const groupCache = new WeakMap();
21
21
 
package/src/opcSyncIO.js CHANGED
@@ -7,10 +7,11 @@
7
7
  const constants = require('./constants.js');
8
8
  const filetime = require('./filetime');
9
9
  const util = require('util');
10
- const dcom = require('node-dcom');
10
+ const dcom = require('@tier0/node-dcom');
11
+ const { Session, Clsid, ComServer } = dcom;
11
12
  const debug = util.debuglog('node-opc-da');
12
13
 
13
- const { CallBuilder, ComArray, ComValue, Flags, Pointer, Struct, Variant, Types } = require('node-dcom');
14
+ const { CallBuilder, ComArray, ComValue, Flags, Pointer, Struct, Variant, Types } = require('@tier0/node-dcom');
14
15
 
15
16
  /**
16
17
  * Represents an OPC Sync IO Object
package/src/opctypes.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // @ts-check
2
2
 
3
3
  const constants = require('./constants');
4
- const dcom = require('node-dcom');
4
+ const dcom = require('@tier0/node-dcom');
5
5
 
6
6
  /**
7
7
  * This file contain the function definitions for OPC types that dont need a whole class for themselves