@openparachute/hub 0.7.7-rc.15 → 0.7.7-rc.16
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 +2 -2
- package/src/account-api.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openparachute/hub",
|
|
3
|
-
"version": "0.7.7-rc.
|
|
3
|
+
"version": "0.7.7-rc.16",
|
|
4
4
|
"description": "parachute — the local hub for the Parachute ecosystem (discovery, ports, lifecycle, soon OAuth).",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@biomejs/biome": "^1.9.4",
|
|
37
|
-
"@openparachute/door-contract": "workspace:*",
|
|
38
37
|
"@types/bun": "latest",
|
|
39
38
|
"@types/qrcode": "^1.5.6"
|
|
40
39
|
},
|
|
@@ -44,6 +43,7 @@
|
|
|
44
43
|
"dependencies": {
|
|
45
44
|
"@node-rs/argon2": "^2.0.2",
|
|
46
45
|
"@openparachute/depcheck": "0.1.1",
|
|
46
|
+
"@openparachute/door-contract": "^0.6.0",
|
|
47
47
|
"jose": "^6.2.2",
|
|
48
48
|
"otpauth": "^9.5.0",
|
|
49
49
|
"qrcode": "^1.5.4"
|
package/src/account-api.ts
CHANGED
|
@@ -33,6 +33,12 @@
|
|
|
33
33
|
* ownership gate the cloud twin runs per-vault is trivially satisfied here.
|
|
34
34
|
*/
|
|
35
35
|
import type { Database } from "bun:sqlite";
|
|
36
|
+
// NOTE: this is a VALUE import — hub can't run without
|
|
37
|
+
// `@openparachute/door-contract` resolving at runtime, so it's a real
|
|
38
|
+
// `^0.6.0` runtime `dependency` (package.json, mirroring `@openparachute/depcheck`)
|
|
39
|
+
// and NOT a `workspace:*` devDependency. The published hub tarball doesn't ship
|
|
40
|
+
// `packages/`, so the npm-installed hub resolves door-contract from the registry.
|
|
41
|
+
// See RELEASING.md → "Releasing door-contract".
|
|
36
42
|
import {
|
|
37
43
|
type AccountBootstrap,
|
|
38
44
|
type ParachuteAccountDescriptor,
|