@replohq/sdk 1.13.5 → 1.13.6

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.
@@ -1,11 +1,10 @@
1
1
  import type { StorefrontCountryCode } from "../loaders/markets";
2
2
  /**
3
- * Server component that loads the cart and provides it to child components
4
- * through the CartProvider context. In development mode, skips initial
5
- * cart loading to avoid cookie issues during development.
3
+ * Server component that provides the cart context to child components. The
4
+ * provider loads any persisted cart in the browser after hydration.
6
5
  *
7
6
  * @param children - Child components that will have access to the cart
8
- * @returns A CartProvider component wrapping the children with cart data
7
+ * @returns A CartProvider component wrapping the children
9
8
  */
10
9
  export declare function CartLoader({ children, country, shouldReconcileSuppliedCart, }: React.PropsWithChildren<{
11
10
  country?: StorefrontCountryCode;
@@ -1,6 +1,4 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { unstable_rethrow } from "next/navigation";
3
- import { getCartAction } from "./cart-actions";
4
2
  import { CartProvider } from "./cart-provider";
5
3
  import { SuppliedCartReconciliationBoundary } from "./supplied-cart-reconciliation";
6
4
  async function CartLoader({
@@ -8,12 +6,7 @@ async function CartLoader({
8
6
  country,
9
7
  shouldReconcileSuppliedCart
10
8
  }) {
11
- const cart = process.env.NODE_ENV === "development" ? null : await getCartAction().catch((error) => {
12
- unstable_rethrow(error);
13
- console.warn("[Replo] Failed to load cart:", error);
14
- return null;
15
- });
16
- return /* @__PURE__ */ jsx(SuppliedCartReconciliationBoundary, { enabled: shouldReconcileSuppliedCart, children: /* @__PURE__ */ jsx(CartProvider, { cart, country, children }) });
9
+ return /* @__PURE__ */ jsx(SuppliedCartReconciliationBoundary, { enabled: shouldReconcileSuppliedCart, children: /* @__PURE__ */ jsx(CartProvider, { cart: null, country, children }) });
17
10
  }
18
11
  export {
19
12
  CartLoader
@@ -1,7 +1,7 @@
1
1
  export const BUILD_METADATA = {
2
2
  "packageName": "@replohq/sdk",
3
- "version": "1.13.5",
3
+ "version": "1.13.6",
4
4
  "branch": "HEAD",
5
- "commit": "478717af374584697f8e305ab76117c4aa95f444",
6
- "builtAt": "2026-09-25T08:34:14.026Z"
5
+ "commit": "26bb95e185c8dfd266d3635694fc84df57c83869",
6
+ "builtAt": "2026-09-25T18:56:30.188Z"
7
7
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@replohq/sdk",
3
- "version": "1.13.5",
3
+ "version": "1.13.6",
4
4
  "reploBuild": {
5
5
  "packageName": "@replohq/sdk",
6
- "version": "1.13.5",
6
+ "version": "1.13.6",
7
7
  "branch": "HEAD",
8
- "commit": "478717af374584697f8e305ab76117c4aa95f444",
9
- "builtAt": "2026-09-25T08:34:14.026Z"
8
+ "commit": "26bb95e185c8dfd266d3635694fc84df57c83869",
9
+ "builtAt": "2026-09-25T18:56:30.188Z"
10
10
  },
11
11
  "description": "Replo SDK — cart, analytics, and data loaders for agent-built Next.js sites.",
12
12
  "license": "SEE LICENSE IN LICENSE",