@lukekaalim/act-backstage 2.0.0 → 3.0.0-alpha.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @lukekaalim/act-backstage
2
2
 
3
+ ## 3.0.0-alpha.0
4
+
5
+ ### Major Changes
6
+
7
+ - b3f6c49: Added debug capabilities and protocol
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [b3f6c49]
12
+ - @lukekaalim/act-recon@3.0.0-alpha.0
13
+
3
14
  ## 2.0.0
4
15
 
5
16
  ### Major Changes
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lukekaalim/act-backstage",
3
- "version": "2.0.0",
3
+ "version": "3.0.0-alpha.0",
4
4
  "main": "mod.ts",
5
5
  "dependencies": {
6
6
  "@lukekaalim/act": "^3.2.0",
7
- "@lukekaalim/act-recon": "^2.0.0"
7
+ "@lukekaalim/act-recon": "^3.0.0-alpha.0"
8
8
  }
9
9
  }
package/render.ts CHANGED
@@ -15,7 +15,12 @@ export const createRenderFunction = <T>(
15
15
  };
16
16
 
17
17
  const reconciler = createReconciler(scheduler);
18
- const threadCompleteSub = reconciler.on('on-thread-complete', onThreadComplete);
18
+ const threadCompleteSub = reconciler.subscribe(event => {
19
+ switch (event.type) {
20
+ case 'thread:complete':
21
+ return onThreadComplete(event.thread);
22
+ }
23
+ })
19
24
 
20
25
  const space = createSpace(reconciler.tree, root);
21
26