@propxchain/core-client 0.11.0-canary.49 → 0.12.0
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 +5 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +4 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +5 -0
|
@@ -765,6 +765,10 @@ export interface _SERVICE {
|
|
|
765
765
|
[string],
|
|
766
766
|
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
767
767
|
>,
|
|
768
|
+
'getConveyancerSide' : ActorMethod<
|
|
769
|
+
[Principal, string],
|
|
770
|
+
[] | [{ 'buyer' : null } | { 'seller' : null }]
|
|
771
|
+
>,
|
|
768
772
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
769
773
|
'getCycles' : ActorMethod<[], bigint>,
|
|
770
774
|
'getDelegates' : ActorMethod<[string], Array<[Principal, Principal]>>,
|
|
@@ -852,6 +852,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
852
852
|
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
853
853
|
['query'],
|
|
854
854
|
),
|
|
855
|
+
'getConveyancerSide' : IDL.Func(
|
|
856
|
+
[IDL.Principal, IDL.Text],
|
|
857
|
+
[IDL.Opt(IDL.Variant({ 'buyer' : IDL.Null, 'seller' : IDL.Null }))],
|
|
858
|
+
['query'],
|
|
859
|
+
),
|
|
855
860
|
'getCurrentPhase' : IDL.Func([IDL.Text], [Result_22], ['query']),
|
|
856
861
|
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
857
862
|
'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.12.0",
|
|
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": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -936,6 +936,11 @@ service : {
|
|
|
936
936
|
buyer: bool;
|
|
937
937
|
seller: bool;
|
|
938
938
|
}) query;
|
|
939
|
+
getConveyancerSide: (user: principal, txId: text) ->
|
|
940
|
+
(opt variant {
|
|
941
|
+
buyer;
|
|
942
|
+
seller;
|
|
943
|
+
}) query;
|
|
939
944
|
getCurrentPhase: (transactionId: text) -> (Result_22) query;
|
|
940
945
|
getCycles: () -> (nat) query;
|
|
941
946
|
getDelegates: (transactionId: text) ->
|
|
@@ -765,6 +765,10 @@ export interface _SERVICE {
|
|
|
765
765
|
[string],
|
|
766
766
|
[] | [{ 'buyer' : boolean, 'seller' : boolean }]
|
|
767
767
|
>,
|
|
768
|
+
'getConveyancerSide' : ActorMethod<
|
|
769
|
+
[Principal, string],
|
|
770
|
+
[] | [{ 'buyer' : null } | { 'seller' : null }]
|
|
771
|
+
>,
|
|
768
772
|
'getCurrentPhase' : ActorMethod<[string], Result_22>,
|
|
769
773
|
'getCycles' : ActorMethod<[], bigint>,
|
|
770
774
|
'getDelegates' : ActorMethod<[string], Array<[Principal, Principal]>>,
|
|
@@ -852,6 +852,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
852
852
|
[IDL.Opt(IDL.Record({ 'buyer' : IDL.Bool, 'seller' : IDL.Bool }))],
|
|
853
853
|
['query'],
|
|
854
854
|
),
|
|
855
|
+
'getConveyancerSide' : IDL.Func(
|
|
856
|
+
[IDL.Principal, IDL.Text],
|
|
857
|
+
[IDL.Opt(IDL.Variant({ 'buyer' : IDL.Null, 'seller' : IDL.Null }))],
|
|
858
|
+
['query'],
|
|
859
|
+
),
|
|
855
860
|
'getCurrentPhase' : IDL.Func([IDL.Text], [Result_22], ['query']),
|
|
856
861
|
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
857
862
|
'getDelegates' : IDL.Func(
|