@propxchain/core-client 0.9.0-canary.46 → 0.11.0-canary.48
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 +8 -0
- package/dist/canisters/transaction_manager/transaction_manager.did.js +14 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +13 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +8 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +14 -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]>>,
|
|
@@ -770,6 +774,10 @@ export interface _SERVICE {
|
|
|
770
774
|
'getFormAnswersForPlatform' : ActorMethod<[string], Result_21>,
|
|
771
775
|
'getHmlrFetch' : ActorMethod<[string], Result_20>,
|
|
772
776
|
'getInviteCode' : ActorMethod<[string], Result>,
|
|
777
|
+
'getInviteForPlatform' : ActorMethod<
|
|
778
|
+
[string],
|
|
779
|
+
[] | [{ 'inviteCode' : string, 'propertyAddress' : string }]
|
|
780
|
+
>,
|
|
773
781
|
'getLandRegistryCanister' : ActorMethod<[], string>,
|
|
774
782
|
'getLandRegistryDetail' : ActorMethod<
|
|
775
783
|
[string],
|
|
@@ -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(
|
|
@@ -868,6 +873,15 @@ export const idlFactory = ({ IDL }) => {
|
|
|
868
873
|
'getFormAnswersForPlatform' : IDL.Func([IDL.Text], [Result_21], ['query']),
|
|
869
874
|
'getHmlrFetch' : IDL.Func([IDL.Text], [Result_20], ['query']),
|
|
870
875
|
'getInviteCode' : IDL.Func([IDL.Text], [Result], ['query']),
|
|
876
|
+
'getInviteForPlatform' : IDL.Func(
|
|
877
|
+
[IDL.Text],
|
|
878
|
+
[
|
|
879
|
+
IDL.Opt(
|
|
880
|
+
IDL.Record({ 'inviteCode' : IDL.Text, 'propertyAddress' : IDL.Text })
|
|
881
|
+
),
|
|
882
|
+
],
|
|
883
|
+
['query'],
|
|
884
|
+
),
|
|
871
885
|
'getLandRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
872
886
|
'getLandRegistryDetail' : IDL.Func(
|
|
873
887
|
[IDL.Text],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-canary.48",
|
|
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) ->
|
|
@@ -941,6 +949,11 @@ service : {
|
|
|
941
949
|
getFormAnswersForPlatform: (transactionId: text) -> (Result_21) query;
|
|
942
950
|
getHmlrFetch: (transactionId: text) -> (Result_20) query;
|
|
943
951
|
getInviteCode: (transactionId: text) -> (Result) query;
|
|
952
|
+
getInviteForPlatform: (transactionId: text) ->
|
|
953
|
+
(opt record {
|
|
954
|
+
inviteCode: text;
|
|
955
|
+
propertyAddress: text;
|
|
956
|
+
}) query;
|
|
944
957
|
getLandRegistryCanister: () -> (text) query;
|
|
945
958
|
getLandRegistryDetail: (transactionID: text) ->
|
|
946
959
|
(opt LandRegistryIntegration) 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]>>,
|
|
@@ -770,6 +774,10 @@ export interface _SERVICE {
|
|
|
770
774
|
'getFormAnswersForPlatform' : ActorMethod<[string], Result_21>,
|
|
771
775
|
'getHmlrFetch' : ActorMethod<[string], Result_20>,
|
|
772
776
|
'getInviteCode' : ActorMethod<[string], Result>,
|
|
777
|
+
'getInviteForPlatform' : ActorMethod<
|
|
778
|
+
[string],
|
|
779
|
+
[] | [{ 'inviteCode' : string, 'propertyAddress' : string }]
|
|
780
|
+
>,
|
|
773
781
|
'getLandRegistryCanister' : ActorMethod<[], string>,
|
|
774
782
|
'getLandRegistryDetail' : ActorMethod<
|
|
775
783
|
[string],
|
|
@@ -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(
|
|
@@ -868,6 +873,15 @@ export const idlFactory = ({ IDL }) => {
|
|
|
868
873
|
'getFormAnswersForPlatform' : IDL.Func([IDL.Text], [Result_21], ['query']),
|
|
869
874
|
'getHmlrFetch' : IDL.Func([IDL.Text], [Result_20], ['query']),
|
|
870
875
|
'getInviteCode' : IDL.Func([IDL.Text], [Result], ['query']),
|
|
876
|
+
'getInviteForPlatform' : IDL.Func(
|
|
877
|
+
[IDL.Text],
|
|
878
|
+
[
|
|
879
|
+
IDL.Opt(
|
|
880
|
+
IDL.Record({ 'inviteCode' : IDL.Text, 'propertyAddress' : IDL.Text })
|
|
881
|
+
),
|
|
882
|
+
],
|
|
883
|
+
['query'],
|
|
884
|
+
),
|
|
871
885
|
'getLandRegistryCanister' : IDL.Func([], [IDL.Text], ['query']),
|
|
872
886
|
'getLandRegistryDetail' : IDL.Func(
|
|
873
887
|
[IDL.Text],
|