@adminide-stack/form-builder-core 5.1.4-alpha.44 → 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 +8 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/inngest/stepGenerator.js +2 -4
- package/package.json +2 -2
- package/src/index.ts +1 -1
- package/src/inngest/generateFunctionCode.ts +1 -0
- package/src/inngest/stepGenerator.ts +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
|
|
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)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @adminide-stack/form-builder-core
|
|
13
|
+
|
|
6
14
|
## [5.1.4-alpha.44](https://github.com/CDEBase/forms-stack/compare/v5.1.4-alpha.43...v5.1.4-alpha.44) (2025-09-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @adminide-stack/form-builder-core
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -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
|
-
|
|
172
|
-
|
|
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.
|
|
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": "
|
|
19
|
+
"gitHead": "b927a9e8ed06f317cbdb03ad6b79e95095e62dbc"
|
|
20
20
|
}
|
package/src/index.ts
CHANGED
|
@@ -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
|
|