diff --git a/dts/lib.fleek.d.ts b/dts/lib.fleek.d.ts index 9b6d268..6cf781f 100644 --- a/dts/lib.fleek.d.ts +++ b/dts/lib.fleek.d.ts @@ -7,22 +7,22 @@ declare namespace Fleek { * @param {Uint8Array} hash - Blake3 hash of content to fetch * @returns {Promise} True if the fetch was successful */ - function fetch_blake3(hash: Uint8Array): Promise; + function fetchBlake3(hash: Uint8Array): Promise; /** Load a blockstore handle to some blake3 content * @param {Uint8Array} hash - Blake3 hash of the content * @returns {Promise} */ - function load_content(hash: Uint8Array): Promise; + function loadContent(hash: Uint8Array): Promise; /** Fetch a clients FLK balance. * @param {Uint8Array} account - The balance to check * @returns {Promise} BigInt of the balance */ - function query_client_flk_balance(account: Uint8Array): Promise; + function queryClientFlkBalance(account: Uint8Array): Promise; /** Fetch a clients bandwidth balance. * @param {Uint8Array} account - The balance to check * @returns {Promise} BigInt of the balance */ - function query_client_bandwidth_balance( + function queryClientBandwidthBalance( account: Uint8Array, ): Promise; @@ -41,6 +41,6 @@ declare namespace Fleek { * @param {number} idx - Index of block to read * @returns {Promise} */ - read(idx: number): Promise; + readBlock(idx: number): Promise; } }