@trezor/blockchain-link-types
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -0,1 +1,6 @@ | ||
# 1.0.11 | ||
- fix(suite): subscribe to Solana token accounts as well (b2f85ac9e) | ||
- chore(blokchain-link-types): import type from @trezor/type-utils (a2087ebf7) | ||
# 1.0.10 | ||
@@ -2,0 +7,0 @@ |
@@ -0,1 +1,2 @@ | ||
import type { RequiredKey } from '@trezor/type-utils'; | ||
import type { AccountBalanceHistoryParams, GetCurrentFiatRatesParams, GetFiatRatesForTimestampsParams, GetFiatRatesTickersListParams, EstimateFeeParams, AccountInfoParams } from './params'; | ||
@@ -5,3 +6,2 @@ import type { AccountBalanceHistory, FiatRates, TokenStandard } from './common'; | ||
type OptionalKey<M, K extends keyof M> = Omit<M, K> & Partial<Pick<M, K>>; | ||
type RequiredKey<M, K extends keyof M> = Omit<M, K> & Required<Pick<M, K>>; | ||
export type AccountUtxo = RequiredKey<BlockbookUtxo, 'address' | 'height' | 'value' | 'path'>[]; | ||
@@ -8,0 +8,0 @@ export interface Subscribe { |
@@ -179,2 +179,3 @@ import type { SocksProxyAgentOptions } from 'socks-proxy-agent'; | ||
subscriptionId?: number; | ||
tokens?: TokenInfo[]; | ||
} | ||
@@ -181,0 +182,0 @@ export type ChannelMessage<T> = T & { |
{ | ||
"name": "@trezor/blockchain-link-types", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"license": "See LICENSE.md in repo root", | ||
@@ -20,3 +20,4 @@ "sideEffects": false, | ||
"@solana/web3.js": "^1.87.6", | ||
"@trezor/utxo-lib": "2.0.3", | ||
"@trezor/type-utils": "1.0.2", | ||
"@trezor/utxo-lib": "2.0.4", | ||
"rimraf": "^5.0.5", | ||
@@ -23,0 +24,0 @@ "ripple-lib": "^1.10.1", |
54893
1625
8