@propxchain/core-client 0.9.0-canary.46 → 0.10.0-canary.47
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/canisters/transaction_manager/transaction_manager.did.d.ts +4 -0
- package/dist/canisters/transaction_manager/transaction_manager.did.js +5 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +8 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +4 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +5 -0
|
@@ -761,6 +761,10 @@ export interface _SERVICE {
|
|
|
761
761
|
'getAllInviteCodes' : ActorMethod<[], Array<[string, string]>>,
|
|
762
762
|
'getAllTransactions' : ActorMethod<[], Array<Transaction>>,
|
|
763
763
|
'getAnomalies' : ActorMethod<[string], Result_23>,
|
|
764
|
+
'getCompletionConfirmations' : ActorMethod<
|
|
765
|
+
[string],
|
|
766
|
+
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
767
|
+
>,
|
|
764
768
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
765
769
|
'getCycles' : ActorMethod<[], bigint>,
|
|
766
770
|
'getDelegates' : ActorMethod<[string], Array<[Principal, Principal]>>,
|
|
@@ -847,6 +847,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
847
847
|
),
|
|
848
848
|
'getAllTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
849
849
|
'getAnomalies' : IDL.Func([IDL.Text], [Result_23], ['query']),
|
|
850
|
+
'getCompletionConfirmations' : IDL.Func(
|
|
851
|
+
[IDL.Text],
|
|
852
|
+
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
853
|
+
['query'],
|
|
854
|
+
),
|
|
850
855
|
'getCurrentPhase' : IDL.Func([IDL.Text], [Result_22], ['query']),
|
|
851
856
|
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
852
857
|
'getDelegates' : IDL.Func(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0-canary.47",
|
|
4
4
|
"description": "Typed TypeScript client for the PropXchain core canisters on the Internet Computer. Includes a deterministic mock mode for local development and tests.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -928,6 +928,14 @@ service : {
|
|
|
928
928
|
}) query;
|
|
929
929
|
getAllTransactions: () -> (vec Transaction) query;
|
|
930
930
|
getAnomalies: (txId: text) -> (Result_23) query;
|
|
931
|
+
/// H6: which sides have confirmed completion so far, so each side's page
|
|
932
|
+
/// can say "waiting for the other side". Members only; a stranger gets
|
|
933
|
+
/// null, the same as a transaction with nothing pending.
|
|
934
|
+
getCompletionConfirmations: (transactionID: text) ->
|
|
935
|
+
(opt record {
|
|
936
|
+
buyer: bool;
|
|
937
|
+
seller: bool;
|
|
938
|
+
}) query;
|
|
931
939
|
getCurrentPhase: (transactionId: text) -> (Result_22) query;
|
|
932
940
|
getCycles: () -> (nat) query;
|
|
933
941
|
getDelegates: (transactionId: text) ->
|
|
@@ -761,6 +761,10 @@ export interface _SERVICE {
|
|
|
761
761
|
'getAllInviteCodes' : ActorMethod<[], Array<[string, string]>>,
|
|
762
762
|
'getAllTransactions' : ActorMethod<[], Array<Transaction>>,
|
|
763
763
|
'getAnomalies' : ActorMethod<[string], Result_23>,
|
|
764
|
+
'getCompletionConfirmations' : ActorMethod<
|
|
765
|
+
[string],
|
|
766
|
+
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
767
|
+
>,
|
|
764
768
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
765
769
|
'getCycles' : ActorMethod<[], bigint>,
|
|
766
770
|
'getDelegates' : ActorMethod<[string], Array<[Principal, Principal]>>,
|
|
@@ -847,6 +847,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
847
847
|
),
|
|
848
848
|
'getAllTransactions' : IDL.Func([], [IDL.Vec(Transaction)], ['query']),
|
|
849
849
|
'getAnomalies' : IDL.Func([IDL.Text], [Result_23], ['query']),
|
|
850
|
+
'getCompletionConfirmations' : IDL.Func(
|
|
851
|
+
[IDL.Text],
|
|
852
|
+
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
853
|
+
['query'],
|
|
854
|
+
),
|
|
850
855
|
'getCurrentPhase' : IDL.Func([IDL.Text], [Result_22], ['query']),
|
|
851
856
|
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
852
857
|
'getDelegates' : IDL.Func(
|