@adminide-stack/form-builder-core 5.1.4-alpha.45 → 5.1.4-alpha.46

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,10 @@
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.46](https://github.com/CDEBase/forms-stack/compare/v5.1.4-alpha.45...v5.1.4-alpha.46) (2025-09-23)
7
+
8
+ **Note:** Version bump only for package @adminide-stack/form-builder-core
9
+
6
10
  ## [5.1.4-alpha.45](https://github.com/CDEBase/forms-stack/compare/v5.1.4-alpha.44...v5.1.4-alpha.45) (2025-09-23)
7
11
 
8
12
  **Note:** Version bump only for package @adminide-stack/form-builder-core
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './inngest/types';
2
2
  export * from './inngest/generateFunctionCode';
3
- export * from './inngest/stepGenerator';
3
+ export { generateFromExtractedFunctions } from './inngest/stepGenerator';
package/lib/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './inngest/types';
2
2
  export * from './inngest/generateFunctionCode';
3
- export * from './inngest/stepGenerator';
3
+ export { generateFromExtractedFunctions } from './inngest/stepGenerator';
@@ -168,10 +168,8 @@ export function transformStepForExecution(stepFunction, stepType, stepLabel) {
168
168
  // Already has assignment, replace variable name
169
169
  return `const ${stepFunction.varName}_result = await step.${method}`;
170
170
  }
171
- else {
172
- // No assignment, add one
173
- return `const ${stepFunction.varName}_result = await step.${method}`;
174
- }
171
+ // No assignment, add one
172
+ return `const ${stepFunction.varName}_result = await step.${method}`;
175
173
  });
176
174
  // Find the original variable name from the step assignment
177
175
  const originalVarMatch = transformedBody.match(/const\s+(\w+)\s*=\s*await\s+step\./);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/form-builder-core",
3
- "version": "5.1.4-alpha.45",
3
+ "version": "5.1.4-alpha.46",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -16,5 +16,5 @@
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },
19
- "gitHead": "f33888f321560a1a295442f66aa27b454471af71"
19
+ "gitHead": "b927a9e8ed06f317cbdb03ad6b79e95095e62dbc"
20
20
  }
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './inngest/types';
2
2
  export * from './inngest/generateFunctionCode';
3
- export * from './inngest/stepGenerator';
3
+ export { generateFromExtractedFunctions } from './inngest/stepGenerator';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-use-before-define */
1
2
  import type {
2
3
  InngestFunctionDef,
3
4
  InngestStep,
@@ -202,10 +202,9 @@ export function transformStepForExecution(
202
202
  if (constPart) {
203
203
  // Already has assignment, replace variable name
204
204
  return `const ${stepFunction.varName}_result = await step.${method}`;
205
- } else {
206
- // No assignment, add one
207
- return `const ${stepFunction.varName}_result = await step.${method}`;
208
205
  }
206
+ // No assignment, add one
207
+ return `const ${stepFunction.varName}_result = await step.${method}`;
209
208
  },
210
209
  );
211
210
 
@@ -1 +1 @@
1
- {"root":["./src/index.ts","./src/inngest/generateFunctionCode.ts","./src/inngest/stepGenerator.ts","./src/inngest/types.ts"],"version":"5.9.2"}
1
+ {"root":["./src/index.ts","./src/inngest/generatefunctioncode.ts","./src/inngest/stepgenerator.ts","./src/inngest/types.ts"],"version":"5.9.2"}