@substrat-run/kernel 0.91.1 → 0.92.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/scope-host.d.ts
CHANGED
|
@@ -284,7 +284,7 @@ export interface OperationContext {
|
|
|
284
284
|
revoke(principal: PrincipalId, permission: PermissionKey, entity: EntityRef): Promise<void>;
|
|
285
285
|
/**
|
|
286
286
|
* Run `fn` as a SUB-TRANSACTION of this operation (#770,
|
|
287
|
-
* docs/
|
|
287
|
+
* docs/architecture/sub-transactions.md) — the boundary that makes catching an
|
|
288
288
|
* engine error safe.
|
|
289
289
|
*
|
|
290
290
|
* A vertical composes engine in-scope functions inside one scope transaction,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* `ctx.atomic` — the engine-seam sub-transaction (#770,
|
|
3
|
-
* docs/
|
|
3
|
+
* docs/architecture/sub-transactions.md).
|
|
4
4
|
*
|
|
5
5
|
* A vertical composes engine in-scope functions inside ONE scope transaction,
|
|
6
6
|
* and the adapter rolls back only if the whole handler throws. So a vertical
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substrat-run/kernel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.92.1",
|
|
4
4
|
"description": "Substrat kernel contracts and services — pure TypeScript, no platform imports (D-14)",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@substrat-run/contracts": "^0.
|
|
25
|
+
"@substrat-run/contracts": "^0.92.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.0.0",
|