@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.js CHANGED
@@ -17907,7 +17907,8 @@ ${injects.join("\n")}<\/script>`;
17907
17907
  presets: [],
17908
17908
  ...Array.from(settingConfigs.values()).reduce(
17909
17909
  (acc, config) => {
17910
- const configName = String(config?.name || "").split(".")[0];
17910
+ const fileName = config?.file_path?.split("/").pop() || "";
17911
+ const configName = fileName.split(".")[0];
17911
17912
  if (configName && config?.file_data) {
17912
17913
  let configValue;
17913
17914
  try {