@solana/rpc-parsed-types
Advanced tools
Comparing version 2.0.0-experimental.dbe6a73 to 2.0.0-experimental.e9c1b10
@@ -0,2 +1,10 @@ | ||
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 |
import type { Address } from '@solana/addresses'; | ||
import type { TokenAmount } from '@solana/rpc-types'; | ||
import type { StringifiedBigInt, TokenAmount } from '@solana/rpc-types'; | ||
import { RpcParsedType } from './rpc-parsed-type.js'; | ||
type TokenAccountState = 'initialized' | 'uninitialized' | 'frozen'; | ||
export type TokenAccount = Readonly<{ | ||
export type JsonParsedTokenAccount = Readonly<{ | ||
mint: Address; | ||
@@ -14,5 +15,20 @@ owner: Address; | ||
closeAuthority?: Address; | ||
extensions?: unknown[]; | ||
extensions?: readonly unknown[]; | ||
}>; | ||
type JsonParsedMintAccount = Readonly<{ | ||
mintAuthority: Address | null; | ||
supply: StringifiedBigInt; | ||
decimals: number; | ||
isInitialized: boolean; | ||
freezeAuthority: Address | null; | ||
extensions?: readonly unknown[]; | ||
}>; | ||
type JsonParsedMultisigAccount = Readonly<{ | ||
numRequiredSigners: number; | ||
numValidSigners: number; | ||
isInitialized: boolean; | ||
signers: readonly Address[]; | ||
}>; | ||
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.dbe6a73", | ||
"version": "2.0.0-experimental.e9c1b10", | ||
"description": "Type definitions for parsed types used in the Solana RPC", | ||
@@ -61,5 +61,5 @@ "exports": { | ||
"version-from-git": "^1.1.1", | ||
"@solana/addresses": "2.0.0-experimental.dbe6a73", | ||
"@solana/rpc-types": "2.0.0-experimental.dbe6a73", | ||
"@solana/addresses": "2.0.0-experimental.e9c1b10", | ||
"build-scripts": "0.0.0", | ||
"@solana/rpc-types": "2.0.0-experimental.e9c1b10", | ||
"test-config": "0.0.0", | ||
@@ -66,0 +66,0 @@ "tsconfig": "0.0.0" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
22307
34
224
1