@vendure/core 1.9.6 → 1.9.7

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/common/constants.d.ts +2 -1
  2. package/dist/config/catalog/default-collection-filters.d.ts +19 -18
  3. package/dist/entity/administrator/administrator.entity.js +1 -3
  4. package/dist/entity/administrator/administrator.entity.js.map +1 -1
  5. package/dist/entity/asset/asset.entity.js +2 -4
  6. package/dist/entity/asset/asset.entity.js.map +1 -1
  7. package/dist/entity/asset/orderable-asset.entity.js +1 -3
  8. package/dist/entity/asset/orderable-asset.entity.js.map +1 -1
  9. package/dist/entity/authentication-method/external-authentication-method.entity.js +1 -3
  10. package/dist/entity/authentication-method/external-authentication-method.entity.js.map +1 -1
  11. package/dist/entity/authentication-method/native-authentication-method.entity.js +1 -3
  12. package/dist/entity/authentication-method/native-authentication-method.entity.js.map +1 -1
  13. package/dist/entity/channel/channel.entity.js +3 -5
  14. package/dist/entity/channel/channel.entity.js.map +1 -1
  15. package/dist/entity/collection/collection-asset.entity.js +2 -4
  16. package/dist/entity/collection/collection-asset.entity.js.map +1 -1
  17. package/dist/entity/collection/collection-translation.entity.js +2 -4
  18. package/dist/entity/collection/collection-translation.entity.js.map +1 -1
  19. package/dist/entity/collection/collection.entity.js +1 -3
  20. package/dist/entity/collection/collection.entity.js.map +1 -1
  21. package/dist/entity/country/country-translation.entity.js +2 -4
  22. package/dist/entity/country/country-translation.entity.js.map +1 -1
  23. package/dist/entity/country/country.entity.js +1 -3
  24. package/dist/entity/country/country.entity.js.map +1 -1
  25. package/dist/entity/customer-group/customer-group.entity.js +1 -3
  26. package/dist/entity/customer-group/customer-group.entity.js.map +1 -1
  27. package/dist/entity/facet/facet-translation.entity.js +2 -4
  28. package/dist/entity/facet/facet-translation.entity.js.map +1 -1
  29. package/dist/entity/facet/facet.entity.js +1 -3
  30. package/dist/entity/facet/facet.entity.js.map +1 -1
  31. package/dist/entity/facet-value/facet-value-translation.entity.js +2 -4
  32. package/dist/entity/facet-value/facet-value-translation.entity.js.map +1 -1
  33. package/dist/entity/facet-value/facet-value.entity.js +1 -3
  34. package/dist/entity/facet-value/facet-value.entity.js.map +1 -1
  35. package/dist/entity/global-settings/global-settings.entity.js +1 -3
  36. package/dist/entity/global-settings/global-settings.entity.js.map +1 -1
  37. package/dist/entity/history-entry/customer-history-entry.entity.js +1 -3
  38. package/dist/entity/history-entry/customer-history-entry.entity.js.map +1 -1
  39. package/dist/entity/history-entry/order-history-entry.entity.js +1 -3
  40. package/dist/entity/history-entry/order-history-entry.entity.js.map +1 -1
  41. package/dist/entity/product/product-asset.entity.js +2 -4
  42. package/dist/entity/product/product-asset.entity.js.map +1 -1
  43. package/dist/entity/product/product-translation.entity.js +2 -4
  44. package/dist/entity/product/product-translation.entity.js.map +1 -1
  45. package/dist/entity/product/product.entity.js +1 -3
  46. package/dist/entity/product/product.entity.js.map +1 -1
  47. package/dist/entity/product-option/product-option-translation.entity.js +2 -4
  48. package/dist/entity/product-option/product-option-translation.entity.js.map +1 -1
  49. package/dist/entity/product-option-group/product-option-group-translation.entity.js +2 -4
  50. package/dist/entity/product-option-group/product-option-group-translation.entity.js.map +1 -1
  51. package/dist/entity/product-option-group/product-option-group.entity.js +1 -3
  52. package/dist/entity/product-option-group/product-option-group.entity.js.map +1 -1
  53. package/dist/entity/product-variant/product-variant-asset.entity.js +2 -4
  54. package/dist/entity/product-variant/product-variant-asset.entity.js.map +1 -1
  55. package/dist/entity/product-variant/product-variant-translation.entity.js +2 -4
  56. package/dist/entity/product-variant/product-variant-translation.entity.js.map +1 -1
  57. package/dist/entity/role/role.entity.js +1 -3
  58. package/dist/entity/role/role.entity.js.map +1 -1
  59. package/dist/entity/stock-movement/allocation.entity.d.ts +2 -1
  60. package/dist/entity/stock-movement/allocation.entity.js +1 -3
  61. package/dist/entity/stock-movement/allocation.entity.js.map +1 -1
  62. package/dist/entity/stock-movement/cancellation.entity.d.ts +2 -1
  63. package/dist/entity/stock-movement/cancellation.entity.js +1 -3
  64. package/dist/entity/stock-movement/cancellation.entity.js.map +1 -1
  65. package/dist/entity/stock-movement/stock-movement.entity.js +1 -2
  66. package/dist/entity/stock-movement/stock-movement.entity.js.map +1 -1
  67. package/dist/entity/tag/tag.entity.js +1 -3
  68. package/dist/entity/tag/tag.entity.js.map +1 -1
  69. package/dist/entity/tax-category/tax-category.entity.js +1 -3
  70. package/dist/entity/tax-category/tax-category.entity.js.map +1 -1
  71. package/dist/entity/tax-rate/tax-rate.entity.js +1 -3
  72. package/dist/entity/tax-rate/tax-rate.entity.js.map +1 -1
  73. package/dist/entity/user/user.entity.js +1 -3
  74. package/dist/entity/user/user.entity.js.map +1 -1
  75. package/dist/entity/zone/zone.entity.js +1 -3
  76. package/dist/entity/zone/zone.entity.js.map +1 -1
  77. package/dist/event-bus/events/change-channel-event.d.ts +3 -3
  78. package/dist/event-bus/events/customer-address-event.d.ts +2 -2
  79. package/dist/job-queue/in-memory-job-queue-strategy.d.ts +1 -1
  80. package/package.json +3 -3
@@ -8,10 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.TaxCategory = void 0;
14
- const shared_types_1 = require("@vendure/common/lib/shared-types");
15
13
  const typeorm_1 = require("typeorm");
16
14
  const base_entity_1 = require("../base/base.entity");
17
15
  const custom_entity_fields_1 = require("../custom-entity-fields");
@@ -40,7 +38,7 @@ __decorate([
40
38
  ], TaxCategory.prototype, "customFields", void 0);
41
39
  TaxCategory = __decorate([
42
40
  typeorm_1.Entity(),
43
- __metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
41
+ __metadata("design:paramtypes", [Object])
44
42
  ], TaxCategory);
45
43
  exports.TaxCategory = TaxCategory;
46
44
  //# sourceMappingURL=tax-category.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tax-category.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-category/tax-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAyC;AAGzC,qDAAoD;AACpD,kEAAkE;AAElE;;;;;GAKG;AAEH,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,2BAAa;IAC1C,YAAY,KAAgC;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAQJ,CAAA;AANa;IAAT,gBAAM,EAAE;;yCAAc;AAEK;IAA3B,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CAAoB;AAG/C;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,8CAAuB,CAAC;8BAC1B,8CAAuB;iDAAC;AAV7B,WAAW;IADvB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,WAAW,CAWvB;AAXY,kCAAW"}
1
+ {"version":3,"file":"tax-category.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-category/tax-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAyC;AAGzC,qDAAoD;AACpD,kEAAkE;AAElE;;;;;GAKG;AAEH,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,2BAAa;IAC1C,YAAY,KAAgC;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAQJ,CAAA;AANa;IAAT,gBAAM,EAAE;;yCAAc;AAEK;IAA3B,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CAAoB;AAG/C;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,8CAAuB,CAAC;8BAC1B,8CAAuB;iDAAC;AAV7B,WAAW;IADvB,gBAAM,EAAE;;GACI,WAAW,CAWvB;AAXY,kCAAW"}
@@ -8,10 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.TaxRate = void 0;
14
- const shared_types_1 = require("@vendure/common/lib/shared-types");
15
13
  const typeorm_1 = require("typeorm");
16
14
  const tax_utils_1 = require("../../common/tax-utils");
17
15
  const utils_1 = require("../../common/utils");
@@ -99,7 +97,7 @@ __decorate([
99
97
  ], TaxRate.prototype, "customFields", void 0);
100
98
  TaxRate = __decorate([
101
99
  typeorm_1.Entity(),
102
- __metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
100
+ __metadata("design:paramtypes", [Object])
103
101
  ], TaxRate);
104
102
  exports.TaxRate = TaxRate;
105
103
  //# sourceMappingURL=tax-rate.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tax-rate.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-rate/tax-rate.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,mEAA+D;AAC/D,qCAAoD;AAEpD,sDAAgG;AAChG,8CAAiD;AAEjD,qDAAoD;AACpD,kEAA8D;AAC9D,mFAAwE;AACxE,6EAAkE;AAClE,8DAA2D;AAC3D,qDAA2C;AAE3C;;;;;;;;;GASG;AAEH,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,2BAAa;IACtC,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAoBD;;OAEG;IACH,cAAc,CAAC,UAAkB;QAC7B,OAAO,0BAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,UAAkB;QACzB,OAAO,sB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AC,IAAI,mBAAW,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/F,CAAC;CACJ,CAAA;AAxDa;IAAT,gBAAM,EAAE;;qCAAc;AAEb;IAAT,gBAAM,EAAE;;wCAAkB;AAEiE;IAA3F,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,uCAAkB,EAAE,EAAE,CAAC;;sCAAe;AAG1G;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,iCAAW,CAAC;8BACrB,iCAAW;yCAAC;AAGtB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;8BAClB,kBAAI;qCAAC;AAGX;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrC,qCAAa;8CAAC;AAG9B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AArBzB,OAAO;IADnB,gBAAM,EAAE;;GACI,OAAO,CA6DnB;AA7DY,0BAAO"}
@@ -8,10 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.User = void 0;
14
- const shared_types_1 = require("@vendure/common/lib/shared-types");
15
13
  const typeorm_1 = require("typeorm");
16
14
  const errors_1 = require("../../common/error/errors");
17
15
  const authentication_method_entity_1 = require("../authentication-method/authentication-method.entity");
@@ -72,7 +70,7 @@ __decorate([
72
70
  ], User.prototype, "customFields", void 0);
73
71
  User = __decorate([
74
72
  typeorm_1.Entity(),
75
- __metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
73
+ __metadata("design:paramtypes", [Object])
76
74
  ], User);
77
75
  exports.User = User;
78
76
  //# sourceMappingURL=user.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/entity/user/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA2E;AAE3E,sDAAgE;AAGhE,wGAA6F;AAC7F,sHAA0G;AAC1G,qDAAoD;AACpD,kEAA2D;AAC3D,qDAA2C;AAE3C;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IA8BD,6BAA6B,CAAC,MAAiB;QAC3C,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC7B,MAAM,IAAI,4BAAmB,CAAC,8CAA8C,CAAC,CAAC;SACjF;QACD,MAAM,KAAK,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CACzC,CAAC,CAAC,EAAmC,EAAE,CAAC,CAAC,YAAY,gEAA0B,CAClF,CAAC;QACF,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,MAAM,CAAC,EAAE;YAC5C,MAAM,IAAI,4BAAmB,CAAC,+CAA+C,CAAC,CAAC;SAClF;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AAvCG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAChB;AAGvB;IADC,gBAAM,EAAE;;wCACU;AAMnB;IAJC,mBAAS,CACN,IAAI,CAAC,EAAE,CAAC,mDAAoB,EAC5B,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CACxB;;mDA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C,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAChB;AAGvB;IADC,gBAAM,EAAE;;wCACU;AAMnB;IAJC,mBAAS,CACN,IAAI,CAAC,EAAE,CAAC,mDAAoB,EAC5B,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CACxB;;mDAC6C;AAG9C;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;sCACT;AAIlB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;IACxB,mBAAS,EAAE;;mCACE;AAGd;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAChB;AAGvB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAgB,CAAC;8BACnB,uCAAgB;0CAAC;AA5BtB,IAAI;IADhB,gBAAM,EAAE;;GACI,IAAI,CA6ChB;AA7CY,oBAAI"}
@@ -8,10 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var _a;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.Zone = void 0;
14
- const shared_types_1 = require("@vendure/common/lib/shared-types");
15
13
  const typeorm_1 = require("typeorm");
16
14
  const base_entity_1 = require("../base/base.entity");
17
15
  const country_entity_1 = require("../country/country.entity");
@@ -43,7 +41,7 @@ __decorate([
43
41
  ], Zone.prototype, "customFields", void 0);
44
42
  Zone = __decorate([
45
43
  typeorm_1.Entity(),
46
- __metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
44
+ __metadata("design:paramtypes", [Object])
47
45
  ], Zone);
48
46
  exports.Zone = Zone;
49
47
  //# sourceMappingURL=zone.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"zone.entity.js","sourceRoot":"","sources":["../../../src/entity/zone/zone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAgE;AAGhE,qDAAoD;AACpD,8DAAoD;AACpD,kEAA2D;AAE3D;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAUJ,CAAA;AARa;IAAT,gBAAM,EAAE;;kCAAc;AAIvB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;qCACO;AAGnB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAgB,CAAC;8BACnB,uCAAgB;0CAAC;AAZtB,IAAI;IADhB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,IAAI,CAahB;AAbY,oBAAI"}
1
+ {"version":3,"file":"zone.entity.js","sourceRoot":"","sources":["../../../src/entity/zone/zone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAgE;AAGhE,qDAAoD;AACpD,8DAAoD;AACpD,kEAA2D;AAE3D;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAUJ,CAAA;AARa;IAAT,gBAAM,EAAE;;kCAAc;AAIvB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;qCACO;AAGnB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAgB,CAAC;8BACnB,uCAAgB;0CAAC;AAZtB,IAAI;IADhB,gBAAM,EAAE;;GACI,IAAI,CAahB;AAbY,oBAAI"}
@@ -1,4 +1,4 @@
1
- import { ID } from '@vendure/common/lib/shared-types';
1
+ import { ID, Type } from '@vendure/common/lib/shared-types';
2
2
  import { RequestContext } from '../../api';
3
3
  import { ChannelAware } from '../../common';
4
4
  import { VendureEntity } from '../../entity';
@@ -17,6 +17,6 @@ export declare class ChangeChannelEvent<T extends ChannelAware & VendureEntity>
17
17
  entity: T;
18
18
  channelIds: ID[];
19
19
  type: 'assigned' | 'removed';
20
- entityType?: any;
21
- constructor(ctx: RequestContext, entity: T, channelIds: ID[], type: 'assigned' | 'removed', entityType?: any);
20
+ entityType?: Type<T> | undefined;
21
+ constructor(ctx: RequestContext, entity: T, channelIds: ID[], type: 'assigned' | 'removed', entityType?: Type<T> | undefined);
22
22
  }
@@ -20,8 +20,8 @@ export declare class CustomerAddressEvent extends VendureEntityEvent<Address, Cu
20
20
  ctx: RequestContext;
21
21
  entity: Address;
22
22
  type: 'created' | 'updated' | 'deleted';
23
- input?: any;
24
- constructor(ctx: RequestContext, entity: Address, type: 'created' | 'updated' | 'deleted', input?: any);
23
+ input?: CustomerAddressInputTypes | undefined;
24
+ constructor(ctx: RequestContext, entity: Address, type: 'created' | 'updated' | 'deleted', input?: CustomerAddressInputTypes | undefined);
25
25
  /**
26
26
  * Return an address field to become compatible with the
27
27
  * deprecated old version of CustomerAddressEvent
@@ -26,7 +26,7 @@ import { JobData } from './types';
26
26
  * @docsCategory JobQueue
27
27
  */
28
28
  export declare class InMemoryJobQueueStrategy extends PollingJobQueueStrategy implements InspectableJobQueueStrategy {
29
- protected jobs: Map<any, Job<any>>;
29
+ protected jobs: Map<ID, Job<any>>;
30
30
  protected unsettledJobs: {
31
31
  [queueName: string]: Array<{
32
32
  job: Job;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendure/core",
3
- "version": "1.9.6",
3
+ "version": "1.9.7",
4
4
  "description": "A modern, headless ecommerce framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,7 +49,7 @@
49
49
  "@nestjs/testing": "7.6.17",
50
50
  "@nestjs/typeorm": "7.1.5",
51
51
  "@types/fs-extra": "^9.0.1",
52
- "@vendure/common": "^1.9.6",
52
+ "@vendure/common": "^1.9.7",
53
53
  "apollo-server-express": "2.24.1",
54
54
  "bcrypt": "^5.1.0",
55
55
  "body-parser": "^1.19.0",
@@ -101,5 +101,5 @@
101
101
  "sqlite3": "^5.0.0",
102
102
  "typescript": "4.3.5"
103
103
  },
104
- "gitHead": "154780bf3b9b6b4e98174d1a992c0539f936f26d"
104
+ "gitHead": "987ce391e09a702dd7016833549a3d275d0e5ca0"
105
105
  }