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

@solana/transaction-messages

Package Overview
Dependencies
Maintainers
15
Versions
746
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/transaction-messages - npm Package Compare versions

Comparing version 2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b to 2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f

8

dist/types/codecs/transaction-version.d.ts
import { VariableSizeCodec, VariableSizeDecoder, VariableSizeEncoder } from '@solana/codecs-core';
import { NewTransactionVersion } from '../transaction-message.js';
export declare function getTransactionVersionEncoder(): VariableSizeEncoder<NewTransactionVersion>;
export declare function getTransactionVersionDecoder(): VariableSizeDecoder<NewTransactionVersion>;
export declare function getTransactionVersionCodec(): VariableSizeCodec<NewTransactionVersion>;
import { TransactionVersion } from '../transaction-message.js';
export declare function getTransactionVersionEncoder(): VariableSizeEncoder<TransactionVersion>;
export declare function getTransactionVersionDecoder(): VariableSizeDecoder<TransactionVersion>;
export declare function getTransactionVersionCodec(): VariableSizeCodec<TransactionVersion>;
//# sourceMappingURL=transaction-version.d.ts.map

@@ -5,4 +5,4 @@ import { IInstruction } from '@solana/instructions';

import { ITransactionMessageWithFeePayer } from './fee-payer.js';
import { BaseTransactionMessage, NewTransactionVersion } from './transaction-message.js';
export type CompilableTransactionMessage<TVersion extends NewTransactionVersion = NewTransactionVersion, TInstruction extends IInstruction = IInstruction> = BaseTransactionMessage<TVersion, TInstruction> & ITransactionMessageWithFeePayer & (TransactionMessageWithBlockhashLifetime | TransactionMessageWithDurableNonceLifetime);
import { BaseTransactionMessage, TransactionVersion } from './transaction-message.js';
export type CompilableTransactionMessage<TVersion extends TransactionVersion = TransactionVersion, TInstruction extends IInstruction = IInstruction> = BaseTransactionMessage<TVersion, TInstruction> & ITransactionMessageWithFeePayer & (TransactionMessageWithBlockhashLifetime | TransactionMessageWithDurableNonceLifetime);
//# sourceMappingURL=compilable-transaction-message.d.ts.map

@@ -1,6 +0,6 @@

import { NewTransactionVersion, TransactionMessage } from './transaction-message.js';
type TransactionConfig<TVersion extends NewTransactionVersion> = Readonly<{
import { TransactionMessage, TransactionVersion } from './transaction-message.js';
type TransactionConfig<TVersion extends TransactionVersion> = Readonly<{
version: TVersion;
}>;
export declare function createTransactionMessage<TVersion extends NewTransactionVersion>(config: TransactionConfig<TVersion>): Extract<TransactionMessage, {
export declare function createTransactionMessage<TVersion extends TransactionVersion>(config: TransactionConfig<TVersion>): Extract<TransactionMessage, {
version: TVersion;

@@ -7,0 +7,0 @@ }>;

import { IAccountMeta, IInstruction } from '@solana/instructions';
export type BaseTransactionMessage<TVersion extends NewTransactionVersion = NewTransactionVersion, TInstruction extends IInstruction = IInstruction> = Readonly<{
export type BaseTransactionMessage<TVersion extends TransactionVersion = TransactionVersion, TInstruction extends IInstruction = IInstruction> = Readonly<{
instructions: readonly TInstruction[];

@@ -10,4 +10,4 @@ version: TVersion;

export type TransactionMessage = LegacyTransactionMessage | V0TransactionMessage;
export type NewTransactionVersion = 'legacy' | 0;
export type TransactionVersion = 'legacy' | 0;
export {};
//# sourceMappingURL=transaction-message.d.ts.map
{
"name": "@solana/transaction-messages",
"version": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"version": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"description": "Helpers for creating transaction messages",

@@ -49,10 +49,10 @@ "exports": {

"dependencies": {
"@solana/addresses": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"@solana/codecs-core": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"@solana/codecs-data-structures": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"@solana/codecs-numbers": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"@solana/errors": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"@solana/functional": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"@solana/instructions": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b",
"@solana/rpc-types": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b"
"@solana/addresses": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"@solana/codecs-core": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"@solana/codecs-data-structures": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"@solana/codecs-numbers": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"@solana/errors": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"@solana/functional": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"@solana/instructions": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f",
"@solana/rpc-types": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f"
},

@@ -59,0 +59,0 @@ "bundlewatch": {

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

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