@rebuy/rebuy 3.3.1 → 3.4.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
|
@@ -4390,8 +4390,8 @@ var MonetizeInputSchema = import_zod28.z.object({
|
|
|
4390
4390
|
language: import_zod28.z.string().max(REQUEST_BOUNDS.STRING_ID_MAX).optional(),
|
|
4391
4391
|
/** Buyer-facing order name (e.g. `#1001`) for the server-composed "Order … Confirmed" chrome line. */
|
|
4392
4392
|
orderName: import_zod28.z.string().max(REQUEST_BOUNDS.STRING_TEXT_MAX).optional(),
|
|
4393
|
-
/** Ads surface label, forwarded verbatim; `
|
|
4394
|
-
placement: import_zod28.z.enum(["
|
|
4393
|
+
/** Ads surface label, forwarded verbatim; `customer_account` is measured/floored as its own surface (the account-area order list). */
|
|
4394
|
+
placement: import_zod28.z.enum(["customer_account", "order_status", "thank_you_page"]),
|
|
4395
4395
|
/** Privacy Policy footer href — the Monetize widget's `privacy_policy_url` setting (React parity). */
|
|
4396
4396
|
privacyPolicyUrl: import_zod28.z.string().max(REQUEST_BOUNDS.STRING_URL_MAX).optional(),
|
|
4397
4397
|
/** 30-min rolling session id (React parity); used for the ads `session_id`, else the visitor id. */
|
package/dist/server/index.mjs
CHANGED
|
@@ -4342,8 +4342,8 @@ var MonetizeInputSchema = z28.object({
|
|
|
4342
4342
|
language: z28.string().max(REQUEST_BOUNDS.STRING_ID_MAX).optional(),
|
|
4343
4343
|
/** Buyer-facing order name (e.g. `#1001`) for the server-composed "Order … Confirmed" chrome line. */
|
|
4344
4344
|
orderName: z28.string().max(REQUEST_BOUNDS.STRING_TEXT_MAX).optional(),
|
|
4345
|
-
/** Ads surface label, forwarded verbatim; `
|
|
4346
|
-
placement: z28.enum(["
|
|
4345
|
+
/** Ads surface label, forwarded verbatim; `customer_account` is measured/floored as its own surface (the account-area order list). */
|
|
4346
|
+
placement: z28.enum(["customer_account", "order_status", "thank_you_page"]),
|
|
4347
4347
|
/** Privacy Policy footer href — the Monetize widget's `privacy_policy_url` setting (React parity). */
|
|
4348
4348
|
privacyPolicyUrl: z28.string().max(REQUEST_BOUNDS.STRING_URL_MAX).optional(),
|
|
4349
4349
|
/** 30-min rolling session id (React parity); used for the ads `session_id`, else the visitor id. */
|
|
@@ -217,7 +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
|
-
|
|
220
|
+
customer_account: "customer_account";
|
|
221
221
|
order_status: "order_status";
|
|
222
222
|
thank_you_page: "thank_you_page";
|
|
223
223
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebuy/rebuy",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.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.",
|