@solana/kit 6.1.0 → 6.2.0-canary-20260223182006

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,6 +184,11 @@ this.globalThis.solanaWeb3 = (function (exports) {
184
184
  var SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_NOT_SUPPORTED = 5663021;
185
185
  var SOLANA_ERROR__TRANSACTION__NONCE_ACCOUNT_CANNOT_BE_IN_LOOKUP_TABLE = 5663022;
186
186
  var SOLANA_ERROR__TRANSACTION__MALFORMED_MESSAGE_BYTES = 5663023;
187
+ var SOLANA_ERROR__TRANSACTION__CANNOT_ENCODE_WITH_EMPTY_MESSAGE_BYTES = 5663024;
188
+ var SOLANA_ERROR__TRANSACTION__CANNOT_DECODE_EMPTY_TRANSACTION_BYTES = 5663025;
189
+ var SOLANA_ERROR__TRANSACTION__VERSION_ZERO_MUST_BE_ENCODED_WITH_SIGNATURES_FIRST = 5663026;
190
+ var SOLANA_ERROR__TRANSACTION__SIGNATURE_COUNT_TOO_HIGH_FOR_TRANSACTION_BYTES = 5663027;
191
+ var SOLANA_ERROR__TRANSACTION__INVALID_CONFIG_MASK_PRIORITY_FEE_BITS = 5663028;
187
192
  var SOLANA_ERROR__TRANSACTION_ERROR__UNKNOWN = 705e4;
188
193
  var SOLANA_ERROR__TRANSACTION_ERROR__ACCOUNT_IN_USE = 7050001;
189
194
  var SOLANA_ERROR__TRANSACTION_ERROR__ACCOUNT_LOADED_TWICE = 7050002;
@@ -255,6 +260,8 @@ this.globalThis.solanaWeb3 = (function (exports) {
255
260
  var SOLANA_ERROR__CODECS__SENTINEL_MISSING_IN_DECODED_BYTES = 8078021;
256
261
  var SOLANA_ERROR__CODECS__CANNOT_USE_LEXICAL_VALUES_AS_ENUM_DISCRIMINATORS = 8078022;
257
262
  var SOLANA_ERROR__CODECS__EXPECTED_DECODER_TO_CONSUME_ENTIRE_BYTE_ARRAY = 8078023;
263
+ var SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_VALUE = 8078024;
264
+ var SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_BYTES = 8078025;
258
265
  var SOLANA_ERROR__RPC__INTEGER_OVERFLOW = 81e5;
259
266
  var SOLANA_ERROR__RPC__TRANSPORT_HTTP_HEADER_FORBIDDEN = 8100001;
260
267
  var SOLANA_ERROR__RPC__TRANSPORT_HTTP_ERROR = 8100002;
@@ -322,6 +329,8 @@ this.globalThis.solanaWeb3 = (function (exports) {
322
329
  [SOLANA_ERROR__CODECS__SENTINEL_MISSING_IN_DECODED_BYTES]: "Expected sentinel [$hexSentinel] to be present in decoded bytes [$hexDecodedBytes].",
323
330
  [SOLANA_ERROR__CODECS__UNION_VARIANT_OUT_OF_RANGE]: "Union variant out of range. Expected an index between $minRange and $maxRange, got $variant.",
324
331
  [SOLANA_ERROR__CODECS__EXPECTED_DECODER_TO_CONSUME_ENTIRE_BYTE_ARRAY]: "This decoder expected a byte array of exactly $expectedLength bytes, but $numExcessBytes unexpected excess bytes remained after decoding. Are you sure that you have chosen the correct decoder for this data?",
332
+ [SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_VALUE]: "Invalid pattern match value. The provided value does not match any of the specified patterns.",
333
+ [SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_BYTES]: "Invalid pattern match bytes. The provided byte array does not match any of the specified patterns.",
325
334
  [SOLANA_ERROR__CRYPTO__RANDOM_VALUES_FUNCTION_UNIMPLEMENTED]: "No random values implementation could be found.",
326
335
  [SOLANA_ERROR__INSTRUCTION_ERROR__ACCOUNT_ALREADY_INITIALIZED]: "instruction requires an uninitialized account",
327
336
  [SOLANA_ERROR__INSTRUCTION_ERROR__ACCOUNT_BORROW_FAILED]: "instruction tries to borrow reference for an account which is already borrowed",
@@ -549,7 +558,12 @@ this.globalThis.solanaWeb3 = (function (exports) {
549
558
  [SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_OUT_OF_RANGE]: "Transaction version must be in the range [0, 127]. `$actualVersion` given",
550
559
  [SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_NOT_SUPPORTED]: "This version of Kit does not support decoding transactions with version $unsupportedVersion. The current max supported version is 0.",
551
560
  [SOLANA_ERROR__TRANSACTION__NONCE_ACCOUNT_CANNOT_BE_IN_LOOKUP_TABLE]: "The transaction has a durable nonce lifetime (with nonce `$nonce`), but the nonce account address is in a lookup table. The lifetime constraint cannot be constructed without fetching the lookup tables for the transaction.",
552
- [SOLANA_ERROR__TRANSACTION__MALFORMED_MESSAGE_BYTES]: "Transaction message bytes are malformed: $messageBytes"
561
+ [SOLANA_ERROR__TRANSACTION__INVALID_CONFIG_MASK_PRIORITY_FEE_BITS]: "Invalid transaction config mask: $mask. Bits 0 and 1 must match (both set or both unset)",
562
+ [SOLANA_ERROR__TRANSACTION__MALFORMED_MESSAGE_BYTES]: "Transaction message bytes are malformed: $messageBytes",
563
+ [SOLANA_ERROR__TRANSACTION__CANNOT_ENCODE_WITH_EMPTY_MESSAGE_BYTES]: "Transaction message bytes are empty, so the transaction cannot be encoded",
564
+ [SOLANA_ERROR__TRANSACTION__CANNOT_DECODE_EMPTY_TRANSACTION_BYTES]: "Transaction bytes are empty, so no transaction can be decoded",
565
+ [SOLANA_ERROR__TRANSACTION__VERSION_ZERO_MUST_BE_ENCODED_WITH_SIGNATURES_FIRST]: "Transaction version 0 must be encoded with signatures first. This transaction was encoded with first byte $firstByte, which is expected to be a signature count for v0 transactions.",
566
+ [SOLANA_ERROR__TRANSACTION__SIGNATURE_COUNT_TOO_HIGH_FOR_TRANSACTION_BYTES]: "The provided transaction bytes expect that there should be $numExpectedSignatures signatures, but the bytes are not long enough to contain a transaction message with this many signatures. The provided bytes are $transactionBytesLength bytes long."
553
567
  };
554
568
  var START_INDEX = "i";
555
569
  var TYPE = "t";
@@ -3526,30 +3540,6 @@ this.globalThis.solanaWeb3 = (function (exports) {
3526
3540
  var alphabet22 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
3527
3541
  var getBase58Encoder2 = () => getBaseXEncoder2(alphabet22);
3528
3542
  var getBase58Decoder2 = () => getBaseXDecoder2(alphabet22);
3529
- var memoizedAddressTableLookupEncoder;
3530
- function getAddressTableLookupEncoder() {
3531
- if (!memoizedAddressTableLookupEncoder) {
3532
- const indexEncoder = getArrayEncoder(getU8Encoder(), { size: getShortU16Encoder() });
3533
- memoizedAddressTableLookupEncoder = getStructEncoder([
3534
- ["lookupTableAddress", getAddressEncoder()],
3535
- ["writableIndexes", indexEncoder],
3536
- ["readonlyIndexes", indexEncoder]
3537
- ]);
3538
- }
3539
- return memoizedAddressTableLookupEncoder;
3540
- }
3541
- var memoizedAddressTableLookupDecoder;
3542
- function getAddressTableLookupDecoder() {
3543
- if (!memoizedAddressTableLookupDecoder) {
3544
- const indexEncoder = getArrayDecoder(getU8Decoder(), { size: getShortU16Decoder() });
3545
- memoizedAddressTableLookupDecoder = getStructDecoder([
3546
- ["lookupTableAddress", getAddressDecoder()],
3547
- ["writableIndexes", indexEncoder],
3548
- ["readonlyIndexes", indexEncoder]
3549
- ]);
3550
- }
3551
- return memoizedAddressTableLookupDecoder;
3552
- }
3553
3543
  var memoizedU8Encoder;
3554
3544
  function getMemoizedU8Encoder() {
3555
3545
  if (!memoizedU8Encoder) memoizedU8Encoder = getU8Encoder();
@@ -3627,7 +3617,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
3627
3617
  }
3628
3618
  return memoizedGetInstructionDecoder;
3629
3619
  }
3630
- var MAX_SUPPORTED_TRANSACTION_VERSION = 0;
3620
+ var MAX_SUPPORTED_TRANSACTION_VERSION = 1;
3631
3621
  var VERSION_FLAG_MASK = 128;
3632
3622
  function getTransactionVersionEncoder() {
3633
3623
  return createEncoder({
@@ -3674,6 +3664,30 @@ this.globalThis.solanaWeb3 = (function (exports) {
3674
3664
  function getTransactionVersionCodec() {
3675
3665
  return combineCodec(getTransactionVersionEncoder(), getTransactionVersionDecoder());
3676
3666
  }
3667
+ var memoizedAddressTableLookupEncoder;
3668
+ function getAddressTableLookupEncoder() {
3669
+ if (!memoizedAddressTableLookupEncoder) {
3670
+ const indexEncoder = getArrayEncoder(getU8Encoder(), { size: getShortU16Encoder() });
3671
+ memoizedAddressTableLookupEncoder = getStructEncoder([
3672
+ ["lookupTableAddress", getAddressEncoder()],
3673
+ ["writableIndexes", indexEncoder],
3674
+ ["readonlyIndexes", indexEncoder]
3675
+ ]);
3676
+ }
3677
+ return memoizedAddressTableLookupEncoder;
3678
+ }
3679
+ var memoizedAddressTableLookupDecoder;
3680
+ function getAddressTableLookupDecoder() {
3681
+ if (!memoizedAddressTableLookupDecoder) {
3682
+ const indexEncoder = getArrayDecoder(getU8Decoder(), { size: getShortU16Decoder() });
3683
+ memoizedAddressTableLookupDecoder = getStructDecoder([
3684
+ ["lookupTableAddress", getAddressDecoder()],
3685
+ ["writableIndexes", indexEncoder],
3686
+ ["readonlyIndexes", indexEncoder]
3687
+ ]);
3688
+ }
3689
+ return memoizedAddressTableLookupDecoder;
3690
+ }
3677
3691
  function getCompiledMessageLegacyEncoder() {
3678
3692
  return getStructEncoder(getPreludeStructEncoderTuple());
3679
3693
  }
@@ -4328,6 +4342,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
4328
4342
  config == null ? void 0 : config.lastValidBlockHeight
4329
4343
  );
4330
4344
  return pipe(
4345
+ // We don't currently support v1 transactions
4331
4346
  createTransactionMessage({ version: compiledTransactionMessage.version }),
4332
4347
  (m) => setTransactionMessageFeePayer(feePayer, m),
4333
4348
  (m) => instructions.reduce(
@@ -4565,16 +4580,29 @@ this.globalThis.solanaWeb3 = (function (exports) {
4565
4580
  getSignaturesToEncode
4566
4581
  );
4567
4582
  }
4568
- var LEGACY_VERSION_FLAG_MASK = 128;
4583
+ var SIGNATURE_COUNT_FLAG_MASK = 128;
4569
4584
  var VERSION_FLAG_MASK2 = 127;
4570
- function getEncodeShapeForMessageBytes(messageBytes) {
4571
- const firstByte = messageBytes[0];
4572
- if ((firstByte & LEGACY_VERSION_FLAG_MASK) === 0) {
4585
+ function getEnvelopeShapeFromMessageBytes(messageBytes) {
4586
+ if (messageBytes.length === 0) {
4587
+ throw new SolanaError(SOLANA_ERROR__TRANSACTION__CANNOT_ENCODE_WITH_EMPTY_MESSAGE_BYTES);
4588
+ }
4589
+ const version = getTransactionVersionDecoder().decode(messageBytes);
4590
+ return version === 1 ? "messageFirst" : "signaturesFirst";
4591
+ }
4592
+ function getEnvelopeShapeFromTransactionBytes(transactionBytes) {
4593
+ if (transactionBytes.length === 0) {
4594
+ throw new SolanaError(SOLANA_ERROR__TRANSACTION__CANNOT_DECODE_EMPTY_TRANSACTION_BYTES);
4595
+ }
4596
+ const firstByte = transactionBytes[0];
4597
+ if ((firstByte & SIGNATURE_COUNT_FLAG_MASK) === 0) {
4573
4598
  return "signaturesFirst";
4574
4599
  }
4575
4600
  const version = firstByte & VERSION_FLAG_MASK2;
4576
4601
  if (version === 0) {
4577
- return "signaturesFirst";
4602
+ throw new SolanaError(SOLANA_ERROR__TRANSACTION__VERSION_ZERO_MUST_BE_ENCODED_WITH_SIGNATURES_FIRST, {
4603
+ firstByte,
4604
+ transactionBytes
4605
+ });
4578
4606
  }
4579
4607
  if (version === 1) {
4580
4608
  return "messageFirst";
@@ -4585,7 +4613,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
4585
4613
  }
4586
4614
  function getTransactionEncoder() {
4587
4615
  return getPredicateEncoder(
4588
- (transaction) => getEncodeShapeForMessageBytes(transaction.messageBytes) === "signaturesFirst",
4616
+ (transaction) => getEnvelopeShapeFromMessageBytes(transaction.messageBytes) === "signaturesFirst",
4589
4617
  getTransactionEncoderWithSignaturesFirst(),
4590
4618
  getTransactionEncoderWithMessageFirst()
4591
4619
  );
@@ -4596,24 +4624,24 @@ this.globalThis.solanaWeb3 = (function (exports) {
4596
4624
  ["messageBytes", getBytesEncoder()]
4597
4625
  ]);
4598
4626
  }
4599
- function getSignatureCountForVersionedOrThrow(messageBytes) {
4600
- if (messageBytes.length < 2) {
4627
+ function getSignatureCountForVersionedOrThrow(messageBytes, offset) {
4628
+ if (messageBytes.length < offset + 2) {
4601
4629
  throw new SolanaError(SOLANA_ERROR__TRANSACTION__MALFORMED_MESSAGE_BYTES, {
4602
4630
  messageBytes
4603
4631
  });
4604
4632
  }
4605
- return messageBytes[1];
4633
+ return messageBytes[offset + 1];
4606
4634
  }
4607
4635
  function getTransactionEncoderWithMessageFirst() {
4608
4636
  const bytesEncoder = getBytesEncoder();
4609
4637
  return createEncoder({
4610
4638
  getSizeFromValue: (transaction) => {
4611
- const signatureCount = getSignatureCountForVersionedOrThrow(transaction.messageBytes);
4639
+ const signatureCount = getSignatureCountForVersionedOrThrow(transaction.messageBytes, 0);
4612
4640
  return transaction.messageBytes.length + signatureCount * 64;
4613
4641
  },
4614
4642
  write: (transaction, bytes, offset) => {
4615
4643
  offset = bytesEncoder.write(transaction.messageBytes, bytes, offset);
4616
- const signatureCount = getSignatureCountForVersionedOrThrow(transaction.messageBytes);
4644
+ const signatureCount = getSignatureCountForVersionedOrThrow(transaction.messageBytes, 0);
4617
4645
  const signaturesEncoder = getSignaturesEncoderWithLength(signatureCount);
4618
4646
  offset = signaturesEncoder.write(transaction.signatures, bytes, offset);
4619
4647
  return offset;
@@ -4621,18 +4649,58 @@ this.globalThis.solanaWeb3 = (function (exports) {
4621
4649
  });
4622
4650
  }
4623
4651
  function getTransactionDecoder() {
4652
+ return getPredicateDecoder(
4653
+ (transactionBytes) => getEnvelopeShapeFromTransactionBytes(transactionBytes) === "signaturesFirst",
4654
+ getTransactionDecoderWithSignaturesFirst(),
4655
+ getTransactionDecoderWithMessageFirst()
4656
+ );
4657
+ }
4658
+ function getTransactionDecoderWithSignaturesFirst() {
4624
4659
  return transformDecoder(
4625
4660
  getStructDecoder([
4626
4661
  ["signatures", getArrayDecoder(fixDecoderSize(getBytesDecoder(), 64), { size: getShortU16Decoder() })],
4627
4662
  ["messageBytes", getBytesDecoder()]
4628
4663
  ]),
4629
- decodePartiallyDecodedTransaction
4664
+ decodePartiallyDecodedLegacyOrV0Transaction
4665
+ );
4666
+ }
4667
+ function getTransactionDecoderWithMessageFirst() {
4668
+ return transformDecoder(
4669
+ getPartiallyDecodedTransactionDecoderWithMessageFirst(),
4670
+ decodePartiallyDecodedV1Transaction
4630
4671
  );
4631
4672
  }
4673
+ function getPartiallyDecodedTransactionDecoderWithMessageFirst() {
4674
+ return createDecoder({
4675
+ read(bytes, offset) {
4676
+ const signatureCount = getSignatureCountForVersionedOrThrow(bytes, offset);
4677
+ const signatureByteLength = signatureCount * 64;
4678
+ const messageBytesLength = bytes.length - offset - signatureByteLength;
4679
+ if (messageBytesLength < 0) {
4680
+ throw new SolanaError(SOLANA_ERROR__TRANSACTION__SIGNATURE_COUNT_TOO_HIGH_FOR_TRANSACTION_BYTES, {
4681
+ numExpectedSignatures: signatureCount,
4682
+ transactionBytes: bytes.subarray(offset),
4683
+ transactionBytesLength: bytes.length - offset
4684
+ });
4685
+ }
4686
+ const messageBytes = bytes.subarray(offset, offset + messageBytesLength);
4687
+ const [signatures, finalOffset] = getArrayDecoder(fixDecoderSize(getBytesDecoder(), 64), {
4688
+ size: signatureCount
4689
+ }).read(bytes, offset + messageBytesLength);
4690
+ return [
4691
+ {
4692
+ messageBytes,
4693
+ signatures
4694
+ },
4695
+ finalOffset
4696
+ ];
4697
+ }
4698
+ });
4699
+ }
4632
4700
  function getTransactionCodec() {
4633
4701
  return combineCodec(getTransactionEncoder(), getTransactionDecoder());
4634
4702
  }
4635
- function decodePartiallyDecodedTransaction(transaction) {
4703
+ function decodePartiallyDecodedLegacyOrV0Transaction(transaction) {
4636
4704
  const { messageBytes, signatures } = transaction;
4637
4705
  const signerAddressesDecoder = getTupleDecoder([
4638
4706
  // read transaction version
@@ -4652,6 +4720,34 @@ this.globalThis.solanaWeb3 = (function (exports) {
4652
4720
  signerAddresses
4653
4721
  });
4654
4722
  }
4723
+ const signaturesMap = makeSignaturesMap(signerAddresses, signatures);
4724
+ return {
4725
+ messageBytes,
4726
+ signatures: Object.freeze(signaturesMap)
4727
+ };
4728
+ }
4729
+ function decodePartiallyDecodedV1Transaction(transaction) {
4730
+ const { messageBytes, signatures } = transaction;
4731
+ const numRequiredSignatures = messageBytes[1];
4732
+ const staticAddressOffset = 1 + 3 + 4 + 4 + 1 + 1;
4733
+ const signerAddresses = getArrayDecoder(getAddressDecoder(), { size: numRequiredSignatures }).decode(
4734
+ messageBytes,
4735
+ staticAddressOffset
4736
+ );
4737
+ if (signerAddresses.length !== signatures.length) {
4738
+ throw new SolanaError(SOLANA_ERROR__TRANSACTION__MESSAGE_SIGNATURES_MISMATCH, {
4739
+ numRequiredSignatures,
4740
+ signaturesLength: signatures.length,
4741
+ signerAddresses
4742
+ });
4743
+ }
4744
+ const signaturesMap = makeSignaturesMap(signerAddresses, signatures);
4745
+ return {
4746
+ messageBytes,
4747
+ signatures: signaturesMap
4748
+ };
4749
+ }
4750
+ function makeSignaturesMap(signerAddresses, signatures) {
4655
4751
  const signaturesMap = {};
4656
4752
  signerAddresses.forEach((address2, index) => {
4657
4753
  const signatureForAddress = signatures[index];
@@ -4661,10 +4757,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
4661
4757
  signaturesMap[address2] = signatureForAddress;
4662
4758
  }
4663
4759
  });
4664
- return {
4665
- messageBytes,
4666
- signatures: Object.freeze(signaturesMap)
4667
- };
4760
+ return Object.freeze(signaturesMap);
4668
4761
  }
4669
4762
  var SYSTEM_PROGRAM_ADDRESS2 = "11111111111111111111111111111111";
4670
4763
  function compiledInstructionIsAdvanceNonceInstruction(instruction, staticAddresses) {
@@ -7688,7 +7781,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
7688
7781
  ...config.headers ? normalizeHeaders2(config.headers) : void 0,
7689
7782
  ...{
7690
7783
  // Keep these headers lowercase so they will override any user-supplied headers above.
7691
- "solana-client": `js/${"6.1.0"}`
7784
+ "solana-client": `js/${"6.2.0-canary-20260223182006"}`
7692
7785
  }
7693
7786
  }
7694
7787
  }),
@@ -9736,6 +9829,8 @@ this.globalThis.solanaWeb3 = (function (exports) {
9736
9829
  exports.SOLANA_ERROR__CODECS__INVALID_ENUM_VARIANT = SOLANA_ERROR__CODECS__INVALID_ENUM_VARIANT;
9737
9830
  exports.SOLANA_ERROR__CODECS__INVALID_LITERAL_UNION_VARIANT = SOLANA_ERROR__CODECS__INVALID_LITERAL_UNION_VARIANT;
9738
9831
  exports.SOLANA_ERROR__CODECS__INVALID_NUMBER_OF_ITEMS = SOLANA_ERROR__CODECS__INVALID_NUMBER_OF_ITEMS;
9832
+ exports.SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_BYTES = SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_BYTES;
9833
+ exports.SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_VALUE = SOLANA_ERROR__CODECS__INVALID_PATTERN_MATCH_VALUE;
9739
9834
  exports.SOLANA_ERROR__CODECS__INVALID_STRING_FOR_BASE = SOLANA_ERROR__CODECS__INVALID_STRING_FOR_BASE;
9740
9835
  exports.SOLANA_ERROR__CODECS__LITERAL_UNION_DISCRIMINATOR_OUT_OF_RANGE = SOLANA_ERROR__CODECS__LITERAL_UNION_DISCRIMINATOR_OUT_OF_RANGE;
9741
9836
  exports.SOLANA_ERROR__CODECS__NUMBER_OUT_OF_RANGE = SOLANA_ERROR__CODECS__NUMBER_OUT_OF_RANGE;
@@ -9948,6 +10043,8 @@ this.globalThis.solanaWeb3 = (function (exports) {
9948
10043
  exports.SOLANA_ERROR__TRANSACTION_ERROR__WOULD_EXCEED_MAX_VOTE_COST_LIMIT = SOLANA_ERROR__TRANSACTION_ERROR__WOULD_EXCEED_MAX_VOTE_COST_LIMIT;
9949
10044
  exports.SOLANA_ERROR__TRANSACTION__ADDRESSES_CANNOT_SIGN_TRANSACTION = SOLANA_ERROR__TRANSACTION__ADDRESSES_CANNOT_SIGN_TRANSACTION;
9950
10045
  exports.SOLANA_ERROR__TRANSACTION__ADDRESS_MISSING = SOLANA_ERROR__TRANSACTION__ADDRESS_MISSING;
10046
+ exports.SOLANA_ERROR__TRANSACTION__CANNOT_DECODE_EMPTY_TRANSACTION_BYTES = SOLANA_ERROR__TRANSACTION__CANNOT_DECODE_EMPTY_TRANSACTION_BYTES;
10047
+ exports.SOLANA_ERROR__TRANSACTION__CANNOT_ENCODE_WITH_EMPTY_MESSAGE_BYTES = SOLANA_ERROR__TRANSACTION__CANNOT_ENCODE_WITH_EMPTY_MESSAGE_BYTES;
9951
10048
  exports.SOLANA_ERROR__TRANSACTION__CANNOT_ENCODE_WITH_EMPTY_SIGNATURES = SOLANA_ERROR__TRANSACTION__CANNOT_ENCODE_WITH_EMPTY_SIGNATURES;
9952
10049
  exports.SOLANA_ERROR__TRANSACTION__EXCEEDS_SIZE_LIMIT = SOLANA_ERROR__TRANSACTION__EXCEEDS_SIZE_LIMIT;
9953
10050
  exports.SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME = SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME;
@@ -9960,6 +10057,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
9960
10057
  exports.SOLANA_ERROR__TRANSACTION__FAILED_WHEN_SIMULATING_TO_ESTIMATE_COMPUTE_LIMIT = SOLANA_ERROR__TRANSACTION__FAILED_WHEN_SIMULATING_TO_ESTIMATE_COMPUTE_LIMIT;
9961
10058
  exports.SOLANA_ERROR__TRANSACTION__FEE_PAYER_MISSING = SOLANA_ERROR__TRANSACTION__FEE_PAYER_MISSING;
9962
10059
  exports.SOLANA_ERROR__TRANSACTION__FEE_PAYER_SIGNATURE_MISSING = SOLANA_ERROR__TRANSACTION__FEE_PAYER_SIGNATURE_MISSING;
10060
+ exports.SOLANA_ERROR__TRANSACTION__INVALID_CONFIG_MASK_PRIORITY_FEE_BITS = SOLANA_ERROR__TRANSACTION__INVALID_CONFIG_MASK_PRIORITY_FEE_BITS;
9963
10061
  exports.SOLANA_ERROR__TRANSACTION__INVALID_NONCE_TRANSACTION_FIRST_INSTRUCTION_MUST_BE_ADVANCE_NONCE = SOLANA_ERROR__TRANSACTION__INVALID_NONCE_TRANSACTION_FIRST_INSTRUCTION_MUST_BE_ADVANCE_NONCE;
9964
10062
  exports.SOLANA_ERROR__TRANSACTION__INVALID_NONCE_TRANSACTION_INSTRUCTIONS_MISSING = SOLANA_ERROR__TRANSACTION__INVALID_NONCE_TRANSACTION_INSTRUCTIONS_MISSING;
9965
10063
  exports.SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_CANNOT_PAY_FEES = SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_CANNOT_PAY_FEES;
@@ -9968,8 +10066,10 @@ this.globalThis.solanaWeb3 = (function (exports) {
9968
10066
  exports.SOLANA_ERROR__TRANSACTION__MESSAGE_SIGNATURES_MISMATCH = SOLANA_ERROR__TRANSACTION__MESSAGE_SIGNATURES_MISMATCH;
9969
10067
  exports.SOLANA_ERROR__TRANSACTION__NONCE_ACCOUNT_CANNOT_BE_IN_LOOKUP_TABLE = SOLANA_ERROR__TRANSACTION__NONCE_ACCOUNT_CANNOT_BE_IN_LOOKUP_TABLE;
9970
10068
  exports.SOLANA_ERROR__TRANSACTION__SIGNATURES_MISSING = SOLANA_ERROR__TRANSACTION__SIGNATURES_MISSING;
10069
+ exports.SOLANA_ERROR__TRANSACTION__SIGNATURE_COUNT_TOO_HIGH_FOR_TRANSACTION_BYTES = SOLANA_ERROR__TRANSACTION__SIGNATURE_COUNT_TOO_HIGH_FOR_TRANSACTION_BYTES;
9971
10070
  exports.SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_NOT_SUPPORTED = SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_NOT_SUPPORTED;
9972
10071
  exports.SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_OUT_OF_RANGE = SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_OUT_OF_RANGE;
10072
+ exports.SOLANA_ERROR__TRANSACTION__VERSION_ZERO_MUST_BE_ENCODED_WITH_SIGNATURES_FIRST = SOLANA_ERROR__TRANSACTION__VERSION_ZERO_MUST_BE_ENCODED_WITH_SIGNATURES_FIRST;
9973
10073
  exports.SolanaError = SolanaError;
9974
10074
  exports.TRANSACTION_PACKET_HEADER = TRANSACTION_PACKET_HEADER;
9975
10075
  exports.TRANSACTION_PACKET_SIZE = TRANSACTION_PACKET_SIZE;