@scayle/storefront-core 7.22.1 → 7.23.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 7.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add `runtimeConfiguration` property to the `RPCContext`
8
+
3
9
  ## 7.22.1
4
10
 
5
11
  ### Patch Changes
@@ -13,6 +13,9 @@ export type WithParams = Partial<{
13
13
  search: SearchWith;
14
14
  variant: VariantWith;
15
15
  }>;
16
+ export interface RuntimeConfiguration {
17
+ [key: string]: any;
18
+ }
16
19
  export interface RpcContext {
17
20
  wishlistKey: string;
18
21
  basketKey: string;
@@ -58,4 +61,5 @@ export interface RpcContext {
58
61
  apiHost: string;
59
62
  clientSecret: string;
60
63
  };
64
+ runtimeConfiguration: RuntimeConfiguration;
61
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "7.22.1",
3
+ "version": "7.23.0",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",