@zapier/kitcore 0.5.0 → 0.5.1

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.mjs CHANGED
@@ -3260,12 +3260,16 @@ async function advance(ctx, state) {
3260
3260
  }
3261
3261
  }
3262
3262
  async function start(ctx, input = {}, interactive = true) {
3263
- return advance(ctx, {
3263
+ const state = {
3264
3264
  method: ctx.method,
3265
3265
  resolved: { ...input },
3266
3266
  settled: [],
3267
3267
  interactive
3268
- });
3268
+ };
3269
+ for (const [name, value] of Object.entries(input)) {
3270
+ if (value !== void 0) settle(state, [name]);
3271
+ }
3272
+ return advance(ctx, state);
3269
3273
  }
3270
3274
  async function step(ctx, prior, action) {
3271
3275
  const state = clone(prior);