@isoloop/preact 0.1.0-next.10 → 0.1.0-next.11

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { BusError, HostCallError, REQUIRES } from "@isoloop/runtime";
2
2
  import { Component, createContext, h, options, render } from "preact";
3
3
  import { useCallback, useContext, useLayoutEffect, useState } from "preact/hooks";
4
4
  import { routeTopic } from "@isoloop/protocol";
5
- // src/context.ts
5
+ // src/isolate/context.ts
6
6
  const IsolateCtx = createContext(null);
7
7
  /**
8
8
  * The isolate's context, as `start(ctx)` gets it: `ctx.bus`, `ctx.host`, `ctx.config` and
@@ -29,7 +29,7 @@ function usePortalRoot() {
29
29
  if (!(portal instanceof Element)) throw new Error("usePortalRoot: this isolate has no surface");
30
30
  return portal;
31
31
  }
32
- // src/define.ts
32
+ // src/isolate/define.ts
33
33
  /**
34
34
  * Catches a render error at the isolate's root and reports it as this
35
35
  * isolate's own (`ctx.reportError`), so in a pool it crashes only this member
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isoloop/preact",
3
- "version": "0.1.0-next.10",
3
+ "version": "0.1.0-next.11",
4
4
  "description": "Preact adapter for Isoloop isolates: defineIsolate(Component) and bus and host hooks.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -23,11 +23,11 @@
23
23
  "preact": "^10 || ^11"
24
24
  },
25
25
  "dependencies": {
26
- "@isoloop/protocol": "0.1.0-next.10",
27
- "@isoloop/runtime": "0.1.0-next.10"
26
+ "@isoloop/protocol": "0.1.0-next.11",
27
+ "@isoloop/runtime": "0.1.0-next.11"
28
28
  },
29
29
  "devDependencies": {
30
- "@isoloop/dom": "0.1.0-next.10",
30
+ "@isoloop/dom": "0.1.0-next.11",
31
31
  "preact10": "npm:preact@10.29.8",
32
32
  "preact11": "npm:preact@11.1.1",
33
33
  "typescript": "7.0.2"