@novely/core 0.46.0-next.4 → 0.46.0

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.
@@ -1054,10 +1054,10 @@ var Novely = (() => {
1054
1054
  });
1055
1055
  };
1056
1056
  var flatStory = (story) => {
1057
- const entries = Object.entries(story).map(([name, items]) => {
1058
- return [name, flatActions(items)];
1059
- });
1060
- return Object.fromEntries(entries);
1057
+ for (const key in story) {
1058
+ story[key] = flatActions(story[key]);
1059
+ }
1060
+ return story;
1061
1061
  };
1062
1062
 
1063
1063
  // src/browser.ts