@standhigher/besttrack-page-extension 0.5.3 → 0.5.5
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/index.d.ts +6 -1
- package/dist/index.js +540 -415
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -312,12 +312,17 @@ type ReadyToGoRuntimeProviderProps = {
|
|
|
312
312
|
transport?: ShopifyTrackPageTransport;
|
|
313
313
|
/** When omitted, URL deep-link auto-query is on only for the Shopify Track Page `transport` path. */
|
|
314
314
|
autoQueryFromUrl?: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* Preview-only: query the form's demo tracking number on mount.
|
|
317
|
+
* Live storefronts must omit this so consumers still submit the form.
|
|
318
|
+
*/
|
|
319
|
+
autoQueryDemo?: boolean;
|
|
315
320
|
/** Host-decided display state. Omitted values follow the original powered-by hide rule. */
|
|
316
321
|
watermark?: TrackingPageWatermark;
|
|
317
322
|
/** Admin-only promotion preview; live storefronts continue to use result.ad. */
|
|
318
323
|
adPreview?: TrackingPageAd | null;
|
|
319
324
|
};
|
|
320
|
-
declare function ReadyToGoRuntimeProvider({ children, query: injectedQuery, queryRecommendations, transport, autoQueryFromUrl, watermark, adPreview }: ReadyToGoRuntimeProviderProps): react.JSX.Element;
|
|
325
|
+
declare function ReadyToGoRuntimeProvider({ children, query: injectedQuery, queryRecommendations, transport, autoQueryFromUrl, autoQueryDemo, watermark, adPreview }: ReadyToGoRuntimeProviderProps): react.JSX.Element;
|
|
321
326
|
|
|
322
327
|
/**
|
|
323
328
|
* Compatibility metadata for template-aware hosts.
|