@particle-academy/fancy-flow 0.33.2 → 0.34.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/README.md CHANGED
@@ -228,9 +228,9 @@ To pass a custom element registry (the same one you give `CmsPage` at runtime,
228
228
  or the edit canvas renders your node types as blank placeholders):
229
229
 
230
230
  ```ts
231
- import { useFancyCmsForRichInput } from "@particle-academy/fancy-flow/rich-input";
231
+ import { registerFancyCmsForRichInput } from "@particle-academy/fancy-flow/rich-input";
232
232
 
233
- useFancyCmsForRichInput({ registry: myElements, data: previewData });
233
+ registerFancyCmsForRichInput({ registry: myElements, data: previewData });
234
234
  ```
235
235
 
236
236
  The underlying seam (`registerRichInputAdapter`) stays public if you need a
package/dist/engine.cjs CHANGED
@@ -516,7 +516,7 @@ function validateRuntimes(runtimes, problems) {
516
516
  }
517
517
  }
518
518
  }
519
- var VERSIONED = /(?:@|:)\s*[\^~>=<]*\s*\d/;
519
+ var VERSIONED = /(?:@|:)\s*(?:[\^~>=<]+\s*)?\d/;
520
520
  function validateFancyDependencies(deps, problems) {
521
521
  if (deps === void 0) return;
522
522
  if (!Array.isArray(deps)) {