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.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c to 2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2

dist/types/instructions.d.ts

26

dist/index.browser.js

@@ -131,4 +131,28 @@ import { SolanaError, SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME, SOLANA_ERROR__TRANSACTION__EXPECTED_NONCE_LIFETIME } from '@solana/errors';

export { assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, newIsAdvanceNonceAccountInstruction, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce };
// src/instructions.ts
function appendTransactionMessageInstruction(instruction, transaction) {
return appendTransactionMessageInstructions([instruction], transaction);
}
function appendTransactionMessageInstructions(instructions, transaction) {
const out = {
...transaction,
instructions: [...transaction.instructions, ...instructions]
};
Object.freeze(out);
return out;
}
function prependTransactionMessageInstruction(instruction, transaction) {
return prependTransactionMessageInstructions([instruction], transaction);
}
function prependTransactionMessageInstructions(instructions, transaction) {
const out = {
...transaction,
instructions: [...instructions, ...transaction.instructions]
};
Object.freeze(out);
return out;
}
export { appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.browser.js.map

@@ -131,4 +131,28 @@ import { SolanaError, SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME, SOLANA_ERROR__TRANSACTION__EXPECTED_NONCE_LIFETIME } from '@solana/errors';

export { assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, newIsAdvanceNonceAccountInstruction, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce };
// src/instructions.ts
function appendTransactionMessageInstruction(instruction, transaction) {
return appendTransactionMessageInstructions([instruction], transaction);
}
function appendTransactionMessageInstructions(instructions, transaction) {
const out = {
...transaction,
instructions: [...transaction.instructions, ...instructions]
};
Object.freeze(out);
return out;
}
function prependTransactionMessageInstruction(instruction, transaction) {
return prependTransactionMessageInstructions([instruction], transaction);
}
function prependTransactionMessageInstructions(instructions, transaction) {
const out = {
...transaction,
instructions: [...instructions, ...transaction.instructions]
};
Object.freeze(out);
return out;
}
export { appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.native.js.map

@@ -131,4 +131,28 @@ import { SolanaError, SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME, SOLANA_ERROR__TRANSACTION__EXPECTED_NONCE_LIFETIME } from '@solana/errors';

export { assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, newIsAdvanceNonceAccountInstruction, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce };
// src/instructions.ts
function appendTransactionMessageInstruction(instruction, transaction) {
return appendTransactionMessageInstructions([instruction], transaction);
}
function appendTransactionMessageInstructions(instructions, transaction) {
const out = {
...transaction,
instructions: [...transaction.instructions, ...instructions]
};
Object.freeze(out);
return out;
}
function prependTransactionMessageInstruction(instruction, transaction) {
return prependTransactionMessageInstructions([instruction], transaction);
}
function prependTransactionMessageInstructions(instructions, transaction) {
const out = {
...transaction,
instructions: [...instructions, ...transaction.instructions]
};
Object.freeze(out);
return out;
}
export { appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.node.js.map

@@ -6,2 +6,3 @@ export * from './create-transaction-message.js';

export * from './fee-payer.js';
export * from './instructions.js';
//# sourceMappingURL=index.d.ts.map

10

package.json
{
"name": "@solana/transaction-messages",
"version": "2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c",
"version": "2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2",
"description": "Helpers for creating transaction messages",

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

"dependencies": {
"@solana/addresses": "2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c",
"@solana/errors": "2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c",
"@solana/instructions": "2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c",
"@solana/rpc-types": "2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c"
"@solana/addresses": "2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2",
"@solana/errors": "2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2",
"@solana/instructions": "2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2",
"@solana/rpc-types": "2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2"
},

@@ -55,0 +55,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

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