@lunnoa/client 2.3.0 → 2.4.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/react.cjs CHANGED
@@ -1850,7 +1850,9 @@ function stepFromDefinition(step) {
1850
1850
  ...use.input ?? {},
1851
1851
  ...step.input ?? {}
1852
1852
  };
1853
+ const key = step.key;
1853
1854
  return {
1855
+ ...key ? { key } : {},
1854
1856
  appId: resolveActionAppId(use),
1855
1857
  actionId: resolveActionId(use),
1856
1858
  ...use.connection?.id ? { connectionId: use.connection.id } : {},
@@ -2066,6 +2068,7 @@ function triggerToUpsertInput(trigger) {
2066
2068
  function stepToUpsertInput(step) {
2067
2069
  const use = step.use;
2068
2070
  return {
2071
+ ...step.key ? { key: step.key } : {},
2069
2072
  appId: resolveActionAppId(use),
2070
2073
  actionId: resolveActionId(use),
2071
2074
  connectionId: use.connection?.id,