@softwear/latestcollectioncore 1.0.80 → 1.0.82

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.
@@ -38,7 +38,7 @@ const QTY_SOLD_BEFORE_RETURNS = 46;
38
38
  const BEGIN_STOCK_VECTOR_START = QTY_STOCK;
39
39
  const BEGIN_STOCK_VECTOR_END = AMOUNT_SHELF_STOCK + 1;
40
40
  const msYear = 24 * 3600 * 365 * 1000;
41
- const globalJoinableTables = { sku: 'ean', wh: 'wh', transaction: 'row' }; // defines the keys we can join on
41
+ const globalJoinableTables = { customer: 'custnr', sku: 'ean', wh: 'wh', transaction: 'row' }; // defines the keys we can join on
42
42
  /**
43
43
  * Global variables
44
44
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softwear/latestcollectioncore",
3
- "version": "1.0.80",
3
+ "version": "1.0.82",
4
4
  "description": "Core functions for LatestCollections applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "typescript": "^4.9.4"
29
29
  },
30
30
  "dependencies": {
31
- "date-fns": "^4.0.0",
31
+ "date-fns": "^2.29.3",
32
32
  "filtrex": "^3.0.0"
33
33
  }
34
34
  }
@@ -65,7 +65,7 @@ const BEGIN_STOCK_VECTOR_START = QTY_STOCK
65
65
  const BEGIN_STOCK_VECTOR_END = AMOUNT_SHELF_STOCK + 1
66
66
 
67
67
  const msYear = 24 * 3600 * 365 * 1000
68
- const globalJoinableTables = { sku: 'ean', wh: 'wh', transaction: 'row' } // defines the keys we can join on
68
+ const globalJoinableTables = { customer: 'custnr', sku: 'ean', wh: 'wh', transaction: 'row' } // defines the keys we can join on
69
69
 
70
70
  /**
71
71
  * Global variables