@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.iife.js
CHANGED
|
@@ -15304,6 +15304,10 @@ var solanaWeb3 = (function (exports) {
|
|
|
15304
15304
|
TransferWithSeed: {
|
|
15305
15305
|
index: 11,
|
|
15306
15306
|
layout: struct([u32('instruction'), u64('lamports'), rustString('seed'), publicKey('programId')])
|
|
15307
|
+
},
|
|
15308
|
+
UpgradeNonceAccount: {
|
|
15309
|
+
index: 12,
|
|
15310
|
+
layout: struct([u32('instruction')])
|
|
15307
15311
|
}
|
|
15308
15312
|
});
|
|
15309
15313
|
/**
|
|
@@ -21578,7 +21582,13 @@ var solanaWeb3 = (function (exports) {
|
|
|
21578
21582
|
throw new Error('failed to get transactions: ' + res.error.message);
|
|
21579
21583
|
}
|
|
21580
21584
|
|
|
21581
|
-
|
|
21585
|
+
const result = res.result;
|
|
21586
|
+
if (!result) return result;
|
|
21587
|
+
return { ...result,
|
|
21588
|
+
transaction: { ...result.transaction,
|
|
21589
|
+
message: new Message(result.transaction.message)
|
|
21590
|
+
}
|
|
21591
|
+
};
|
|
21582
21592
|
});
|
|
21583
21593
|
return res;
|
|
21584
21594
|
}
|
|
@@ -30271,6 +30281,8 @@ var solanaWeb3 = (function (exports) {
|
|
|
30271
30281
|
exports.SystemInstruction = SystemInstruction;
|
|
30272
30282
|
exports.SystemProgram = SystemProgram;
|
|
30273
30283
|
exports.Transaction = Transaction;
|
|
30284
|
+
exports.TransactionExpiredBlockheightExceededError = TransactionExpiredBlockheightExceededError;
|
|
30285
|
+
exports.TransactionExpiredTimeoutError = TransactionExpiredTimeoutError;
|
|
30274
30286
|
exports.TransactionInstruction = TransactionInstruction;
|
|
30275
30287
|
exports.VALIDATOR_INFO_KEY = VALIDATOR_INFO_KEY;
|
|
30276
30288
|
exports.VOTE_PROGRAM_ID = VOTE_PROGRAM_ID;
|