@inappstory/react-sdk 1.15.6 → 1.15.7
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/dist/index.esm.mjs +5 -5
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
package/dist/index.esm.mjs
CHANGED
|
@@ -10475,7 +10475,7 @@ class GameClientConfig {
|
|
|
10475
10475
|
value: void 0
|
|
10476
10476
|
});
|
|
10477
10477
|
const storyManagerConfig = this.storyManager.config;
|
|
10478
|
-
const sdkVersion = "1.15.
|
|
10478
|
+
const sdkVersion = "1.15.7";
|
|
10479
10479
|
const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
|
|
10480
10480
|
const session = this.storyManager.rootStore.sessionStore.session;
|
|
10481
10481
|
this.sessionId = session.id;
|
|
@@ -22034,7 +22034,7 @@ class UgcEditorStore {
|
|
|
22034
22034
|
const session = await this.storyManager.rootStore.sessionStore.open();
|
|
22035
22035
|
const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
|
|
22036
22036
|
const storyManagerConfig = this.storyManager.config;
|
|
22037
|
-
const sdkVersion = "1.15.
|
|
22037
|
+
const sdkVersion = "1.15.7";
|
|
22038
22038
|
this._config = {
|
|
22039
22039
|
sessionId: session.id,
|
|
22040
22040
|
apiKey: storyManagerConfig.apiKey,
|
|
@@ -22494,11 +22494,11 @@ class StoryManager extends TypedEventEmitter {
|
|
|
22494
22494
|
return deviceDescriptor.deviceId;
|
|
22495
22495
|
}
|
|
22496
22496
|
get sdkVersionName() {
|
|
22497
|
-
const sdkVersionName = "1.15.
|
|
22497
|
+
const sdkVersionName = "1.15.7";
|
|
22498
22498
|
return sdkVersionName || "0.0.0";
|
|
22499
22499
|
}
|
|
22500
22500
|
get sdkVersionCode() {
|
|
22501
|
-
const sdkVersionCode =
|
|
22501
|
+
const sdkVersionCode = 11507;
|
|
22502
22502
|
return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
22503
22503
|
}
|
|
22504
22504
|
get lang() {
|
|
@@ -22562,7 +22562,7 @@ class StoryManager extends TypedEventEmitter {
|
|
|
22562
22562
|
this.rootStore.storyManagerConfigStore.setConfig(configDto);
|
|
22563
22563
|
}
|
|
22564
22564
|
setUserAgent(userAgent) {
|
|
22565
|
-
const sdkVersionCode =
|
|
22565
|
+
const sdkVersionCode = 11507;
|
|
22566
22566
|
const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
22567
22567
|
// According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
|
|
22568
22568
|
this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;
|