@engramx/idl 0.16.0-rc.25 → 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/registry.idl.js
CHANGED
|
@@ -8,6 +8,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
8
8
|
Conflict: IDL.Text,
|
|
9
9
|
});
|
|
10
10
|
const Result = IDL.Variant({ Ok: IDL.Null, Err: Error });
|
|
11
|
+
const AcceptedAtRegistry = IDL.Record({
|
|
12
|
+
expiresAtNs: IDL.Int,
|
|
13
|
+
from: IDL.Principal,
|
|
14
|
+
custody: IDL.Variant({ Sovereign: IDL.Null, Managed: IDL.Null }),
|
|
15
|
+
});
|
|
16
|
+
const Result_32 = IDL.Variant({ Ok: AcceptedAtRegistry, Err: Error });
|
|
11
17
|
const Result_7 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
|
|
12
18
|
const FleetCycleHealth = IDL.Record({
|
|
13
19
|
unreadable: IDL.Nat,
|
|
@@ -465,10 +471,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
465
471
|
});
|
|
466
472
|
return IDL.Service({
|
|
467
473
|
abandonMyEngram: IDL.Func([], [Result], []),
|
|
474
|
+
acceptEngramOffer: IDL.Func([IDL.Principal], [Result_32], []),
|
|
468
475
|
addAuditViewer: IDL.Func([IDL.Principal], [Result], []),
|
|
469
476
|
addChangelogEntry: IDL.Func([IDL.Text, IDL.Text], [Result], []),
|
|
470
477
|
appendAgentDispute: IDL.Func([IDL.Text], [Result], []),
|
|
471
478
|
claimSovereignty: IDL.Func([], [Result], []),
|
|
479
|
+
declineEngramOffer: IDL.Func([IDL.Principal], [Result], []),
|
|
472
480
|
engramWasmFinalize: IDL.Func([IDL.Text], [Result_7], []),
|
|
473
481
|
engramWasmInit: IDL.Func([], [Result], []),
|
|
474
482
|
engramWasmPushChunk: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_7], []),
|
|
@@ -637,6 +645,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
637
645
|
sysNoteChildSignIn: IDL.Func([IDL.Record({ signIn: IDL.Opt(IDL.Principal) })], [Result], []),
|
|
638
646
|
sysNoteReset: IDL.Func([], [Result], []),
|
|
639
647
|
sysNotifyOwnershipTransfer: IDL.Func([IDL.Principal], [Result_3], []),
|
|
648
|
+
sysOfferOwnership: IDL.Func([IDL.Principal, IDL.Int], [Result], []),
|
|
640
649
|
sysOpenChild: IDL.Func(
|
|
641
650
|
[
|
|
642
651
|
IDL.Record({
|
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.27",
|
|
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>",
|