@inappstory/react-sdk 1.16.9 → 1.16.10

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.
@@ -4852,7 +4852,7 @@ class GameClientConfig {
4852
4852
  value: void 0
4853
4853
  });
4854
4854
  const storyManagerConfig = this.storyManager.config;
4855
- const sdkVersion = "1.16.9";
4855
+ const sdkVersion = "1.16.10";
4856
4856
  const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
4857
4857
  const session = this.storyManager.rootStore.sessionStore.session;
4858
4858
  this.sessionId = session.id;
@@ -5976,7 +5976,7 @@ class GameTextInputModule {
5976
5976
  const value = (0,showSystemTextInput/* showSystemTextInputFromGameConfig */.g)(config);
5977
5977
  session.sendMessage("cb", {
5978
5978
  cb,
5979
- arguments: JSON.stringify([id, value])
5979
+ arguments: JSON.stringify([JSON.stringify({ id, response: value })])
5980
5980
  });
5981
5981
  }
5982
5982
  catch (error) {
@@ -23616,7 +23616,7 @@ class UgcEditorStore {
23616
23616
  const session = await this.storyManager.rootStore.sessionStore.open();
23617
23617
  const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
23618
23618
  const storyManagerConfig = this.storyManager.config;
23619
- const sdkVersion = "1.16.9";
23619
+ const sdkVersion = "1.16.10";
23620
23620
  this._config = {
23621
23621
  sessionId: session.id,
23622
23622
  apiKey: storyManagerConfig.apiKey,
@@ -24092,11 +24092,11 @@ class StoryManager extends types/* TypedEventEmitter */.Xl {
24092
24092
  return api/* deviceDescriptor */.c2.deviceId;
24093
24093
  }
24094
24094
  get sdkVersionName() {
24095
- const sdkVersionName = "1.16.9";
24095
+ const sdkVersionName = "1.16.10";
24096
24096
  return sdkVersionName || "0.0.0";
24097
24097
  }
24098
24098
  get sdkVersionCode() {
24099
- const sdkVersionCode = 11609;
24099
+ const sdkVersionCode = 11610;
24100
24100
  return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
24101
24101
  }
24102
24102
  get lang() {
@@ -24160,7 +24160,7 @@ class StoryManager extends types/* TypedEventEmitter */.Xl {
24160
24160
  this.rootStore.storyManagerConfigStore.setConfig(configDto);
24161
24161
  }
24162
24162
  setUserAgent(userAgent) {
24163
- const sdkVersionCode = 11609;
24163
+ const sdkVersionCode = 11610;
24164
24164
  const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
24165
24165
  // According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
24166
24166
  this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;