@ikas/storefront 0.0.161-alpha.10 → 0.0.161-alpha.11
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/build/index.es.js +20 -16
- package/build/index.js +20 -16
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -38029,27 +38029,31 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
38029
38029
|
if (!isServer) return [3 /*break*/, 4];
|
|
38030
38030
|
_d = {};
|
|
38031
38031
|
_b = [{}];
|
|
38032
|
-
return [4 /*yield*/, serverSideTranslations(locale, componentDirs,
|
|
38033
|
-
|
|
38034
|
-
|
|
38035
|
-
|
|
38036
|
-
|
|
38037
|
-
|
|
38038
|
-
|
|
38039
|
-
|
|
38032
|
+
return [4 /*yield*/, serverSideTranslations(locale, componentDirs, isLocal
|
|
38033
|
+
? undefined
|
|
38034
|
+
: {
|
|
38035
|
+
i18n: {
|
|
38036
|
+
locales: nextI18nConf.i18n.locales,
|
|
38037
|
+
defaultLocale: nextI18nConf.i18n.defaultLocale,
|
|
38038
|
+
},
|
|
38039
|
+
serializeConfig: false,
|
|
38040
|
+
localePath: nextI18nConf.localePath,
|
|
38041
|
+
})];
|
|
38040
38042
|
case 3: return [2 /*return*/, (_d.props = __assign.apply(void 0, [__assign.apply(void 0, _b.concat([(_f.sent())])), provider.nextPageData.props]),
|
|
38041
38043
|
_d)];
|
|
38042
38044
|
case 4:
|
|
38043
38045
|
_e = {};
|
|
38044
38046
|
_c = [{}];
|
|
38045
|
-
return [4 /*yield*/, serverSideTranslations(locale, componentDirs,
|
|
38046
|
-
|
|
38047
|
-
|
|
38048
|
-
|
|
38049
|
-
|
|
38050
|
-
|
|
38051
|
-
|
|
38052
|
-
|
|
38047
|
+
return [4 /*yield*/, serverSideTranslations(locale, componentDirs, isLocal
|
|
38048
|
+
? undefined
|
|
38049
|
+
: {
|
|
38050
|
+
i18n: {
|
|
38051
|
+
locales: nextI18nConf.i18n.locales,
|
|
38052
|
+
defaultLocale: nextI18nConf.i18n.defaultLocale,
|
|
38053
|
+
},
|
|
38054
|
+
serializeConfig: false,
|
|
38055
|
+
localePath: nextI18nConf.localePath,
|
|
38056
|
+
})];
|
|
38053
38057
|
case 5: return [2 /*return*/, (_e.props = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), provider.nextPageData.props]),
|
|
38054
38058
|
_e.revalidate = 60,
|
|
38055
38059
|
_e)];
|
package/build/index.js
CHANGED
|
@@ -38006,27 +38006,31 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
38006
38006
|
if (!isServer) return [3 /*break*/, 4];
|
|
38007
38007
|
_d = {};
|
|
38008
38008
|
_b = [{}];
|
|
38009
|
-
return [4 /*yield*/, serverSideTranslations.serverSideTranslations(locale, componentDirs,
|
|
38010
|
-
|
|
38011
|
-
|
|
38012
|
-
|
|
38013
|
-
|
|
38014
|
-
|
|
38015
|
-
|
|
38016
|
-
|
|
38009
|
+
return [4 /*yield*/, serverSideTranslations.serverSideTranslations(locale, componentDirs, isLocal
|
|
38010
|
+
? undefined
|
|
38011
|
+
: {
|
|
38012
|
+
i18n: {
|
|
38013
|
+
locales: nextI18nConf.i18n.locales,
|
|
38014
|
+
defaultLocale: nextI18nConf.i18n.defaultLocale,
|
|
38015
|
+
},
|
|
38016
|
+
serializeConfig: false,
|
|
38017
|
+
localePath: nextI18nConf.localePath,
|
|
38018
|
+
})];
|
|
38017
38019
|
case 3: return [2 /*return*/, (_d.props = __assign.apply(void 0, [__assign.apply(void 0, _b.concat([(_f.sent())])), provider.nextPageData.props]),
|
|
38018
38020
|
_d)];
|
|
38019
38021
|
case 4:
|
|
38020
38022
|
_e = {};
|
|
38021
38023
|
_c = [{}];
|
|
38022
|
-
return [4 /*yield*/, serverSideTranslations.serverSideTranslations(locale, componentDirs,
|
|
38023
|
-
|
|
38024
|
-
|
|
38025
|
-
|
|
38026
|
-
|
|
38027
|
-
|
|
38028
|
-
|
|
38029
|
-
|
|
38024
|
+
return [4 /*yield*/, serverSideTranslations.serverSideTranslations(locale, componentDirs, isLocal
|
|
38025
|
+
? undefined
|
|
38026
|
+
: {
|
|
38027
|
+
i18n: {
|
|
38028
|
+
locales: nextI18nConf.i18n.locales,
|
|
38029
|
+
defaultLocale: nextI18nConf.i18n.defaultLocale,
|
|
38030
|
+
},
|
|
38031
|
+
serializeConfig: false,
|
|
38032
|
+
localePath: nextI18nConf.localePath,
|
|
38033
|
+
})];
|
|
38030
38034
|
case 5: return [2 /*return*/, (_e.props = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), provider.nextPageData.props]),
|
|
38031
38035
|
_e.revalidate = 60,
|
|
38032
38036
|
_e)];
|