@lotics/app-sdk 0.87.0 → 0.87.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/docs/workflows.md CHANGED
@@ -73,8 +73,8 @@ compile-time "cannot find name", not a runtime `undefined`.
73
73
  | `record` | button + table-lifecycle workflows | the record the trigger fired on (merged data on update) |
74
74
  | `prev_record` | table `*_update` / `*_delete` | the prior record state — same shape as `record`, link descent included |
75
75
  | `changes` | table `*_update` | per-field diff — a *partial* map, so read it `changes["fld_x"]?.next_value` / `?.prev_value` |
76
- | `index` | inside a `for-of` body | the current 0-based iteration index |
77
- | `<bind_name>` | inside a `for-of` body | the current item |
76
+ | `index` | inside a `for-of` body | the current 0-based iteration index — always the **innermost** loop's. To use an outer loop's index in a nested body, bind it in the outer one (`const outerIdx = index;`) and read that |
77
+ | `<bind_name>` | inside a `for-of` body | the current item. Each loop keeps its own, so a nested body reads the outer loop's item by its own bind name |
78
78
  | `<step_id>` | after the step | that step's output (`rows.records`, `approval.status`, …) |
79
79
  | `<let_name>` | its block | a mutable `let` binding |
80
80
  | `<param>` | inside a helper callback | that lambda's parameter |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/app-sdk",
3
- "version": "0.87.0",
3
+ "version": "0.87.1",
4
4
  "description": "Runtime SDK for Lotics custom-code apps \u2014 typed hooks, postMessage bridge, mount entry point",
5
5
  "type": "module",
6
6
  "exports": {