@inappstory/react-sdk 1.9.2 → 1.9.3
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 +7 -7
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.mjs
CHANGED
|
@@ -850,7 +850,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
850
850
|
|
|
851
851
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
852
852
|
// Module
|
|
853
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".story--ieMN1{height:100%;width:100%;
|
|
853
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".story--ieMN1{height:100%;width:100%;position:relative;backface-visibility:hidden;transform:translateZ(0);overflow:hidden;border-radius:var(--slide-border-radius, 0)}@supports(clip-path: inset(0 round 0)){.story--ieMN1{overflow:visible;border-radius:0;clip-path:inset(0 round var(--slide-border-radius, 0px))}}.story--ieMN1.story_mobile--ugLFZ{border-radius:0}.story--ieMN1.story_mobile--ugLFZ .story-slides--Ekd4b{border-radius:var(--slide-border-radius, 0)}.story--ieMN1 .story-slides--Ekd4b{position:absolute;overflow:hidden;top:0;left:0;bottom:0;right:0}", "",{"version":3,"sources":["webpack://./src/StoryReader/Story/story.module.scss"],"names":[],"mappings":"AAAA,cACI,WAAA,CACA,UAAA,CACA,iBAAA,CACA,0BAAA,CACA,uBAAA,CACA,eAAA,CACA,2CAAA,CAEA,uCATJ,cAUQ,gBAAA,CACA,eAAA,CACA,wDAAA,CAAA,CAGJ,kCACI,eAAA,CAEA,uDACI,2CAAA,CAIR,mCACI,iBAAA,CACA,eAAA,CACA,KAAA,CACA,MAAA,CACA,QAAA,CACA,OAAA","sourcesContent":[".story {\n height: 100%;\n width: 100%;\n position: relative;\n backface-visibility: hidden;\n transform: translateZ(0);\n overflow: hidden;\n border-radius: var(--slide-border-radius, 0);\n\n @supports (clip-path: inset(0 round 0)) {\n overflow: visible;\n border-radius: 0;\n clip-path: inset(0 round var(--slide-border-radius, 0px));\n }\n\n &.story_mobile {\n border-radius: 0;\n\n .story-slides {\n border-radius: var(--slide-border-radius, 0);\n }\n }\n\n .story-slides {\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n }\n}"],"sourceRoot":""}]);
|
|
854
854
|
// Exports
|
|
855
855
|
___CSS_LOADER_EXPORT___.locals = {
|
|
856
856
|
"story": "story--ieMN1",
|
|
@@ -10473,7 +10473,7 @@ class GameClientConfig {
|
|
|
10473
10473
|
value: void 0
|
|
10474
10474
|
});
|
|
10475
10475
|
const storyManagerConfig = this.storyManager.config;
|
|
10476
|
-
const sdkVersion = "1.9.
|
|
10476
|
+
const sdkVersion = "1.9.3";
|
|
10477
10477
|
const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
|
|
10478
10478
|
const session = this.storyManager.rootStore.sessionStore.session;
|
|
10479
10479
|
this.sessionId = session.id;
|
|
@@ -11682,9 +11682,9 @@ let GameReaderViewModel = (() => {
|
|
|
11682
11682
|
async createAndOpenSession({ iframe, game, params }) {
|
|
11683
11683
|
const gameOrigin = new URL(game.url).origin;
|
|
11684
11684
|
const session = this.gameSessionFactory.create(iframe, gameOrigin);
|
|
11685
|
+
this.useGameModules(session, game);
|
|
11685
11686
|
const dto = game.toInitDto(params);
|
|
11686
11687
|
await session.open(dto);
|
|
11687
|
-
this.useGameModules(session, game);
|
|
11688
11688
|
this.storyManager.emit("startGame", { id: game.id });
|
|
11689
11689
|
return session;
|
|
11690
11690
|
}
|
|
@@ -21038,7 +21038,7 @@ class UgcEditorStore {
|
|
|
21038
21038
|
const session = await this.storyManager.rootStore.sessionStore.open();
|
|
21039
21039
|
const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
|
|
21040
21040
|
const storyManagerConfig = this.storyManager.config;
|
|
21041
|
-
const sdkVersion = "1.9.
|
|
21041
|
+
const sdkVersion = "1.9.3";
|
|
21042
21042
|
this._config = {
|
|
21043
21043
|
sessionId: session.id,
|
|
21044
21044
|
apiKey: storyManagerConfig.apiKey,
|
|
@@ -21509,11 +21509,11 @@ class StoryManager extends TypedEventEmitter {
|
|
|
21509
21509
|
return deviceDescriptor.deviceId;
|
|
21510
21510
|
}
|
|
21511
21511
|
get sdkVersionName() {
|
|
21512
|
-
const sdkVersionName = "1.9.
|
|
21512
|
+
const sdkVersionName = "1.9.3";
|
|
21513
21513
|
return sdkVersionName || "0.0.0";
|
|
21514
21514
|
}
|
|
21515
21515
|
get sdkVersionCode() {
|
|
21516
|
-
const sdkVersionCode =
|
|
21516
|
+
const sdkVersionCode = 10903;
|
|
21517
21517
|
return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
21518
21518
|
}
|
|
21519
21519
|
get lang() {
|
|
@@ -21577,7 +21577,7 @@ class StoryManager extends TypedEventEmitter {
|
|
|
21577
21577
|
this.rootStore.storyManagerConfigStore.setConfig(configDto);
|
|
21578
21578
|
}
|
|
21579
21579
|
setUserAgent(userAgent) {
|
|
21580
|
-
const sdkVersionCode =
|
|
21580
|
+
const sdkVersionCode = 10903;
|
|
21581
21581
|
const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
21582
21582
|
// According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
|
|
21583
21583
|
this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;
|