@propxchain/core-client 0.8.0-canary.45 → 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 +6 -0
- package/dist/canisters/transaction_manager/transaction_manager.did.js +7 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +10 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +6 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +7 -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]>>,
|
|
@@ -790,7 +794,9 @@ export interface _SERVICE {
|
|
|
790
794
|
'getPropertyRegistryCanister' : ActorMethod<[], string>,
|
|
791
795
|
'getSolicitorStatus' : ActorMethod<[string], Result_15>,
|
|
792
796
|
'getTA10' : ActorMethod<[string], Result_14>,
|
|
797
|
+
'getTA10ForPlatform' : ActorMethod<[string], Result_14>,
|
|
793
798
|
'getTA6' : ActorMethod<[string], Result_13>,
|
|
799
|
+
'getTA6ForPlatform' : ActorMethod<[string], Result_13>,
|
|
794
800
|
'getTA7' : ActorMethod<[string], Result_12>,
|
|
795
801
|
'getTransaction' : ActorMethod<[string], [] | [Transaction]>,
|
|
796
802
|
'getTransactionBots' : ActorMethod<[string], Result_11>,
|
|
@@ -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(
|
|
@@ -901,7 +906,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
901
906
|
'getPropertyRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
902
907
|
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
903
908
|
'getTA10' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
909
|
+
'getTA10ForPlatform' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
904
910
|
'getTA6' : IDL.Func([IDL.Text], [Result_13], ['query']),
|
|
911
|
+
'getTA6ForPlatform' : IDL.Func([IDL.Text], [Result_13], ['query']),
|
|
905
912
|
'getTA7' : IDL.Func([IDL.Text], [Result_12], ['query']),
|
|
906
913
|
'getTransaction' : IDL.Func([IDL.Text], [IDL.Opt(Transaction)], ['query']),
|
|
907
914
|
'getTransactionBots' : IDL.Func([IDL.Text], [Result_11], ['query']),
|
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) ->
|
|
@@ -962,7 +970,9 @@ service : {
|
|
|
962
970
|
getPropertyRegistryCanister: () -> (text) query;
|
|
963
971
|
getSolicitorStatus: (transactionId: text) -> (Result_15) query;
|
|
964
972
|
getTA10: (txId: text) -> (Result_14) query;
|
|
973
|
+
getTA10ForPlatform: (txId: text) -> (Result_14) query;
|
|
965
974
|
getTA6: (txId: text) -> (Result_13) query;
|
|
975
|
+
getTA6ForPlatform: (txId: text) -> (Result_13) query;
|
|
966
976
|
getTA7: (txId: text) -> (Result_12) query;
|
|
967
977
|
getTransaction: (id: text) -> (opt Transaction) query;
|
|
968
978
|
getTransactionBots: (transactionId: text) -> (Result_11) query;
|
|
@@ -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]>>,
|
|
@@ -790,7 +794,9 @@ export interface _SERVICE {
|
|
|
790
794
|
'getPropertyRegistryCanister' : ActorMethod<[], string>,
|
|
791
795
|
'getSolicitorStatus' : ActorMethod<[string], Result_15>,
|
|
792
796
|
'getTA10' : ActorMethod<[string], Result_14>,
|
|
797
|
+
'getTA10ForPlatform' : ActorMethod<[string], Result_14>,
|
|
793
798
|
'getTA6' : ActorMethod<[string], Result_13>,
|
|
799
|
+
'getTA6ForPlatform' : ActorMethod<[string], Result_13>,
|
|
794
800
|
'getTA7' : ActorMethod<[string], Result_12>,
|
|
795
801
|
'getTransaction' : ActorMethod<[string], [] | [Transaction]>,
|
|
796
802
|
'getTransactionBots' : ActorMethod<[string], Result_11>,
|
|
@@ -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(
|
|
@@ -901,7 +906,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
901
906
|
'getPropertyRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
902
907
|
'getSolicitorStatus' : IDL.Func([IDL.Text], [Result_15], ['query']),
|
|
903
908
|
'getTA10' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
909
|
+
'getTA10ForPlatform' : IDL.Func([IDL.Text], [Result_14], ['query']),
|
|
904
910
|
'getTA6' : IDL.Func([IDL.Text], [Result_13], ['query']),
|
|
911
|
+
'getTA6ForPlatform' : IDL.Func([IDL.Text], [Result_13], ['query']),
|
|
905
912
|
'getTA7' : IDL.Func([IDL.Text], [Result_12], ['query']),
|
|
906
913
|
'getTransaction' : IDL.Func([IDL.Text], [IDL.Opt(Transaction)], ['query']),
|
|
907
914
|
'getTransactionBots' : IDL.Func([IDL.Text], [Result_11], ['query']),
|