@rebuy/rebuy 3.24.0 → 3.26.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.
@@ -904,8 +904,14 @@ var CABDiscountSection = z13.object({
904
904
  // src/schema/widgets/checkout-and-beyond/monetize.ts
905
905
  import { v7 as uuidv78 } from "uuid";
906
906
  import { z as z14 } from "zod";
907
+ var CABMonetizeAds = z14.object({
908
+ requestId: z14.string().optional(),
909
+ /** Defaulted here, never in the beacon: absence of information is `ads` itself being absent. */
910
+ testing: z14.boolean().default(false)
911
+ });
907
912
  var CABMonetizeSection = z14.object({
908
913
  ...CABVariableFields,
914
+ ads: CABMonetizeAds.optional(),
909
915
  name: z14.string().optional(),
910
916
  /**
911
917
  * Server-hydrated offer cards (inline hydration): when `/cab/sections` was asked with a `monetize`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebuy/rebuy",
3
- "version": "3.24.0",
3
+ "version": "3.26.0",
4
4
  "description": "Shared zod schemas, legacy-to-CAB widget transforms, and server orchestrators for Rebuy's Shopify consumers (rebuy-api, admin-nextjs, rebuy-shopify-extensions)",
5
5
  "license": "MIT",
6
6
  "author": "Rebuy, Inc.",