@salesforce/retail-react-app 10.0.0-preview.1 → 10.0.0-preview.2

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -44,13 +44,13 @@ The Retail React App's configuration files are located in the `app/config` folde
44
44
  You can resolve **MRT Data Store** custom preferences during SSR without DynamoDB by using the in-memory provider from **`@salesforce/pwa-kit-dev`** (loaded by `@salesforce/pwa-kit-runtime` when you are **not** in a full Managed Runtime process).
45
45
 
46
46
  - **Turn the feature on:** set **`app.mrtDataStore.enabled`** in `config/default.js`, and/or **`PWAKIT_MRT_DATA_STORE_ENABLED=true`** (use `false` to force off without editing files).
47
- - **Use local defaults:** set **`PWAKIT_MRT_DATA_STORE_DEFAULTS`** to a JSON object whose keys are **full DAL keys** and values are plain objects. For example, site preferences use `<siteId>-custom-site-preferences` (such as `RefArch-custom-site-preferences`); global preferences use **`custom-global-preferences`**.
47
+ - **Use local defaults:** set **`MRT_DATA_STORE_DEFAULTS`** to a JSON object whose keys are **full DAL keys** and values are plain objects. For example, site preferences use `<siteId>-custom-site-preferences` (such as `RefArch-custom-site-preferences`); global preferences use **`custom-global-preferences`**.
48
48
  - **Use the local provider, not DynamoDB:** in development, keep **`AWS_REGION`**, **`MOBIFY_PROPERTY_ID`**, and **`DEPLOY_TARGET`** unset for the dev server. If all three are set, the runtime uses the **real** Data Store instead of your defaults map.
49
- - **Optional:** **`PWAKIT_MRT_DATA_STORE_WARN_ON_MISSING=false`** silences console warnings when a key is missing. Use **`PWAKIT_MRT_DATA_STORE_ALLOW_LOCAL=true`** if you need the local provider while **`NODE_ENV=production`** locally.
49
+ - **Optional:** **`MRT_DATA_STORE_WARN_ON_MISSING=false`** silences console warnings when a key is missing.
50
50
 
51
51
  ```bash
52
52
  export PWAKIT_MRT_DATA_STORE_ENABLED=true
53
- export PWAKIT_MRT_DATA_STORE_DEFAULTS='{"RefArch-custom-site-preferences":{},"custom-global-preferences":{}}'
53
+ export MRT_DATA_STORE_DEFAULTS='{"RefArch-custom-site-preferences":{},"custom-global-preferences":{}}'
54
54
  npm start
55
55
  ```
56
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/retail-react-app",
3
- "version": "10.0.0-preview.1",
3
+ "version": "10.0.0-preview.2",
4
4
  "license": "See license in LICENSE",
5
5
  "author": "cc-pwa-kit@salesforce.com",
6
6
  "ccExtensibility": {
@@ -46,10 +46,10 @@
46
46
  "@loadable/component": "^5.15.3",
47
47
  "@peculiar/webcrypto": "^1.4.2",
48
48
  "@salesforce/cc-datacloud-typescript": "1.1.2",
49
- "@salesforce/commerce-sdk-react": "5.2.0-preview.1",
50
- "@salesforce/pwa-kit-dev": "3.18.0-preview.1",
51
- "@salesforce/pwa-kit-react-sdk": "3.18.0-preview.1",
52
- "@salesforce/pwa-kit-runtime": "3.18.0-preview.1",
49
+ "@salesforce/commerce-sdk-react": "5.2.0-preview.2",
50
+ "@salesforce/pwa-kit-dev": "3.18.0-preview.2",
51
+ "@salesforce/pwa-kit-react-sdk": "3.18.0-preview.2",
52
+ "@salesforce/pwa-kit-runtime": "3.18.0-preview.2",
53
53
  "@salesforce/storefront-next-runtime": "0.1.1",
54
54
  "@tanstack/react-query": "^4.28.0",
55
55
  "@tanstack/react-query-devtools": "^4.29.1",
@@ -113,5 +113,5 @@
113
113
  "maxSize": "395 kB"
114
114
  }
115
115
  ],
116
- "gitHead": "0305ff8fd1a8998b3050644598ba7b9e2dd3d807"
116
+ "gitHead": "453ec7cb09081ee0e678fc2402acefa6d5e39449"
117
117
  }