theprogrammablemind 8.9.1-beta.15 → 8.9.1-beta.17

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/package.json CHANGED
@@ -67,6 +67,6 @@
67
67
  "sort-json": "^2.0.0",
68
68
  "uuid": "^8.3.2"
69
69
  },
70
- "version": "8.9.1-beta.15",
70
+ "version": "8.9.1-beta.17",
71
71
  "license": "UNLICENSED"
72
72
  }
@@ -250,6 +250,13 @@ const setupContexts = (rawContexts) => {
250
250
  contexts.push(context)
251
251
  }
252
252
  contexts.push({ marker: 'controlEnd', controlRemove: true })
253
+
254
+ let _index = 0
255
+ const id = (context) => {
256
+ context.context_index = _index
257
+ ++_index
258
+ }
259
+ contexts.forEach( id )
253
260
  return contexts
254
261
  }
255
262