@hot-updater/console 0.29.2 → 0.29.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-04-03T14:23:04.086Z",
2
+ "date": "2026-04-04T12:00:05.705Z",
3
3
  "preset": "node-server",
4
4
  "framework": {
5
5
  "name": "nitro",
@@ -1,6 +1,6 @@
1
1
  import "../_libs/@radix-ui/react-alert-dialog+[...].mjs";
2
2
  import { n as createServerFn, r as TSS_SERVER_FUNCTION } from "./ssr.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-D3ZehMIN.js
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-CVBxLaGD.js
4
4
  var createServerRpc = (serverFnMeta, splitImportFn) => {
5
5
  const url = "/_serverFn/" + serverFnMeta.id;
6
6
  return Object.assign(splitImportFn, {
@@ -16,7 +16,7 @@ var getConfig_createServerFn_handler = createServerRpc({
16
16
  }, (opts) => getConfig.__executeServer(opts));
17
17
  var getConfig = createServerFn().handler(getConfig_createServerFn_handler, async () => {
18
18
  try {
19
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
19
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
20
20
  const { config } = await prepareConfig();
21
21
  return { console: config.console };
22
22
  } catch (error) {
@@ -31,7 +31,7 @@ var getChannels_createServerFn_handler = createServerRpc({
31
31
  }, (opts) => getChannels.__executeServer(opts));
32
32
  var getChannels = createServerFn().handler(getChannels_createServerFn_handler, async () => {
33
33
  try {
34
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
34
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
35
35
  const { databasePlugin } = await prepareConfig();
36
36
  return await databasePlugin.getChannels() ?? [];
37
37
  } catch (error) {
@@ -46,7 +46,7 @@ var getConfigLoaded_createServerFn_handler = createServerRpc({
46
46
  }, (opts) => getConfigLoaded.__executeServer(opts));
47
47
  var getConfigLoaded = createServerFn().handler(getConfigLoaded_createServerFn_handler, async () => {
48
48
  try {
49
- const { isConfigLoaded } = await import("./config.server-JUYQ7UbI.mjs");
49
+ const { isConfigLoaded } = await import("./config.server-TLOyHGWx.mjs");
50
50
  return { configLoaded: isConfigLoaded() };
51
51
  } catch (error) {
52
52
  console.error("Error during config loaded retrieval:", error);
@@ -60,7 +60,7 @@ var getBundles_createServerFn_handler = createServerRpc({
60
60
  }, (opts) => getBundles.__executeServer(opts));
61
61
  var getBundles = createServerFn({ method: "GET" }).inputValidator((input) => input).handler(getBundles_createServerFn_handler, async ({ data }) => {
62
62
  try {
63
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
63
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
64
64
  const query = {
65
65
  channel: data?.channel ?? void 0,
66
66
  platform: data?.platform ?? void 0,
@@ -95,7 +95,7 @@ var getBundle_createServerFn_handler = createServerRpc({
95
95
  }, (opts) => getBundle.__executeServer(opts));
96
96
  var getBundle = createServerFn({ method: "GET" }).inputValidator((input) => input).handler(getBundle_createServerFn_handler, async ({ data }) => {
97
97
  try {
98
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
98
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
99
99
  const { databasePlugin } = await prepareConfig();
100
100
  return await databasePlugin.getBundleById(data.bundleId) ?? null;
101
101
  } catch (error) {
@@ -110,7 +110,7 @@ var getBundleDownloadUrl_createServerFn_handler = createServerRpc({
110
110
  }, (opts) => getBundleDownloadUrl.__executeServer(opts));
111
111
  var getBundleDownloadUrl = createServerFn({ method: "GET" }).inputValidator((input) => input).handler(getBundleDownloadUrl_createServerFn_handler, async ({ data }) => {
112
112
  try {
113
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
113
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
114
114
  const { databasePlugin, storagePlugin } = await prepareConfig();
115
115
  const bundle = await databasePlugin.getBundleById(data.bundleId);
116
116
  if (!bundle) throw new Error("Bundle not found");
@@ -135,7 +135,7 @@ var updateBundle_createServerFn_handler = createServerRpc({
135
135
  }, (opts) => updateBundle.__executeServer(opts));
136
136
  var updateBundle = createServerFn({ method: "POST" }).inputValidator((input) => input).handler(updateBundle_createServerFn_handler, async ({ data }) => {
137
137
  try {
138
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
138
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
139
139
  const { databasePlugin } = await prepareConfig();
140
140
  await databasePlugin.updateBundle(data.bundleId, data.bundle);
141
141
  await databasePlugin.commitBundle();
@@ -157,7 +157,7 @@ var promoteBundle_createServerFn_handler = createServerRpc({
157
157
  }, (opts) => promoteBundle.__executeServer(opts));
158
158
  var promoteBundle = createServerFn({ method: "POST" }).inputValidator((input) => input).handler(promoteBundle_createServerFn_handler, async ({ data }) => {
159
159
  try {
160
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
160
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
161
161
  const { promoteBundle: promoteBundleWithConfig } = await import("./promoteBundle-DtMHuubR.mjs");
162
162
  const { config, databasePlugin, storagePlugin } = await prepareConfig();
163
163
  return {
@@ -180,7 +180,7 @@ var createBundle_createServerFn_handler = createServerRpc({
180
180
  }, (opts) => createBundle.__executeServer(opts));
181
181
  var createBundle = createServerFn({ method: "POST" }).inputValidator((input) => input).handler(createBundle_createServerFn_handler, async ({ data }) => {
182
182
  try {
183
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
183
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
184
184
  const { databasePlugin } = await prepareConfig();
185
185
  await databasePlugin.appendBundle(data);
186
186
  await databasePlugin.commitBundle();
@@ -200,7 +200,7 @@ var deleteBundle_createServerFn_handler = createServerRpc({
200
200
  }, (opts) => deleteBundle.__executeServer(opts));
201
201
  var deleteBundle = createServerFn({ method: "POST" }).inputValidator((input) => input).handler(deleteBundle_createServerFn_handler, async ({ data }) => {
202
202
  try {
203
- const { prepareConfig } = await import("./config.server-JUYQ7UbI.mjs");
203
+ const { prepareConfig } = await import("./config.server-TLOyHGWx.mjs");
204
204
  const { deleteBundle: deleteBundleWithStorage } = await import("./deleteBundle-DWUxu9-K.mjs");
205
205
  const { databasePlugin, storagePlugin } = await prepareConfig();
206
206
  await deleteBundleWithStorage(data, {
@@ -0,0 +1,39 @@
1
+ import { loadConfig } from "@hot-updater/cli-tools";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/config.server-TLOyHGWx.js
3
+ var configPromise = null;
4
+ var storagePluginPromise = null;
5
+ var loadCachedConfig = async () => {
6
+ if (!configPromise) configPromise = loadConfig(null).catch((error) => {
7
+ configPromise = null;
8
+ throw error;
9
+ });
10
+ return configPromise;
11
+ };
12
+ var loadCachedStoragePlugin = async (config) => {
13
+ if (!storagePluginPromise) storagePluginPromise = Promise.resolve(config.storage()).then((storagePlugin) => {
14
+ if (!storagePlugin) throw new Error("Storage plugin initialization failed");
15
+ return storagePlugin;
16
+ }).catch((error) => {
17
+ storagePluginPromise = null;
18
+ throw error;
19
+ });
20
+ return storagePluginPromise;
21
+ };
22
+ var prepareConfig = async () => {
23
+ try {
24
+ const config = await loadCachedConfig();
25
+ const [databasePlugin, storagePlugin] = await Promise.all([config.database(), loadCachedStoragePlugin(config)]);
26
+ if (!databasePlugin) throw new Error("Database plugin initialization failed");
27
+ return {
28
+ config,
29
+ databasePlugin,
30
+ storagePlugin
31
+ };
32
+ } catch (error) {
33
+ console.error("Error during configuration initialization:", error);
34
+ throw error;
35
+ }
36
+ };
37
+ var isConfigLoaded = () => Boolean(configPromise);
38
+ //#endregion
39
+ export { isConfigLoaded, prepareConfig };
@@ -4408,43 +4408,43 @@ function createMultiplexedStream(jsonStream, rawStreams) {
4408
4408
  var manifest = {
4409
4409
  "51a34c05479a893c7d320bd4cd1604427289d667698c48b9f30a01aabf8a5e68": {
4410
4410
  functionName: "getConfig_createServerFn_handler",
4411
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4411
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4412
4412
  },
4413
4413
  "79ada05964de8f2123bfcd62b10097d59bf8fd689ef5c7161031e5871d8396c5": {
4414
4414
  functionName: "getChannels_createServerFn_handler",
4415
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4415
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4416
4416
  },
4417
4417
  "f8bdca3d0579adb812d6404f55d9261a89cdb025e920b1fcad82883646a5fe9e": {
4418
4418
  functionName: "getConfigLoaded_createServerFn_handler",
4419
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4419
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4420
4420
  },
4421
4421
  "00ccacb4a0212c83ec29f4d11719046ad91ea8291cfc557d514dbf00d3bd7f5f": {
4422
4422
  functionName: "getBundles_createServerFn_handler",
4423
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4423
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4424
4424
  },
4425
4425
  "1bd85c2a50e24785cb6abb023a247a9f048f37ddfa85cbb1c57e579563bad013": {
4426
4426
  functionName: "getBundle_createServerFn_handler",
4427
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4427
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4428
4428
  },
4429
4429
  "e000081a14772a0496dfdf615232fbbb1a23b89191d0e32f89a05dd67a1916f7": {
4430
4430
  functionName: "getBundleDownloadUrl_createServerFn_handler",
4431
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4431
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4432
4432
  },
4433
4433
  "67f90ce4cd10fd0226cd9d77cdcd8d0f25a59a6ac406360b655e44296bc4208b": {
4434
4434
  functionName: "updateBundle_createServerFn_handler",
4435
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4435
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4436
4436
  },
4437
4437
  "c4ef3bbb77ea8a4410623fd18a4741e2ff0668b1a97510bcdd032a8428eaa5da": {
4438
4438
  functionName: "promoteBundle_createServerFn_handler",
4439
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4439
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4440
4440
  },
4441
4441
  "16cc7c2f080ea5b73e0c6bba815b110dbd7727796036d248ba0d8ae819ddef08": {
4442
4442
  functionName: "createBundle_createServerFn_handler",
4443
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4443
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4444
4444
  },
4445
4445
  "3a27ff5679228b86a346b3fe42142e7a5bf0264f73173c0dbe5f07fb37c43cf7": {
4446
4446
  functionName: "deleteBundle_createServerFn_handler",
4447
- importer: () => import("./api-rpc-D3ZehMIN.mjs")
4447
+ importer: () => import("./api-rpc-CVBxLaGD.mjs")
4448
4448
  }
4449
4449
  };
4450
4450
  async function getServerFnById(id) {
@@ -71,124 +71,124 @@ var headers = ((m) => function headersRouteRule(event) {
71
71
  //#endregion
72
72
  //#region #nitro/virtual/public-assets-data
73
73
  var public_assets_data_default = {
74
+ "/favicon-16x16.png": {
75
+ "type": "image/png",
76
+ "etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
77
+ "mtime": "2026-04-04T12:00:04.526Z",
78
+ "size": 576,
79
+ "path": "../public/favicon-16x16.png"
80
+ },
74
81
  "/apple-touch-icon.png": {
75
82
  "type": "image/png",
76
83
  "etag": "\"329e-uyxOmLQHjRnOIdaE3FE7O/uZ9l4\"",
77
- "mtime": "2026-04-03T14:23:02.936Z",
84
+ "mtime": "2026-04-04T12:00:04.526Z",
78
85
  "size": 12958,
79
86
  "path": "../public/apple-touch-icon.png"
80
87
  },
81
88
  "/favicon-32x32.png": {
82
89
  "type": "image/png",
83
90
  "etag": "\"4f0-0qQrV3Eq3PzIigrp+8htf8vFCYA\"",
84
- "mtime": "2026-04-03T14:23:02.937Z",
91
+ "mtime": "2026-04-04T12:00:04.526Z",
85
92
  "size": 1264,
86
93
  "path": "../public/favicon-32x32.png"
87
94
  },
88
- "/favicon-16x16.png": {
89
- "type": "image/png",
90
- "etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
91
- "mtime": "2026-04-03T14:23:02.936Z",
92
- "size": 576,
93
- "path": "../public/favicon-16x16.png"
94
- },
95
95
  "/favicon.ico": {
96
96
  "type": "image/vnd.microsoft.icon",
97
97
  "etag": "\"3c2e-eMwmbJNNg6G+Uu+rqWtuvtI2Om4\"",
98
- "mtime": "2026-04-03T14:23:02.937Z",
98
+ "mtime": "2026-04-04T12:00:04.526Z",
99
99
  "size": 15406,
100
100
  "path": "../public/favicon.ico"
101
101
  },
102
102
  "/logo.svg": {
103
103
  "type": "image/svg+xml",
104
104
  "etag": "\"478-zKvD9Jp5dDLCBmng0McewYMBxfs\"",
105
- "mtime": "2026-04-03T14:23:02.937Z",
105
+ "mtime": "2026-04-04T12:00:04.526Z",
106
106
  "size": 1144,
107
107
  "path": "../public/logo.svg"
108
108
  },
109
109
  "/manifest.json": {
110
110
  "type": "application/json",
111
111
  "etag": "\"258-CQdbkGDhbZhU+yrcSXanXKWFEpw\"",
112
- "mtime": "2026-04-03T14:23:02.937Z",
112
+ "mtime": "2026-04-04T12:00:04.526Z",
113
113
  "size": 600,
114
114
  "path": "../public/manifest.json"
115
115
  },
116
116
  "/robots.txt": {
117
117
  "type": "text/plain; charset=utf-8",
118
118
  "etag": "\"43-BEzmj4PuhUNHX+oW9uOnPSihxtU\"",
119
- "mtime": "2026-04-03T14:23:02.937Z",
119
+ "mtime": "2026-04-04T12:00:04.526Z",
120
120
  "size": 67,
121
121
  "path": "../public/robots.txt"
122
122
  },
123
123
  "/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2": {
124
124
  "type": "font/woff2",
125
125
  "etag": "\"6568-cF1iUGbboMFZ8TfnP5HiMgl9II0\"",
126
- "mtime": "2026-04-03T14:23:02.181Z",
126
+ "mtime": "2026-04-04T12:00:03.728Z",
127
127
  "size": 25960,
128
128
  "path": "../public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2"
129
129
  },
130
+ "/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
131
+ "type": "font/woff2",
132
+ "etag": "\"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ\"",
133
+ "mtime": "2026-04-04T12:00:03.728Z",
134
+ "size": 18748,
135
+ "path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
136
+ },
130
137
  "/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2": {
131
138
  "type": "font/woff2",
132
139
  "etag": "\"2be0-BP5iTzJeB8nLqYAgKpWNi5o1Zm8\"",
133
- "mtime": "2026-04-03T14:23:02.181Z",
140
+ "mtime": "2026-04-04T12:00:03.728Z",
134
141
  "size": 11232,
135
142
  "path": "../public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2"
136
143
  },
137
144
  "/assets/inter-greek-wght-normal-CkhJZR-_.woff2": {
138
145
  "type": "font/woff2",
139
146
  "etag": "\"4a34-xor/hj4YNqI52zFecXnUbzQ4Xs4\"",
140
- "mtime": "2026-04-03T14:23:02.181Z",
147
+ "mtime": "2026-04-04T12:00:03.728Z",
141
148
  "size": 18996,
142
149
  "path": "../public/assets/inter-greek-wght-normal-CkhJZR-_.woff2"
143
150
  },
144
151
  "/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
145
152
  "type": "font/woff2",
146
153
  "etag": "\"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ\"",
147
- "mtime": "2026-04-03T14:23:02.181Z",
154
+ "mtime": "2026-04-04T12:00:03.728Z",
148
155
  "size": 85068,
149
156
  "path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
150
157
  },
151
158
  "/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": {
152
159
  "type": "font/woff2",
153
160
  "etag": "\"bc80-8R1ym7Ck2DUNLqPQ/AYs9u8tUpg\"",
154
- "mtime": "2026-04-03T14:23:02.181Z",
161
+ "mtime": "2026-04-04T12:00:03.728Z",
155
162
  "size": 48256,
156
163
  "path": "../public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2"
157
164
  },
158
165
  "/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2": {
159
166
  "type": "font/woff2",
160
167
  "etag": "\"280c-nBythjoDQ0+5wVAendJ6wU7Xz2M\"",
161
- "mtime": "2026-04-03T14:23:02.181Z",
168
+ "mtime": "2026-04-04T12:00:03.728Z",
162
169
  "size": 10252,
163
170
  "path": "../public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2"
164
171
  },
165
172
  "/assets/main-Dlx8-qN-.js": {
166
173
  "type": "text/javascript; charset=utf-8",
167
174
  "etag": "\"787be-CeNiIm+8hi12YIUcPI+BeocO3xE\"",
168
- "mtime": "2026-04-03T14:23:02.179Z",
175
+ "mtime": "2026-04-04T12:00:03.727Z",
169
176
  "size": 493502,
170
177
  "path": "../public/assets/main-Dlx8-qN-.js"
171
178
  },
172
179
  "/assets/routes-DB0tWmiJ.js": {
173
180
  "type": "text/javascript; charset=utf-8",
174
181
  "etag": "\"33432-UyAsBMnU9T2V9ystwTzCbstnIm0\"",
175
- "mtime": "2026-04-03T14:23:02.180Z",
182
+ "mtime": "2026-04-04T12:00:03.728Z",
176
183
  "size": 209970,
177
184
  "path": "../public/assets/routes-DB0tWmiJ.js"
178
185
  },
179
186
  "/assets/styles-Bfxg4M1x.css": {
180
187
  "type": "text/css; charset=utf-8",
181
188
  "etag": "\"16bc6-p7C0HAFVLco8kaVMGNcx6RYBlpk\"",
182
- "mtime": "2026-04-03T14:23:02.181Z",
189
+ "mtime": "2026-04-04T12:00:03.728Z",
183
190
  "size": 93126,
184
191
  "path": "../public/assets/styles-Bfxg4M1x.css"
185
- },
186
- "/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
187
- "type": "font/woff2",
188
- "etag": "\"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ\"",
189
- "mtime": "2026-04-03T14:23:02.181Z",
190
- "size": 18748,
191
- "path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
192
192
  }
193
193
  };
194
194
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/console",
3
3
  "type": "module",
4
- "version": "0.29.2",
4
+ "version": "0.29.3",
5
5
  "files": [
6
6
  ".output",
7
7
  "package.json"
@@ -10,7 +10,7 @@
10
10
  "./package.json": "./package.json"
11
11
  },
12
12
  "peerDependencies": {
13
- "@hot-updater/cli-tools": "0.29.2"
13
+ "@hot-updater/cli-tools": "0.29.3"
14
14
  },
15
15
  "devDependencies": {
16
16
  "tslib": "^2.8.1",
@@ -58,10 +58,10 @@
58
58
  "vite-tsconfig-paths": "^6.1.1",
59
59
  "vitest": "4.1.0",
60
60
  "web-vitals": "^5.1.0",
61
- "@hot-updater/core": "0.29.2",
62
- "@hot-updater/mock": "0.29.2",
63
- "@hot-updater/plugin-core": "0.29.2",
64
- "@hot-updater/cli-tools": "0.29.2"
61
+ "@hot-updater/cli-tools": "0.29.3",
62
+ "@hot-updater/plugin-core": "0.29.3",
63
+ "@hot-updater/core": "0.29.3",
64
+ "@hot-updater/mock": "0.29.3"
65
65
  },
66
66
  "description": "React Native OTA solution for self-hosted",
67
67
  "license": "MIT",
@@ -1,26 +0,0 @@
1
- import { loadConfig } from "@hot-updater/cli-tools";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/config.server-JUYQ7UbI.js
3
- var configPromise = null;
4
- var prepareConfig = async () => {
5
- if (!configPromise) configPromise = (async () => {
6
- try {
7
- const config = await loadConfig(null);
8
- const databasePlugin = await config.database();
9
- const storagePlugin = await config.storage();
10
- if (!databasePlugin) throw new Error("Database plugin initialization failed");
11
- if (!storagePlugin) throw new Error("Storage plugin initialization failed");
12
- return {
13
- config,
14
- databasePlugin,
15
- storagePlugin
16
- };
17
- } catch (error) {
18
- console.error("Error during configuration initialization:", error);
19
- throw error;
20
- }
21
- })();
22
- return configPromise;
23
- };
24
- var isConfigLoaded = () => !!configPromise;
25
- //#endregion
26
- export { isConfigLoaded, prepareConfig };