@fungi.computer/computer 0.19.3 → 0.20.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/dist/port-access.d.ts +2 -0
- package/dist/port-access.js +1 -0
- package/package.json +4 -4
package/dist/port-access.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export type PortAccessPrincipal = Readonly<{
|
|
|
6
6
|
teamId: string;
|
|
7
7
|
}> | Readonly<{
|
|
8
8
|
ownerId: string;
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
keyId: string;
|
|
9
11
|
}>;
|
|
10
12
|
/** Visibility belongs to an existing exposed port, never a second catalog. */
|
|
11
13
|
export type PortVisibility = "private" | "unlisted" | "public";
|
package/dist/port-access.js
CHANGED
|
@@ -8,6 +8,7 @@ const visibilitySchema = z.enum(["private", "unlisted", "public"]);
|
|
|
8
8
|
const principalSchema = z.union([
|
|
9
9
|
z.strictObject({ userId: z.string().min(1), teamId: z.string().min(1) }),
|
|
10
10
|
z.strictObject({ ownerId: z.string().min(1) }),
|
|
11
|
+
z.strictObject({ keyId: z.string().min(1) }),
|
|
11
12
|
]);
|
|
12
13
|
/** A stored session row: a share holds no principal, a member session does. */
|
|
13
14
|
const storedSessionSchema = z.union([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/computer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Cloudflare Computer host for one durable Fungi Computer",
|
|
6
6
|
"type": "module",
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
"LICENSE"
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@fungi.computer/agar": "0.31.
|
|
71
|
+
"@fungi.computer/agar": "0.31.1",
|
|
72
72
|
"@fungi.computer/cairn": "0.1.1",
|
|
73
73
|
"@fungi.computer/capnweb": "0.12.0-fungi.0",
|
|
74
74
|
"@fungi.computer/cloudflare-computer": "0.2.1-fungi.4",
|
|
75
75
|
"@fungi.computer/cordyceps": "0.4.3",
|
|
76
|
-
"@fungi.computer/knapsack": "0.4.
|
|
76
|
+
"@fungi.computer/knapsack": "0.4.43",
|
|
77
77
|
"@fungi.computer/seam": "0.2.9",
|
|
78
78
|
"@fungi.computer/watchdog": "0.1.7",
|
|
79
|
-
"@fungi.computer/computer-contract": "0.6.
|
|
79
|
+
"@fungi.computer/computer-contract": "0.6.20",
|
|
80
80
|
"effect": "4.0.2",
|
|
81
81
|
"just-bash": "3.4.2",
|
|
82
82
|
"zod": "4.4.3",
|