@engramx/idl 0.16.0-rc.26 → 0.16.0-rc.27
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 +681 -482
- package/dist/engram.idl.d.ts +666 -477
- package/dist/engram.idl.js +77 -48
- package/dist/market.did +56 -50
- package/dist/market.idl.d.ts +56 -50
- package/dist/registry.did +277 -182
- package/dist/registry.idl.d.ts +275 -182
- package/dist/registry.idl.js +9 -0
- package/package.json +1 -1
package/dist/market.idl.d.ts
CHANGED
|
@@ -417,9 +417,10 @@ export interface _SERVICE {
|
|
|
417
417
|
addAuditViewer: ActorMethod<[Principal], Result>;
|
|
418
418
|
/**
|
|
419
419
|
* / Push this canister's chain head into the registry's anchor ring — the same thing every engram
|
|
420
|
-
* / does with its memory head, and the
|
|
420
|
+
* / does with its memory head, and the biller with its treasury head.
|
|
421
421
|
* /
|
|
422
|
-
* /
|
|
422
|
+
* / The argument for anchoring the treasury's ledger head in the registry applies to escrow with full
|
|
423
|
+
* / force: a self-attested commerce ledger sitting
|
|
423
424
|
* / beside witnessed ones is the asymmetry an auditor finds first. Every chain in this system is
|
|
424
425
|
* / witnessed by a party that does not control it, or the phrase means nothing.
|
|
425
426
|
* /
|
|
@@ -445,12 +446,13 @@ export interface _SERVICE {
|
|
|
445
446
|
* / · the job is not pending ⟶ properly `#Conflict`
|
|
446
447
|
* / · **you are not the seller** ⟶ properly `#Refused`
|
|
447
448
|
* /
|
|
448
|
-
* / **Read the MESSAGE, not the arm, on this method only.** That is the opposite of what
|
|
449
|
+
* / **Read the MESSAGE, not the arm, on this method only.** That is the opposite of what the 0.16.0
|
|
450
|
+
* / result rule (one Result shape, refusals as values) asks
|
|
449
451
|
* / everywhere else, and it is stated here rather than left to be discovered: a caller branching
|
|
450
452
|
* / on the arm will retry a call that can never succeed for it. Recovering the distinction needs
|
|
451
453
|
* / the LIBRARY to carry arms — matching its prose here would reintroduce exactly the
|
|
452
|
-
* / message-branching
|
|
453
|
-
* /
|
|
454
|
+
* / message-branching that rule abolished, and would break silently on an ic402 bump. ⟨Three costed
|
|
455
|
+
* / options were recorded for it, 2026-08-21. This is the market's whole ic402
|
|
454
456
|
* / seam, not one method: 6 call sites collapse a module error into `#Conflict`.⟩
|
|
455
457
|
* / ⟨2026-10-02 — counted again, and ruled.⟩ ELEVEN sites on this market collapse an ic402 text
|
|
456
458
|
* / into `#Conflict`, not 6: `setServiceEnabled`, `claimJob`, `submitJobResult`, `confirmJob`,
|
|
@@ -459,8 +461,8 @@ export interface _SERVICE {
|
|
|
459
461
|
* / refusal of the caller's standing — `claimJob`, `confirmJob`, `disputeJob` and `submitJobResult`;
|
|
460
462
|
* / `setServiceEnabled`, the fourth noted on 2026-08-21, is now gated by this canister before the
|
|
461
463
|
* / library is called; the other six are state behind this canister's own gate. Read-the-message
|
|
462
|
-
* / is RATIFIED as the 0.16.0 contract (the owner's ruling of 2026-10-02, the
|
|
463
|
-
* /
|
|
464
|
+
* / is RATIFIED as the 0.16.0 contract (the owner's ruling of 2026-10-02, as the review before the
|
|
465
|
+
* / cut recommended); giving the library one arm per kind of refusal is post-cut dependency work,
|
|
464
466
|
* / not a change made mid-cut.
|
|
465
467
|
* / ⟨2026-10-07, beside the count above⟩ Twelve: the admin's `retrySellerPayment` (the owner's
|
|
466
468
|
* / decision of that day) passes the library's settle refusal through as `#Conflict` too — state
|
|
@@ -472,7 +474,7 @@ export interface _SERVICE {
|
|
|
472
474
|
*/
|
|
473
475
|
claimJob: ActorMethod<[string], Result>;
|
|
474
476
|
/**
|
|
475
|
-
* / ⟨0.16.0
|
|
477
|
+
* / ⟨0.16.0⟩ `confirmJob` ABSORBS `confirmJobEvm`. One buyer action, two ways to prove you
|
|
476
478
|
* / are the buyer.
|
|
477
479
|
* /
|
|
478
480
|
* / The pair existed because authorization arrives differently on the two rails, not because the
|
|
@@ -493,7 +495,7 @@ export interface _SERVICE {
|
|
|
493
495
|
* / `#Conflict`) and **`Not the buyer`** (properly `#Refused`) all arrive as `#Conflict`. On THIS
|
|
494
496
|
* / method read the MESSAGE rather than the arm — it is terminal money settlement, so a caller
|
|
495
497
|
* / who reads `#Conflict` as "retry later" will retry a release that can never happen for them.
|
|
496
|
-
* / Same seam as `claimJob`; three costed fixes
|
|
498
|
+
* / Same seam as `claimJob`; three costed fixes were recorded ⟨2026-08-21⟩.
|
|
497
499
|
*/
|
|
498
500
|
confirmJob: ActorMethod<[string, [] | [Uint8Array | number[]]], Result>;
|
|
499
501
|
/**
|
|
@@ -535,7 +537,7 @@ export interface _SERVICE {
|
|
|
535
537
|
*/
|
|
536
538
|
deleteEndpoint: ActorMethod<[string], Result>;
|
|
537
539
|
/**
|
|
538
|
-
* / ⟨0.16.0
|
|
540
|
+
* / ⟨0.16.0⟩ `disputeJob` ABSORBS `disputeJobEvm`, exactly as confirmJob does, and for the
|
|
539
541
|
* / same reason: one act, two proofs of buyership.
|
|
540
542
|
* /
|
|
541
543
|
* / NOT FREEZE-GATED, and that asymmetry with confirmJob is deliberate. Recording a dispute moves
|
|
@@ -546,7 +548,7 @@ export interface _SERVICE {
|
|
|
546
548
|
* / ⚠ `#Conflict` HERE ALSO COVERS "NOT THE BUYER" — same ic402 seam as `confirmJob` and
|
|
547
549
|
* / `claimJob`: `Job not found`, `Job not in submitted status` and **`Not the buyer`** all arrive
|
|
548
550
|
* / as `#Conflict` because the library hands back strings. Read the MESSAGE, not the arm.
|
|
549
|
-
* / ⟨2026-08-21;
|
|
551
|
+
* / ⟨2026-08-21; three fixes were recorded, with why none is a one-liner.⟩
|
|
550
552
|
* /
|
|
551
553
|
* / ⚠ AND NOTE WHERE THE DISPUTE GOES: `resolveDispute` is answered by the SERVICE'S OWN SELLER
|
|
552
554
|
* / — the party being disputed. This market has no admin arbitration and no appeal, deliberately
|
|
@@ -621,7 +623,7 @@ export interface _SERVICE {
|
|
|
621
623
|
* / The `approvalId` parameter is gone, as it is on openSession: an approval is the BUYER's own
|
|
622
624
|
* / custody policy, checked on their engram before they call here.
|
|
623
625
|
* /
|
|
624
|
-
* / ⟨
|
|
626
|
+
* / ⟨update-for-read⟩ UPDATE, NOT QUERY: the paid path awaits `gate.settle(sig, ?amount)`, an inter-canister
|
|
625
627
|
* / settlement. A query cannot await it, and splitting the free and paid halves into two methods
|
|
626
628
|
* / would put the price and the content behind different names for one buyer act.
|
|
627
629
|
* /
|
|
@@ -634,7 +636,8 @@ export interface _SERVICE {
|
|
|
634
636
|
*/
|
|
635
637
|
getContent: ActorMethod<[string, [] | [PaymentSignature]], Result_17>;
|
|
636
638
|
/**
|
|
637
|
-
* / ⟨0.16.0⟩ THE `getChunk` FIX, and it is the sharpest single case in the
|
|
639
|
+
* / ⟨0.16.0⟩ THE `getChunk` FIX, and it is the sharpest single case in the August 2026 audit of every
|
|
640
|
+
* / wire method.
|
|
638
641
|
* /
|
|
639
642
|
* / The engram's version was:
|
|
640
643
|
* /
|
|
@@ -656,8 +659,8 @@ export interface _SERVICE {
|
|
|
656
659
|
* /
|
|
657
660
|
* / The honesty gates could not see it. `gate.verifyGrant` is a PAYMENT gate, and the gate-call
|
|
658
661
|
* / list they scan holds authorization helpers only — so a refusal fabricated behind a payment
|
|
659
|
-
* / check was out of scope by construction rather than by ruling.
|
|
660
|
-
* / list; this method is why.
|
|
662
|
+
* / check was out of scope by construction rather than by ruling. The 0.16.0 honesty rule adds
|
|
663
|
+
* / payment gates to that list; this method is why.
|
|
661
664
|
*/
|
|
662
665
|
getContentChunk: ActorMethod<[AccessGrant, bigint], Result_15>;
|
|
663
666
|
/**
|
|
@@ -667,9 +670,10 @@ export interface _SERVICE {
|
|
|
667
670
|
*/
|
|
668
671
|
getGenesisNote: ActorMethod<[], GenesisNote>;
|
|
669
672
|
/**
|
|
670
|
-
* / ⟨0.16.0,
|
|
673
|
+
* / ⟨0.16.0, refusals are values, never traps⟩
|
|
674
|
+
* / The engram TRAPPED here. Trapping was the right fix at the time — it stopped the
|
|
671
675
|
* / refusal masquerading as a not-found — but it hands the caller no structured reason and cannot
|
|
672
|
-
* / be told from a genuine fault. Under
|
|
676
|
+
* / be told from a genuine fault. Under the 0.16.0 result rule the refusal is a value.
|
|
673
677
|
* /
|
|
674
678
|
* / The comment the engram carried is worth keeping because it names what went wrong: `null`
|
|
675
679
|
* / collapsed "unknown jobId" and "not authorized", and the product rendered the wrong conclusion
|
|
@@ -755,7 +759,7 @@ export interface _SERVICE {
|
|
|
755
759
|
* / `verified` is about ownership at a moment in time and nothing else. It is not an endorsement,
|
|
756
760
|
* / and the field name is the strongest claim it makes.
|
|
757
761
|
* /
|
|
758
|
-
* / ⟨2026-11-04, the owner's ruling
|
|
762
|
+
* / ⟨2026-11-04, the owner's sale-payout ruling⟩ It also says where this seller's sales land
|
|
759
763
|
* / (`evmPayout`, `evmPayoutError`) and how many are still in flight (`parkedPayouts`,
|
|
760
764
|
* / `parkedSaleNotices`) — counts, never amounts (`Types.SellerStatus`).
|
|
761
765
|
*/
|
|
@@ -777,7 +781,7 @@ export interface _SERVICE {
|
|
|
777
781
|
* / THIS WRONG: an HTTP route that could authenticate its payer, or a flow of ours that approves
|
|
778
782
|
* / more than one payment's worth or without an expiry.
|
|
779
783
|
* /
|
|
780
|
-
* / ⟨CORRECTED 2026-09-30 — the owner's answer
|
|
784
|
+
* / ⟨CORRECTED 2026-09-30 — the owner's web-route answer⟩ The paragraph above is history. No web route
|
|
781
785
|
* / settles an ICP-rail payment any more, so none spends an allowance and none can be used against
|
|
782
786
|
* / a standing one. The one `gate.settle` left is on /service/, reached only with an EVM (`eip155:`)
|
|
783
787
|
* / payment carrying the buyer's own EIP-3009 authorization — a signature that names the payment and
|
|
@@ -847,7 +851,8 @@ export interface _SERVICE {
|
|
|
847
851
|
* / `total` is the head counter, not the row count: this is a bounded ring, so a page that
|
|
848
852
|
* / reported only what it returned would make a trimmed log look complete.
|
|
849
853
|
* /
|
|
850
|
-
* / ⟨2026-10-15, the owner's ruling
|
|
854
|
+
* / ⟨2026-10-15, the owner's ruling of 2026-10-14 on the chained record⟩ The reply is the shared
|
|
855
|
+
* / `Wire.RecordPage`, so
|
|
851
856
|
* / one checker reads every chain. A viewer sees every entry, so `sealed` is always empty here;
|
|
852
857
|
* / `ringFloor` says where the ring starts and `hashFirstFrom` where this record switched to the
|
|
853
858
|
* / hash-first rule. The gate is unchanged (hash-only rows for strangers were ruled for the
|
|
@@ -855,7 +860,7 @@ export interface _SERVICE {
|
|
|
855
860
|
*/
|
|
856
861
|
listAuditEntries: ActorMethod<[bigint, bigint], Result_11>;
|
|
857
862
|
/**
|
|
858
|
-
* / Admin AND the enrolled viewers themselves —
|
|
863
|
+
* / Admin AND the enrolled viewers themselves — the roster rule of who may read what. A viewer who cannot see the
|
|
859
864
|
* / roster cannot tell whether their own enrolment survived a rotation.
|
|
860
865
|
*/
|
|
861
866
|
listAuditViewers: ActorMethod<[], Result_10>;
|
|
@@ -865,7 +870,7 @@ export interface _SERVICE {
|
|
|
865
870
|
*/
|
|
866
871
|
listContent: ActorMethod<[bigint, bigint], Page_6>;
|
|
867
872
|
/**
|
|
868
|
-
* /
|
|
873
|
+
* / The 0.16.0 honesty rule names this canister's reason for having a denial log at all: the commerce surface is where
|
|
869
874
|
* / the fabricated-empty class was born, and a refusal that leaves no trace cannot be counted,
|
|
870
875
|
* / alerted on, or disproved.
|
|
871
876
|
*/
|
|
@@ -892,7 +897,7 @@ export interface _SERVICE {
|
|
|
892
897
|
*/
|
|
893
898
|
listEndpoints: ActorMethod<[[] | [EndpointStatus], bigint, bigint], Page_3>;
|
|
894
899
|
/**
|
|
895
|
-
* / ⟨0.16.0⟩ THE `listJobs` FIX — the second of the two fabricated empties
|
|
900
|
+
* / ⟨0.16.0⟩ THE `listJobs` FIX — the second of the two fabricated empties the 0.16.0 honesty rule names.
|
|
896
901
|
* /
|
|
897
902
|
* / The engram's version ended its authorization check with `if (not (isOwner or
|
|
898
903
|
* / isServiceOperator)) { return [] }`, and its own `.did` comment declared the behaviour on the
|
|
@@ -916,7 +921,7 @@ export interface _SERVICE {
|
|
|
916
921
|
*/
|
|
917
922
|
listJobs: ActorMethod<[string, [] | [JobStatus], bigint, bigint], Result_7>;
|
|
918
923
|
/**
|
|
919
|
-
* / ⟨2026-11-04, the owner's ruling
|
|
924
|
+
* / ⟨2026-11-04, the owner's sale-payout ruling⟩ The parked payouts to the caller's engram — a content sale
|
|
920
925
|
* / whose push the ledger has not confirmed, each settled by `retrySalePayout` — so an unresolved
|
|
921
926
|
* / payout is discoverable rather than something a seller must already know the id of.
|
|
922
927
|
* /
|
|
@@ -982,19 +987,19 @@ export interface _SERVICE {
|
|
|
982
987
|
*/
|
|
983
988
|
openSession: ActorMethod<[SessionConfig, PaymentSignature], Result_5>;
|
|
984
989
|
/**
|
|
985
|
-
* / RENAMED from `requestSession`
|
|
990
|
+
* / RENAMED from `requestSession` in the 0.16.0 interface pass: it is a pure dry run — a quote for a session
|
|
986
991
|
* / the caller has not opened and is not committed to. `request` read as an action with an effect.
|
|
987
992
|
* /
|
|
988
993
|
* / PUBLIC: a price list nobody can read is not a price list, and this is the market's. ⟨The
|
|
989
|
-
* / sentence was already here as "Ungated:"; only the marker the
|
|
994
|
+
* / sentence was already here as "Ungated:"; only the marker the disclosure gate greps for was missing,
|
|
990
995
|
* / which is why this method read as undefended when it was not.⟩
|
|
991
|
-
* / ⟨CORRECTED 2026-08-24 — this said "
|
|
992
|
-
* /
|
|
993
|
-
* / `quotePayment` and `previewOpenSession` become queries, and
|
|
994
|
-
* / retires with them — so the argument written here
|
|
995
|
-
* / losing side of a decision already made, and was added
|
|
996
|
-
* / to the ruling. `gate.offerSession` is pure — it validates
|
|
997
|
-
* / nothing forced the update in the first place.
|
|
996
|
+
* / ⟨CORRECTED 2026-08-24 — this said "UPDATE, NOT QUERY" under the update-for-read marker and cited a
|
|
997
|
+
* / market ruling that a later market ruling had already closed.⟩ QUERY, per the ruled quote
|
|
998
|
+
* / convention: FAST READS. Both `quotePayment` and `previewOpenSession` become queries, and the
|
|
999
|
+
* / update-for-read rule's open-ruling exception retires with them — so the argument written here
|
|
1000
|
+
* / for keeping it an update was arguing the losing side of a decision already made, and was added
|
|
1001
|
+
* / the same day by not reading forward to the ruling. `gate.offerSession` is pure — it validates
|
|
1002
|
+
* / the intent and returns it — so nothing forced the update in the first place.
|
|
998
1003
|
* /
|
|
999
1004
|
* / ONE-REPLICA CAVEAT, stated here because the ruling requires it at both sites: a query is one
|
|
1000
1005
|
* / replica's word and is NOT a settleable challenge. Nothing quoted here can be redeemed. The
|
|
@@ -1022,9 +1027,9 @@ export interface _SERVICE {
|
|
|
1022
1027
|
* / ⟨CORRECTED 2026-10-02 — the nonce is GONE from the quote; the two paragraphs below are kept as
|
|
1023
1028
|
* / the record of why.⟩ Each requirement is now a `QuotedRequirement`: ic402's requirement without
|
|
1024
1029
|
* / its `nonce` (and with `expiry` spelled `expiryNs`). The paragraphs below describe the throwaway
|
|
1025
|
-
* / that was published until this date; the
|
|
1026
|
-
* / it, and it was dropped. "Do not pay against it" is now enforced by there being
|
|
1027
|
-
* / against.
|
|
1030
|
+
* / that was published until this date; the review before the 0.16.0 cut recommended dropping it
|
|
1031
|
+
* / over ratifying it, and it was dropped. "Do not pay against it" is now enforced by there being
|
|
1032
|
+
* / nothing to pay against.
|
|
1028
1033
|
* /
|
|
1029
1034
|
* / ⚠ THE NONCE IN EACH REQUIREMENT IS A THROWAWAY — DO NOT PAY AGAINST IT. `requireAll` mints a
|
|
1030
1035
|
* / server nonce with a HashMap put, and this is a QUERY, so the write is discarded on return.
|
|
@@ -1147,7 +1152,7 @@ export interface _SERVICE {
|
|
|
1147
1152
|
* / the timestamp. The byte count SURVIVES re-registration — otherwise the quota would reset every
|
|
1148
1153
|
* / thirty days, which is a quota in name only.
|
|
1149
1154
|
* /
|
|
1150
|
-
* / ⟨2026-11-04, the owner's ruling
|
|
1155
|
+
* / ⟨2026-11-04, the owner's ruling: a sale is paid into the selling engram's own wallet⟩
|
|
1151
1156
|
* / ON THIS MARKET'S BOOKS THE SELLER IS THE ENGRAM; the caller is the hand that lists for it. Every
|
|
1152
1157
|
* / identity this market hands the payment library — a service's operator, the claimant, the
|
|
1153
1158
|
* / submitter, the EVM payout key — is `engramId`, so the library pays the engram's own account on
|
|
@@ -1256,7 +1261,7 @@ export interface _SERVICE {
|
|
|
1256
1261
|
*/
|
|
1257
1262
|
resolveJob: ActorMethod<[string, JobStatus], Result>;
|
|
1258
1263
|
/**
|
|
1259
|
-
* / ⟨2026-11-04, the owner's ruling
|
|
1264
|
+
* / ⟨2026-11-04, the owner's sale-payout ruling⟩ Deliver one engram's parked sale notices to its record —
|
|
1260
1265
|
* / at most 16 a call, oldest first — and answer how many landed. CALLABLE BY ANYONE, anonymous
|
|
1261
1266
|
* / included: the engram dedups on the receipt id and accepts only this market, so nothing can be
|
|
1262
1267
|
* / misdirected or written twice; the same accepted residual as `retrySalePayout`. `#NotFound` when
|
|
@@ -1264,7 +1269,7 @@ export interface _SERVICE {
|
|
|
1264
1269
|
*/
|
|
1265
1270
|
retrySaleNotices: ActorMethod<[Principal], Result_1>;
|
|
1266
1271
|
/**
|
|
1267
|
-
* / ⟨2026-11-04, the owner's ruling
|
|
1272
|
+
* / ⟨2026-11-04, the owner's sale-payout ruling⟩ Settle a parked sale payout by asking the ledger what
|
|
1268
1273
|
* / happened, rather than assuming — the retired withdrawal recovery's saga, kept whole for the payout
|
|
1269
1274
|
* / that replaced the withdrawal.
|
|
1270
1275
|
* /
|
|
@@ -1275,7 +1280,7 @@ export interface _SERVICE {
|
|
|
1275
1280
|
* / `#BadFee` leaves it parked (the fee is part of the tuple — see `Types.PendingPayout.feeE6`); any
|
|
1276
1281
|
* / other answer leaves it parked and retryable. Never guessed at.
|
|
1277
1282
|
* /
|
|
1278
|
-
* /
|
|
1283
|
+
* / PUBLIC: callable by anyone, anonymous included: the destination, amount, fee, memo and time are all
|
|
1279
1284
|
* / recorded, so nothing about the call can be misdirected, and the chained row names whoever asked.
|
|
1280
1285
|
* / The residual — a stranger can make the market spend one ledger call per press on its own debt —
|
|
1281
1286
|
* / is accepted (a caller gate would buy nothing but a name). The sale's record line does not wait
|
|
@@ -1320,11 +1325,12 @@ export interface _SERVICE {
|
|
|
1320
1325
|
*/
|
|
1321
1326
|
setCallerPolicy: ActorMethod<[Principal, SpendingPolicy], Result>;
|
|
1322
1327
|
/**
|
|
1323
|
-
* / ⟨0.16.0,
|
|
1328
|
+
* / ⟨0.16.0, one boolean idiom⟩ `enableEndpoint` and `disableEndpoint` FOLD into one setter.
|
|
1324
1329
|
* /
|
|
1325
1330
|
* / They were byte-identical apart from the status they wrote and the word in their name, which is
|
|
1326
|
-
* / the definition of a boolean expressed as two methods.
|
|
1327
|
-
* / feature, and the fold also removes a real
|
|
1331
|
+
* / the definition of a boolean expressed as two methods. The 0.16.0 naming rules allow one idiom for
|
|
1332
|
+
* / a boolean feature (a set…Enabled setter plus a readable flag), and the fold also removes a real
|
|
1333
|
+
* / hazard: two methods meant two authorization checks
|
|
1328
1334
|
* / to keep in step, and a divergence between them would have been invisible to a reader looking at
|
|
1329
1335
|
* / either one alone.
|
|
1330
1336
|
* /
|
|
@@ -1354,16 +1360,16 @@ export interface _SERVICE {
|
|
|
1354
1360
|
* / configuration, not a product surface.
|
|
1355
1361
|
* /
|
|
1356
1362
|
* / ⟨RENAMED 2026-10-02 from `sysSetRegistryId` — the sys-tier retier ruled 2026-08-24, executed
|
|
1357
|
-
* / under the owner's 2026-10-02 ruling to carry out the
|
|
1358
|
-
* / recommended.⟩ The sentence above is why it was sys-named, and the retier is why it
|
|
1359
|
-
* / is: the `sys` prefix names the canister-to-canister tier, whose callers are other
|
|
1360
|
-
* / and this method's only caller is a PERSON — the market's admin, at deploy. Keeping it
|
|
1361
|
-
* / made "a `sys` method has no human caller" false, and so uncheckable. A plain admin setter
|
|
1363
|
+
* / under the owner's 2026-10-02 ruling to carry out the interface decisions reviewed before the
|
|
1364
|
+
* / 0.16.0 cut as recommended.⟩ The sentence above is why it was sys-named, and the retier is why it
|
|
1365
|
+
* / no longer is: the `sys` prefix names the canister-to-canister tier, whose callers are other
|
|
1366
|
+
* / canisters, and this method's only caller is a PERSON — the market's admin, at deploy. Keeping it
|
|
1367
|
+
* / there made "a `sys` method has no human caller" false, and so uncheckable. A plain admin setter
|
|
1362
1368
|
* / (`setAdmin`'s sibling) is what it always was.
|
|
1363
1369
|
*/
|
|
1364
1370
|
setRegistryId: ActorMethod<[Principal], Result>;
|
|
1365
1371
|
/**
|
|
1366
|
-
* / ⟨0.16.0,
|
|
1372
|
+
* / ⟨0.16.0, one boolean idiom⟩ enableService + disableService FOLD, same as the endpoint pair.
|
|
1367
1373
|
* /
|
|
1368
1374
|
* / Deliberately NOT admin-overridable, unlike endpoints. Disabling a seller's service is a
|
|
1369
1375
|
* / commercial act against that seller, and an admin who needs to remove a listing should do it
|
|
@@ -1375,7 +1381,7 @@ export interface _SERVICE {
|
|
|
1375
1381
|
* / `confirmJob` and `disputeJob`. `enableService`/`disableService` return `Service not found`
|
|
1376
1382
|
* / (properly `#NotFound`) and **`Not the seller`** (properly `#Refused`) as plain strings, so
|
|
1377
1383
|
* / the arm is gone before this method sees it. Read the MESSAGE, not the arm.
|
|
1378
|
-
* / ⟨2026-08-21;
|
|
1384
|
+
* / ⟨2026-08-21; three costed fixes were recorded, with why none is a
|
|
1379
1385
|
* / one-liner.⟩
|
|
1380
1386
|
* / ⟨CORRECTED 2026-10-02, audited at this site — the paragraph above no longer holds here.⟩
|
|
1381
1387
|
* / `requireServiceSeller` now runs BEFORE the library: a missing service is refused `#NotFound`
|