@streamlayer/sdk-web-types 1.3.2 → 1.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/lib/sl-types.d.ts CHANGED
@@ -3,11 +3,11 @@ import type { StreamSettings as SLStreamSettings, SdkOverlay, Advertising, Organ
3
3
  import type { GameSettings as IGameSettings } from '@streamlayer/sl-eslib/sdkSettings/game/common/game_common_pb';
4
4
  import type { ClientSettings } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb';
5
5
  import type { User as ProtoUser } from '@streamlayer/sl-eslib/users/users_common_pb';
6
- export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, PromotionType, PromotionWallet, PromotionLogoMode, CtaIconMode, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
6
+ export { QuestionType, QuestionStatus, QuestionImages, NotificationPromotionImagePosition, ImagePosition, SilenceSetting, QuestionOptions, PromotionType, PromotionWallet, PromotionLogoMode, CtaIconMode, NotificationSponsorLogoMode, NotificationEnabled, NotificationPromotionMode, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
7
7
  import type { PickHistory as IPickHistory, InsightHistory as IInsightHistory, TweetHistory as ITweetHistory, FeedItem as IFeedItem, FeedItemAttributes as IFeedItemAttributes, InstantView as IInstantView, PromotionHistory as IPromotionHistory } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
8
8
  export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
9
9
  import type { LeaderboardItem as ILeaderboardItem } from '@streamlayer/sl-eslib/interactive/leaderboard/interactive.leaderboard_pb';
10
- import type { ExtendedQuestionAnswer as IExtendedQuestionAnswer, Question as IQuestion, ExtendedQuestion as IExtendedQuestion, QuestionOptions_PromotionOptions } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
10
+ import { type ExtendedQuestionAnswer as IExtendedQuestionAnswer, type Question as IQuestion, type ExtendedQuestion as IExtendedQuestion, type QuestionOptions_PromotionOptions, type QuestionNotification as IQuestionNotification, type PromotionNotification as IPromotionNotification } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
11
11
  export type PickHistory = PlainMessage<IPickHistory>;
12
12
  export type ExtendedQuestionAnswer = PlainMessage<IExtendedQuestionAnswer>;
13
13
  export type InsightHistory = PlainMessage<IInsightHistory>;
@@ -29,5 +29,7 @@ export type Question = PlainMessage<IQuestion>;
29
29
  export type ExtendedQuestion = PlainMessage<IExtendedQuestion>;
30
30
  export type PromotionHistory = PlainMessage<IPromotionHistory>;
31
31
  export type PromotionOptions = PlainMessage<QuestionOptions_PromotionOptions>;
32
+ export type QuestionNotification = PlainMessage<IQuestionNotification>;
33
+ export type PromotionNotification = PlainMessage<IPromotionNotification>;
32
34
  export { SdkOverlayType as FeatureType, SdkOverlaySettings, GamesOverlaySettings, } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
33
35
  export { InvitationFrom } from '@streamlayer/sl-eslib/analytics/v1/invitations/invitations_pb';
package/lib/sl-types.js CHANGED
@@ -1,4 +1,4 @@
1
- export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, PromotionType, PromotionWallet, PromotionLogoMode, CtaIconMode, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
1
+ export { QuestionType, QuestionStatus, QuestionImages, NotificationPromotionImagePosition, ImagePosition, SilenceSetting, QuestionOptions, PromotionType, PromotionWallet, PromotionLogoMode, CtaIconMode, NotificationSponsorLogoMode, NotificationEnabled, NotificationPromotionMode, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
2
2
  export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
3
3
  export { SdkOverlayType as FeatureType, SdkOverlaySettings, GamesOverlaySettings, } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
4
4
  export { InvitationFrom } from '@streamlayer/sl-eslib/analytics/v1/invitations/invitations_pb';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sdk-web-types",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "peerDependencies": {
5
5
  "@bufbuild/protobuf": "^1.10.0",
6
6
  "@streamlayer/sl-eslib": "^5.122.0"