@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.cjs.js
CHANGED
|
@@ -3607,6 +3607,10 @@ const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze({
|
|
|
3607
3607
|
TransferWithSeed: {
|
|
3608
3608
|
index: 11,
|
|
3609
3609
|
layout: BufferLayout__namespace.struct([BufferLayout__namespace.u32('instruction'), u64('lamports'), rustString('seed'), publicKey('programId')])
|
|
3610
|
+
},
|
|
3611
|
+
UpgradeNonceAccount: {
|
|
3612
|
+
index: 12,
|
|
3613
|
+
layout: BufferLayout__namespace.struct([BufferLayout__namespace.u32('instruction')])
|
|
3610
3614
|
}
|
|
3611
3615
|
});
|
|
3612
3616
|
/**
|
|
@@ -6838,7 +6842,13 @@ class Connection {
|
|
|
6838
6842
|
throw new Error('failed to get transactions: ' + res.error.message);
|
|
6839
6843
|
}
|
|
6840
6844
|
|
|
6841
|
-
|
|
6845
|
+
const result = res.result;
|
|
6846
|
+
if (!result) return result;
|
|
6847
|
+
return { ...result,
|
|
6848
|
+
transaction: { ...result.transaction,
|
|
6849
|
+
message: new Message(result.transaction.message)
|
|
6850
|
+
}
|
|
6851
|
+
};
|
|
6842
6852
|
});
|
|
6843
6853
|
return res;
|
|
6844
6854
|
}
|
|
@@ -9938,6 +9948,8 @@ exports.Struct = Struct;
|
|
|
9938
9948
|
exports.SystemInstruction = SystemInstruction;
|
|
9939
9949
|
exports.SystemProgram = SystemProgram;
|
|
9940
9950
|
exports.Transaction = Transaction;
|
|
9951
|
+
exports.TransactionExpiredBlockheightExceededError = TransactionExpiredBlockheightExceededError;
|
|
9952
|
+
exports.TransactionExpiredTimeoutError = TransactionExpiredTimeoutError;
|
|
9941
9953
|
exports.TransactionInstruction = TransactionInstruction;
|
|
9942
9954
|
exports.VALIDATOR_INFO_KEY = VALIDATOR_INFO_KEY;
|
|
9943
9955
|
exports.VOTE_PROGRAM_ID = VOTE_PROGRAM_ID;
|