@propxchain/core-client 0.6.0-canary.43 → 0.8.0-canary.45
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 +5 -0
- package/dist/canisters/transaction_manager/transaction_manager.did.js +13 -0
- package/package.json +1 -1
- package/src/canisters/transaction_manager/transaction_manager.did +7 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +5 -0
- package/src/canisters/transaction_manager/transaction_manager.did.js +13 -0
|
@@ -796,6 +796,7 @@ export interface _SERVICE {
|
|
|
796
796
|
'getTransactionBots' : ActorMethod<[string], Result_11>,
|
|
797
797
|
'getTransactionByInviteCode' : ActorMethod<[string], [] | [Transaction]>,
|
|
798
798
|
'getTransactionChain' : ActorMethod<[string], Result_10>,
|
|
799
|
+
'getTransactionForPlatform' : ActorMethod<[string], Result_7>,
|
|
799
800
|
'getTransactionNotifications' : ActorMethod<[string], Result_9>,
|
|
800
801
|
'getTransactionParties' : ActorMethod<[string], Result_8>,
|
|
801
802
|
'getTransactionsByStatus' : ActorMethod<
|
|
@@ -896,6 +897,10 @@ export interface _SERVICE {
|
|
|
896
897
|
* / (buyer + seller racing to sign) while canModifyTransaction await is in flight.
|
|
897
898
|
*/
|
|
898
899
|
'recordPartySignature' : ActorMethod<[string, string, string], Result>,
|
|
900
|
+
'recordPdtfExchange' : ActorMethod<
|
|
901
|
+
[string, { 'exported' : null } | { 'imported' : null }, string, string, bigint, bigint],
|
|
902
|
+
Result_1
|
|
903
|
+
>,
|
|
899
904
|
'recordQuoteReceived' : ActorMethod<
|
|
900
905
|
[string, string, string, bigint],
|
|
901
906
|
Result_1
|
|
@@ -911,6 +911,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
911
911
|
[],
|
|
912
912
|
),
|
|
913
913
|
'getTransactionChain' : IDL.Func([IDL.Text], [Result_10], ['query']),
|
|
914
|
+
'getTransactionForPlatform' : IDL.Func([IDL.Text], [Result_7], ['query']),
|
|
914
915
|
'getTransactionNotifications' : IDL.Func([IDL.Text], [Result_9], ['query']),
|
|
915
916
|
'getTransactionParties' : IDL.Func([IDL.Text], [Result_8], ['query']),
|
|
916
917
|
'getTransactionsByStatus' : IDL.Func(
|
|
@@ -1009,6 +1010,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1009
1010
|
[Result],
|
|
1010
1011
|
[],
|
|
1011
1012
|
),
|
|
1013
|
+
'recordPdtfExchange' : IDL.Func(
|
|
1014
|
+
[
|
|
1015
|
+
IDL.Text,
|
|
1016
|
+
IDL.Variant({ 'exported' : IDL.Null, 'imported' : IDL.Null }),
|
|
1017
|
+
IDL.Text,
|
|
1018
|
+
IDL.Text,
|
|
1019
|
+
IDL.Nat,
|
|
1020
|
+
IDL.Nat,
|
|
1021
|
+
],
|
|
1022
|
+
[Result_1],
|
|
1023
|
+
[],
|
|
1024
|
+
),
|
|
1012
1025
|
'recordQuoteReceived' : IDL.Func(
|
|
1013
1026
|
[IDL.Text, IDL.Text, IDL.Text, IDL.Nat],
|
|
1014
1027
|
[Result_1],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propxchain/core-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0-canary.45",
|
|
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",
|
|
@@ -968,6 +968,7 @@ service : {
|
|
|
968
968
|
getTransactionBots: (transactionId: text) -> (Result_11) query;
|
|
969
969
|
getTransactionByInviteCode: (inviteCode: text) -> (opt Transaction);
|
|
970
970
|
getTransactionChain: (transactionId: text) -> (Result_10) query;
|
|
971
|
+
getTransactionForPlatform: (transactionId: text) -> (Result_7) query;
|
|
971
972
|
getTransactionNotifications: (transactionId: text) -> (Result_9) query;
|
|
972
973
|
getTransactionParties: (transactionId: text) -> (Result_8) query;
|
|
973
974
|
getTransactionsByStatus: (status: TransactionStatus) ->
|
|
@@ -1062,6 +1063,12 @@ service : {
|
|
|
1062
1063
|
/// (buyer + seller racing to sign) while canModifyTransaction await is in flight.
|
|
1063
1064
|
recordPartySignature: (transactionID: text, signatureHash: text,
|
|
1064
1065
|
signingRole: text) -> (Result);
|
|
1066
|
+
recordPdtfExchange: (transactionId: text, direction:
|
|
1067
|
+
variant {
|
|
1068
|
+
exported;
|
|
1069
|
+
imported;
|
|
1070
|
+
}, claimSetHash: text, counterparty: text, acceptedClaims: nat,
|
|
1071
|
+
rejectedClaims: nat) -> (Result_1);
|
|
1065
1072
|
recordQuoteReceived: (txId: text, conveyancerId: text, quoteHash: text,
|
|
1066
1073
|
quotedAmountPence: nat) -> (Result_1);
|
|
1067
1074
|
recordQuoteRequested: (txId: text, conveyancerId: text) -> (Result_1);
|
|
@@ -796,6 +796,7 @@ export interface _SERVICE {
|
|
|
796
796
|
'getTransactionBots' : ActorMethod<[string], Result_11>,
|
|
797
797
|
'getTransactionByInviteCode' : ActorMethod<[string], [] | [Transaction]>,
|
|
798
798
|
'getTransactionChain' : ActorMethod<[string], Result_10>,
|
|
799
|
+
'getTransactionForPlatform' : ActorMethod<[string], Result_7>,
|
|
799
800
|
'getTransactionNotifications' : ActorMethod<[string], Result_9>,
|
|
800
801
|
'getTransactionParties' : ActorMethod<[string], Result_8>,
|
|
801
802
|
'getTransactionsByStatus' : ActorMethod<
|
|
@@ -896,6 +897,10 @@ export interface _SERVICE {
|
|
|
896
897
|
* / (buyer + seller racing to sign) while canModifyTransaction await is in flight.
|
|
897
898
|
*/
|
|
898
899
|
'recordPartySignature' : ActorMethod<[string, string, string], Result>,
|
|
900
|
+
'recordPdtfExchange' : ActorMethod<
|
|
901
|
+
[string, { 'exported' : null } | { 'imported' : null }, string, string, bigint, bigint],
|
|
902
|
+
Result_1
|
|
903
|
+
>,
|
|
899
904
|
'recordQuoteReceived' : ActorMethod<
|
|
900
905
|
[string, string, string, bigint],
|
|
901
906
|
Result_1
|
|
@@ -911,6 +911,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
911
911
|
[],
|
|
912
912
|
),
|
|
913
913
|
'getTransactionChain' : IDL.Func([IDL.Text], [Result_10], ['query']),
|
|
914
|
+
'getTransactionForPlatform' : IDL.Func([IDL.Text], [Result_7], ['query']),
|
|
914
915
|
'getTransactionNotifications' : IDL.Func([IDL.Text], [Result_9], ['query']),
|
|
915
916
|
'getTransactionParties' : IDL.Func([IDL.Text], [Result_8], ['query']),
|
|
916
917
|
'getTransactionsByStatus' : IDL.Func(
|
|
@@ -1009,6 +1010,18 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1009
1010
|
[Result],
|
|
1010
1011
|
[],
|
|
1011
1012
|
),
|
|
1013
|
+
'recordPdtfExchange' : IDL.Func(
|
|
1014
|
+
[
|
|
1015
|
+
IDL.Text,
|
|
1016
|
+
IDL.Variant({ 'exported' : IDL.Null, 'imported' : IDL.Null }),
|
|
1017
|
+
IDL.Text,
|
|
1018
|
+
IDL.Text,
|
|
1019
|
+
IDL.Nat,
|
|
1020
|
+
IDL.Nat,
|
|
1021
|
+
],
|
|
1022
|
+
[Result_1],
|
|
1023
|
+
[],
|
|
1024
|
+
),
|
|
1012
1025
|
'recordQuoteReceived' : IDL.Func(
|
|
1013
1026
|
[IDL.Text, IDL.Text, IDL.Text, IDL.Nat],
|
|
1014
1027
|
[Result_1],
|