@nodaro/prompts 1.32.0 → 1.33.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.cjs CHANGED
@@ -47629,7 +47629,7 @@ function computeNodeSendText(nodeType, data, args) {
47629
47629
  case "generate-image":
47630
47630
  return computeNodePrompt(nodeType, bare, { override: args.override, wired: args.wired, refMap: args.refMap });
47631
47631
  case "collection-write": {
47632
- const typed = [data.title, data.text, data.link].find((v) => present2(v));
47632
+ const typed = [data.title, data.text, data.link].map((v) => typeof v === "string" ? shared.resolveNodeRefs(v, args.refMap) : v).find((v) => present2(v));
47633
47633
  return [args.override, args.wired, typed].find(present2) ?? "";
47634
47634
  }
47635
47635
  default: