@attocash/commons-test 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.
- package/commons-commons-test.d.mts +5 -2
- package/commons-commons-test.mjs +502 -469
- package/commons-commons-test.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -829,6 +829,7 @@ export declare namespace AttoSigner {
|
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
|
+
export declare function privateKeyToSigner(_this_: AttoPrivateKey): AttoSigner;
|
|
832
833
|
export declare class AttoTransaction implements HeightSupport, AddressSupport, AttoSerializable {
|
|
833
834
|
constructor(block: AttoBlock, signature: AttoSignature, work: AttoWork);
|
|
834
835
|
get block(): AttoBlock;
|
|
@@ -1045,6 +1046,8 @@ export declare namespace HeightSearch {
|
|
|
1045
1046
|
}
|
|
1046
1047
|
}
|
|
1047
1048
|
}
|
|
1049
|
+
export declare function accountToJson(_this_: AttoAccount): string;
|
|
1050
|
+
export declare function accountFromJson(_this_: string): AttoAccount;
|
|
1048
1051
|
export declare function receivableToJson(_this_: AttoReceivable): string;
|
|
1049
1052
|
export declare function receivableFromJson(_this_: string): AttoReceivable;
|
|
1050
1053
|
export declare function transactionToJson(_this_: AttoTransaction): string;
|
|
@@ -1115,9 +1118,9 @@ export declare namespace AttoAccountEntryMonitorAsync {
|
|
|
1115
1118
|
export declare class AttoAccountMonitorAsync /* implements AutoCloseable */ {
|
|
1116
1119
|
private constructor();
|
|
1117
1120
|
get accountMonitor(): any/* AttoAccountMonitor */;
|
|
1118
|
-
|
|
1121
|
+
monitorAddressArray(addresses: Array<AttoAddress>): Promise<void>;
|
|
1119
1122
|
monitorAddress(address: AttoAddress): Promise<void>;
|
|
1120
|
-
getAccounts(): Promise<
|
|
1123
|
+
getAccounts(): Promise<Array<AttoAccount>>;
|
|
1121
1124
|
onReceivable(minAmount: AttoAmount | undefined, onReceivable: (p0: AttoReceivable) => any, onCancel: (p0: Nullable<Error>/* Nullable<Exception> */) => any): any/* AttoJob */;
|
|
1122
1125
|
}
|
|
1123
1126
|
export declare namespace AttoAccountMonitorAsync {
|