@elasticpath/js-sdk 15.1.0 → 15.1.2

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.
package/dist/index.cjs.js CHANGED
@@ -530,7 +530,7 @@ if (!globalThis.fetch) {
530
530
  globalThis.Response = fetch$1.Response;
531
531
  }
532
532
 
533
- var version = "15.1.0";
533
+ var version = "15.1.2";
534
534
 
535
535
  var LocalStorageFactory = /*#__PURE__*/function () {
536
536
  function LocalStorageFactory() {
@@ -4696,10 +4696,8 @@ var MultiLocationInventories = /*#__PURE__*/function () {
4696
4696
  function MultiLocationInventories(endpoint) {
4697
4697
  _classCallCheck(this, MultiLocationInventories);
4698
4698
  var config = _objectSpread2({}, endpoint);
4699
- config.headers = _objectSpread2(_objectSpread2({}, config.headers), {}, {
4700
- 'ep-inventories-multi-location': true
4701
- });
4702
- this.request = new RequestFactory(endpoint);
4699
+ config.headers['ep-inventories-multi-location'] = true;
4700
+ this.request = new RequestFactory(config);
4703
4701
  this.Locations = new InventoryLocationsEndpoint(config);
4704
4702
  this.endpoint = 'inventories';
4705
4703
  }
package/dist/index.d.ts CHANGED
@@ -691,6 +691,7 @@ interface CustomRelationshipBaseAttributes {
691
691
  name: string
692
692
  description?: string
693
693
  slug: string
694
+ bi_directional: boolean
694
695
  }
695
696
 
696
697
  interface CustomRelationshipBase {
package/dist/index.esm.js CHANGED
@@ -519,7 +519,7 @@ if (!globalThis.fetch) {
519
519
  globalThis.Response = Response;
520
520
  }
521
521
 
522
- var version = "15.1.0";
522
+ var version = "15.1.2";
523
523
 
524
524
  var LocalStorageFactory = /*#__PURE__*/function () {
525
525
  function LocalStorageFactory() {
@@ -4685,10 +4685,8 @@ var MultiLocationInventories = /*#__PURE__*/function () {
4685
4685
  function MultiLocationInventories(endpoint) {
4686
4686
  _classCallCheck(this, MultiLocationInventories);
4687
4687
  var config = _objectSpread2({}, endpoint);
4688
- config.headers = _objectSpread2(_objectSpread2({}, config.headers), {}, {
4689
- 'ep-inventories-multi-location': true
4690
- });
4691
- this.request = new RequestFactory(endpoint);
4688
+ config.headers['ep-inventories-multi-location'] = true;
4689
+ this.request = new RequestFactory(config);
4692
4690
  this.Locations = new InventoryLocationsEndpoint(config);
4693
4691
  this.endpoint = 'inventories';
4694
4692
  }
package/dist/index.js CHANGED
@@ -1085,7 +1085,7 @@
1085
1085
  globalThis.Response = browserPonyfill.exports.Response;
1086
1086
  }
1087
1087
 
1088
- var version = "15.1.0";
1088
+ var version = "15.1.2";
1089
1089
 
1090
1090
  var LocalStorageFactory = /*#__PURE__*/function () {
1091
1091
  function LocalStorageFactory() {
@@ -5857,10 +5857,8 @@
5857
5857
  function MultiLocationInventories(endpoint) {
5858
5858
  _classCallCheck(this, MultiLocationInventories);
5859
5859
  var config = _objectSpread2({}, endpoint);
5860
- config.headers = _objectSpread2(_objectSpread2({}, config.headers), {}, {
5861
- 'ep-inventories-multi-location': true
5862
- });
5863
- this.request = new RequestFactory(endpoint);
5860
+ config.headers['ep-inventories-multi-location'] = true;
5861
+ this.request = new RequestFactory(config);
5864
5862
  this.Locations = new InventoryLocationsEndpoint(config);
5865
5863
  this.endpoint = 'inventories';
5866
5864
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elasticpath/js-sdk",
3
3
  "description": "SDK for the Elastic Path eCommerce API",
4
- "version": "15.1.0",
4
+ "version": "15.1.2",
5
5
  "homepage": "https://github.com/elasticpath/js-sdk",
6
6
  "author": "Elastic Path (https://elasticpath.com/)",
7
7
  "files": [