@inappstory/react-sdk 1.11.4 → 1.12.0
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 +6 -6
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/package.json +2 -2
package/dist/index.esm.mjs
CHANGED
|
@@ -9875,7 +9875,7 @@ class GameClientConfig {
|
|
|
9875
9875
|
value: void 0
|
|
9876
9876
|
});
|
|
9877
9877
|
const storyManagerConfig = this.storyManager.config;
|
|
9878
|
-
const sdkVersion = "1.
|
|
9878
|
+
const sdkVersion = "1.12.0";
|
|
9879
9879
|
const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
|
|
9880
9880
|
const session = this.storyManager.rootStore.sessionStore.session;
|
|
9881
9881
|
this.sessionId = session.id;
|
|
@@ -20999,7 +20999,7 @@ class UgcEditorStore {
|
|
|
20999
20999
|
const session = await this.storyManager.rootStore.sessionStore.open();
|
|
21000
21000
|
const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
|
|
21001
21001
|
const storyManagerConfig = this.storyManager.config;
|
|
21002
|
-
const sdkVersion = "1.
|
|
21002
|
+
const sdkVersion = "1.12.0";
|
|
21003
21003
|
this._config = {
|
|
21004
21004
|
sessionId: session.id,
|
|
21005
21005
|
apiKey: storyManagerConfig.apiKey,
|
|
@@ -21459,11 +21459,11 @@ class StoryManager extends TypedEventEmitter {
|
|
|
21459
21459
|
return deviceDescriptor.deviceId;
|
|
21460
21460
|
}
|
|
21461
21461
|
get sdkVersionName() {
|
|
21462
|
-
const sdkVersionName = "1.
|
|
21462
|
+
const sdkVersionName = "1.12.0";
|
|
21463
21463
|
return sdkVersionName || "0.0.0";
|
|
21464
21464
|
}
|
|
21465
21465
|
get sdkVersionCode() {
|
|
21466
|
-
const sdkVersionCode =
|
|
21466
|
+
const sdkVersionCode = 11200;
|
|
21467
21467
|
return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
21468
21468
|
}
|
|
21469
21469
|
get lang() {
|
|
@@ -21527,7 +21527,7 @@ class StoryManager extends TypedEventEmitter {
|
|
|
21527
21527
|
this.rootStore.storyManagerConfigStore.setConfig(configDto);
|
|
21528
21528
|
}
|
|
21529
21529
|
setUserAgent(userAgent) {
|
|
21530
|
-
const sdkVersionCode =
|
|
21530
|
+
const sdkVersionCode = 11200;
|
|
21531
21531
|
const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
21532
21532
|
// According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
|
|
21533
21533
|
this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;
|
|
@@ -29704,7 +29704,7 @@ const useStoryCardOverlayStyles = ({ story, cardOptions, favoriteCardOptions, ug
|
|
|
29704
29704
|
const createCssMask = (cardOverlayMask, varName, index) => {
|
|
29705
29705
|
return {
|
|
29706
29706
|
maskImage: `var(--${varName}${index}Mask)`,
|
|
29707
|
-
|
|
29707
|
+
WebkitMaskImage: `var(--${varName}${index}Mask)`,
|
|
29708
29708
|
background: cardOverlayMask.background
|
|
29709
29709
|
};
|
|
29710
29710
|
};
|