@encatch/schema 1.3.0-beta.2 → 1.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/esm/index.js
CHANGED
|
@@ -407,7 +407,7 @@ var platformCompletionCtaSchema = z2.discriminatedUnion("action", [
|
|
|
407
407
|
);
|
|
408
408
|
var completionCtaSecondarySchema = z2.object({
|
|
409
409
|
label: z2.string().min(1).max(100).describe(
|
|
410
|
-
"Label for the secondary button (e.g. '
|
|
410
|
+
"Label for the secondary button (e.g. 'Close form', 'Learn more')"
|
|
411
411
|
),
|
|
412
412
|
inApp: platformCompletionCtaSchema.optional().describe(
|
|
413
413
|
"Secondary button action when the form runs inside a host app; when this surface block is absent the engine defaults to dismiss (backward compatible with label-only secondary configs)"
|
|
@@ -423,7 +423,7 @@ var completionCtaSchema = z2.object({
|
|
|
423
423
|
"Label for the primary CTA button; falls back to nextButtonLabel \u2192 section nextButtonLabel \u2192 'Done' when absent"
|
|
424
424
|
),
|
|
425
425
|
autoTriggerDelayMs: z2.number().int().min(0).max(3e4).optional().describe(
|
|
426
|
-
"When set, automatically fires the primary action after this many milliseconds; fires for all actions including dismiss (e.g. set to 0 for immediate silent redirect, 3000 for auto-close after 3 s); when absent the action is manual only"
|
|
426
|
+
"When set, automatically fires the primary action after this many milliseconds; fires for all actions including dismiss (e.g. set to 0 for immediate silent redirect, 3000 for auto-close after 3 s); when absent the action is manual only; on the link surface, auto-fired redirect_external opens in the same tab because browsers block delayed new-tab popups"
|
|
427
427
|
),
|
|
428
428
|
inApp: platformCompletionCtaSchema.optional().describe(
|
|
429
429
|
"CTA action used when the form is rendered inside a host app \u2014 native WebView, web-sdk iframe, React Native / Flutter SDK bridge pages"
|