@solana/transaction-messages
Advanced tools
Comparing version 2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c to 2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2
@@ -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 |
{ | ||
"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
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
143526
27
873
+ Added@solana/addresses@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
+ Added@solana/assertions@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
+ Added@solana/codecs-core@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
+ Added@solana/codecs-numbers@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
+ Added@solana/codecs-strings@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
+ Added@solana/errors@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
+ Added@solana/instructions@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
+ Added@solana/rpc-types@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2(transitive)
- Removed@solana/addresses@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
- Removed@solana/assertions@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
- Removed@solana/codecs-core@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
- Removed@solana/codecs-numbers@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
- Removed@solana/codecs-strings@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
- Removed@solana/errors@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
- Removed@solana/instructions@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
- Removed@solana/rpc-types@2.0.0-preview.1.20240404152445.efe20ef7930cc6d06d21d0952ae33cd12fe48d1c(transitive)
Updated@solana/addresses@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2
Updated@solana/errors@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2
Updated@solana/instructions@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2
Updated@solana/rpc-types@2.0.0-preview.1.20240404152611.36fdc461915ca630fbc3c43c1db018cdf7ce55b2