@elasticpath/js-sdk 15.1.0 → 15.1.1
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 +3 -5
- package/dist/index.esm.js +3 -5
- package/dist/index.js +3 -5
- package/package.json +1 -1
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.
|
|
533
|
+
var version = "15.1.1";
|
|
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 =
|
|
4700
|
-
|
|
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.esm.js
CHANGED
|
@@ -519,7 +519,7 @@ if (!globalThis.fetch) {
|
|
|
519
519
|
globalThis.Response = Response;
|
|
520
520
|
}
|
|
521
521
|
|
|
522
|
-
var version = "15.1.
|
|
522
|
+
var version = "15.1.1";
|
|
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 =
|
|
4689
|
-
|
|
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.
|
|
1088
|
+
var version = "15.1.1";
|
|
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 =
|
|
5861
|
-
|
|
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