@inappstory/react-sdk 1.15.1 → 1.15.2
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.esm.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/appearance-manager/appearanceCommon.d.ts +1 -1
- package/dist/types/appearance-manager/gameReader.d.ts +3 -6
- package/dist/types/appearance-manager/goodsWidget.d.ts +1 -1
- package/dist/types/appearance-manager/storiesList.d.ts +1 -1
- package/dist/types/appearance-manager/storyReader.d.ts +3 -3
- package/dist/types/ias-container/IasContainer.d.ts +4 -3
- package/dist/types/ias-container/appearanceOptionsProps.d.ts +1 -1
- package/dist/types/ias-container/storyManagerEventsProps.d.ts +1 -1
- package/dist/types/in-app-messaging/inAppMessaging.d.ts +1 -1
- package/dist/types/story-list/FavoriteStoryList.d.ts +3 -3
- package/dist/types/story-list/StoryList.d.ts +7 -7
- package/dist/types/story-list/UGCStoryList.d.ts +6 -6
- package/dist/types/story-list/favoriteCardCompositeViewModel.ts +1 -1
- package/dist/types/story-list/favoriteStoryCardViewModel.d.ts +1 -1
- package/dist/types/story-list/storyCardViewModel.d.ts +1 -1
- package/dist/types/storyManager.d.ts +3 -4
- package/package.json +1 -1
- package/plugins/banners/index.umd.js +1 -0
- package/plugins/banners/package.json +9 -1
package/dist/index.esm.mjs
CHANGED
|
@@ -10356,7 +10356,7 @@ class GameClientConfig {
|
|
|
10356
10356
|
value: void 0
|
|
10357
10357
|
});
|
|
10358
10358
|
const storyManagerConfig = this.storyManager.config;
|
|
10359
|
-
const sdkVersion = "1.15.
|
|
10359
|
+
const sdkVersion = "1.15.2";
|
|
10360
10360
|
const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
|
|
10361
10361
|
const session = this.storyManager.rootStore.sessionStore.session;
|
|
10362
10362
|
this.sessionId = session.id;
|
|
@@ -21933,7 +21933,7 @@ class UgcEditorStore {
|
|
|
21933
21933
|
const session = await this.storyManager.rootStore.sessionStore.open();
|
|
21934
21934
|
const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
|
|
21935
21935
|
const storyManagerConfig = this.storyManager.config;
|
|
21936
|
-
const sdkVersion = "1.15.
|
|
21936
|
+
const sdkVersion = "1.15.2";
|
|
21937
21937
|
this._config = {
|
|
21938
21938
|
sessionId: session.id,
|
|
21939
21939
|
apiKey: storyManagerConfig.apiKey,
|
|
@@ -22393,11 +22393,11 @@ class StoryManager extends TypedEventEmitter {
|
|
|
22393
22393
|
return deviceDescriptor.deviceId;
|
|
22394
22394
|
}
|
|
22395
22395
|
get sdkVersionName() {
|
|
22396
|
-
const sdkVersionName = "1.15.
|
|
22396
|
+
const sdkVersionName = "1.15.2";
|
|
22397
22397
|
return sdkVersionName || "0.0.0";
|
|
22398
22398
|
}
|
|
22399
22399
|
get sdkVersionCode() {
|
|
22400
|
-
const sdkVersionCode =
|
|
22400
|
+
const sdkVersionCode = 11502;
|
|
22401
22401
|
return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
22402
22402
|
}
|
|
22403
22403
|
get lang() {
|
|
@@ -22461,7 +22461,7 @@ class StoryManager extends TypedEventEmitter {
|
|
|
22461
22461
|
this.rootStore.storyManagerConfigStore.setConfig(configDto);
|
|
22462
22462
|
}
|
|
22463
22463
|
setUserAgent(userAgent) {
|
|
22464
|
-
const sdkVersionCode =
|
|
22464
|
+
const sdkVersionCode = 11502;
|
|
22465
22465
|
const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
22466
22466
|
// According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
|
|
22467
22467
|
this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;
|