@secretkeylabs/stacks-tools 0.7.0-3be878c → 0.7.0-73ae437
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/dist/index.d.cts +2 -8
- package/dist/index.d.ts +2 -8
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperationResponse
|
|
1
|
+
import { OperationResponse } from '@stacks/blockchain-api-client';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { ClarityAbi, OptionalCV, TupleCV, BufferCV, UIntCV, PrincipalCV, ListCV } from '@stacks/transactions';
|
|
4
4
|
|
|
@@ -31,12 +31,6 @@ type ApiPaginationOptions = {
|
|
|
31
31
|
limit?: number;
|
|
32
32
|
offset?: number;
|
|
33
33
|
};
|
|
34
|
-
type ListResponse<T = unknown> = {
|
|
35
|
-
limit: number;
|
|
36
|
-
offset: number;
|
|
37
|
-
total: number;
|
|
38
|
-
results: T[];
|
|
39
|
-
};
|
|
40
34
|
|
|
41
35
|
type SafeError<TName extends string = string, TData = unknown> = {
|
|
42
36
|
readonly name: TName;
|
|
@@ -96,7 +90,7 @@ type Args$l = {
|
|
|
96
90
|
*/
|
|
97
91
|
order?: "asc" | "desc";
|
|
98
92
|
} & ApiRequestOptions & ApiPaginationOptions;
|
|
99
|
-
type MempoolTransactionsResponse =
|
|
93
|
+
type MempoolTransactionsResponse = OperationResponse["/extended/v1/tx/mempool"];
|
|
100
94
|
declare function mempoolTransactions(args: Args$l): Promise<Result$1<MempoolTransactionsResponse, SafeError<"FetchMempoolTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
|
|
101
95
|
|
|
102
96
|
type mempoolTransactions$1_MempoolTransactionsResponse = MempoolTransactionsResponse;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperationResponse
|
|
1
|
+
import { OperationResponse } from '@stacks/blockchain-api-client';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { ClarityAbi, OptionalCV, TupleCV, BufferCV, UIntCV, PrincipalCV, ListCV } from '@stacks/transactions';
|
|
4
4
|
|
|
@@ -31,12 +31,6 @@ type ApiPaginationOptions = {
|
|
|
31
31
|
limit?: number;
|
|
32
32
|
offset?: number;
|
|
33
33
|
};
|
|
34
|
-
type ListResponse<T = unknown> = {
|
|
35
|
-
limit: number;
|
|
36
|
-
offset: number;
|
|
37
|
-
total: number;
|
|
38
|
-
results: T[];
|
|
39
|
-
};
|
|
40
34
|
|
|
41
35
|
type SafeError<TName extends string = string, TData = unknown> = {
|
|
42
36
|
readonly name: TName;
|
|
@@ -96,7 +90,7 @@ type Args$l = {
|
|
|
96
90
|
*/
|
|
97
91
|
order?: "asc" | "desc";
|
|
98
92
|
} & ApiRequestOptions & ApiPaginationOptions;
|
|
99
|
-
type MempoolTransactionsResponse =
|
|
93
|
+
type MempoolTransactionsResponse = OperationResponse["/extended/v1/tx/mempool"];
|
|
100
94
|
declare function mempoolTransactions(args: Args$l): Promise<Result$1<MempoolTransactionsResponse, SafeError<"FetchMempoolTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
|
|
101
95
|
|
|
102
96
|
type mempoolTransactions$1_MempoolTransactionsResponse = MempoolTransactionsResponse;
|