@inappstory/react-sdk 1.10.3 → 1.11.1

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.
@@ -9818,7 +9818,7 @@ class GameClientConfig {
9818
9818
  value: void 0
9819
9819
  });
9820
9820
  const storyManagerConfig = this.storyManager.config;
9821
- const sdkVersion = "1.10.3";
9821
+ const sdkVersion = "1.11.1";
9822
9822
  const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
9823
9823
  const session = this.storyManager.rootStore.sessionStore.session;
9824
9824
  this.sessionId = session.id;
@@ -11144,9 +11144,9 @@ class StorySlideApiHandlers {
11144
11144
  case "vote" /* Widgets.Vote */: {
11145
11145
  return widgetsData._narrative_vote_data;
11146
11146
  }
11147
- /* case Widgets.Reactions: {
11147
+ case "reactions" /* Widgets.Reactions */: {
11148
11148
  return widgetsData._narrative_reactions_data;
11149
- } */
11149
+ }
11150
11150
  }
11151
11151
  return null;
11152
11152
  }
@@ -17105,9 +17105,9 @@ class IamSlideApiHandlers {
17105
17105
  case "vote" /* Widgets.Vote */: {
17106
17106
  return widgetsData._narrative_vote_data;
17107
17107
  }
17108
- /* case Widgets.Reactions: {
17108
+ case "reactions" /* Widgets.Reactions */: {
17109
17109
  return widgetsData._narrative_reactions_data;
17110
- } */
17110
+ }
17111
17111
  }
17112
17112
  return null;
17113
17113
  }
@@ -20887,7 +20887,7 @@ class UgcEditorStore {
20887
20887
  const session = await this.storyManager.rootStore.sessionStore.open();
20888
20888
  const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
20889
20889
  const storyManagerConfig = this.storyManager.config;
20890
- const sdkVersion = "1.10.3";
20890
+ const sdkVersion = "1.11.1";
20891
20891
  this._config = {
20892
20892
  sessionId: session.id,
20893
20893
  apiKey: storyManagerConfig.apiKey,
@@ -21347,11 +21347,11 @@ class StoryManager extends TypedEventEmitter {
21347
21347
  return deviceDescriptor.deviceId;
21348
21348
  }
21349
21349
  get sdkVersionName() {
21350
- const sdkVersionName = "1.10.3";
21350
+ const sdkVersionName = "1.11.1";
21351
21351
  return sdkVersionName || "0.0.0";
21352
21352
  }
21353
21353
  get sdkVersionCode() {
21354
- const sdkVersionCode = 11003;
21354
+ const sdkVersionCode = 11101;
21355
21355
  return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
21356
21356
  }
21357
21357
  get lang() {
@@ -21415,7 +21415,7 @@ class StoryManager extends TypedEventEmitter {
21415
21415
  this.rootStore.storyManagerConfigStore.setConfig(configDto);
21416
21416
  }
21417
21417
  setUserAgent(userAgent) {
21418
- const sdkVersionCode = 11003;
21418
+ const sdkVersionCode = 11101;
21419
21419
  const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
21420
21420
  // According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
21421
21421
  this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;