@zaber/motion 8.2.0 → 8.3.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.
Files changed (80) hide show
  1. package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
  2. package/dist/lib/ascii/axis_type.d.ts +5 -5
  3. package/dist/lib/ascii/axis_type.d.ts.map +1 -1
  4. package/dist/lib/ascii/axis_type.js +5 -5
  5. package/dist/lib/ascii/axis_type.js.map +1 -1
  6. package/dist/lib/ascii/digital_output_action.d.ts +4 -4
  7. package/dist/lib/ascii/digital_output_action.d.ts.map +1 -1
  8. package/dist/lib/ascii/digital_output_action.js +4 -4
  9. package/dist/lib/ascii/digital_output_action.js.map +1 -1
  10. package/dist/lib/ascii/io_port_type.d.ts +5 -5
  11. package/dist/lib/ascii/io_port_type.d.ts.map +1 -1
  12. package/dist/lib/ascii/io_port_type.js +5 -5
  13. package/dist/lib/ascii/io_port_type.js.map +1 -1
  14. package/dist/lib/ascii/message_type.d.ts +3 -3
  15. package/dist/lib/ascii/message_type.d.ts.map +1 -1
  16. package/dist/lib/ascii/message_type.js +3 -3
  17. package/dist/lib/ascii/message_type.js.map +1 -1
  18. package/dist/lib/ascii/oscilloscope_data_source.d.ts +2 -2
  19. package/dist/lib/ascii/oscilloscope_data_source.d.ts.map +1 -1
  20. package/dist/lib/ascii/oscilloscope_data_source.js +2 -2
  21. package/dist/lib/ascii/oscilloscope_data_source.js.map +1 -1
  22. package/dist/lib/ascii/pvt_axis_type.d.ts +2 -2
  23. package/dist/lib/ascii/pvt_axis_type.d.ts.map +1 -1
  24. package/dist/lib/ascii/pvt_axis_type.js +2 -2
  25. package/dist/lib/ascii/pvt_axis_type.js.map +1 -1
  26. package/dist/lib/ascii/pvt_mode.d.ts +3 -3
  27. package/dist/lib/ascii/pvt_mode.d.ts.map +1 -1
  28. package/dist/lib/ascii/pvt_mode.js +3 -3
  29. package/dist/lib/ascii/pvt_mode.js.map +1 -1
  30. package/dist/lib/ascii/servo_tuning_paramset.d.ts +12 -12
  31. package/dist/lib/ascii/servo_tuning_paramset.d.ts.map +1 -1
  32. package/dist/lib/ascii/servo_tuning_paramset.js +12 -12
  33. package/dist/lib/ascii/servo_tuning_paramset.js.map +1 -1
  34. package/dist/lib/ascii/stream_axis_type.d.ts +2 -2
  35. package/dist/lib/ascii/stream_axis_type.d.ts.map +1 -1
  36. package/dist/lib/ascii/stream_axis_type.js +2 -2
  37. package/dist/lib/ascii/stream_axis_type.js.map +1 -1
  38. package/dist/lib/ascii/stream_mode.d.ts +4 -4
  39. package/dist/lib/ascii/stream_mode.d.ts.map +1 -1
  40. package/dist/lib/ascii/stream_mode.js +4 -4
  41. package/dist/lib/ascii/stream_mode.js.map +1 -1
  42. package/dist/lib/ascii/trigger_action.d.ts +3 -3
  43. package/dist/lib/ascii/trigger_action.d.ts.map +1 -1
  44. package/dist/lib/ascii/trigger_action.js +3 -3
  45. package/dist/lib/ascii/trigger_action.js.map +1 -1
  46. package/dist/lib/ascii/trigger_operation.d.ts +3 -3
  47. package/dist/lib/ascii/trigger_operation.d.ts.map +1 -1
  48. package/dist/lib/ascii/trigger_operation.js +3 -3
  49. package/dist/lib/ascii/trigger_operation.js.map +1 -1
  50. package/dist/lib/binary/device_type.d.ts +3 -3
  51. package/dist/lib/binary/device_type.d.ts.map +1 -1
  52. package/dist/lib/binary/device_type.js +3 -3
  53. package/dist/lib/binary/device_type.js.map +1 -1
  54. package/dist/lib/device_db_source_type.d.ts +2 -2
  55. package/dist/lib/device_db_source_type.d.ts.map +1 -1
  56. package/dist/lib/device_db_source_type.js +2 -2
  57. package/dist/lib/device_db_source_type.js.map +1 -1
  58. package/dist/lib/device_port_type.d.ts +3 -3
  59. package/dist/lib/device_port_type.d.ts.map +1 -1
  60. package/dist/lib/device_port_type.js +3 -3
  61. package/dist/lib/device_port_type.js.map +1 -1
  62. package/dist/lib/library.js +1 -1
  63. package/dist/lib/library.js.map +1 -1
  64. package/dist/lib/log_output_mode.d.ts +4 -4
  65. package/dist/lib/log_output_mode.d.ts.map +1 -1
  66. package/dist/lib/log_output_mode.js +4 -4
  67. package/dist/lib/log_output_mode.js.map +1 -1
  68. package/dist/lib/product/process_controller_mode.d.ts +5 -5
  69. package/dist/lib/product/process_controller_mode.d.ts.map +1 -1
  70. package/dist/lib/product/process_controller_mode.js +5 -5
  71. package/dist/lib/product/process_controller_mode.js.map +1 -1
  72. package/dist/lib/product/process_controller_source_sensor.d.ts +3 -3
  73. package/dist/lib/product/process_controller_source_sensor.d.ts.map +1 -1
  74. package/dist/lib/product/process_controller_source_sensor.js +3 -3
  75. package/dist/lib/product/process_controller_source_sensor.js.map +1 -1
  76. package/dist/lib/rotation_direction.d.ts +4 -4
  77. package/dist/lib/rotation_direction.d.ts.map +1 -1
  78. package/dist/lib/rotation_direction.js +4 -4
  79. package/dist/lib/rotation_direction.js.map +1 -1
  80. package/package.json +1 -3
@@ -2,11 +2,11 @@
2
2
  * Operation for trigger action.
3
3
  */
4
4
  export declare enum TriggerOperation {
5
- /** SetTo */
5
+ /** Assign the value to the setting (=). */
6
6
  SET_TO = 0,
7
- /** IncrementBy */
7
+ /** Add the value to the current setting value (+=). */
8
8
  INCREMENT_BY = 1,
9
- /** DecrementBy */
9
+ /** Subtract the value from the current setting value (-=). */
10
10
  DECREMENT_BY = 2
11
11
  }
12
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"trigger_operation.d.ts","sourceRoot":"","sources":["../../../src/ascii/trigger_operation.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,YAAY;IACZ,MAAM,IAAI;IACV,kBAAkB;IAClB,YAAY,IAAI;IAChB,kBAAkB;IAClB,YAAY,IAAI;CACjB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,gBAAgB,CAExE"}
1
+ {"version":3,"file":"trigger_operation.d.ts","sourceRoot":"","sources":["../../../src/ascii/trigger_operation.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,2CAA2C;IAC3C,MAAM,IAAI;IACV,uDAAuD;IACvD,YAAY,IAAI;IAChB,8DAA8D;IAC9D,YAAY,IAAI;CACjB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,gBAAgB,CAExE"}
@@ -7,11 +7,11 @@ exports.isTriggerOperation = exports.TriggerOperation = void 0;
7
7
  */
8
8
  var TriggerOperation;
9
9
  (function (TriggerOperation) {
10
- /** SetTo */
10
+ /** Assign the value to the setting (=). */
11
11
  TriggerOperation[TriggerOperation["SET_TO"] = 0] = "SET_TO";
12
- /** IncrementBy */
12
+ /** Add the value to the current setting value (+=). */
13
13
  TriggerOperation[TriggerOperation["INCREMENT_BY"] = 1] = "INCREMENT_BY";
14
- /** DecrementBy */
14
+ /** Subtract the value from the current setting value (-=). */
15
15
  TriggerOperation[TriggerOperation["DECREMENT_BY"] = 2] = "DECREMENT_BY";
16
16
  })(TriggerOperation || (exports.TriggerOperation = TriggerOperation = {}));
17
17
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"trigger_operation.js","sourceRoot":"","sources":["../../../src/ascii/trigger_operation.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,YAAY;IACZ,2DAAU,CAAA;IACV,kBAAkB;IAClB,uEAAgB,CAAA;IAChB,kBAAkB;IAClB,uEAAgB,CAAA;AAClB,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAED;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,KAAU;IAC3C,OAAO,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAyB,CAAC,CAAC;AAC7E,CAAC;AAFD,gDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Operation for trigger action.\n */\nexport enum TriggerOperation {\n /** SetTo */\n SET_TO = 0,\n /** IncrementBy */\n INCREMENT_BY = 1,\n /** DecrementBy */\n DECREMENT_BY = 2,\n}\n\n/**\n * Type guard for TriggerOperation.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isTriggerOperation(value: any): value is TriggerOperation {\n return Object.values(TriggerOperation).includes(value as TriggerOperation);\n}\n"]}
1
+ {"version":3,"file":"trigger_operation.js","sourceRoot":"","sources":["../../../src/ascii/trigger_operation.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,2CAA2C;IAC3C,2DAAU,CAAA;IACV,uDAAuD;IACvD,uEAAgB,CAAA;IAChB,8DAA8D;IAC9D,uEAAgB,CAAA;AAClB,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAED;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,KAAU;IAC3C,OAAO,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAyB,CAAC,CAAC;AAC7E,CAAC;AAFD,gDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Operation for trigger action.\n */\nexport enum TriggerOperation {\n /** Assign the value to the setting (=). */\n SET_TO = 0,\n /** Add the value to the current setting value (+=). */\n INCREMENT_BY = 1,\n /** Subtract the value from the current setting value (-=). */\n DECREMENT_BY = 2,\n}\n\n/**\n * Type guard for TriggerOperation.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isTriggerOperation(value: any): value is TriggerOperation {\n return Object.values(TriggerOperation).includes(value as TriggerOperation);\n}\n"]}
@@ -2,11 +2,11 @@
2
2
  * Denotes type of an device and units it accepts.
3
3
  */
4
4
  export declare enum DeviceType {
5
- /** Unknown */
5
+ /** Device type could not be determined. */
6
6
  UNKNOWN = 0,
7
- /** Linear */
7
+ /** A linear device that accepts length units for position. */
8
8
  LINEAR = 1,
9
- /** Rotary */
9
+ /** A rotary device that accepts angle units for position. */
10
10
  ROTARY = 2
11
11
  }
12
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"device_type.d.ts","sourceRoot":"","sources":["../../../src/binary/device_type.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,UAAU;IACpB,cAAc;IACd,OAAO,IAAI;IACX,aAAa;IACb,MAAM,IAAI;IACV,aAAa;IACb,MAAM,IAAI;CACX;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,UAAU,CAE5D"}
1
+ {"version":3,"file":"device_type.d.ts","sourceRoot":"","sources":["../../../src/binary/device_type.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,UAAU;IACpB,2CAA2C;IAC3C,OAAO,IAAI;IACX,8DAA8D;IAC9D,MAAM,IAAI;IACV,6DAA6D;IAC7D,MAAM,IAAI;CACX;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,UAAU,CAE5D"}
@@ -7,11 +7,11 @@ exports.isDeviceType = exports.DeviceType = void 0;
7
7
  */
8
8
  var DeviceType;
9
9
  (function (DeviceType) {
10
- /** Unknown */
10
+ /** Device type could not be determined. */
11
11
  DeviceType[DeviceType["UNKNOWN"] = 0] = "UNKNOWN";
12
- /** Linear */
12
+ /** A linear device that accepts length units for position. */
13
13
  DeviceType[DeviceType["LINEAR"] = 1] = "LINEAR";
14
- /** Rotary */
14
+ /** A rotary device that accepts angle units for position. */
15
15
  DeviceType[DeviceType["ROTARY"] = 2] = "ROTARY";
16
16
  })(DeviceType || (exports.DeviceType = DeviceType = {}));
17
17
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"device_type.js","sourceRoot":"","sources":["../../../src/binary/device_type.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,cAAc;IACd,iDAAW,CAAA;IACX,aAAa;IACb,+CAAU,CAAA;IACV,aAAa;IACb,+CAAU,CAAA;AACZ,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAED;;;GAGG;AACH,SAAgB,YAAY,CAAC,KAAU;IACrC,OAAO,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,KAAmB,CAAC,CAAC;AACjE,CAAC;AAFD,oCAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Denotes type of an device and units it accepts.\n */\nexport enum DeviceType {\n /** Unknown */\n UNKNOWN = 0,\n /** Linear */\n LINEAR = 1,\n /** Rotary */\n ROTARY = 2,\n}\n\n/**\n * Type guard for DeviceType.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isDeviceType(value: any): value is DeviceType {\n return Object.values(DeviceType).includes(value as DeviceType);\n}\n"]}
1
+ {"version":3,"file":"device_type.js","sourceRoot":"","sources":["../../../src/binary/device_type.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2CAA2C;IAC3C,iDAAW,CAAA;IACX,8DAA8D;IAC9D,+CAAU,CAAA;IACV,6DAA6D;IAC7D,+CAAU,CAAA;AACZ,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAED;;;GAGG;AACH,SAAgB,YAAY,CAAC,KAAU;IACrC,OAAO,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,KAAmB,CAAC,CAAC;AACjE,CAAC;AAFD,oCAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Denotes type of an device and units it accepts.\n */\nexport enum DeviceType {\n /** Device type could not be determined. */\n UNKNOWN = 0,\n /** A linear device that accepts length units for position. */\n LINEAR = 1,\n /** A rotary device that accepts angle units for position. */\n ROTARY = 2,\n}\n\n/**\n * Type guard for DeviceType.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isDeviceType(value: any): value is DeviceType {\n return Object.values(DeviceType).includes(value as DeviceType);\n}\n"]}
@@ -2,9 +2,9 @@
2
2
  * Type of source of Device DB data.
3
3
  */
4
4
  export declare enum DeviceDbSourceType {
5
- /** WebService */
5
+ /** Fetch device information from a web service. */
6
6
  WEB_SERVICE = 0,
7
- /** File */
7
+ /** Load device information from a local database file. */
8
8
  FILE = 1
9
9
  }
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"device_db_source_type.d.ts","sourceRoot":"","sources":["../../src/device_db_source_type.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,iBAAiB;IACjB,WAAW,IAAI;IACf,WAAW;IACX,IAAI,IAAI;CACT;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,kBAAkB,CAE5E"}
1
+ {"version":3,"file":"device_db_source_type.d.ts","sourceRoot":"","sources":["../../src/device_db_source_type.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,mDAAmD;IACnD,WAAW,IAAI;IACf,0DAA0D;IAC1D,IAAI,IAAI;CACT;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,kBAAkB,CAE5E"}
@@ -7,9 +7,9 @@ exports.isDeviceDbSourceType = exports.DeviceDbSourceType = void 0;
7
7
  */
8
8
  var DeviceDbSourceType;
9
9
  (function (DeviceDbSourceType) {
10
- /** WebService */
10
+ /** Fetch device information from a web service. */
11
11
  DeviceDbSourceType[DeviceDbSourceType["WEB_SERVICE"] = 0] = "WEB_SERVICE";
12
- /** File */
12
+ /** Load device information from a local database file. */
13
13
  DeviceDbSourceType[DeviceDbSourceType["FILE"] = 1] = "FILE";
14
14
  })(DeviceDbSourceType || (exports.DeviceDbSourceType = DeviceDbSourceType = {}));
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"device_db_source_type.js","sourceRoot":"","sources":["../../src/device_db_source_type.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iBAAiB;IACjB,yEAAe,CAAA;IACf,WAAW;IACX,2DAAQ,CAAA;AACV,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,KAAU;IAC7C,OAAO,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,KAA2B,CAAC,CAAC;AACjF,CAAC;AAFD,oDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Type of source of Device DB data.\n */\nexport enum DeviceDbSourceType {\n /** WebService */\n WEB_SERVICE = 0,\n /** File */\n FILE = 1,\n}\n\n/**\n * Type guard for DeviceDbSourceType.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isDeviceDbSourceType(value: any): value is DeviceDbSourceType {\n return Object.values(DeviceDbSourceType).includes(value as DeviceDbSourceType);\n}\n"]}
1
+ {"version":3,"file":"device_db_source_type.js","sourceRoot":"","sources":["../../src/device_db_source_type.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,mDAAmD;IACnD,yEAAe,CAAA;IACf,0DAA0D;IAC1D,2DAAQ,CAAA;AACV,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,KAAU;IAC7C,OAAO,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,KAA2B,CAAC,CAAC;AACjF,CAAC;AAFD,oDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Type of source of Device DB data.\n */\nexport enum DeviceDbSourceType {\n /** Fetch device information from a web service. */\n WEB_SERVICE = 0,\n /** Load device information from a local database file. */\n FILE = 1,\n}\n\n/**\n * Type guard for DeviceDbSourceType.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isDeviceDbSourceType(value: any): value is DeviceDbSourceType {\n return Object.values(DeviceDbSourceType).includes(value as DeviceDbSourceType);\n}\n"]}
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Port type of device connect to network.
2
+ * Type of TCP port used to connect to a device on the network.
3
3
  */
4
4
  export declare enum DevicePortType {
5
- /** Device */
5
+ /** TCP port that communicates only with the connected device. */
6
6
  DEVICE = 0,
7
- /** DeviceChain */
7
+ /** TCP port that communicates with the connected device and all chained devices. */
8
8
  DEVICE_CHAIN = 1
9
9
  }
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"device_port_type.d.ts","sourceRoot":"","sources":["../../src/device_port_type.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,cAAc;IACxB,aAAa;IACb,MAAM,IAAI;IACV,kBAAkB;IAClB,YAAY,IAAI;CACjB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,cAAc,CAEpE"}
1
+ {"version":3,"file":"device_port_type.d.ts","sourceRoot":"","sources":["../../src/device_port_type.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,cAAc;IACxB,iEAAiE;IACjE,MAAM,IAAI;IACV,oFAAoF;IACpF,YAAY,IAAI;CACjB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,cAAc,CAEpE"}
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isDevicePortType = exports.DevicePortType = void 0;
4
4
  /* This file is generated. Do not modify by hand. */
5
5
  /**
6
- * Port type of device connect to network.
6
+ * Type of TCP port used to connect to a device on the network.
7
7
  */
8
8
  var DevicePortType;
9
9
  (function (DevicePortType) {
10
- /** Device */
10
+ /** TCP port that communicates only with the connected device. */
11
11
  DevicePortType[DevicePortType["DEVICE"] = 0] = "DEVICE";
12
- /** DeviceChain */
12
+ /** TCP port that communicates with the connected device and all chained devices. */
13
13
  DevicePortType[DevicePortType["DEVICE_CHAIN"] = 1] = "DEVICE_CHAIN";
14
14
  })(DevicePortType || (exports.DevicePortType = DevicePortType = {}));
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"device_port_type.js","sourceRoot":"","sources":["../../src/device_port_type.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,aAAa;IACb,uDAAU,CAAA;IACV,kBAAkB;IAClB,mEAAgB,CAAA;AAClB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAED;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,KAAU;IACzC,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,KAAuB,CAAC,CAAC;AACzE,CAAC;AAFD,4CAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Port type of device connect to network.\n */\nexport enum DevicePortType {\n /** Device */\n DEVICE = 0,\n /** DeviceChain */\n DEVICE_CHAIN = 1,\n}\n\n/**\n * Type guard for DevicePortType.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isDevicePortType(value: any): value is DevicePortType {\n return Object.values(DevicePortType).includes(value as DevicePortType);\n}\n"]}
1
+ {"version":3,"file":"device_port_type.js","sourceRoot":"","sources":["../../src/device_port_type.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,iEAAiE;IACjE,uDAAU,CAAA;IACV,oFAAoF;IACpF,mEAAgB,CAAA;AAClB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAED;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,KAAU;IACzC,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,KAAuB,CAAC,CAAC;AACzE,CAAC;AAFD,4CAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Type of TCP port used to connect to a device on the network.\n */\nexport enum DevicePortType {\n /** TCP port that communicates only with the connected device. */\n DEVICE = 0,\n /** TCP port that communicates with the connected device and all chained devices. */\n DEVICE_CHAIN = 1,\n}\n\n/**\n * Type guard for DevicePortType.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isDevicePortType(value: any): value is DevicePortType {\n return Object.values(DevicePortType).includes(value as DevicePortType);\n}\n"]}
@@ -174,7 +174,7 @@ class Library {
174
174
  const request = {
175
175
  ...requests.CheckVersionRequest.DEFAULT,
176
176
  host: 'js',
177
- version: '8.2.0',
177
+ version: '8.3.0',
178
178
  toBinary() {
179
179
  return requests.CheckVersionRequest.toBinary(this);
180
180
  },
@@ -1 +1 @@
1
- {"version":3,"file":"library.js","sourceRoot":"","sources":["../../src/library.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,mDAAqC;AACrC,qDAAuC;AAKvC,MAAa,OAAO;IAClB;;;;OAIG;IACI,MAAM,CAAC,YAAY,CACxB,IAAmB,EACnB,QAAiB;QAEjB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;YAClB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB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AC,OAAO;YAC9B,KAAK,EAAE,MAAM;YACb,QAAQ;gBACN,OAAO,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC5C,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,YAAY;QACxB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,OAAO;YAChB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,kBAAkB,CAC9B,eAAuB;QAEvB,MAAM,OAAO,GAA8C;YACzD,GAAG,QAAQ,CAAC,cAAc,CAAC,OAAO;YAClC,KAAK,EAAE,eAAe;YACtB,QAAQ;gBACN,OAAO,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;CACF;AA/MD,0BA+MC;AAED,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from './gateway';\nimport * as requests from './requests';\nimport { LogOutputMode } from './log_output_mode';\nimport { DeviceDbSourceType } from './device_db_source_type';\nimport { DeviceDbSource } from './device_db_source';\n\nexport class Library {\n /**\n * Sets library logging output.\n * @param mode Logging output mode.\n * @param filePath Path of the file to open.\n */\n public static setLogOutput(\n mode: LogOutputMode,\n filePath?: string\n ): void {\n const request: requests.SetLogOutputRequest & gateway.Message = {\n ...requests.SetLogOutputRequest.DEFAULT,\n mode: mode,\n filePath: filePath,\n toBinary() {\n return requests.SetLogOutputRequest.toBinary(this);\n },\n };\n\n gateway.callSync('logging/set_output', request);\n }\n\n /**\n * Sets source of Device DB data. Allows selection of a web service or a local file.\n * @param sourceType Source type.\n * @param urlOrFilePath URL of the web service or path to the local file.\n * Leave empty for the default URL of Zaber web service.\n */\n public static setDeviceDbSource(\n sourceType: DeviceDbSourceType,\n urlOrFilePath?: string\n ): void {\n const request: requests.SetDeviceDbSourceRequest & gateway.Message = {\n ...requests.SetDeviceDbSourceRequest.DEFAULT,\n sourceType: sourceType,\n urlOrFilePath: urlOrFilePath,\n toBinary() {\n return requests.SetDeviceDbSourceRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/set_source', request);\n }\n\n /**\n * Sets a sequence of sources. When the library needs device information,\n * it will try each source in the order they are provided.\n * @param sources The list of sources the library will access data from.\n */\n public static setDeviceDbSources(\n ...sources: DeviceDbSource[]\n ): void {\n const request: requests.SetDeviceDbLayeredSourcesRequest & gateway.Message = {\n ...requests.SetDeviceDbLayeredSourcesRequest.DEFAULT,\n sources: sources,\n toBinary() {\n return requests.SetDeviceDbLayeredSourcesRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/set_sources', request);\n }\n\n /**\n * Enables Device DB store.\n * The store uses filesystem to save information obtained from the Device DB.\n * The stored data are later used instead of the Device DB.\n * @param storeLocation Specifies relative or absolute path of the folder used by the store.\n * If left empty defaults to a folder in user home directory.\n * Must be accessible by the process.\n */\n public static enableDeviceDbStore(\n storeLocation?: string\n ): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toggleOn: true,\n storeLocation: storeLocation,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Disables Device DB store.\n */\n public static disableDeviceDbStore(): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Checks if the Device DB store is currently enabled.\n * @returns True if the Device DB store is enabled.\n */\n public static isDeviceDbStoreEnabled(): boolean {\n const request: requests.EmptyRequest & gateway.Message = {\n ...requests.EmptyRequest.DEFAULT,\n toBinary() {\n return requests.EmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.BoolResponse>(\n 'device_db/check_store',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Clears the Device DB store on the local filesystem.\n * Note: If the device DB was enabled with a custom store location, store files will be removed in that location.\n */\n public static async clearDeviceDbStore(): Promise<void> {\n const request: requests.EmptyRequest & gateway.Message = {\n ...requests.EmptyRequest.DEFAULT,\n toBinary() {\n return requests.EmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device_db/clear_store', request);\n }\n\n /**\n * Disables certain customer checks (like FF flag).\n * @param mode Whether to turn internal mode on or off.\n */\n public static setInternalMode(\n mode: boolean\n ): void {\n const request: requests.SetInternalModeRequest & gateway.Message = {\n ...requests.SetInternalModeRequest.DEFAULT,\n mode: mode,\n toBinary() {\n return requests.SetInternalModeRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_internal_mode', request);\n }\n\n /**\n * Sets the period between polling for IDLE during movements.\n * Caution: Setting the period too low may cause performance issues.\n * @param period Period in milliseconds.\n * Negative value restores the default period.\n */\n public static setIdlePollingPeriod(\n period: number\n ): void {\n const request: requests.IntRequest & gateway.Message = {\n ...requests.IntRequest.DEFAULT,\n value: period,\n toBinary() {\n return requests.IntRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_idle_polling_period', request);\n }\n\n /**\n * @deprecated Calling this function is no longer necessary as the check happens automatically.\n *\n * Throws an error if the version of the loaded shared library does not match the caller's version.\n */\n public static checkVersion(): void {\n const request: requests.CheckVersionRequest & gateway.Message = {\n ...requests.CheckVersionRequest.DEFAULT,\n host: 'js',\n version: '8.2.0',\n toBinary() {\n return requests.CheckVersionRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/check_version', request);\n }\n\n /**\n * For internal use only: tells zaber motion core which host application it is bundled in.\n * @param hostApplication String name of the host application with which ZML is bundled.\n */\n public static setHostApplication(\n hostApplication: string\n ): void {\n const request: requests.StringResponse & gateway.Message = {\n ...requests.StringResponse.DEFAULT,\n value: hostApplication,\n toBinary() {\n return requests.StringResponse.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_host_application', request);\n }\n}\n\ngateway.addInitCallback(Library.checkVersion);\n"]}
1
+ {"version":3,"file":"library.js","sourceRoot":"","sources":["../../src/library.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,mDAAqC;AACrC,qDAAuC;AAKvC,MAAa,OAAO;IAClB;;;;OAIG;IACI,MAAM,CAAC,YAAY,CACxB,IAAmB,EACnB,QAAiB;QAEjB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;YAClB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,iBAAiB,CAC7B,UAA8B,EAC9B,aAAsB;QAEtB,MAAM,OAAO,GAAwD;YACnE,GAAG,QAAQ,CAAC,wBAAwB,CAAC,OAAO;YAC5C,U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AAC;YAC5C,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,YAAY;QACxB,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,OAAO;YAChB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,kBAAkB,CAC9B,eAAuB;QAEvB,MAAM,OAAO,GAA8C;YACzD,GAAG,QAAQ,CAAC,cAAc,CAAC,OAAO;YAClC,KAAK,EAAE,eAAe;YACtB,QAAQ;gBACN,OAAO,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;CACF;AA/MD,0BA+MC;AAED,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from './gateway';\nimport * as requests from './requests';\nimport { LogOutputMode } from './log_output_mode';\nimport { DeviceDbSourceType } from './device_db_source_type';\nimport { DeviceDbSource } from './device_db_source';\n\nexport class Library {\n /**\n * Sets library logging output.\n * @param mode Logging output mode.\n * @param filePath Path of the file to open.\n */\n public static setLogOutput(\n mode: LogOutputMode,\n filePath?: string\n ): void {\n const request: requests.SetLogOutputRequest & gateway.Message = {\n ...requests.SetLogOutputRequest.DEFAULT,\n mode: mode,\n filePath: filePath,\n toBinary() {\n return requests.SetLogOutputRequest.toBinary(this);\n },\n };\n\n gateway.callSync('logging/set_output', request);\n }\n\n /**\n * Sets source of Device DB data. Allows selection of a web service or a local file.\n * @param sourceType Source type.\n * @param urlOrFilePath URL of the web service or path to the local file.\n * Leave empty for the default URL of Zaber web service.\n */\n public static setDeviceDbSource(\n sourceType: DeviceDbSourceType,\n urlOrFilePath?: string\n ): void {\n const request: requests.SetDeviceDbSourceRequest & gateway.Message = {\n ...requests.SetDeviceDbSourceRequest.DEFAULT,\n sourceType: sourceType,\n urlOrFilePath: urlOrFilePath,\n toBinary() {\n return requests.SetDeviceDbSourceRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/set_source', request);\n }\n\n /**\n * Sets a sequence of sources. When the library needs device information,\n * it will try each source in the order they are provided.\n * @param sources The list of sources the library will access data from.\n */\n public static setDeviceDbSources(\n ...sources: DeviceDbSource[]\n ): void {\n const request: requests.SetDeviceDbLayeredSourcesRequest & gateway.Message = {\n ...requests.SetDeviceDbLayeredSourcesRequest.DEFAULT,\n sources: sources,\n toBinary() {\n return requests.SetDeviceDbLayeredSourcesRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/set_sources', request);\n }\n\n /**\n * Enables Device DB store.\n * The store uses filesystem to save information obtained from the Device DB.\n * The stored data are later used instead of the Device DB.\n * @param storeLocation Specifies relative or absolute path of the folder used by the store.\n * If left empty defaults to a folder in user home directory.\n * Must be accessible by the process.\n */\n public static enableDeviceDbStore(\n storeLocation?: string\n ): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toggleOn: true,\n storeLocation: storeLocation,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Disables Device DB store.\n */\n public static disableDeviceDbStore(): void {\n const request: requests.ToggleDeviceDbStoreRequest & gateway.Message = {\n ...requests.ToggleDeviceDbStoreRequest.DEFAULT,\n toBinary() {\n return requests.ToggleDeviceDbStoreRequest.toBinary(this);\n },\n };\n\n gateway.callSync('device_db/toggle_store', request);\n }\n\n /**\n * Checks if the Device DB store is currently enabled.\n * @returns True if the Device DB store is enabled.\n */\n public static isDeviceDbStoreEnabled(): boolean {\n const request: requests.EmptyRequest & gateway.Message = {\n ...requests.EmptyRequest.DEFAULT,\n toBinary() {\n return requests.EmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.BoolResponse>(\n 'device_db/check_store',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Clears the Device DB store on the local filesystem.\n * Note: If the device DB was enabled with a custom store location, store files will be removed in that location.\n */\n public static async clearDeviceDbStore(): Promise<void> {\n const request: requests.EmptyRequest & gateway.Message = {\n ...requests.EmptyRequest.DEFAULT,\n toBinary() {\n return requests.EmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device_db/clear_store', request);\n }\n\n /**\n * Disables certain customer checks (like FF flag).\n * @param mode Whether to turn internal mode on or off.\n */\n public static setInternalMode(\n mode: boolean\n ): void {\n const request: requests.SetInternalModeRequest & gateway.Message = {\n ...requests.SetInternalModeRequest.DEFAULT,\n mode: mode,\n toBinary() {\n return requests.SetInternalModeRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_internal_mode', request);\n }\n\n /**\n * Sets the period between polling for IDLE during movements.\n * Caution: Setting the period too low may cause performance issues.\n * @param period Period in milliseconds.\n * Negative value restores the default period.\n */\n public static setIdlePollingPeriod(\n period: number\n ): void {\n const request: requests.IntRequest & gateway.Message = {\n ...requests.IntRequest.DEFAULT,\n value: period,\n toBinary() {\n return requests.IntRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_idle_polling_period', request);\n }\n\n /**\n * @deprecated Calling this function is no longer necessary as the check happens automatically.\n *\n * Throws an error if the version of the loaded shared library does not match the caller's version.\n */\n public static checkVersion(): void {\n const request: requests.CheckVersionRequest & gateway.Message = {\n ...requests.CheckVersionRequest.DEFAULT,\n host: 'js',\n version: '8.3.0',\n toBinary() {\n return requests.CheckVersionRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/check_version', request);\n }\n\n /**\n * For internal use only: tells zaber motion core which host application it is bundled in.\n * @param hostApplication String name of the host application with which ZML is bundled.\n */\n public static setHostApplication(\n hostApplication: string\n ): void {\n const request: requests.StringResponse & gateway.Message = {\n ...requests.StringResponse.DEFAULT,\n value: hostApplication,\n toBinary() {\n return requests.StringResponse.toBinary(this);\n },\n };\n\n gateway.callSync('library/set_host_application', request);\n }\n}\n\ngateway.addInitCallback(Library.checkVersion);\n"]}
@@ -2,13 +2,13 @@
2
2
  * Mode of logging output of the library.
3
3
  */
4
4
  export declare enum LogOutputMode {
5
- /** Off */
5
+ /** Discard all log output. */
6
6
  OFF = 0,
7
- /** Stdout */
7
+ /** Write logs to standard output. */
8
8
  STDOUT = 1,
9
- /** Stderr */
9
+ /** Write logs to standard error. */
10
10
  STDERR = 2,
11
- /** File */
11
+ /** Write logs to a specified file. */
12
12
  FILE = 3
13
13
  }
14
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"log_output_mode.d.ts","sourceRoot":"","sources":["../../src/log_output_mode.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,aAAa;IACvB,UAAU;IACV,GAAG,IAAI;IACP,aAAa;IACb,MAAM,IAAI;IACV,aAAa;IACb,MAAM,IAAI;IACV,WAAW;IACX,IAAI,IAAI;CACT;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,aAAa,CAElE"}
1
+ {"version":3,"file":"log_output_mode.d.ts","sourceRoot":"","sources":["../../src/log_output_mode.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,aAAa;IACvB,8BAA8B;IAC9B,GAAG,IAAI;IACP,qCAAqC;IACrC,MAAM,IAAI;IACV,oCAAoC;IACpC,MAAM,IAAI;IACV,sCAAsC;IACtC,IAAI,IAAI;CACT;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,aAAa,CAElE"}
@@ -7,13 +7,13 @@ exports.isLogOutputMode = exports.LogOutputMode = void 0;
7
7
  */
8
8
  var LogOutputMode;
9
9
  (function (LogOutputMode) {
10
- /** Off */
10
+ /** Discard all log output. */
11
11
  LogOutputMode[LogOutputMode["OFF"] = 0] = "OFF";
12
- /** Stdout */
12
+ /** Write logs to standard output. */
13
13
  LogOutputMode[LogOutputMode["STDOUT"] = 1] = "STDOUT";
14
- /** Stderr */
14
+ /** Write logs to standard error. */
15
15
  LogOutputMode[LogOutputMode["STDERR"] = 2] = "STDERR";
16
- /** File */
16
+ /** Write logs to a specified file. */
17
17
  LogOutputMode[LogOutputMode["FILE"] = 3] = "FILE";
18
18
  })(LogOutputMode || (exports.LogOutputMode = LogOutputMode = {}));
19
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"log_output_mode.js","sourceRoot":"","sources":["../../src/log_output_mode.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,aASX;AATD,WAAY,aAAa;IACvB,UAAU;IACV,+CAAO,CAAA;IACP,aAAa;IACb,qDAAU,CAAA;IACV,aAAa;IACb,qDAAU,CAAA;IACV,WAAW;IACX,iDAAQ,CAAA;AACV,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB;AAED;;;GAGG;AACH,SAAgB,eAAe,CAAC,KAAU;IACxC,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,KAAsB,CAAC,CAAC;AACvE,CAAC;AAFD,0CAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Mode of logging output of the library.\n */\nexport enum LogOutputMode {\n /** Off */\n OFF = 0,\n /** Stdout */\n STDOUT = 1,\n /** Stderr */\n STDERR = 2,\n /** File */\n FILE = 3,\n}\n\n/**\n * Type guard for LogOutputMode.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isLogOutputMode(value: any): value is LogOutputMode {\n return Object.values(LogOutputMode).includes(value as LogOutputMode);\n}\n"]}
1
+ {"version":3,"file":"log_output_mode.js","sourceRoot":"","sources":["../../src/log_output_mode.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,aASX;AATD,WAAY,aAAa;IACvB,8BAA8B;IAC9B,+CAAO,CAAA;IACP,qCAAqC;IACrC,qDAAU,CAAA;IACV,oCAAoC;IACpC,qDAAU,CAAA;IACV,sCAAsC;IACtC,iDAAQ,CAAA;AACV,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB;AAED;;;GAGG;AACH,SAAgB,eAAe,CAAC,KAAU;IACxC,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,KAAsB,CAAC,CAAC;AACvE,CAAC;AAFD,0CAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Mode of logging output of the library.\n */\nexport enum LogOutputMode {\n /** Discard all log output. */\n OFF = 0,\n /** Write logs to standard output. */\n STDOUT = 1,\n /** Write logs to standard error. */\n STDERR = 2,\n /** Write logs to a specified file. */\n FILE = 3,\n}\n\n/**\n * Type guard for LogOutputMode.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isLogOutputMode(value: any): value is LogOutputMode {\n return Object.values(LogOutputMode).includes(value as LogOutputMode);\n}\n"]}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * Servo Tuning Parameter Set to target.
2
+ * Mode of the process controller.
3
3
  */
4
4
  export declare enum ProcessControllerMode {
5
- /** Manual */
5
+ /** Allows direct control of the output voltage. */
6
6
  MANUAL = 0,
7
- /** Pid */
7
+ /** Closed-loop PID control to maintain a setpoint. */
8
8
  PID = 1,
9
- /** PidHeater */
9
+ /** PID control optimized for heater loads. */
10
10
  PID_HEATER = 2,
11
- /** OnOff */
11
+ /** Binary on/off switching based on a threshold. */
12
12
  ON_OFF = 3
13
13
  }
14
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"process_controller_mode.d.ts","sourceRoot":"","sources":["../../../src/product/process_controller_mode.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,aAAa;IACb,MAAM,IAAI;IACV,UAAU;IACV,GAAG,IAAI;IACP,gBAAgB;IAChB,UAAU,IAAI;IACd,YAAY;IACZ,MAAM,IAAI;CACX;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,qBAAqB,CAElF"}
1
+ {"version":3,"file":"process_controller_mode.d.ts","sourceRoot":"","sources":["../../../src/product/process_controller_mode.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,mDAAmD;IACnD,MAAM,IAAI;IACV,sDAAsD;IACtD,GAAG,IAAI;IACP,8CAA8C;IAC9C,UAAU,IAAI;IACd,oDAAoD;IACpD,MAAM,IAAI;CACX;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,qBAAqB,CAElF"}
@@ -3,17 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isProcessControllerMode = exports.ProcessControllerMode = void 0;
4
4
  /* This file is generated. Do not modify by hand. */
5
5
  /**
6
- * Servo Tuning Parameter Set to target.
6
+ * Mode of the process controller.
7
7
  */
8
8
  var ProcessControllerMode;
9
9
  (function (ProcessControllerMode) {
10
- /** Manual */
10
+ /** Allows direct control of the output voltage. */
11
11
  ProcessControllerMode[ProcessControllerMode["MANUAL"] = 0] = "MANUAL";
12
- /** Pid */
12
+ /** Closed-loop PID control to maintain a setpoint. */
13
13
  ProcessControllerMode[ProcessControllerMode["PID"] = 1] = "PID";
14
- /** PidHeater */
14
+ /** PID control optimized for heater loads. */
15
15
  ProcessControllerMode[ProcessControllerMode["PID_HEATER"] = 2] = "PID_HEATER";
16
- /** OnOff */
16
+ /** Binary on/off switching based on a threshold. */
17
17
  ProcessControllerMode[ProcessControllerMode["ON_OFF"] = 3] = "ON_OFF";
18
18
  })(ProcessControllerMode || (exports.ProcessControllerMode = ProcessControllerMode = {}));
19
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"process_controller_mode.js","sourceRoot":"","sources":["../../../src/product/process_controller_mode.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,aAAa;IACb,qEAAU,CAAA;IACV,UAAU;IACV,+DAAO,CAAA;IACP,gBAAgB;IAChB,6EAAc,CAAA;IACd,YAAY;IACZ,qEAAU,CAAA;AACZ,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC;AAED;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,KAAU;IAChD,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,KAA8B,CAAC,CAAC;AACvF,CAAC;AAFD,0DAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Servo Tuning Parameter Set to target.\n */\nexport enum ProcessControllerMode {\n /** Manual */\n MANUAL = 0,\n /** Pid */\n PID = 1,\n /** PidHeater */\n PID_HEATER = 2,\n /** OnOff */\n ON_OFF = 3,\n}\n\n/**\n * Type guard for ProcessControllerMode.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerMode(value: any): value is ProcessControllerMode {\n return Object.values(ProcessControllerMode).includes(value as ProcessControllerMode);\n}\n"]}
1
+ {"version":3,"file":"process_controller_mode.js","sourceRoot":"","sources":["../../../src/product/process_controller_mode.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,mDAAmD;IACnD,qEAAU,CAAA;IACV,sDAAsD;IACtD,+DAAO,CAAA;IACP,8CAA8C;IAC9C,6EAAc,CAAA;IACd,oDAAoD;IACpD,qEAAU,CAAA;AACZ,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC;AAED;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,KAAU;IAChD,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,KAA8B,CAAC,CAAC;AACvF,CAAC;AAFD,0DAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Mode of the process controller.\n */\nexport enum ProcessControllerMode {\n /** Allows direct control of the output voltage. */\n MANUAL = 0,\n /** Closed-loop PID control to maintain a setpoint. */\n PID = 1,\n /** PID control optimized for heater loads. */\n PID_HEATER = 2,\n /** Binary on/off switching based on a threshold. */\n ON_OFF = 3,\n}\n\n/**\n * Type guard for ProcessControllerMode.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerMode(value: any): value is ProcessControllerMode {\n return Object.values(ProcessControllerMode).includes(value as ProcessControllerMode);\n}\n"]}
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Servo Tuning Parameter Set to target.
2
+ * The type of input sensor that provides feedback to the process controller.
3
3
  */
4
4
  export declare enum ProcessControllerSourceSensor {
5
- /** Thermistor */
5
+ /** Use a thermistor sensor port on the device to measure temperature. */
6
6
  THERMISTOR = 10,
7
- /** AnalogInput */
7
+ /** Use an analog input I/O channel on the device to measure voltage. */
8
8
  ANALOG_INPUT = 20
9
9
  }
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"process_controller_source_sensor.d.ts","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,6BAA6B;IACvC,iBAAiB;IACjB,UAAU,KAAK;IACf,kBAAkB;IAClB,YAAY,KAAK;CAClB;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,6BAA6B,CAElG"}
1
+ {"version":3,"file":"process_controller_source_sensor.d.ts","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,6BAA6B;IACvC,yEAAyE;IACzE,UAAU,KAAK;IACf,wEAAwE;IACxE,YAAY,KAAK;CAClB;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,6BAA6B,CAElG"}
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isProcessControllerSourceSensor = exports.ProcessControllerSourceSensor = void 0;
4
4
  /* This file is generated. Do not modify by hand. */
5
5
  /**
6
- * Servo Tuning Parameter Set to target.
6
+ * The type of input sensor that provides feedback to the process controller.
7
7
  */
8
8
  var ProcessControllerSourceSensor;
9
9
  (function (ProcessControllerSourceSensor) {
10
- /** Thermistor */
10
+ /** Use a thermistor sensor port on the device to measure temperature. */
11
11
  ProcessControllerSourceSensor[ProcessControllerSourceSensor["THERMISTOR"] = 10] = "THERMISTOR";
12
- /** AnalogInput */
12
+ /** Use an analog input I/O channel on the device to measure voltage. */
13
13
  ProcessControllerSourceSensor[ProcessControllerSourceSensor["ANALOG_INPUT"] = 20] = "ANALOG_INPUT";
14
14
  })(ProcessControllerSourceSensor || (exports.ProcessControllerSourceSensor = ProcessControllerSourceSensor = {}));
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"process_controller_source_sensor.js","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,iBAAiB;IACjB,8FAAe,CAAA;IACf,kBAAkB;IAClB,kGAAiB,CAAA;AACnB,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAED;;;GAGG;AACH,SAAgB,+BAA+B,CAAC,KAAU;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC,QAAQ,CAAC,KAAsC,CAAC,CAAC;AACvG,CAAC;AAFD,0EAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Servo Tuning Parameter Set to target.\n */\nexport enum ProcessControllerSourceSensor {\n /** Thermistor */\n THERMISTOR = 10,\n /** AnalogInput */\n ANALOG_INPUT = 20,\n}\n\n/**\n * Type guard for ProcessControllerSourceSensor.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerSourceSensor(value: any): value is ProcessControllerSourceSensor {\n return Object.values(ProcessControllerSourceSensor).includes(value as ProcessControllerSourceSensor);\n}\n"]}
1
+ {"version":3,"file":"process_controller_source_sensor.js","sourceRoot":"","sources":["../../../src/product/process_controller_source_sensor.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,yEAAyE;IACzE,8FAAe,CAAA;IACf,wEAAwE;IACxE,kGAAiB,CAAA;AACnB,CAAC,EALW,6BAA6B,6CAA7B,6BAA6B,QAKxC;AAED;;;GAGG;AACH,SAAgB,+BAA+B,CAAC,KAAU;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC,QAAQ,CAAC,KAAsC,CAAC,CAAC;AACvG,CAAC;AAFD,0EAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * The type of input sensor that provides feedback to the process controller.\n */\nexport enum ProcessControllerSourceSensor {\n /** Use a thermistor sensor port on the device to measure temperature. */\n THERMISTOR = 10,\n /** Use an analog input I/O channel on the device to measure voltage. */\n ANALOG_INPUT = 20,\n}\n\n/**\n * Type guard for ProcessControllerSourceSensor.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isProcessControllerSourceSensor(value: any): value is ProcessControllerSourceSensor {\n return Object.values(ProcessControllerSourceSensor).includes(value as ProcessControllerSourceSensor);\n}\n"]}
@@ -2,13 +2,13 @@
2
2
  * Direction of rotation.
3
3
  */
4
4
  export declare enum RotationDirection {
5
- /** Clockwise */
5
+ /** Rotate in the clockwise direction. */
6
6
  CLOCKWISE = 0,
7
- /** Counterclockwise */
7
+ /** Rotate in the counterclockwise direction. */
8
8
  COUNTERCLOCKWISE = 1,
9
- /** CW */
9
+ /** Shorthand alias for Clockwise. */
10
10
  CW = 0,
11
- /** CCW */
11
+ /** Shorthand alias for Counterclockwise. */
12
12
  CCW = 1
13
13
  }
14
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rotation_direction.d.ts","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,gBAAgB;IAChB,SAAS,IAAI;IACb,uBAAuB;IACvB,gBAAgB,IAAI;IACpB,SAAS;IACT,EAAE,IAAI;IACN,UAAU;IACV,GAAG,IAAI;CACR;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,iBAAiB,CAE1E"}
1
+ {"version":3,"file":"rotation_direction.d.ts","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,yCAAyC;IACzC,SAAS,IAAI;IACb,gDAAgD;IAChD,gBAAgB,IAAI;IACpB,qCAAqC;IACrC,EAAE,IAAI;IACN,4CAA4C;IAC5C,GAAG,IAAI;CACR;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,iBAAiB,CAE1E"}
@@ -7,13 +7,13 @@ exports.isRotationDirection = exports.RotationDirection = void 0;
7
7
  */
8
8
  var RotationDirection;
9
9
  (function (RotationDirection) {
10
- /** Clockwise */
10
+ /** Rotate in the clockwise direction. */
11
11
  RotationDirection[RotationDirection["CLOCKWISE"] = 0] = "CLOCKWISE";
12
- /** Counterclockwise */
12
+ /** Rotate in the counterclockwise direction. */
13
13
  RotationDirection[RotationDirection["COUNTERCLOCKWISE"] = 1] = "COUNTERCLOCKWISE";
14
- /** CW */
14
+ /** Shorthand alias for Clockwise. */
15
15
  RotationDirection[RotationDirection["CW"] = 0] = "CW";
16
- /** CCW */
16
+ /** Shorthand alias for Counterclockwise. */
17
17
  RotationDirection[RotationDirection["CCW"] = 1] = "CCW";
18
18
  })(RotationDirection || (exports.RotationDirection = RotationDirection = {}));
19
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rotation_direction.js","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,gBAAgB;IAChB,mEAAa,CAAA;IACb,uBAAuB;IACvB,iFAAoB,CAAA;IACpB,SAAS;IACT,qDAAM,CAAA;IACN,UAAU;IACV,uDAAO,CAAA;AACT,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B;AAED;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,KAAU;IAC5C,OAAO,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,KAA0B,CAAC,CAAC;AAC/E,CAAC;AAFD,kDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Direction of rotation.\n */\nexport enum RotationDirection {\n /** Clockwise */\n CLOCKWISE = 0,\n /** Counterclockwise */\n COUNTERCLOCKWISE = 1,\n /** CW */\n CW = 0,\n /** CCW */\n CCW = 1,\n}\n\n/**\n * Type guard for RotationDirection.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isRotationDirection(value: any): value is RotationDirection {\n return Object.values(RotationDirection).includes(value as RotationDirection);\n}\n"]}
1
+ {"version":3,"file":"rotation_direction.js","sourceRoot":"","sources":["../../src/rotation_direction.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD;;GAEG;AACH,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,yCAAyC;IACzC,mEAAa,CAAA;IACb,gDAAgD;IAChD,iFAAoB,CAAA;IACpB,qCAAqC;IACrC,qDAAM,CAAA;IACN,4CAA4C;IAC5C,uDAAO,CAAA;AACT,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B;AAED;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,KAAU;IAC5C,OAAO,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,KAA0B,CAAC,CAAC;AAC/E,CAAC;AAFD,kDAEC","sourcesContent":["/* This file is generated. Do not modify by hand. */\n/**\n * Direction of rotation.\n */\nexport enum RotationDirection {\n /** Rotate in the clockwise direction. */\n CLOCKWISE = 0,\n /** Rotate in the counterclockwise direction. */\n COUNTERCLOCKWISE = 1,\n /** Shorthand alias for Clockwise. */\n CW = 0,\n /** Shorthand alias for Counterclockwise. */\n CCW = 1,\n}\n\n/**\n * Type guard for RotationDirection.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isRotationDirection(value: any): value is RotationDirection {\n return Object.values(RotationDirection).includes(value as RotationDirection);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zaber/motion",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "description": "Zaber Motion Library is a multi-platform library used to operate Zaber devices.",
5
5
  "keywords": [],
6
6
  "main": "dist/lib/index.js",
@@ -78,11 +78,9 @@
78
78
  "node": ">=16.0.0"
79
79
  },
80
80
  "scripts": {
81
- "clean": "npm run clean-dist && node-pre-gyp clean",
82
81
  "install": "node-pre-gyp install --fallback-to-build",
83
82
  "pack": "npm pack",
84
83
  "build": "tsc --project tsconfig.build.json",
85
- "clean-dist": "rimraf dist",
86
84
  "generate-doc": "typedoc --out docs --target es6 --theme minimal --mode file src",
87
85
  "build-bindings": "node-pre-gyp clean configure build",
88
86
  "build-bindings-ia32": "node-pre-gyp configure build --target_arch=ia32",