@engramx/idl 0.16.0-rc.6 → 0.16.0-rc.8
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/engram.did +5 -1
- package/dist/engram.idl.d.ts +5 -1
- package/dist/engram.idl.js +1 -0
- package/dist/market.did +1 -0
- package/dist/market.idl.d.ts +1 -0
- package/dist/market.idl.js +1 -0
- package/package.json +1 -1
package/dist/engram.did
CHANGED
|
@@ -615,6 +615,7 @@ type RailHealth =
|
|
|
615
615
|
freezeReservation: nat;
|
|
616
616
|
memoryBytes: nat;
|
|
617
617
|
paidVouchersConsumed: nat;
|
|
618
|
+
refundOwed: opt nat;
|
|
618
619
|
sendHeadroom: nat;
|
|
619
620
|
sessionsClosed: nat;
|
|
620
621
|
sessionsClosing: nat;
|
|
@@ -3395,7 +3396,10 @@ type Engram =
|
|
|
3395
3396
|
/// The metrics reader the registry designated reads this engram's paid-rail health, in one call:
|
|
3396
3397
|
/// the balance and the line it must stay above, the memory that line is computed from, the sessions
|
|
3397
3398
|
/// by state, the escrow open sessions hold, the vouchers spent and the refused ones
|
|
3398
|
-
/// (`RailHealth.RailHealth` says what each is, and what is never in it).
|
|
3399
|
+
/// (`RailHealth.RailHealth` says what each is, and what is never in it). ⟨2026-10-08, ic402 2.18.0⟩
|
|
3400
|
+
/// And `refundOwed`: the closed sessions whose refund failed and whose payer has not yet recovered
|
|
3401
|
+
/// it — counted from the close, never read from the ledger; `opt` from birth, and null (an engram
|
|
3402
|
+
/// that does not count) is never 0.
|
|
3399
3403
|
///
|
|
3400
3404
|
/// CALLER: the metrics reader the spawning registry named on this engram (`metricsReaderId`), and
|
|
3401
3405
|
/// nobody else — the owner reads its balance through `getOwnerConsole`. Answered only while the
|
package/dist/engram.idl.d.ts
CHANGED
|
@@ -2821,7 +2821,10 @@ export interface Engram {
|
|
|
2821
2821
|
* / The metrics reader the registry designated reads this engram's paid-rail health, in one call:
|
|
2822
2822
|
* / the balance and the line it must stay above, the memory that line is computed from, the sessions
|
|
2823
2823
|
* / by state, the escrow open sessions hold, the vouchers spent and the refused ones
|
|
2824
|
-
* / (`RailHealth.RailHealth` says what each is, and what is never in it).
|
|
2824
|
+
* / (`RailHealth.RailHealth` says what each is, and what is never in it). ⟨2026-10-08, ic402 2.18.0⟩
|
|
2825
|
+
* / And `refundOwed`: the closed sessions whose refund failed and whose payer has not yet recovered
|
|
2826
|
+
* / it — counted from the close, never read from the ledger; `opt` from birth, and null (an engram
|
|
2827
|
+
* / that does not count) is never 0.
|
|
2825
2828
|
* /
|
|
2826
2829
|
* / CALLER: the metrics reader the spawning registry named on this engram (`metricsReaderId`), and
|
|
2827
2830
|
* / nobody else — the owner reads its balance through `getOwnerConsole`. Answered only while the
|
|
@@ -3574,6 +3577,7 @@ export interface RailHealth {
|
|
|
3574
3577
|
paidVouchersConsumed: bigint;
|
|
3575
3578
|
escrowOpen: [] | [bigint];
|
|
3576
3579
|
sessionsOpen: bigint;
|
|
3580
|
+
refundOwed: [] | [bigint];
|
|
3577
3581
|
sessionsClosing: bigint;
|
|
3578
3582
|
cycles: bigint;
|
|
3579
3583
|
sendHeadroom: bigint;
|
package/dist/engram.idl.js
CHANGED
|
@@ -1061,6 +1061,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1061
1061
|
paidVouchersConsumed: IDL.Nat,
|
|
1062
1062
|
escrowOpen: IDL.Opt(IDL.Nat),
|
|
1063
1063
|
sessionsOpen: IDL.Nat,
|
|
1064
|
+
refundOwed: IDL.Opt(IDL.Nat),
|
|
1064
1065
|
sessionsClosing: IDL.Nat,
|
|
1065
1066
|
cycles: IDL.Nat,
|
|
1066
1067
|
sendHeadroom: IDL.Nat,
|
package/dist/market.did
CHANGED
package/dist/market.idl.d.ts
CHANGED
package/dist/market.idl.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engramx/idl",
|
|
3
|
-
"version": "0.16.0-rc.
|
|
3
|
+
"version": "0.16.0-rc.8",
|
|
4
4
|
"description": "The Candid interfaces of the EngramX canisters (engram, registry, market) — the .did files and the JS/TS IDL factories generated from them, published with every release so code that calls them pins the interface by version.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "EngramX <developer@engramx.ai>",
|