@doeixd/machine 0.0.5 → 0.0.6

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.
@@ -135,12 +135,12 @@ function attachRuntimeMeta(fn, metadata2) {
135
135
  const existing = fn[RUNTIME_META] || {};
136
136
  const merged = { ...existing, ...metadata2 };
137
137
  if (metadata2.guards && existing.guards) {
138
- merged.guards = [...existing.guards, ...metadata2.guards];
138
+ merged.guards = [...metadata2.guards, ...existing.guards];
139
139
  } else if (metadata2.guards) {
140
140
  merged.guards = [...metadata2.guards];
141
141
  }
142
142
  if (metadata2.actions && existing.actions) {
143
- merged.actions = [...existing.actions, ...metadata2.actions];
143
+ merged.actions = [...metadata2.actions, ...existing.actions];
144
144
  } else if (metadata2.actions) {
145
145
  merged.actions = [...metadata2.actions];
146
146
  }