@inappstory/react-sdk 1.8.0-rc.14 → 1.8.0-rc.15
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
CHANGED
|
@@ -10744,7 +10744,7 @@ class GameClientConfig {
|
|
|
10744
10744
|
value: void 0
|
|
10745
10745
|
});
|
|
10746
10746
|
const storyManagerConfig = this.storyManager.config;
|
|
10747
|
-
const sdkVersion = "1.8.0-rc.
|
|
10747
|
+
const sdkVersion = "1.8.0-rc.15";
|
|
10748
10748
|
const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
|
|
10749
10749
|
const session = this.storyManager.rootStore.sessionStore.session;
|
|
10750
10750
|
this.sessionId = session.id;
|
|
@@ -21514,7 +21514,7 @@ class UgcEditorStore {
|
|
|
21514
21514
|
const session = await this.storyManager.rootStore.sessionStore.open();
|
|
21515
21515
|
const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
|
|
21516
21516
|
const storyManagerConfig = this.storyManager.config;
|
|
21517
|
-
const sdkVersion = "1.8.0-rc.
|
|
21517
|
+
const sdkVersion = "1.8.0-rc.15";
|
|
21518
21518
|
this._config = {
|
|
21519
21519
|
sessionId: session.id,
|
|
21520
21520
|
apiKey: storyManagerConfig.apiKey,
|
|
@@ -21945,7 +21945,7 @@ class StoryManager extends TypedEventEmitter {
|
|
|
21945
21945
|
return this._userAgent;
|
|
21946
21946
|
}
|
|
21947
21947
|
get sdkVersionName() {
|
|
21948
|
-
const sdkVersionName = "1.8.0-rc.
|
|
21948
|
+
const sdkVersionName = "1.8.0-rc.15";
|
|
21949
21949
|
return sdkVersionName || "0.0.0";
|
|
21950
21950
|
}
|
|
21951
21951
|
get sdkVersionCode() {
|
|
@@ -24327,10 +24327,7 @@ const Loader = (0,external_mobx_react_lite_namespaceObject.observer)((props) =>
|
|
|
24327
24327
|
const isLoading = props.needShowLoaderScreen;
|
|
24328
24328
|
if (!isLoading && !needShowReloadBtn)
|
|
24329
24329
|
return null;
|
|
24330
|
-
return ((0,jsx_runtime_namespaceObject.jsx)("div", { className: (0,external_classnames_namespaceObject["default"])(Loader_loader_module["loader"]), style: {
|
|
24331
|
-
"--loader-background": props.background,
|
|
24332
|
-
"--loaderBackgroundColor": props.color
|
|
24333
|
-
}, onClick: e => {
|
|
24330
|
+
return ((0,jsx_runtime_namespaceObject.jsx)("div", { className: (0,external_classnames_namespaceObject["default"])(Loader_loader_module["loader"]), style: Object.assign({ "--loader-background": props.background, "--loaderBackgroundColor": props.color }, props.style), onClick: e => {
|
|
24334
24331
|
e.preventDefault();
|
|
24335
24332
|
}, children: needShowReloadBtn ? ((0,jsx_runtime_namespaceObject.jsx)(RefreshIcon, { className: Loader_loader_module["loader__refresh-btn"], onClick: e => {
|
|
24336
24333
|
e.stopPropagation();
|