@solana/rpc-parsed-types
Advanced tools
Comparing version 2.0.0-experimental.7aeac5a to 2.0.0-experimental.a0b9a27
import type { Address } from '@solana/addresses'; | ||
import type { StringifiedBigInt } from '@solana/rpc-types'; | ||
export type AddressLookupTableAccount = Readonly<{ | ||
export type JsonParsedAddressLookupTableAccount = Readonly<{ | ||
addresses: readonly Address[]; | ||
@@ -5,0 +5,0 @@ authority?: Address; |
import type { Address } from '@solana/addresses'; | ||
import type { Base64EncodedDataResponse, Slot } from '@solana/rpc-types'; | ||
import type { RpcParsedType } from './rpc-parsed-type.js'; | ||
type ProgramAccount = Readonly<{ | ||
type JsonParsedBpfProgramAccount = Readonly<{ | ||
programData: Address; | ||
}>; | ||
type ProgramDataAccount = Readonly<{ | ||
type JsonParsedBpfProgramDataAccount = Readonly<{ | ||
authority?: Address; | ||
@@ -12,4 +12,4 @@ data: Base64EncodedDataResponse; | ||
}>; | ||
export type BpfUpgradeableProgramAccount = RpcParsedType<'program', ProgramAccount> | RpcParsedType<'programData', ProgramDataAccount>; | ||
export type JsonParsedBpfUpgradeableLoaderProgramAccount = RpcParsedType<'program', JsonParsedBpfProgramAccount> | RpcParsedType<'programData', JsonParsedBpfProgramDataAccount>; | ||
export {}; | ||
//# sourceMappingURL=bpf-upgradeable-loader-accounts.d.ts.map |
import type { Address } from '@solana/addresses'; | ||
import type { RpcParsedType } from './rpc-parsed-type.js'; | ||
type StakeConfigAccount = Readonly<{ | ||
type JsonParsedStakeConfigAccount = Readonly<{ | ||
slashPenalty: number; | ||
warmupCooldownRate: number; | ||
}>; | ||
type ValidatorInfoAccount = Readonly<{ | ||
type JsonParsedValidatorInfoAccount = Readonly<{ | ||
configData: unknown; | ||
@@ -14,4 +14,4 @@ keys: { | ||
}>; | ||
export type ConfigProgramAccount = RpcParsedType<'stakeConfig', StakeConfigAccount> | RpcParsedType<'validatorInfo', ValidatorInfoAccount>; | ||
export type JsonParsedConfigProgramAccount = RpcParsedType<'stakeConfig', JsonParsedStakeConfigAccount> | RpcParsedType<'validatorInfo', JsonParsedValidatorInfoAccount>; | ||
export {}; | ||
//# sourceMappingURL=config-accounts.d.ts.map |
export * from './address-lookup-table-accounts.js'; | ||
export * from './bpf-upgradeable-loader-accounts.js'; | ||
export * from './config-accounts.js'; | ||
export * from './nonce-accounts.js'; | ||
export * from './rpc-parsed-type.js'; | ||
export * from './stake-accounts.js'; | ||
export * from './sysvar-accounts.js'; | ||
export * from './token-accounts.js'; | ||
export * from './vote-accounts.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,3 @@ import type { Address } from '@solana/addresses'; | ||
type TokenAccountState = 'initialized' | 'uninitialized' | 'frozen'; | ||
export type TokenAccount = Readonly<{ | ||
export type JsonParsedTokenAccount = Readonly<{ | ||
mint: Address; | ||
@@ -18,3 +18,3 @@ owner: Address; | ||
}>; | ||
export type MintAccount = Readonly<{ | ||
type JsonParsedMintAccount = Readonly<{ | ||
mintAuthority: Address | null; | ||
@@ -27,3 +27,3 @@ supply: StringifiedBigInt; | ||
}>; | ||
export type MultisigAccount = Readonly<{ | ||
type JsonParsedMultisigAccount = Readonly<{ | ||
numRequiredSigners: number; | ||
@@ -34,4 +34,4 @@ numValidSigners: number; | ||
}>; | ||
export type TokenProgramAccount = RpcParsedType<'account', TokenAccount> | RpcParsedType<'mint', MintAccount> | RpcParsedType<'multisig', MultisigAccount>; | ||
export type JsonParsedTokenProgramAccount = RpcParsedType<'account', JsonParsedTokenAccount> | RpcParsedType<'mint', JsonParsedMintAccount> | RpcParsedType<'multisig', JsonParsedMultisigAccount>; | ||
export {}; | ||
//# sourceMappingURL=token-accounts.d.ts.map |
{ | ||
"name": "@solana/rpc-parsed-types", | ||
"version": "2.0.0-experimental.7aeac5a", | ||
"version": "2.0.0-experimental.a0b9a27", | ||
"description": "Type definitions for parsed types used in the Solana RPC", | ||
@@ -61,6 +61,6 @@ "exports": { | ||
"version-from-git": "^1.1.1", | ||
"@solana/addresses": "2.0.0-experimental.7aeac5a", | ||
"@solana/rpc-types": "2.0.0-experimental.7aeac5a", | ||
"@solana/addresses": "2.0.0-experimental.a0b9a27", | ||
"@solana/rpc-types": "2.0.0-experimental.a0b9a27", | ||
"build-scripts": "0.0.0", | ||
"test-config": "0.0.0", | ||
"build-scripts": "0.0.0", | ||
"tsconfig": "0.0.0" | ||
@@ -67,0 +67,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21848
34
218