@inappstory/react-sdk 1.8.0 → 1.8.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.
@@ -10744,7 +10744,7 @@ class GameClientConfig {
10744
10744
  value: void 0
10745
10745
  });
10746
10746
  const storyManagerConfig = this.storyManager.config;
10747
- const sdkVersion = "1.8.0";
10747
+ const sdkVersion = "1.8.1";
10748
10748
  const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
10749
10749
  const session = this.storyManager.rootStore.sessionStore.session;
10750
10750
  this.sessionId = session.id;
@@ -21514,7 +21514,7 @@ class UgcEditorStore {
21514
21514
  const session = await this.storyManager.rootStore.sessionStore.open();
21515
21515
  const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
21516
21516
  const storyManagerConfig = this.storyManager.config;
21517
- const sdkVersion = "1.8.0";
21517
+ const sdkVersion = "1.8.1";
21518
21518
  this._config = {
21519
21519
  sessionId: session.id,
21520
21520
  apiKey: storyManagerConfig.apiKey,
@@ -21945,11 +21945,11 @@ class StoryManager extends TypedEventEmitter {
21945
21945
  return this._userAgent;
21946
21946
  }
21947
21947
  get sdkVersionName() {
21948
- const sdkVersionName = "1.8.0";
21948
+ const sdkVersionName = "1.8.1";
21949
21949
  return sdkVersionName || "0.0.0";
21950
21950
  }
21951
21951
  get sdkVersionCode() {
21952
- const sdkVersionCode = 10800;
21952
+ const sdkVersionCode = 10801;
21953
21953
  return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
21954
21954
  }
21955
21955
  get lang() {
@@ -22006,7 +22006,7 @@ class StoryManager extends TypedEventEmitter {
22006
22006
  this.rootStore.storyManagerConfigStore.setConfig(configDto);
22007
22007
  }
22008
22008
  setUserAgent(userAgent) {
22009
- const sdkVersionCode = 10800;
22009
+ const sdkVersionCode = 10801;
22010
22010
  const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
22011
22011
  // According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
22012
22012
  this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;