Update typescriptify library and typescript types

This commit is contained in:
Martin Boehm 2024-01-14 15:02:05 +01:00
parent 9ea7fb23df
commit 23314e523c
3 changed files with 9 additions and 3 deletions

View File

@ -358,11 +358,15 @@ export interface WsBlockReq {
page?: number;
}
export interface WsBlockFilterReq {
scriptType: string;
blockHash: string;
M?: number;
}
export interface WsBlockFiltersBatchReq {
scriptType: string;
bestKnownBlockHash: string;
pageSize?: number;
M?: number;
}
export interface WsAccountUtxoReq {
descriptor: string;
@ -423,7 +427,9 @@ export interface WsFiatRatesTickersListReq {
export interface WsMempoolFiltersReq {
scriptType: string;
fromTimestamp: number;
M?: number;
}
export interface MempoolTxidFilterEntries {
entries?: { [key: string]: string };
usedZeroedKey?: boolean;
}

2
go.mod
View File

@ -29,7 +29,7 @@ require (
github.com/pirk/ecashutil v0.0.0-20220124103933-d37f548d249e
github.com/prometheus/client_golang v1.14.0
github.com/schancel/cashaddr-converter v0.0.0-20181111022653-4769e7add95a
github.com/tkrajina/typescriptify-golang-structs v0.1.10
github.com/tkrajina/typescriptify-golang-structs v0.1.11
golang.org/x/crypto v0.16.0
google.golang.org/protobuf v1.31.0
)

4
go.sum
View File

@ -416,8 +416,8 @@ github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+F
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
github.com/tkrajina/go-reflector v0.5.5 h1:gwoQFNye30Kk7NrExj8zm3zFtrGPqOkzFMLuQZg1DtQ=
github.com/tkrajina/go-reflector v0.5.5/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4=
github.com/tkrajina/typescriptify-golang-structs v0.1.10 h1:W/Ta9Kqo2lV+7bVXuQoUhZ0bDlnjwtPpKsy3A9M1nYg=
github.com/tkrajina/typescriptify-golang-structs v0.1.10/go.mod h1:sjU00nti/PMEOZb07KljFlR+lJ+RotsC0GBQMv9EKls=
github.com/tkrajina/typescriptify-golang-structs v0.1.11 h1:zEIVczF/iWgs4eTY7NQqbBe23OVlFVk9sWLX/FDYi4Q=
github.com/tkrajina/typescriptify-golang-structs v0.1.11/go.mod h1:sjU00nti/PMEOZb07KljFlR+lJ+RotsC0GBQMv9EKls=
github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8=
github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U=
github.com/urfave/cli/v2 v2.25.7 h1:VAzn5oq403l5pHjc4OhD54+XGO9cdKVL/7lDjF+iKUs=