medusa-storefront-core 1.2.5 → 1.2.7

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.
@@ -10,6 +10,6 @@ type State = {
10
10
  export declare class StorefrontErrorBoundary extends Component<Props, State> {
11
11
  state: State;
12
12
  static getDerivedStateFromError(error: Error): State;
13
- render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<React.AwaitedReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
13
+ render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<React.AwaitedReactNode> | React.JSX.Element | null | undefined;
14
14
  }
15
15
  export {};
@@ -15,7 +15,7 @@ export type MedusaSiteProviderProps = {
15
15
  regionId?: string;
16
16
  company?: StorefrontCompanyConfig;
17
17
  };
18
- export declare function MedusaSiteProvider({ children, value, countryCode, regionId, company, }: MedusaSiteProviderProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function MedusaSiteProvider({ children, value, countryCode, regionId, company, }: MedusaSiteProviderProps): React.JSX.Element;
19
19
  export declare function useMedusaSite(): MedusaSiteContextValue;
20
20
  /** Shorthand for company details from site config. */
21
21
  export declare function useSiteCompany(): StorefrontCompanyConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "medusa-storefront-core",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "Core types, providers, and error handling for Medusa storefronts.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,7 +51,7 @@
51
51
  "@types/react": "^19.0.0",
52
52
  "@types/react-dom": "^19.0.0",
53
53
  "@vitejs/plugin-react": "^4.0.0",
54
- "medusa-services": "1.2.1",
54
+ "medusa-services": "1.2.3",
55
55
  "react": "^19.0.0",
56
56
  "react-dom": "^19.0.0",
57
57
  "typescript": "^5.6.0",