@engramx/idl 0.16.0-rc.1 → 0.16.0-rc.4
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 +8 -0
- package/dist/engram.idl.d.ts +8 -0
- package/dist/market.did +4 -0
- package/dist/market.idl.d.ts +4 -0
- package/package.json +1 -1
package/dist/engram.did
CHANGED
|
@@ -2698,6 +2698,14 @@ type Engram =
|
|
|
2698
2698
|
/// `closing` or `expired`, whose close has not finished. Escrow comes back only from a session that
|
|
2699
2699
|
/// reads `closed`, and the refusal moves nothing. A close that stopped part-way (its refund call
|
|
2700
2700
|
/// rejected, or a trap) leaves the session reading `closing`, and no method on this engram moves it.
|
|
2701
|
+
///
|
|
2702
|
+
/// ⟨2026-10-05, later — ic402 2.17.4, beside the line above, whose first case 2.17.4 removed⟩ A
|
|
2703
|
+
/// refund call the ledger REJECTS no longer leaves the session reading `closing`: the close ends it
|
|
2704
|
+
/// `closed`, as it does a refund the ledger refuses, and this method returns what is left in its
|
|
2705
|
+
/// escrow for 24 hours from that close. Ask for at most the escrow's ledger balance less one fee;
|
|
2706
|
+
/// the transfer pays its own fee from the escrow. A session still reads `closing` only when its
|
|
2707
|
+
/// close trapped after one of its awaits, or an earlier version left it there, and of that one the
|
|
2708
|
+
/// line above still holds.
|
|
2701
2709
|
recoverEscrow: (sessionId: text, amountE6: nat) -> (Result_8);
|
|
2702
2710
|
/// ⟨0.16.0, L1⟩ A REDEMPTION PATH, where the arm choice is a disclosure decision.
|
|
2703
2711
|
///
|
package/dist/engram.idl.d.ts
CHANGED
|
@@ -2043,6 +2043,14 @@ export interface Engram {
|
|
|
2043
2043
|
* / `closing` or `expired`, whose close has not finished. Escrow comes back only from a session that
|
|
2044
2044
|
* / reads `closed`, and the refusal moves nothing. A close that stopped part-way (its refund call
|
|
2045
2045
|
* / rejected, or a trap) leaves the session reading `closing`, and no method on this engram moves it.
|
|
2046
|
+
* /
|
|
2047
|
+
* / ⟨2026-10-05, later — ic402 2.17.4, beside the line above, whose first case 2.17.4 removed⟩ A
|
|
2048
|
+
* / refund call the ledger REJECTS no longer leaves the session reading `closing`: the close ends it
|
|
2049
|
+
* / `closed`, as it does a refund the ledger refuses, and this method returns what is left in its
|
|
2050
|
+
* / escrow for 24 hours from that close. Ask for at most the escrow's ledger balance less one fee;
|
|
2051
|
+
* / the transfer pays its own fee from the escrow. A session still reads `closing` only when its
|
|
2052
|
+
* / close trapped after one of its awaits, or an earlier version left it there, and of that one the
|
|
2053
|
+
* / line above still holds.
|
|
2046
2054
|
*/
|
|
2047
2055
|
recoverEscrow: ActorMethod<[string, bigint], Result_8>;
|
|
2048
2056
|
/**
|
package/dist/market.did
CHANGED
|
@@ -1192,6 +1192,10 @@ service : {
|
|
|
1192
1192
|
/// from a session that reads `closed`. A session that reads `closing` or `expired` is refused, with
|
|
1193
1193
|
/// nothing moved — a fourth state refusal — so a "stuck" session here means one that
|
|
1194
1194
|
/// `forceResolveSession` has closed first; recover it within 24 hours of that force.
|
|
1195
|
+
/// ⟨2026-10-05, later — ic402 2.17.4, beside the line above⟩ Or one whose refund the ledger
|
|
1196
|
+
/// refused or rejected: that close already ends the session `closed`, with the remainder still in
|
|
1197
|
+
/// its escrow, so it needs no force. Recover it within 24 hours of that close, asking at most the
|
|
1198
|
+
/// escrow's ledger balance less one fee.
|
|
1195
1199
|
recoverEscrow: (sessionId: text, amount: TokenAmount) -> (Result);
|
|
1196
1200
|
/// Register as a seller by naming the engram you own.
|
|
1197
1201
|
///
|
package/dist/market.idl.d.ts
CHANGED
|
@@ -1093,6 +1093,10 @@ export interface _SERVICE {
|
|
|
1093
1093
|
* / from a session that reads `closed`. A session that reads `closing` or `expired` is refused, with
|
|
1094
1094
|
* / nothing moved — a fourth state refusal — so a "stuck" session here means one that
|
|
1095
1095
|
* / `forceResolveSession` has closed first; recover it within 24 hours of that force.
|
|
1096
|
+
* / ⟨2026-10-05, later — ic402 2.17.4, beside the line above⟩ Or one whose refund the ledger
|
|
1097
|
+
* / refused or rejected: that close already ends the session `closed`, with the remainder still in
|
|
1098
|
+
* / its escrow, so it needs no force. Recover it within 24 hours of that close, asking at most the
|
|
1099
|
+
* / escrow's ledger balance less one fee.
|
|
1096
1100
|
*/
|
|
1097
1101
|
recoverEscrow: ActorMethod<[string, TokenAmount], Result>;
|
|
1098
1102
|
/**
|
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.4",
|
|
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>",
|