@inappstory/react-sdk 1.8.0-rc.2 → 1.8.0-rc.3
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.esm.mjs +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/ias-container/publicEvents.d.ts +3 -4
- package/dist/types/storyManager.d.ts +2 -2
- package/package.json +1 -1
- package/plugins/banners/index.esm.mjs +1 -1
- package/plugins/banners/types/bannerPlace.d.ts +4 -1
- package/plugins/banners/types/events.d.ts +27 -0
- package/plugins/banners/types/iasBannerPlace.d.ts +27 -2
- package/plugins/banners/types/index.d.ts +1 -0
|
@@ -18,7 +18,6 @@ export type PublicEventHandler<Event extends keyof PublicEvents> = (event: Publi
|
|
|
18
18
|
interface BaseEvent {
|
|
19
19
|
id: number;
|
|
20
20
|
title?: string;
|
|
21
|
-
tags: Array<string>;
|
|
22
21
|
slidesCount?: number;
|
|
23
22
|
feed?: string;
|
|
24
23
|
source?: string;
|
|
@@ -79,17 +78,17 @@ export interface ClickOnFavoriteCellEvent {
|
|
|
79
78
|
|
|
80
79
|
export interface FeedLoadEvent {
|
|
81
80
|
feed: string;
|
|
82
|
-
stories: Array<{ id: number; title: string;
|
|
81
|
+
stories: Array<{ id: number; title: string; slidesCount: number }>;
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
export interface FeedImpressionEvent {
|
|
86
85
|
feed: string;
|
|
87
|
-
stories: Array<{ id: number; title: string;
|
|
86
|
+
stories: Array<{ id: number; title: string; slidesCount: number }>;
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
export interface VisibleAreaUpdatedEvent {
|
|
91
90
|
feed: string;
|
|
92
|
-
stories: Array<{ id: number; title: string;
|
|
91
|
+
stories: Array<{ id: number; title: string; slidesCount: number }>;
|
|
93
92
|
}
|
|
94
93
|
|
|
95
94
|
export interface WidgetEvent {
|
|
@@ -146,10 +146,10 @@ export declare class StoryManager {
|
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
*/
|
|
149
|
-
showOnboardingStories(options?: { feed?: string; customTags?:
|
|
149
|
+
showOnboardingStories(options?: { feed?: string; customTags?: string[]; limit?: number }): Promise<{
|
|
150
150
|
stories: {
|
|
151
151
|
title: Option<string>;
|
|
152
|
-
tags:
|
|
152
|
+
tags: string[];
|
|
153
153
|
slidesCount: Option<number>;
|
|
154
154
|
ugcPayload?: Record<string, unknown>;
|
|
155
155
|
id: number;
|