@solana/web3.js 1.43.6 → 1.44.2
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.
- package/lib/index.browser.cjs.js +13 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +12 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +13 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +11 -1
- package/lib/index.esm.js +12 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +13 -1
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +3 -3
- package/lib/index.iife.min.js.map +1 -1
- package/package.json +2 -2
- package/src/connection.ts +10 -1
- package/src/index.ts +1 -0
- package/src/system-program.ts +9 -1
package/lib/index.browser.cjs.js
CHANGED
|
@@ -3580,6 +3580,10 @@ const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze({
|
|
|
3580
3580
|
TransferWithSeed: {
|
|
3581
3581
|
index: 11,
|
|
3582
3582
|
layout: BufferLayout__namespace.struct([BufferLayout__namespace.u32('instruction'), u64('lamports'), rustString('seed'), publicKey('programId')])
|
|
3583
|
+
},
|
|
3584
|
+
UpgradeNonceAccount: {
|
|
3585
|
+
index: 12,
|
|
3586
|
+
layout: BufferLayout__namespace.struct([BufferLayout__namespace.u32('instruction')])
|
|
3583
3587
|
}
|
|
3584
3588
|
});
|
|
3585
3589
|
/**
|
|
@@ -6753,7 +6757,13 @@ class Connection {
|
|
|
6753
6757
|
throw new Error('failed to get transactions: ' + res.error.message);
|
|
6754
6758
|
}
|
|
6755
6759
|
|
|
6756
|
-
|
|
6760
|
+
const result = res.result;
|
|
6761
|
+
if (!result) return result;
|
|
6762
|
+
return { ...result,
|
|
6763
|
+
transaction: { ...result.transaction,
|
|
6764
|
+
message: new Message(result.transaction.message)
|
|
6765
|
+
}
|
|
6766
|
+
};
|
|
6757
6767
|
});
|
|
6758
6768
|
return res;
|
|
6759
6769
|
}
|
|
@@ -9853,6 +9863,8 @@ exports.Struct = Struct;
|
|
|
9853
9863
|
exports.SystemInstruction = SystemInstruction;
|
|
9854
9864
|
exports.SystemProgram = SystemProgram;
|
|
9855
9865
|
exports.Transaction = Transaction;
|
|
9866
|
+
exports.TransactionExpiredBlockheightExceededError = TransactionExpiredBlockheightExceededError;
|
|
9867
|
+
exports.TransactionExpiredTimeoutError = TransactionExpiredTimeoutError;
|
|
9856
9868
|
exports.TransactionInstruction = TransactionInstruction;
|
|
9857
9869
|
exports.VALIDATOR_INFO_KEY = VALIDATOR_INFO_KEY;
|
|
9858
9870
|
exports.VOTE_PROGRAM_ID = VOTE_PROGRAM_ID;
|