@commercengine/storefront-sdk 0.4.3 → 0.4.4

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.d.cts CHANGED
@@ -10388,7 +10388,7 @@ declare class StorefrontSDK {
10388
10388
  /**
10389
10389
  * Client for store config-related endpoints
10390
10390
  */
10391
- readonly storeConfig: StoreConfigClient;
10391
+ readonly store: StoreConfigClient;
10392
10392
  /**
10393
10393
  * Create a new StorefrontSDK instance
10394
10394
  *
package/dist/index.d.ts CHANGED
@@ -10388,7 +10388,7 @@ declare class StorefrontSDK {
10388
10388
  /**
10389
10389
  * Client for store config-related endpoints
10390
10390
  */
10391
- readonly storeConfig: StoreConfigClient;
10391
+ readonly store: StoreConfigClient;
10392
10392
  /**
10393
10393
  * Create a new StorefrontSDK instance
10394
10394
  *
@@ -2818,7 +2818,7 @@ var CE_SDK = (() => {
2818
2818
  /**
2819
2819
  * Client for store config-related endpoints
2820
2820
  */
2821
- storeConfig;
2821
+ store;
2822
2822
  /**
2823
2823
  * Create a new StorefrontSDK instance
2824
2824
  *
@@ -2847,7 +2847,7 @@ var CE_SDK = (() => {
2847
2847
  this.helpers = new HelpersClient(config);
2848
2848
  this.shipping = new ShippingClient(config);
2849
2849
  this.order = new OrderClient(config);
2850
- this.storeConfig = new StoreConfigClient(config);
2850
+ this.store = new StoreConfigClient(config);
2851
2851
  }
2852
2852
  /**
2853
2853
  * Set authentication tokens for all clients
@@ -2867,7 +2867,7 @@ var CE_SDK = (() => {
2867
2867
  await this.helpers.setTokens(accessToken, refreshToken);
2868
2868
  await this.shipping.setTokens(accessToken, refreshToken);
2869
2869
  await this.order.setTokens(accessToken, refreshToken);
2870
- await this.storeConfig.setTokens(accessToken, refreshToken);
2870
+ await this.store.setTokens(accessToken, refreshToken);
2871
2871
  }
2872
2872
  /**
2873
2873
  * Clear all authentication tokens from all clients
@@ -2884,7 +2884,7 @@ var CE_SDK = (() => {
2884
2884
  await this.helpers.clearTokens();
2885
2885
  await this.shipping.clearTokens();
2886
2886
  await this.order.clearTokens();
2887
- await this.storeConfig.clearTokens();
2887
+ await this.store.clearTokens();
2888
2888
  }
2889
2889
  /**
2890
2890
  * Set the API key for all clients
@@ -2899,7 +2899,7 @@ var CE_SDK = (() => {
2899
2899
  this.helpers.setApiKey(apiKey);
2900
2900
  this.shipping.setApiKey(apiKey);
2901
2901
  this.order.setApiKey(apiKey);
2902
- this.storeConfig.setApiKey(apiKey);
2902
+ this.store.setApiKey(apiKey);
2903
2903
  }
2904
2904
  /**
2905
2905
  * Clear the API key from all clients
@@ -2912,7 +2912,7 @@ var CE_SDK = (() => {
2912
2912
  this.helpers.clearApiKey();
2913
2913
  this.shipping.clearApiKey();
2914
2914
  this.order.clearApiKey();
2915
- this.storeConfig.clearApiKey();
2915
+ this.store.clearApiKey();
2916
2916
  }
2917
2917
  /**
2918
2918
  * Get the current access token if using token storage
@@ -2994,7 +2994,7 @@ var CE_SDK = (() => {
2994
2994
  this.helpers["config"] = newConfig;
2995
2995
  this.shipping["config"] = newConfig;
2996
2996
  this.order["config"] = newConfig;
2997
- this.storeConfig["config"] = newConfig;
2997
+ this.store["config"] = newConfig;
2998
2998
  }
2999
2999
  /**
3000
3000
  * Get current default headers