@unchainedshop/core-delivery 4.8.10 → 4.8.12

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.
@@ -6,13 +6,8 @@ export const DeliveryProviderType = {
6
6
  export const DeliveryProvidersCollection = async (db) => {
7
7
  const DeliveryProviders = db.collection('delivery-providers');
8
8
  await buildDbIndexes(DeliveryProviders, [
9
- { index: { type: 1 } },
10
- { index: { created: 1 } },
11
- {
12
- index: {
13
- deleted: 1,
14
- },
15
- },
9
+ { index: { deleted: 1, type: 1 } },
10
+ { index: { deleted: 1, created: 1 } },
16
11
  ]);
17
12
  return DeliveryProviders;
18
13
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unchainedshop/core-delivery",
3
3
  "description": "Delivery provider management module for the Unchained Engine",
4
- "version": "4.8.10",
4
+ "version": "4.8.12",
5
5
  "main": "lib/delivery-index.js",
6
6
  "types": "lib/delivery-index.d.ts",
7
7
  "type": "module",
@@ -35,10 +35,10 @@
35
35
  },
36
36
  "homepage": "https://github.com/unchainedshop/unchained#readme",
37
37
  "dependencies": {
38
- "@unchainedshop/events": "^4.6.0",
39
- "@unchainedshop/logger": "^4.6.0",
40
- "@unchainedshop/mongodb": "^4.6.0",
41
- "@unchainedshop/utils": "^4.6.0",
38
+ "@unchainedshop/events": "^4.8.12",
39
+ "@unchainedshop/logger": "^4.8.12",
40
+ "@unchainedshop/mongodb": "^4.8.12",
41
+ "@unchainedshop/utils": "^4.8.12",
42
42
  "expiry-map": "^2.0.0",
43
43
  "p-memoize": "^8.0.0"
44
44
  },