New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@trezor/blockchain-link-types

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trezor/blockchain-link-types - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4-beta.1

1

lib/params.d.ts

@@ -52,3 +52,4 @@ export interface AccountBalanceHistoryParams {

};
tokenAccountsPubKeys?: string[];
}
//# sourceMappingURL=params.d.ts.map

28

lib/solana.d.ts

@@ -1,7 +0,20 @@

import type { ParsedTransactionWithMeta } from '@solana/web3.js';
export type SolanaValidParsedTxWithMeta = ParsedTransactionWithMeta & {
meta: Required<NonNullable<ParsedTransactionWithMeta['meta']>>;
transaction: Required<ParsedTransactionWithMeta['transaction']>;
blockTime: Required<NonNullable<ParsedTransactionWithMeta['blockTime']>>;
import type { AccountInfoBase, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, GetTransactionApi, Signature } from '@solana/web3.js';
import type { GetObjectWithKey, GetObjectWithoutKey, ObjectsOnly, Overloads } from '@trezor/type-utils';
type GetTransactionApiOverloads = Overloads<GetTransactionApi['getTransaction']>;
type GetJsonParsedTransactionApiOverloads = {
[P in keyof GetTransactionApiOverloads]: GetTransactionApiOverloads[P] extends (...args: [
signature: Signature,
config: Readonly<{
encoding: 'jsonParsed';
}>
]) => infer R ? R : never;
};
export type ParsedTransactionWithMeta = Pick<SolanaValidParsedTxWithMeta, 'slot' | 'transaction' | 'meta'> & Readonly<{
blockTime?: SolanaValidParsedTxWithMeta['blockTime'];
version?: SolanaValidParsedTxWithMeta['version'];
}>;
export type PartiallyDecodedInstruction = GetObjectWithoutKey<SolanaValidParsedTxWithMeta['transaction']['message']['instructions'][number], 'parsed'>;
export type ParsedAccountData = ObjectsOnly<AccountInfoWithJsonData['data']>;
export type ParsedInstruction = GetObjectWithKey<SolanaValidParsedTxWithMeta['transaction']['message']['instructions'][number], 'parsed'>;
export type SolanaValidParsedTxWithMeta = NonNullable<ObjectsOnly<GetJsonParsedTransactionApiOverloads[keyof GetTransactionApiOverloads]>>;
export type SolanaTokenAccountInfo = {

@@ -12,3 +25,6 @@ address: string;

};
export type { ParsedInstruction, ParsedTransactionWithMeta, PartiallyDecodedInstruction, AccountInfo, ParsedAccountData, PublicKey, } from '@solana/web3.js';
export type AccountInfo<TData extends AccountInfoWithBase58EncodedData['data'] | AccountInfoWithBase64EncodedData['data'] | AccountInfoWithBase64EncodedZStdCompressedData['data'] | AccountInfoWithJsonData['data']> = AccountInfoBase & Readonly<{
data: TData;
}>;
export type { Address } from '@solana/web3.js';
export type TokenDetailByMint = {

@@ -15,0 +31,0 @@ [mint: string]: {

{
"name": "@trezor/blockchain-link-types",
"version": "1.2.3",
"version": "1.2.4-beta.1",
"license": "See LICENSE.md in repo root",

@@ -22,5 +22,5 @@ "sideEffects": false,

"dependencies": {
"@solana/web3.js": "^1.95.4",
"@trezor/type-utils": "1.1.2",
"@trezor/utxo-lib": "2.2.3"
"@solana/web3.js": "^2.0.0",
"@trezor/type-utils": "1.1.3-beta.1",
"@trezor/utxo-lib": "2.2.4"
},

@@ -27,0 +27,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc