@zaber/motion 6.7.0 → 6.7.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.
@@ -130,7 +130,7 @@ class Library {
130
130
  const request = {
131
131
  ...requests.CheckVersionRequest.DEFAULT,
132
132
  host: 'js',
133
- version: '6.7.0',
133
+ version: '6.7.1',
134
134
  toBinary() {
135
135
  return requests.CheckVersionRequest.toBinary(this);
136
136
  },
@@ -1 +1 @@
1
- {"version":3,"file":"library.js","sourceRoot":"","sources":["../../src/library.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,mDAAqC;AACrC,qDAAuC;AAIvC,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,UAAU,EAAE,UAAU;YACtB,aAAa,EAAE,aAAa;YAC5B,QAAQ;gBACN,OAAO,QAAQ,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;;;;OAOG;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AAC,QAAQ,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;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;CACF;AAtID,0BAsIC;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';\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 * 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 * 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 * 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: '6.7.0',\n toBinary() {\n return requests.CheckVersionRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/check_version', 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;AAIvC,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,UAAU,EAAE,UAAU;YACtB,aAAa,EAAE,aAAa;YAC5B,QAAQ;gBACN,OAAO,QAAQ,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,mBAAmB,CAC/B,aAAsB;QAEtB,MAAM,OAAO,GAA0D;YACrE,GAAG,QAAQ,CAAC,0BAA0B,CAAC,OAAO;YAC9C,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AmD;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;CACF;AAtID,0BAsIC;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';\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 * 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 * 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 * 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: '6.7.1',\n toBinary() {\n return requests.CheckVersionRequest.toBinary(this);\n },\n };\n\n gateway.callSync('library/check_version', request);\n }\n}\n\ngateway.addInitCallback(Library.checkVersion);\n"]}
@@ -1,10 +1,8 @@
1
1
  import { MicroscopeConfig } from '../microscopy/microscope_config';
2
- import { ThirdPartyComponents } from '../microscopy/third_party_components';
3
2
  export interface MicroscopeInitRequest {
4
3
  interfaceId: number;
5
4
  config: MicroscopeConfig;
6
5
  force: boolean;
7
- thirdParty: ThirdPartyComponents;
8
6
  }
9
7
  export declare const MicroscopeInitRequest: {
10
8
  fromBinary: (buffer: Uint8Array) => MicroscopeInitRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"microscope_init_request.d.ts","sourceRoot":"","sources":["../../../src/requests/microscope_init_request.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,gBAAgB,CAAC;IAEzB,KAAK,EAAE,OAAO,CAAC;IAEf,UAAU,EAAE,oBAAoB,CAAC;CAElC;AAED,eAAO,MAAM,qBAAqB;yBACX,UAAU,KAAG,qBAAqB;sBACrC,qBAAqB,KAAG,UAAU;;sBAOlC,qBAAqB,KAAG,qBAAqB;CAUhE,CAAC"}
1
+ {"version":3,"file":"microscope_init_request.d.ts","sourceRoot":"","sources":["../../../src/requests/microscope_init_request.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,gBAAgB,CAAC;IAEzB,KAAK,EAAE,OAAO,CAAC;CAEhB;AAED,eAAO,MAAM,qBAAqB;yBACX,UAAU,KAAG,qBAAqB;sBACrC,qBAAqB,KAAG,UAAU;;sBAMlC,qBAAqB,KAAG,qBAAqB;CAShE,CAAC"}
@@ -5,7 +5,6 @@ exports.MicroscopeInitRequest = void 0;
5
5
  const bson_1 = require("bson");
6
6
  const sanitizer_1 = require("../gateway/sanitizer");
7
7
  const microscope_config_1 = require("../microscopy/microscope_config");
8
- const third_party_components_1 = require("../microscopy/third_party_components");
9
8
  exports.MicroscopeInitRequest = {
10
9
  fromBinary: (buffer) => bson_1.BSON.deserialize(buffer),
11
10
  toBinary: (value) => bson_1.BSON.serialize(exports.MicroscopeInitRequest.sanitize(value)),
@@ -13,7 +12,6 @@ exports.MicroscopeInitRequest = {
13
12
  interfaceId: 0,
14
13
  config: microscope_config_1.MicroscopeConfig.DEFAULT,
15
14
  force: false,
16
- thirdParty: third_party_components_1.ThirdPartyComponents.DEFAULT,
17
15
  }),
18
16
  sanitize: (value) => {
19
17
  if (value == null) {
@@ -26,7 +24,6 @@ exports.MicroscopeInitRequest = {
26
24
  interfaceId: sanitizer_1.sanitizer.sanitizeInt(value.interfaceId, 'interfaceId'),
27
25
  config: microscope_config_1.MicroscopeConfig.sanitize(value.config),
28
26
  force: sanitizer_1.sanitizer.sanitizeBool(value.force, 'force'),
29
- thirdParty: third_party_components_1.ThirdPartyComponents.sanitize(value.thirdParty),
30
27
  };
31
28
  },
32
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"microscope_init_request.js","sourceRoot":"","sources":["../../../src/requests/microscope_init_request.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD,+BAA4B;AAC5B,oDAAiD;AACjD,uEAAmE;AACnE,iFAA4E;AAa/D,QAAA,qBAAqB,GAAG;IACnC,UAAU,EAAE,CAAC,MAAkB,EAAyB,EAAE,CAAC,WAAI,CAAC,WAAW,CAAC,MAAM,CAA0B;IAC5G,QAAQ,EAAE,CAAC,KAA4B,EAAc,EAAE,CAAC,WAAI,CAAC,SAAS,CAAC,6BAAqB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7G,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,CAAC;QACd,MAAM,EAAE,oCAAgB,CAAC,OAAO;QAChC,KAAK,EAAE,KAAK;QACZ,UAAU,EAAE,6CAAoB,CAAC,OAAO;KACzC,CAAoC;IACrC,QAAQ,EAAE,CAAC,KAA4B,EAAyB,EAAE;QAChE,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,kEAAkE,CAAC,CAAA;QAAC,CAAC;QAC9G,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,iDAAiD,OAAO,KAAK,GAAG,CAAC,CAAA;QAAC,CAAC;QACxH,OAAO;YACL,WAAW,EAAE,qBAAS,CAAC,WAAW,CAAC,KAAK,CAAC,WAAW,EAAE,aAAa,CAAC;YACpE,MAAM,EAAE,oCAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;YAC/C,KAAK,EAAE,qBAAS,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC;YACnD,UAAU,EAAE,6CAAoB,CAAC,QAAQ,CAAC,KAAK,CAAC,UAAU,CAAC;SAC5D,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["/* This file is generated. Do not modify by hand. */\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\nimport { MicroscopeConfig } from '../microscopy/microscope_config';\nimport { ThirdPartyComponents } from '../microscopy/third_party_components';\n\nexport interface MicroscopeInitRequest {\n interfaceId: number;\n\n config: MicroscopeConfig;\n\n force: boolean;\n\n thirdParty: ThirdPartyComponents;\n\n}\n\nexport const MicroscopeInitRequest = {\n fromBinary: (buffer: Uint8Array): MicroscopeInitRequest => BSON.deserialize(buffer) as MicroscopeInitRequest,\n toBinary: (value: MicroscopeInitRequest): Uint8Array => BSON.serialize(MicroscopeInitRequest.sanitize(value)),\n DEFAULT: Object.freeze({\n interfaceId: 0,\n config: MicroscopeConfig.DEFAULT,\n force: false,\n thirdParty: ThirdPartyComponents.DEFAULT,\n }) as Readonly<MicroscopeInitRequest>,\n sanitize: (value: MicroscopeInitRequest): MicroscopeInitRequest => {\n if (value == null) { throw new TypeError('Expected MicroscopeInitRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected MicroscopeInitRequest object but got ${typeof value}.`) }\n return {\n interfaceId: sanitizer.sanitizeInt(value.interfaceId, 'interfaceId'),\n config: MicroscopeConfig.sanitize(value.config),\n force: sanitizer.sanitizeBool(value.force, 'force'),\n thirdParty: ThirdPartyComponents.sanitize(value.thirdParty),\n };\n },\n};\n"]}
1
+ {"version":3,"file":"microscope_init_request.js","sourceRoot":"","sources":["../../../src/requests/microscope_init_request.ts"],"names":[],"mappings":";;;AAAA,oDAAoD;AACpD,+BAA4B;AAC5B,oDAAiD;AACjD,uEAAmE;AAWtD,QAAA,qBAAqB,GAAG;IACnC,UAAU,EAAE,CAAC,MAAkB,EAAyB,EAAE,CAAC,WAAI,CAAC,WAAW,CAAC,MAAM,CAA0B;IAC5G,QAAQ,EAAE,CAAC,KAA4B,EAAc,EAAE,CAAC,WAAI,CAAC,SAAS,CAAC,6BAAqB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7G,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,CAAC;QACd,MAAM,EAAE,oCAAgB,CAAC,OAAO;QAChC,KAAK,EAAE,KAAK;KACb,CAAoC;IACrC,QAAQ,EAAE,CAAC,KAA4B,EAAyB,EAAE;QAChE,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,kEAAkE,CAAC,CAAA;QAAC,CAAC;QAC9G,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,iDAAiD,OAAO,KAAK,GAAG,CAAC,CAAA;QAAC,CAAC;QACxH,OAAO;YACL,WAAW,EAAE,qBAAS,CAAC,WAAW,CAAC,KAAK,CAAC,WAAW,EAAE,aAAa,CAAC;YACpE,MAAM,EAAE,oCAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;YAC/C,KAAK,EAAE,qBAAS,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC;SACpD,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["/* This file is generated. Do not modify by hand. */\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\nimport { MicroscopeConfig } from '../microscopy/microscope_config';\n\nexport interface MicroscopeInitRequest {\n interfaceId: number;\n\n config: MicroscopeConfig;\n\n force: boolean;\n\n}\n\nexport const MicroscopeInitRequest = {\n fromBinary: (buffer: Uint8Array): MicroscopeInitRequest => BSON.deserialize(buffer) as MicroscopeInitRequest,\n toBinary: (value: MicroscopeInitRequest): Uint8Array => BSON.serialize(MicroscopeInitRequest.sanitize(value)),\n DEFAULT: Object.freeze({\n interfaceId: 0,\n config: MicroscopeConfig.DEFAULT,\n force: false,\n }) as Readonly<MicroscopeInitRequest>,\n sanitize: (value: MicroscopeInitRequest): MicroscopeInitRequest => {\n if (value == null) { throw new TypeError('Expected MicroscopeInitRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected MicroscopeInitRequest object but got ${typeof value}.`) }\n return {\n interfaceId: sanitizer.sanitizeInt(value.interfaceId, 'interfaceId'),\n config: MicroscopeConfig.sanitize(value.config),\n force: sanitizer.sanitizeBool(value.force, 'force'),\n };\n },\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zaber/motion",
3
- "version": "6.7.0",
3
+ "version": "6.7.1",
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",