@covalenthq/client-sdk 2.1.1 → 2.1.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/README.md +1 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +84 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/services/TransactionService.d.ts +1 -1
- package/dist/cjs/src/utils/functions/timestamp-parser.d.ts +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +84 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/services/TransactionService.d.ts +1 -1
- package/dist/esm/src/utils/functions/timestamp-parser.d.ts +1 -0
- package/package.json +1 -1
|
@@ -61,7 +61,7 @@ export declare class TransactionService {
|
|
|
61
61
|
* - `withSafe`: Include safe details.
|
|
62
62
|
*
|
|
63
63
|
*/
|
|
64
|
-
getTransactionsForBlock(chainName: Chain, blockHeight: number | string, queryParamOpts?: GetTransactionsForBlockQueryParamOpts): Promise<GoldRushResponse<TransactionsBlockResponse>>;
|
|
64
|
+
getTransactionsForBlock(chainName: Chain, blockHeight: number | string | "latest", queryParamOpts?: GetTransactionsForBlockQueryParamOpts): Promise<GoldRushResponse<TransactionsBlockResponse>>;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* Commonly used to fetch the earliest and latest transactions, and the transaction count for a wallet. Calculate the age of the wallet and the time it has been idle and quickly gain insights into their engagement with web3.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const timestampParser: (timestamp: string | Date, type: "descriptive" | "DD MMM YY" | "relative" | "YYYY MM DD") => string;
|