@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.
package/dist/index.js CHANGED
@@ -715,10 +715,10 @@ var flatActions = (item) => {
715
715
  });
716
716
  };
717
717
  var flatStory = (story) => {
718
- const entries = Object.entries(story).map(([name, items]) => {
719
- return [name, flatActions(items)];
720
- });
721
- return Object.fromEntries(entries);
718
+ for (const key in story) {
719
+ story[key] = flatActions(story[key]);
720
+ }
721
+ return story;
722
722
  };
723
723
 
724
724
  // src/browser.ts