@swell/apps-sdk 1.0.189 → 1.0.190

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.mjs CHANGED
@@ -17888,7 +17888,8 @@ var SwellTheme3 = class {
17888
17888
  presets: [],
17889
17889
  ...Array.from(settingConfigs.values()).reduce(
17890
17890
  (acc, config) => {
17891
- const configName = String(config?.name || "").split(".")[0];
17891
+ const fileName = config?.file_path?.split("/").pop() || "";
17892
+ const configName = fileName.split(".")[0];
17892
17893
  if (configName && config?.file_data) {
17893
17894
  let configValue;
17894
17895
  try {