@elasticpath/js-sdk 11.1.0 → 12.0.0

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/README.md CHANGED
@@ -350,4 +350,4 @@ You can learn more about the Rollup API and configuration [here](https://github.
350
350
  ## Terms And Conditions
351
351
 
352
352
  - Any changes to this project must be reviewed and approved by the repository owner.
353
- - For more information about the license, see [MIT License](https://github.com/elasticpath/js-sdk/blob/main/LICENSE).
353
+ - For more information about the license, see [MIT License](https://github.com/elasticpath/js-sdk/blob/main/LICENSE).
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 = "11.1.0";
533
+ var version = "12.0.0";
534
534
 
535
535
  var LocalStorageFactory = /*#__PURE__*/function () {
536
536
  function LocalStorageFactory() {
package/dist/index.d.ts CHANGED
@@ -7977,7 +7977,7 @@ interface Condition {
7977
7977
  interface RulePromotionBase {
7978
7978
  type: 'rule_promotion'
7979
7979
  name: string
7980
- description: string
7980
+ description?: string
7981
7981
  enabled: boolean
7982
7982
  automatic?: boolean
7983
7983
  start: string
@@ -8496,10 +8496,11 @@ interface GeolocationDetails {
8496
8496
  }
8497
8497
  interface LocationAttributes {
8498
8498
  name: string
8499
+ slug: string
8499
8500
  external_ref?: string
8500
8501
  description?: string
8501
- address: string[]
8502
- geolocation: GeolocationDetails
8502
+ address?: string[]
8503
+ geolocation?: GeolocationDetails
8503
8504
  }
8504
8505
  interface LocationMeta {
8505
8506
  timestamps: {
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 = "11.1.0";
522
+ var version = "12.0.0";
523
523
 
524
524
  var LocalStorageFactory = /*#__PURE__*/function () {
525
525
  function LocalStorageFactory() {
package/dist/index.js CHANGED
@@ -1085,7 +1085,7 @@
1085
1085
  globalThis.Response = browserPonyfill.exports.Response;
1086
1086
  }
1087
1087
 
1088
- var version = "11.1.0";
1088
+ var version = "12.0.0";
1089
1089
 
1090
1090
  var LocalStorageFactory = /*#__PURE__*/function () {
1091
1091
  function LocalStorageFactory() {
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": "11.1.0",
4
+ "version": "12.0.0",
5
5
  "homepage": "https://github.com/elasticpath/js-sdk",
6
6
  "author": "Elastic Path (https://elasticpath.com/)",
7
7
  "files": [