abckit 0.0.42 → 0.0.43
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/module.mjs +3 -3
- package/package.json +1 -1
package/dist/module.mjs
CHANGED
|
@@ -168,7 +168,7 @@ function getLocalIP() {
|
|
|
168
168
|
const localIP = isMobileDev ? getLocalIP() : null;
|
|
169
169
|
const mobileBaseURL = isMobileDev ? `http://${localIP}:3000` : "https://e.sayfa.app";
|
|
170
170
|
|
|
171
|
-
function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
|
|
171
|
+
async function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
|
|
172
172
|
nuxt.options.runtimeConfig.public.abckit = {
|
|
173
173
|
sentry: isSentryEnabled,
|
|
174
174
|
auth: {
|
|
@@ -186,7 +186,7 @@ function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
|
|
|
186
186
|
debug: nuxt.options.dev,
|
|
187
187
|
imgproxy: IMGPROXY_DEFAULTS
|
|
188
188
|
});
|
|
189
|
-
updateRuntimeConfig({
|
|
189
|
+
await updateRuntimeConfig({
|
|
190
190
|
modules: defu(options.modules, {
|
|
191
191
|
s3: false,
|
|
192
192
|
graphql: false,
|
|
@@ -359,7 +359,7 @@ const module$1 = defineNuxtModule({
|
|
|
359
359
|
const isSentryEnabled = isEnabled("sentry", "sentry");
|
|
360
360
|
const isGraphqlEnabled = isEnabled("graphql", "graphql");
|
|
361
361
|
setupDevtools(nuxt);
|
|
362
|
-
setupRuntimeConfig(nuxt, options, isSentryEnabled);
|
|
362
|
+
await setupRuntimeConfig(nuxt, options, isSentryEnabled);
|
|
363
363
|
setupAppHead(nuxt);
|
|
364
364
|
setupTypes();
|
|
365
365
|
setupHooks(nuxt, resolve);
|