Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/rpc-types

Package Overview
Dependencies
Maintainers
14
Versions
1049
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-types - npm Package Compare versions

Comparing version 2.0.0-canary-20241028085053 to 2.0.0-canary-20241028105940

5

dist/types/account-filters.d.ts

@@ -1,2 +0,1 @@

import type { U64 } from './typed-numbers';
export type DataSlice = Readonly<{

@@ -10,8 +9,8 @@ length: number;

encoding: 'base58' | 'base64';
offset: U64;
offset: bigint;
}>;
}>;
export type GetProgramAccountsDatasizeFilter = Readonly<{
dataSize: U64;
dataSize: bigint;
}>;
//# sourceMappingURL=account-filters.d.ts.map
import type { Address } from '@solana/addresses';
import type { Base58EncodedBytes, Base58EncodedDataResponse, Base64EncodedDataResponse, Base64EncodedZStdCompressedDataResponse } from './encoded-bytes';
import type { Lamports } from './lamports';
import type { U64 } from './typed-numbers';
export type AccountInfoBase = Readonly<{

@@ -13,3 +12,3 @@ /** indicates if the account contains a program (and is strictly read-only) */

/** the epoch at which this account will next owe rent */
rentEpoch: U64;
rentEpoch: bigint;
}>;

@@ -37,3 +36,3 @@ /** @deprecated */

program: string;
space: U64;
space: bigint;
}>;

@@ -40,0 +39,0 @@ }>;

4

dist/types/transaction.d.ts

@@ -7,3 +7,3 @@ import type { Address } from '@solana/addresses';

import type { TransactionError } from './transaction-error';
import type { SignedLamports, U64 } from './typed-numbers';
import type { SignedLamports } from './typed-numbers';
type TransactionVersion = 'legacy' | 0;

@@ -101,3 +101,3 @@ type AddressTableLookup = Readonly<{

/** number of compute units consumed by the transaction */
computeUnitsConsumed?: U64;
computeUnitsConsumed?: bigint;
/** Error if transaction failed, null if transaction succeeded. */

@@ -104,0 +104,0 @@ err: TransactionError | null;

@@ -1,10 +0,8 @@

export type U64 = bigint;
export type I64 = bigint;
export type Slot = U64;
export type Epoch = U64;
export type MicroLamports = U64 & {
export type Slot = bigint;
export type Epoch = bigint;
export type MicroLamports = bigint & {
readonly __brand: unique symbol;
};
export type SignedLamports = I64;
export type SignedLamports = bigint;
export type F64UnsafeSeeDocumentation = number;
//# sourceMappingURL=typed-numbers.d.ts.map
{
"name": "@solana/rpc-types",
"version": "2.0.0-canary-20241028085053",
"version": "2.0.0-canary-20241028105940",
"description": "Type definitions for values used in the Solana RPC, and helper functions for working with them",

@@ -57,7 +57,7 @@ "exports": {

"dependencies": {
"@solana/addresses": "2.0.0-canary-20241028085053",
"@solana/codecs-numbers": "2.0.0-canary-20241028085053",
"@solana/codecs-core": "2.0.0-canary-20241028085053",
"@solana/codecs-strings": "2.0.0-canary-20241028085053",
"@solana/errors": "2.0.0-canary-20241028085053"
"@solana/addresses": "2.0.0-canary-20241028105940",
"@solana/codecs-core": "2.0.0-canary-20241028105940",
"@solana/codecs-strings": "2.0.0-canary-20241028105940",
"@solana/errors": "2.0.0-canary-20241028105940",
"@solana/codecs-numbers": "2.0.0-canary-20241028105940"
},

@@ -64,0 +64,0 @@ "peerDependencies": {

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

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