@salesforce/storefront-next-runtime 0.4.1 → 0.4.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.
- package/dist/config.d.ts +2 -2
- package/dist/custom-global-preferences.d.ts +3 -3
- package/dist/custom-site-preferences.d.ts +3 -3
- package/dist/data-store.d.ts +3 -3
- package/dist/data-store.d.ts.map +1 -1
- package/dist/design-react-core.d.ts +2 -2
- package/dist/gcp-preferences.d.ts +3 -3
- package/dist/scapi.d.ts.map +1 -1
- package/dist/site-context.d.ts +2 -2
- package/package.json +2 -2
package/dist/site-context.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as Site$1, r as Url, t as Locale$1 } from "./types.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
4
|
import * as react_router6 from "react-router";
|
|
5
5
|
import { Cookie, CookieOptions, MiddlewareFunction, RouterContextProvider } from "react-router";
|
|
6
6
|
import { RouteConfigEntry } from "@react-router/dev/routes";
|
|
@@ -102,7 +102,7 @@ declare function SiteProvider({
|
|
|
102
102
|
language,
|
|
103
103
|
currency,
|
|
104
104
|
children
|
|
105
|
-
}: PropsWithChildren<SiteContextValue>):
|
|
105
|
+
}: PropsWithChildren<SiteContextValue>): react_jsx_runtime1.JSX.Element;
|
|
106
106
|
/**
|
|
107
107
|
* React hook to get the current site context.
|
|
108
108
|
* Returns `{ site, locale, language, currency }`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/storefront-next-runtime",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Runtime agnostic libraries for SFCC Storefront Next",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"author": "cc-pwa-kit@salesforce.com",
|
|
142
142
|
"license": "Apache-2.0",
|
|
143
143
|
"dependencies": {
|
|
144
|
-
"@salesforce/mrt-utilities": "0.1
|
|
144
|
+
"@salesforce/mrt-utilities": "0.2.1",
|
|
145
145
|
"jiti": "^2.6.1",
|
|
146
146
|
"openapi-fetch": "0.15.0"
|
|
147
147
|
},
|