@xano/developer-mcp 1.0.43 → 1.0.44
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.
|
@@ -138,10 +138,15 @@ stack {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
// Foreach (array iteration)
|
|
141
|
+
// Foreach (array iteration) - no built-in index; count manually if needed
|
|
142
|
+
var $index {
|
|
143
|
+
value = 0
|
|
144
|
+
}
|
|
142
145
|
foreach ($input.items) {
|
|
143
146
|
each as $item {
|
|
144
147
|
debug.log { value = $item.name }
|
|
148
|
+
debug.log { value = $index }
|
|
149
|
+
math.add $index { value = 1 }
|
|
145
150
|
}
|
|
146
151
|
}
|
|
147
152
|
|
package/package.json
CHANGED