githolon 0.100.4 → 0.100.5
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/cli.mjs +9 -6
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -3570,12 +3570,15 @@ async function signAndPostChildLifecycle(parent, child, creator, action, opts) {
|
|
|
3570
3570
|
return signAndPostPreparedOffer(
|
|
3571
3571
|
parent,
|
|
3572
3572
|
void 0,
|
|
3573
|
-
(actor) =>
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3573
|
+
(actor) => {
|
|
3574
|
+
const creatorActing = creator !== "" && sameIdentity(creator, actor);
|
|
3575
|
+
return action === "retire" ? {
|
|
3576
|
+
directiveId: creatorActing ? "retireChild" : "retireChildAsAdmin",
|
|
3577
|
+
payload: { child, principal: creator, retiredBy: lineageIdentity(actor), retiredAt: Date.now() }
|
|
3578
|
+
} : {
|
|
3579
|
+
directiveId: creatorActing ? "reclaimChild" : "reclaimChildAsAdmin",
|
|
3580
|
+
payload: { child, reclaimedBy: lineageIdentity(actor), reclaimedAt: Date.now() }
|
|
3581
|
+
};
|
|
3579
3582
|
},
|
|
3580
3583
|
opts,
|
|
3581
3584
|
"self-if-unenrolled",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githolon",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "githolon — the Nomos developer CLI: Rails-style generators for @githolon/dsl domains + the package compiler. Kernel-independent.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@bjorn3/browser_wasi_shim": "0.4.2",
|
|
32
|
-
"@githolon/client": "^0.100.
|
|
33
|
-
"@githolon/dsl": "^0.100.
|
|
32
|
+
"@githolon/client": "^0.100.5",
|
|
33
|
+
"@githolon/dsl": "^0.100.5",
|
|
34
34
|
"isomorphic-git": "^1.38.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|