@elasticpath/js-sdk 3.0.0 → 3.0.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 CHANGED
@@ -530,7 +530,7 @@ if (!globalThis.fetch) {
530
530
  globalThis.Response = fetch$1.Response;
531
531
  }
532
532
 
533
- var version = "3.0.0";
533
+ var version = "3.0.1";
534
534
 
535
535
  var LocalStorageFactory = /*#__PURE__*/function () {
536
536
  function LocalStorageFactory() {
package/dist/index.d.ts CHANGED
@@ -7229,6 +7229,7 @@ interface SubscriptionPlansEndpoint
7229
7229
  * For custom flows, extend this interface
7230
7230
  * DOCS: TODO: add docs when ready
7231
7231
  */
7232
+
7232
7233
  interface SubscriptionOfferingBase {
7233
7234
  type: string
7234
7235
  attributes: {
@@ -7347,6 +7348,7 @@ type SubscriptionOfferingPlanMeta = {
7347
7348
 
7348
7349
  type SubscriptionOfferingPlan = Omit<SubscriptionPlan, 'meta'> & SubscriptionOfferingAttachmentsRelationships & SubscriptionOfferingPlanMeta
7349
7350
  type SubscriptionOfferingProduct = SubscriptionProduct & SubscriptionOfferingAttachmentsRelationships
7351
+
7350
7352
  /**
7351
7353
  * Subscription Offering Endpoints
7352
7354
  * DOCS: TODO: add docs when ready
@@ -7364,9 +7366,9 @@ interface SubscriptionOfferingsEndpoint
7364
7366
 
7365
7367
  Build(body: SubscriptionOfferingBuildBody): Promise<Resource<SubscriptionOffering>>
7366
7368
 
7367
- GetAttachedProducts(id: string) : Promise<Resource<SubscriptionOfferingProduct[]>>
7369
+ GetAttachedProducts(id: string): Promise<Resource<SubscriptionOfferingProduct[]>>
7368
7370
 
7369
- GetAttachedPlans(id: string) : Promise<Resource<SubscriptionOfferingPlan[]>>
7371
+ GetAttachedPlans(id: string): Promise<Resource<SubscriptionOfferingPlan[]>>
7370
7372
 
7371
7373
  AttachProducts(offeringId: string, body: SubscriptionOfferingAttachProductBody): Promise<Resource<SubscriptionProduct[]>>
7372
7374
 
@@ -7379,6 +7381,7 @@ interface SubscriptionOfferingsEndpoint
7379
7381
  AttachProrationPolicy(offeringId: string, body: SubscriptionOfferingAttachProrationPolicyBody | null): Promise<Resource<SubscriptionOfferingAttachProrationPolicyBody>>
7380
7382
 
7381
7383
  ReplaceProducts(offeringId: string, productIds: string[]): Promise<Resource<SubscriptionProduct[]>>
7384
+ }
7382
7385
 
7383
7386
  /**
7384
7387
  * One Time Password Token Request
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 = "3.0.0";
522
+ var version = "3.0.1";
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 = "3.0.0";
1088
+ var version = "3.0.1";
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": "3.0.0",
4
+ "version": "3.0.1",
5
5
  "homepage": "https://github.com/elasticpath/js-sdk",
6
6
  "author": "Elastic Path (https://elasticpath.com/)",
7
7
  "files": [