@propxchain/core-client 0.16.0-canary.55 → 0.17.0-canary.56

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.
@@ -271,7 +271,12 @@ export type Result_16 = { 'ok' : PhaseMilestones } |
271
271
  export type Result_17 = { 'ok' : TransactionPartyProgress } |
272
272
  { 'err' : string };
273
273
  export type Result_18 = {
274
- 'ok' : { 'mode' : string, 'seller' : Principal, 'buyer' : Principal }
274
+ 'ok' : {
275
+ 'mode' : string,
276
+ 'createdBy' : Principal,
277
+ 'seller' : Principal,
278
+ 'buyer' : Principal,
279
+ }
275
280
  } |
276
281
  { 'err' : string };
277
282
  export type Result_19 = { 'ok' : NextStepRecommendation } |
@@ -851,6 +856,7 @@ export interface _SERVICE {
851
856
  [string],
852
857
  [] | [TransactionTimeline]
853
858
  >,
859
+ 'handOverSellerFromPlatform' : ActorMethod<[string, Principal], Result>,
854
860
  'hasAcknowledgedTA6Wording' : ActorMethod<[string], boolean>,
855
861
  'initiate_blockchain_completion' : ActorMethod<
856
862
  [string, string, string],
@@ -271,6 +271,7 @@ export const idlFactory = ({ IDL }) => {
271
271
  const Result_18 = IDL.Variant({
272
272
  'ok' : IDL.Record({
273
273
  'mode' : IDL.Text,
274
+ 'createdBy' : IDL.Principal,
274
275
  'seller' : IDL.Principal,
275
276
  'buyer' : IDL.Principal,
276
277
  }),
@@ -991,6 +992,11 @@ export const idlFactory = ({ IDL }) => {
991
992
  [IDL.Opt(TransactionTimeline)],
992
993
  ['query'],
993
994
  ),
995
+ 'handOverSellerFromPlatform' : IDL.Func(
996
+ [IDL.Text, IDL.Principal],
997
+ [Result],
998
+ [],
999
+ ),
994
1000
  'hasAcknowledgedTA6Wording' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
995
1001
  'initiate_blockchain_completion' : IDL.Func(
996
1002
  [IDL.Text, IDL.Text, IDL.Text],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propxchain/core-client",
3
- "version": "0.16.0-canary.55",
3
+ "version": "0.17.0-canary.56",
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",
@@ -556,11 +556,13 @@ type Result_19 =
556
556
  type Result_18 =
557
557
  variant {
558
558
  err: text;
559
- ok: record {
560
- buyer: principal;
561
- mode: text;
562
- seller: principal;
563
- };
559
+ ok:
560
+ record {
561
+ buyer: principal;
562
+ createdBy: principal;
563
+ mode: text;
564
+ seller: principal;
565
+ };
564
566
  };
565
567
  type Result_17 =
566
568
  variant {
@@ -1034,6 +1036,8 @@ service : {
1034
1036
  getUserManagementCanister: () -> (text) query;
1035
1037
  get_transaction_timeline: (transactionID: text) ->
1036
1038
  (opt TransactionTimeline) query;
1039
+ handOverSellerFromPlatform: (transactionId: text, newSeller: principal) ->
1040
+ (Result);
1037
1041
  hasAcknowledgedTA6Wording: (txId: text) -> (bool) query;
1038
1042
  initiate_blockchain_completion: (transactionID: text, buyerFundsHash:
1039
1043
  text, completionStatementHash: text) -> (Result);
@@ -271,7 +271,12 @@ export type Result_16 = { 'ok' : PhaseMilestones } |
271
271
  export type Result_17 = { 'ok' : TransactionPartyProgress } |
272
272
  { 'err' : string };
273
273
  export type Result_18 = {
274
- 'ok' : { 'mode' : string, 'seller' : Principal, 'buyer' : Principal }
274
+ 'ok' : {
275
+ 'mode' : string,
276
+ 'createdBy' : Principal,
277
+ 'seller' : Principal,
278
+ 'buyer' : Principal,
279
+ }
275
280
  } |
276
281
  { 'err' : string };
277
282
  export type Result_19 = { 'ok' : NextStepRecommendation } |
@@ -851,6 +856,7 @@ export interface _SERVICE {
851
856
  [string],
852
857
  [] | [TransactionTimeline]
853
858
  >,
859
+ 'handOverSellerFromPlatform' : ActorMethod<[string, Principal], Result>,
854
860
  'hasAcknowledgedTA6Wording' : ActorMethod<[string], boolean>,
855
861
  'initiate_blockchain_completion' : ActorMethod<
856
862
  [string, string, string],
@@ -271,6 +271,7 @@ export const idlFactory = ({ IDL }) => {
271
271
  const Result_18 = IDL.Variant({
272
272
  'ok' : IDL.Record({
273
273
  'mode' : IDL.Text,
274
+ 'createdBy' : IDL.Principal,
274
275
  'seller' : IDL.Principal,
275
276
  'buyer' : IDL.Principal,
276
277
  }),
@@ -991,6 +992,11 @@ export const idlFactory = ({ IDL }) => {
991
992
  [IDL.Opt(TransactionTimeline)],
992
993
  ['query'],
993
994
  ),
995
+ 'handOverSellerFromPlatform' : IDL.Func(
996
+ [IDL.Text, IDL.Principal],
997
+ [Result],
998
+ [],
999
+ ),
994
1000
  'hasAcknowledgedTA6Wording' : IDL.Func([IDL.Text], [IDL.Bool], ['query']),
995
1001
  'initiate_blockchain_completion' : IDL.Func(
996
1002
  [IDL.Text, IDL.Text, IDL.Text],