@solana/rpc-parsed-types
Advanced tools
Comparing version 2.0.0-experimental.1c57210 to 2.0.0-experimental.2373ab1
import type { Address } from '@solana/addresses'; | ||
import type { StringifiedBigInt } from '@solana/rpc-types'; | ||
export type JsonParsedAddressLookupTableAccount = Readonly<{ | ||
import { RpcParsedInfo } from './rpc-parsed-type.js'; | ||
export type JsonParsedAddressLookupTableAccount = RpcParsedInfo<{ | ||
addresses: readonly Address[]; | ||
@@ -5,0 +6,0 @@ authority?: Address; |
@@ -5,2 +5,3 @@ export * from './address-lookup-table-accounts.js'; | ||
export * from './nonce-accounts.js'; | ||
export * from './rpc-parsed-type.js'; | ||
export * from './stake-accounts.js'; | ||
@@ -7,0 +8,0 @@ export * from './sysvar-accounts.js'; |
import { Address } from '@solana/addresses'; | ||
import type { Blockhash, StringifiedBigInt } from '@solana/rpc-types'; | ||
export type JsonParsedNonceAccount = Readonly<{ | ||
import { RpcParsedInfo } from './rpc-parsed-type.js'; | ||
export type JsonParsedNonceAccount = RpcParsedInfo<{ | ||
authority: Address; | ||
@@ -5,0 +6,0 @@ blockhash: Blockhash; |
@@ -5,2 +5,5 @@ export type RpcParsedType<TType extends string, TInfo> = Readonly<{ | ||
}>; | ||
export type RpcParsedInfo<TInfo> = Readonly<{ | ||
info: TInfo; | ||
}>; | ||
//# sourceMappingURL=rpc-parsed-type.d.ts.map |
import { Address } from '@solana/addresses'; | ||
import { Epoch, Slot, StringifiedBigInt, UnixTimestamp } from '@solana/rpc-types'; | ||
export type JsonParsedVoteAccount = Readonly<{ | ||
import { RpcParsedInfo } from './rpc-parsed-type.js'; | ||
export type JsonParsedVoteAccount = RpcParsedInfo<{ | ||
authorizedVoters: Readonly<{ | ||
@@ -5,0 +6,0 @@ authorizedVoter: Address; |
{ | ||
"name": "@solana/rpc-parsed-types", | ||
"version": "2.0.0-experimental.1c57210", | ||
"version": "2.0.0-experimental.2373ab1", | ||
"description": "Type definitions for parsed types used in the Solana RPC", | ||
@@ -48,21 +48,2 @@ "exports": { | ||
], | ||
"devDependencies": { | ||
"@solana/eslint-config-solana": "^1.0.2", | ||
"@typescript-eslint/eslint-plugin": "^6.13.2", | ||
"@typescript-eslint/parser": "^6.3.0", | ||
"agadoo": "^3.0.0", | ||
"eslint": "^8.45.0", | ||
"eslint-plugin-jest": "^27.4.2", | ||
"eslint-plugin-sort-keys-fix": "^1.1.2", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.1", | ||
"tsup": "^8.0.1", | ||
"typescript": "^5.2.2", | ||
"version-from-git": "^1.1.1", | ||
"@solana/addresses": "2.0.0-experimental.1c57210", | ||
"@solana/rpc-types": "2.0.0-experimental.1c57210", | ||
"test-config": "0.0.0", | ||
"tsconfig": "0.0.0", | ||
"build-scripts": "0.0.0" | ||
}, | ||
"bundlewatch": { | ||
@@ -78,8 +59,9 @@ "defaultCompression": "gzip", | ||
"compile:js": "tsup --config build-scripts/tsup.config.package.ts", | ||
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/build-scripts/add-js-extension-to-types.mjs", | ||
"dev": "jest -c node_modules/test-config/jest-dev.config.ts --globalSetup test-config/test-validator-setup.js --globalTeardown test-config/test-validator-teardown.js --rootDir . --watch", | ||
"publish-packages": "pnpm publish --tag experimental --access public --no-git-checks", | ||
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/@solana/build-scripts/add-js-extension-to-types.mjs", | ||
"dev": "jest -c node_modules/@solana/test-config/jest-dev.config.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --watch", | ||
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag experimental --access public --no-git-checks", | ||
"publish-packages": "pnpm prepublishOnly && pnpm publish-impl", | ||
"style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json", | ||
"test:lint": "jest -c node_modules/test-config/jest-lint.config.ts --rootDir . --silent", | ||
"test:prettier": "jest -c node_modules/test-config/jest-prettier.config.ts --rootDir . --silent", | ||
"test:lint": "jest -c node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent", | ||
"test:prettier": "jest -c node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent", | ||
"test:treeshakability:browser": "agadoo dist/index.browser.js", | ||
@@ -86,0 +68,0 @@ "test:treeshakability:native": "agadoo dist/index.native.js", |
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
21865
0
224