monero-nodejs-libwallet
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -76,9 +76,9 @@ export = monero; | ||
seed(): string; | ||
on(event: 'newBlock', callback: (height: number) => void): PersonalWallet | MultisigWallet; | ||
on(event: 'newBlock', callback: (height: number) => void): PersonalWallet & MultisigWallet; | ||
on( | ||
event: 'unconfirmedMoneyReceived' | 'moneyReceived' | 'moneySpent', | ||
callback: (tx: string, amount: string) => void, | ||
): PersonalWallet | MultisigWallet; | ||
on(event: 'refreshed' | 'updated', callback: () => void): PersonalWallet | MultisigWallet; | ||
off(event?: WalletEvent): PersonalWallet | MultisigWallet; | ||
): PersonalWallet & MultisigWallet; | ||
on(event: 'refreshed' | 'updated', callback: () => void): PersonalWallet & MultisigWallet; | ||
off(event?: WalletEvent): PersonalWallet & MultisigWallet; | ||
store(): Promise<void>; | ||
@@ -99,7 +99,7 @@ createTransaction(options: { | ||
publicMultisigSignerKey(): string; | ||
setPassword(password: string): PersonalWallet | MultisigWallet; | ||
setRefreshFromBlockHeight(height: number): PersonalWallet | MultisigWallet; | ||
setPassword(password: string): PersonalWallet & MultisigWallet; | ||
setRefreshFromBlockHeight(height: number): PersonalWallet & MultisigWallet; | ||
getRefreshFromBlockHeight(): string; | ||
connected(): boolean; | ||
setTrustedDaemon(value: boolean): PersonalWallet | MultisigWallet; | ||
setTrustedDaemon(value: boolean): PersonalWallet & MultisigWallet; | ||
trustedDaemon(): boolean; | ||
@@ -139,3 +139,3 @@ balance(): string; | ||
language?: Language, | ||
}): Promise<PersonalWallet | MultisigWallet>; | ||
}): Promise<PersonalWallet>; | ||
function openWallet(options: { | ||
@@ -147,3 +147,3 @@ path: string, | ||
language?: Language, | ||
}): Promise<PersonalWallet | MultisigWallet>; | ||
}): Promise<PersonalWallet & MultisigWallet>; | ||
function recoveryWallet(options: { | ||
@@ -150,0 +150,0 @@ path: string, |
{ | ||
"name": "monero-nodejs-libwallet", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Monero libwallet native addon. Under development at the moment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1977404