@attocash/commons-js 6.3.1 → 6.3.2

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.
@@ -827,6 +827,7 @@ export declare namespace AttoSigner {
827
827
  }
828
828
  }
829
829
  }
830
+ export declare function privateKeyToSigner(_this_: AttoPrivateKey): AttoSigner;
830
831
  export declare class AttoTransaction implements HeightSupport, AddressSupport, AttoSerializable {
831
832
  constructor(block: AttoBlock, signature: AttoSignature, work: AttoWork);
832
833
  get block(): AttoBlock;
@@ -1043,6 +1044,8 @@ export declare namespace HeightSearch {
1043
1044
  }
1044
1045
  }
1045
1046
  }
1047
+ export declare function accountToJson(_this_: AttoAccount): string;
1048
+ export declare function accountFromJson(_this_: string): AttoAccount;
1046
1049
  export declare function receivableToJson(_this_: AttoReceivable): string;
1047
1050
  export declare function receivableFromJson(_this_: string): AttoReceivable;
1048
1051
  export declare function transactionToJson(_this_: AttoTransaction): string;
@@ -1113,9 +1116,9 @@ export declare namespace AttoAccountEntryMonitorAsync {
1113
1116
  export declare class AttoAccountMonitorAsync /* implements AutoCloseable */ {
1114
1117
  private constructor();
1115
1118
  get accountMonitor(): any/* AttoAccountMonitor */;
1116
- monitorCollection(addresses: any/* Collection<AttoAddress> */): Promise<void>;
1119
+ monitorAddressArray(addresses: Array<AttoAddress>): Promise<void>;
1117
1120
  monitorAddress(address: AttoAddress): Promise<void>;
1118
- getAccounts(): Promise<any/* Collection<AttoAccount> */>;
1121
+ getAccounts(): Promise<Array<AttoAccount>>;
1119
1122
  onReceivable(minAmount: AttoAmount | undefined, onReceivable: (p0: AttoReceivable) => any, onCancel: (p0: Nullable<Error>/* Nullable<Exception> */) => any): any/* AttoJob */;
1120
1123
  }
1121
1124
  export declare namespace AttoAccountMonitorAsync {