@streamlayer/sdk-web-types 0.22.3 → 0.22.4

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 { MeResponse } from '@streamlayer/sl-eslib/users/users_pb';
6
- export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, ExtendedQuestion, SilenceSetting, QuestionOptions, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
7
- import type { PickHistory as IPickHistory, InsightHistory as IInsightHistory, TweetHistory as ITweetHistory, FeedItemAttributes, InstantView as IInstantView } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
6
+ export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
7
+ import type { PickHistory as IPickHistory, InsightHistory as IInsightHistory, TweetHistory as ITweetHistory, FeedItem as IFeedItem, FeedItemAttributes as IFeedItemAttributes, InstantView as IInstantView } 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 } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
10
+ import type { ExtendedQuestionAnswer as IExtendedQuestionAnswer, Question as IQuestion, ExtendedQuestion as IExtendedQuestion } 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>;
@@ -19,7 +19,10 @@ export type StreamSettings = SLStreamSettings;
19
19
  export type User = MeResponse;
20
20
  export type UserSettings = ClientSettings;
21
21
  export type LeaderboardItem = ILeaderboardItem;
22
- export type FeedItem = PlainMessage<FeedItemAttributes>;
22
+ export type FeedItem = PlainMessage<IFeedItem>;
23
+ export type FeedItemAttributes = PlainMessage<IFeedItemAttributes>;
23
24
  export type InstantView = PlainMessage<IInstantView>;
24
25
  export type GameSettings = PlainMessage<IGameSettings>;
26
+ export type Question = PlainMessage<IQuestion>;
27
+ export type ExtendedQuestion = PlainMessage<IExtendedQuestion>;
25
28
  export { SdkOverlayType as FeatureType, SdkOverlaySettings, GamesOverlaySettings, } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
package/lib/sl-types.js CHANGED
@@ -1,3 +1,3 @@
1
- export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, ExtendedQuestion, SilenceSetting, QuestionOptions, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
1
+ export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, SilenceSetting, QuestionOptions, } 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';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@streamlayer/sdk-web-types",
3
- "version": "0.22.3",
3
+ "version": "0.22.4",
4
4
  "peerDependencies": {
5
- "@bufbuild/protobuf": "^1.6.0",
6
- "@streamlayer/sl-eslib": "^5.67.0"
5
+ "@bufbuild/protobuf": "^1.7.2",
6
+ "@streamlayer/sl-eslib": "^5.79.3"
7
7
  },
8
8
  "devDependencies": {
9
9
  "tslib": "^2.6.2"