Skip to content

Commit

Permalink
update dist and monero-cpp submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Nov 11, 2023
1 parent 20c9b29 commit bfc62cb
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 124 deletions.
2 changes: 1 addition & 1 deletion dist/dist/monero_wallet_full.js

Large diffs are not rendered by default.

Binary file modified dist/dist/monero_wallet_full.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/dist/monero_wallet_keys.js

Large diffs are not rendered by default.

Binary file modified dist/dist/monero_wallet_keys.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/dist/monero_web_worker.js.map

Large diffs are not rendered by default.

19 changes: 7 additions & 12 deletions dist/index.d.ts
@@ -1,8 +1,3 @@
/**
* Import and export all library types.
*
* See the full model specification: http://moneroecosystem.org/monero-java/monero-spec.pdf
*/
import GenUtils from "./src/main/ts/common/GenUtils";
import Filter from "./src/main/ts/common/Filter";
import MoneroError from "./src/main/ts/common/MoneroError";
Expand Down Expand Up @@ -79,13 +74,12 @@ import { MoneroWalletKeys } from "./src/main/ts/wallet/MoneroWalletKeys";
import MoneroWalletFull from "./src/main/ts/wallet/MoneroWalletFull";
import MoneroUtils from "./src/main/ts/common/MoneroUtils";
import ThreadPool from "./src/main/ts/common/ThreadPool";
export { GenUtils, Filter, MoneroError, HttpClient, LibraryUtils, MoneroRpcConnection, MoneroRpcError, SslOptions, TaskLooper, ConnectionType, MoneroAltChain, MoneroBan, MoneroBlockHeader, MoneroBlock, MoneroBlockTemplate, MoneroConnectionSpan, MoneroDaemonConfig, MoneroDaemonInfo, MoneroDaemonListener, MoneroDaemonSyncInfo, MoneroDaemonUpdateCheckResult, MoneroDaemonUpdateDownloadResult, MoneroFeeEstimate, MoneroHardForkInfo, MoneroKeyImage, MoneroKeyImageSpentStatus, MoneroMinerTxSum, MoneroMiningStatus, MoneroNetworkType, MoneroOutput, MoneroOutputHistogramEntry, MoneroSubmitTxResult, MoneroTx, MoneroTxPoolStats, MoneroVersion, MoneroPeer, MoneroPruneResult, MoneroAccount, MoneroAccountTag, MoneroAddressBookEntry, MoneroCheck, MoneroCheckReserve, MoneroCheckTx, MoneroDestination, MoneroIntegratedAddress, MoneroKeyImageImportResult, MoneroMultisigInfo, MoneroMultisigInitResult, MoneroMultisigSignResult, MoneroOutputWallet, MoneroOutputQuery, MoneroTxPriority, MoneroTxConfig, MoneroSubaddress, MoneroSyncResult, MoneroTransfer, MoneroIncomingTransfer, MoneroOutgoingTransfer, MoneroTransferQuery, MoneroTxSet, MoneroTxWallet, MoneroTxQuery, MoneroWalletListener, MoneroWalletConfig, MoneroMessageSignatureType, MoneroMessageSignatureResult, MoneroConnectionManagerListener, MoneroConnectionManager, MoneroDaemon, MoneroWallet, MoneroDaemonRpc, MoneroWalletRpc, MoneroWalletKeys, MoneroWalletFull, MoneroUtils, ThreadPool };
/**
* <p>Get the version of the monero-ts library.<p>
*
* @return {string} the version of this monero-ts library
*/
export declare function getVersion(): string;
declare function getVersion(): string;
/**
* <p>Create a client connected to monerod.<p>
*
Expand Down Expand Up @@ -115,7 +109,7 @@ export declare function getVersion(): string;
* @param {string} [password] - password to authenticate with monerod
* @return {Promise<MoneroDaemonRpc>} the daemon RPC client
*/
export declare function connectToDaemonRpc(uriOrConfig: string | Partial<MoneroRpcConnection> | Partial<MoneroDaemonConfig> | string[], username?: string, password?: string): Promise<MoneroDaemonRpc>;
declare function connectToDaemonRpc(uriOrConfig: string | Partial<MoneroRpcConnection> | Partial<MoneroDaemonConfig> | string[], username?: string, password?: string): Promise<MoneroDaemonRpc>;
/**
* <p>Create a client connected to monero-wallet-rpc.</p>
*
Expand Down Expand Up @@ -149,7 +143,7 @@ export declare function connectToDaemonRpc(uriOrConfig: string | Partial<MoneroR
* @param {string} [password] - password to authenticate with monero-wallet-rpc
* @return {Promise<MoneroWalletRpc>} the wallet RPC client
*/
export declare function connectToWalletRpc(uriOrConfig: string | Partial<MoneroRpcConnection> | Partial<MoneroWalletConfig> | string[], username?: string, password?: string): Promise<MoneroWalletRpc>;
declare function connectToWalletRpc(uriOrConfig: string | Partial<MoneroRpcConnection> | Partial<MoneroWalletConfig> | string[], username?: string, password?: string): Promise<MoneroWalletRpc>;
/**
* <p>Create a Monero wallet using client-side WebAssembly bindings to monero-project's wallet2 in C++.<p>
*
Expand Down Expand Up @@ -203,7 +197,7 @@ export declare function connectToWalletRpc(uriOrConfig: string | Partial<MoneroR
* @param {any} [config.fs] - Node.js compatible file system to use (defaults to disk or in-memory FS if browser)
* @return {Promise<MoneroWalletFull>} the created wallet
*/
export declare function createWalletFull(config: Partial<MoneroWalletConfig>): Promise<MoneroWalletFull>;
declare function createWalletFull(config: Partial<MoneroWalletConfig>): Promise<MoneroWalletFull>;
/**
* <p>Open an existing Monero wallet using client-side WebAssembly bindings to monero-project's wallet2 in C++.<p>
*
Expand Down Expand Up @@ -233,7 +227,7 @@ export declare function createWalletFull(config: Partial<MoneroWalletConfig>): P
* @param {any} [config.fs] - Node.js compatible file system to use (defaults to disk or in-memory FS if browser)
* @return {Promise<MoneroWalletFull>} the opened wallet
*/
export declare function openWalletFull(config: Partial<MoneroWalletConfig>): Promise<MoneroWalletFull>;
declare function openWalletFull(config: Partial<MoneroWalletConfig>): Promise<MoneroWalletFull>;
/**
* <p>Create a wallet using WebAssembly bindings to monero-project.</p>
*
Expand All @@ -257,4 +251,5 @@ export declare function openWalletFull(config: Partial<MoneroWalletConfig>): Pro
* @param {string} [config.language] - language of the wallet's seed (defaults to "English" or auto-detected)
* @return {Promise<MoneroWalletKeys>} the created wallet
*/
export declare function createWalletKeys(config: Partial<MoneroWalletConfig>): Promise<MoneroWalletKeys>;
declare function createWalletKeys(config: Partial<MoneroWalletConfig>): Promise<MoneroWalletKeys>;
export { GenUtils, Filter, MoneroError, HttpClient, LibraryUtils, MoneroRpcConnection, MoneroRpcError, SslOptions, TaskLooper, ConnectionType, MoneroAltChain, MoneroBan, MoneroBlockHeader, MoneroBlock, MoneroBlockTemplate, MoneroConnectionSpan, MoneroDaemonConfig, MoneroDaemonInfo, MoneroDaemonListener, MoneroDaemonSyncInfo, MoneroDaemonUpdateCheckResult, MoneroDaemonUpdateDownloadResult, MoneroFeeEstimate, MoneroHardForkInfo, MoneroKeyImage, MoneroKeyImageSpentStatus, MoneroMinerTxSum, MoneroMiningStatus, MoneroNetworkType, MoneroOutput, MoneroOutputHistogramEntry, MoneroSubmitTxResult, MoneroTx, MoneroTxPoolStats, MoneroVersion, MoneroPeer, MoneroPruneResult, MoneroAccount, MoneroAccountTag, MoneroAddressBookEntry, MoneroCheck, MoneroCheckReserve, MoneroCheckTx, MoneroDestination, MoneroIntegratedAddress, MoneroKeyImageImportResult, MoneroMultisigInfo, MoneroMultisigInitResult, MoneroMultisigSignResult, MoneroOutputWallet, MoneroOutputQuery, MoneroTxPriority, MoneroTxConfig, MoneroSubaddress, MoneroSyncResult, MoneroTransfer, MoneroIncomingTransfer, MoneroOutgoingTransfer, MoneroTransferQuery, MoneroTxSet, MoneroTxWallet, MoneroTxQuery, MoneroWalletListener, MoneroWalletConfig, MoneroMessageSignatureType, MoneroMessageSignatureResult, MoneroConnectionManagerListener, MoneroConnectionManager, MoneroDaemon, MoneroWallet, MoneroDaemonRpc, MoneroWalletRpc, MoneroWalletKeys, MoneroWalletFull, MoneroUtils, ThreadPool, getVersion, connectToDaemonRpc, connectToWalletRpc, createWalletFull, openWalletFull, createWalletKeys };
96 changes: 8 additions & 88 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/monero_wallet_full.js

Large diffs are not rendered by default.

Binary file modified dist/monero_wallet_full.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/monero_wallet_keys.js

Large diffs are not rendered by default.

Binary file modified dist/monero_wallet_keys.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/monero_web_worker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/monero_web_worker.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/src/main/ts/common/MoneroUtils.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/src/main/ts/wallet/MoneroWallet.d.ts
Expand Up @@ -642,9 +642,9 @@ export default class MoneroWallet {
* Sign unsigned transactions from a view-only wallet.
*
* @param {string} unsignedTxHex - unsigned transaction hex from when the transactions were created
* @return {Promise<string>} the signed transaction hex
* @return {Promise<MoneroTxSet>} the signed transaction set
*/
signTxs(unsignedTxHex: string): Promise<string>;
signTxs(unsignedTxHex: string): Promise<MoneroTxSet>;
/**
* Submit signed transactions from a view-only wallet.
*
Expand Down
4 changes: 2 additions & 2 deletions dist/src/main/ts/wallet/MoneroWallet.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/src/main/ts/wallet/MoneroWalletFull.d.ts
Expand Up @@ -172,7 +172,7 @@ export default class MoneroWalletFull extends MoneroWalletKeys {
sweepDust(relay?: boolean): Promise<MoneroTxWallet[]>;
relayTxs(txsOrMetadatas: (MoneroTxWallet | string)[]): Promise<string[]>;
describeTxSet(txSet: MoneroTxSet): Promise<MoneroTxSet>;
signTxs(unsignedTxHex: string): Promise<string>;
signTxs(unsignedTxHex: string): Promise<MoneroTxSet>;
submitTxs(signedTxHex: string): Promise<string[]>;
signMessage(message: string, signatureType?: MoneroMessageSignatureType, accountIdx?: number, subaddressIdx?: number): Promise<string>;
verifyMessage(message: string, address: string, signature: string): Promise<MoneroMessageSignatureResult>;
Expand Down Expand Up @@ -316,7 +316,7 @@ declare class MoneroWalletFullProxy extends MoneroWalletKeysProxy {
sweepDust(relay: any): Promise<MoneroTxWallet[]>;
relayTxs(txsOrMetadatas: any): Promise<any>;
describeTxSet(txSet: any): Promise<MoneroTxSet>;
signTxs(unsignedTxHex: any): Promise<any>;
signTxs(unsignedTxHex: any): Promise<MoneroTxSet>;
submitTxs(signedTxHex: any): Promise<any>;
signMessage(message: any, signatureType: any, accountIdx: any, subaddressIdx: any): Promise<any>;
verifyMessage(message: any, address: any, signature: any): Promise<MoneroMessageSignatureResult>;
Expand Down
6 changes: 3 additions & 3 deletions dist/src/main/ts/wallet/MoneroWalletFull.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/src/main/ts/wallet/MoneroWalletRpc.d.ts
Expand Up @@ -232,7 +232,7 @@ export default class MoneroWalletRpc extends MoneroWallet {
sweepDust(relay?: boolean): Promise<MoneroTxWallet[]>;
relayTxs(txsOrMetadatas: (MoneroTxWallet | string)[]): Promise<string[]>;
describeTxSet(txSet: MoneroTxSet): Promise<MoneroTxSet>;
signTxs(unsignedTxHex: string): Promise<string>;
signTxs(unsignedTxHex: string): Promise<MoneroTxSet>;
submitTxs(signedTxHex: string): Promise<string[]>;
signMessage(message: string, signatureType?: MoneroMessageSignatureType, accountIdx?: number, subaddressIdx?: number): Promise<string>;
verifyMessage(message: string, address: string, signature: string): Promise<MoneroMessageSignatureResult>;
Expand Down
8 changes: 4 additions & 4 deletions dist/src/main/ts/wallet/MoneroWalletRpc.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion external/monero-cpp

0 comments on commit bfc62cb

Please sign in to comment.