@adminide-stack/form-builder-core 5.1.4-alpha.57 → 5.1.4-alpha.62

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.1.4-alpha.62](https://github.com/CDEBase/forms-stack/compare/v5.1.4-alpha.61...v5.1.4-alpha.62) (2025-10-11)
7
+
8
+ **Note:** Version bump only for package @adminide-stack/form-builder-core
9
+
10
+ ## [5.1.4-alpha.61](https://github.com/CDEBase/forms-stack/compare/v5.1.4-alpha.60...v5.1.4-alpha.61) (2025-10-11)
11
+
12
+ **Note:** Version bump only for package @adminide-stack/form-builder-core
13
+
14
+ ## [5.1.4-alpha.58](https://github.com/CDEBase/forms-stack/compare/v5.1.4-alpha.57...v5.1.4-alpha.58) (2025-10-06)
15
+
16
+ **Note:** Version bump only for package @adminide-stack/form-builder-core
17
+
6
18
  ## [5.1.4-alpha.57](https://github.com/CDEBase/forms-stack/compare/v5.1.4-alpha.56...v5.1.4-alpha.57) (2025-10-03)
7
19
 
8
20
  **Note:** Version bump only for package @adminide-stack/form-builder-core
@@ -54,8 +54,8 @@ ${indent(body, 4)}
54
54
  // New: return only the handler body that backend executes and editor displays
55
55
  function generateHandlerBody(def) {
56
56
  const stepBlocks = def.steps.map((step, index) => generateStepBlock(step, index + 1)).join('\n');
57
- const footer = `return {\n functionId: '${def.id}',\n steps: ${def.steps.length},\n timestamp: new Date().toISOString()\n};`;
58
- return `${stepBlocks}\n${footer}`;
57
+ // Footer removed: callers should append their own consolidated return as needed
58
+ return `${stepBlocks}`;
59
59
  }
60
60
  // Generate Inngest function from database-extracted functions
61
61
  function generateStepFunctionsFromDB(functionId, events, extractedFunctions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/form-builder-core",
3
- "version": "5.1.4-alpha.57",
3
+ "version": "5.1.4-alpha.62",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "fccab5ed598b2ab2519d09d06c0e857ba8321abc"
27
+ "gitHead": "fcec3b786ecb2cf883d2ca10d7e97bc7381f341d"
28
28
  }
@@ -89,8 +89,8 @@ ${indent(body, 4)}
89
89
  // New: return only the handler body that backend executes and editor displays
90
90
  export function generateHandlerBody(def: InngestFunctionDef): string {
91
91
  const stepBlocks = def.steps.map((step, index) => generateStepBlock(step, index + 1)).join('\n');
92
- const footer = `return {\n functionId: '${def.id}',\n steps: ${def.steps.length},\n timestamp: new Date().toISOString()\n};`;
93
- return `${stepBlocks}\n${footer}`;
92
+ // Footer removed: callers should append their own consolidated return as needed
93
+ return `${stepBlocks}`;
94
94
  }
95
95
 
96
96
  // Generate Inngest function from database-extracted functions