@rebuy/rebuy 3.2.0 → 3.3.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.
package/dist/server/index.cjs
CHANGED
|
@@ -4386,7 +4386,8 @@ var MonetizeInputSchema = import_zod28.z.object({
|
|
|
4386
4386
|
language: import_zod28.z.string().max(REQUEST_BOUNDS.STRING_ID_MAX).optional(),
|
|
4387
4387
|
/** Buyer-facing order name (e.g. `#1001`) for the server-composed "Order … Confirmed" chrome line. */
|
|
4388
4388
|
orderName: import_zod28.z.string().max(REQUEST_BOUNDS.STRING_TEXT_MAX).optional(),
|
|
4389
|
-
|
|
4389
|
+
/** Ads surface label, forwarded verbatim; `order_index_page` is measured/floored as its own surface (REB-23901). */
|
|
4390
|
+
placement: import_zod28.z.enum(["order_index_page", "order_status", "thank_you_page"]),
|
|
4390
4391
|
/** Privacy Policy footer href — the Monetize widget's `privacy_policy_url` setting (React parity). */
|
|
4391
4392
|
privacyPolicyUrl: import_zod28.z.string().max(REQUEST_BOUNDS.STRING_URL_MAX).optional(),
|
|
4392
4393
|
/** 30-min rolling session id (React parity); used for the ads `session_id`, else the visitor id. */
|
package/dist/server/index.mjs
CHANGED
|
@@ -4338,7 +4338,8 @@ var MonetizeInputSchema = z28.object({
|
|
|
4338
4338
|
language: z28.string().max(REQUEST_BOUNDS.STRING_ID_MAX).optional(),
|
|
4339
4339
|
/** Buyer-facing order name (e.g. `#1001`) for the server-composed "Order … Confirmed" chrome line. */
|
|
4340
4340
|
orderName: z28.string().max(REQUEST_BOUNDS.STRING_TEXT_MAX).optional(),
|
|
4341
|
-
|
|
4341
|
+
/** Ads surface label, forwarded verbatim; `order_index_page` is measured/floored as its own surface (REB-23901). */
|
|
4342
|
+
placement: z28.enum(["order_index_page", "order_status", "thank_you_page"]),
|
|
4342
4343
|
/** Privacy Policy footer href — the Monetize widget's `privacy_policy_url` setting (React parity). */
|
|
4343
4344
|
privacyPolicyUrl: z28.string().max(REQUEST_BOUNDS.STRING_URL_MAX).optional(),
|
|
4344
4345
|
/** 30-min rolling session id (React parity); used for the ads `session_id`, else the visitor id. */
|
|
@@ -217,6 +217,7 @@ export declare const MonetizeInputSchema: z.ZodObject<{
|
|
|
217
217
|
language: z.ZodOptional<z.ZodString>;
|
|
218
218
|
orderName: z.ZodOptional<z.ZodString>;
|
|
219
219
|
placement: z.ZodEnum<{
|
|
220
|
+
order_index_page: "order_index_page";
|
|
220
221
|
order_status: "order_status";
|
|
221
222
|
thank_you_page: "thank_you_page";
|
|
222
223
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebuy/rebuy",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.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.",
|