fiftyone.devicedetection.onpremise 4.5.18 → 4.5.20

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.
@@ -290,7 +290,7 @@ class DeviceDetectionOnPremise extends Engine {
290
290
  // Hash
291
291
  swigWrapperType = 'Hash';
292
292
  const moduleDir = path.join(__dirname, 'build');
293
- const moduleName = path.join(moduleDir, 'FiftyOneDeviceDetectionHashV4-' + os.platform() + '-' + nodeVersion + '.node');
293
+ const moduleName = path.join(moduleDir, `FiftyOneDeviceDetectionHashV4-${os.platform()}-${process.arch}-${nodeVersion}.node`);
294
294
 
295
295
  // Check if the directory containing the native modules exists.
296
296
  if (fs.existsSync(moduleDir) === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiftyone.devicedetection.onpremise",
3
- "version": "4.5.18",
3
+ "version": "4.5.20",
4
4
  "description": "Device detection on-premise services for the 51Degrees Pipeline API",
5
5
  "keywords": [
6
6
  "51degrees",