@revturbine/sdk 0.2.72 → 0.2.73
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/headless.d.ts +5 -18
- package/dist/headless.js +2 -2
- package/dist/headless.js.map +1 -1
- package/dist/index.d.ts +21 -17
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/web-sdk/headless.d.ts +0 -1
- package/dist/types/web-sdk/headless.d.ts.map +1 -1
- package/dist/types/web-sdk/index.d.ts +1 -0
- package/dist/types/web-sdk/index.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/PlacementRenderer.d.ts +1 -0
- package/dist/types/web-sdk/placements/PlacementRenderer.d.ts.map +1 -1
- package/dist/types/web-sdk/placements/install-builtins.d.ts +2 -0
- package/dist/types/web-sdk/placements/install-builtins.d.ts.map +1 -0
- package/dist/types/web-sdk/placements/registry.d.ts +20 -0
- package/dist/types/web-sdk/placements/registry.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -11431,6 +11431,10 @@ declare function parseUiPath(raw: Record<string, unknown>): PlacementUiPath;
|
|
|
11431
11431
|
declare function parsePromotion(raw?: Record<string, unknown>): PlacementPromotion | undefined;
|
|
11432
11432
|
/**
|
|
11433
11433
|
* Get or create the default global placement type registry.
|
|
11434
|
+
*
|
|
11435
|
+
* On the React entry the registry comes pre-seeded with the built-in slot
|
|
11436
|
+
* types; on the headless entry it starts empty (headless consumers register
|
|
11437
|
+
* their own types via {@link PlacementTypeRegistry.register}).
|
|
11434
11438
|
*/
|
|
11435
11439
|
declare function getDefaultRegistry(): PlacementTypeRegistry;
|
|
11436
11440
|
/**
|
|
@@ -21032,23 +21036,6 @@ interface PostHogIntegrationOptions extends PostHogAnalyticsProviderOptions {
|
|
|
21032
21036
|
*/
|
|
21033
21037
|
declare function createPostHogIntegration(options: PostHogIntegrationOptions): EventConsumerProvider;
|
|
21034
21038
|
|
|
21035
|
-
/**
|
|
21036
|
-
* Register all built-in slot types on the given registry.
|
|
21037
|
-
*
|
|
21038
|
-
* Built-in types cover the core surface types:
|
|
21039
|
-
* - banner → BannerSlot (full-width top/bottom)
|
|
21040
|
-
* - modal → ModalSlot (overlay dialog, optional/blocking)
|
|
21041
|
-
* - in_page → InPageSlot (card/embed in page flow)
|
|
21042
|
-
* - toast → ToastSlot (ephemeral notification)
|
|
21043
|
-
* - button → ButtonSlot (nav bar / CTA button)
|
|
21044
|
-
* - full_page → FullPageSlot (dedicated managed page)
|
|
21045
|
-
* - email/sms/push → channel previews (static out-of-band mocks)
|
|
21046
|
-
*
|
|
21047
|
-
* Additional specialized types registered as in_page variants:
|
|
21048
|
-
* - quota_meter → QuotaMeterSlot (usage meter + upgrade CTA)
|
|
21049
|
-
*/
|
|
21050
|
-
declare function registerBuiltinSlotTypes(registry: PlacementTypeRegistry): void;
|
|
21051
|
-
|
|
21052
21039
|
/**
|
|
21053
21040
|
* Pre-defined surface template ID sets.
|
|
21054
21041
|
*
|
|
@@ -21617,6 +21604,23 @@ declare function registerBuiltinSnoozeResolver(snooze: (outputId: string, second
|
|
|
21617
21604
|
*/
|
|
21618
21605
|
declare function dispatchCtaClick(uiPath: PlacementUiPath, context: CtaResolverContext, resolvers: CtaResolverRegistry, fallback?: (uiPath: PlacementUiPath) => void): boolean;
|
|
21619
21606
|
|
|
21607
|
+
/**
|
|
21608
|
+
* Register all built-in slot types on the given registry.
|
|
21609
|
+
*
|
|
21610
|
+
* Built-in types cover the core surface types:
|
|
21611
|
+
* - banner → BannerSlot (full-width top/bottom)
|
|
21612
|
+
* - modal → ModalSlot (overlay dialog, optional/blocking)
|
|
21613
|
+
* - in_page → InPageSlot (card/embed in page flow)
|
|
21614
|
+
* - toast → ToastSlot (ephemeral notification)
|
|
21615
|
+
* - button → ButtonSlot (nav bar / CTA button)
|
|
21616
|
+
* - full_page → FullPageSlot (dedicated managed page)
|
|
21617
|
+
* - email/sms/push → channel previews (static out-of-band mocks)
|
|
21618
|
+
*
|
|
21619
|
+
* Additional specialized types registered as in_page variants:
|
|
21620
|
+
* - quota_meter → QuotaMeterSlot (usage meter + upgrade CTA)
|
|
21621
|
+
*/
|
|
21622
|
+
declare function registerBuiltinSlotTypes(registry: PlacementTypeRegistry): void;
|
|
21623
|
+
|
|
21620
21624
|
/**
|
|
21621
21625
|
* Props for {@link BannerSlot}.
|
|
21622
21626
|
* Extends {@link PlacementSlotProps} with banner-specific options.
|