Update @solana/web3.js to v0.43.0

This commit is contained in:
Justin Starry 2020-04-07 00:30:34 +08:00 committed by Michael Vines
parent 0f0b0a20eb
commit 0bda30e1f7
3 changed files with 7 additions and 7 deletions

View File

@ -1269,9 +1269,9 @@
"integrity": "sha512-DetpxZw1fzPD5xUBrIAoplLChO2VB8DlL5Gg+I1IR9b2wPqYIca2WSUxL5g1vLeR4MsQq1NeWriXAVffV+U1Fw=="
},
"@solana/web3.js": {
"version": "0.42.2",
"resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-0.42.2.tgz",
"integrity": "sha512-Dci8Nju2IUgGCNqY8tAzpnXLgCOTtAZ/EsxjjF+jCj2jKhIZGzgv/rNdVkWFfK/sKh+A1Jr6q09yk6bNTctBHQ==",
"version": "0.43.0",
"resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-0.43.0.tgz",
"integrity": "sha512-Zf+UfoAuXdn8WwvYSVb8k4hQ484L2ZK6eXlW5EN048273Nks0+Sf44QrUpq2AhYVm6KAT7siyB8Nhgo0jQAG6A==",
"requires": {
"@babel/runtime": "^7.3.1",
"bn.js": "^5.0.0",

View File

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@solana/web3.js": "^0.42.2",
"@solana/web3.js": "^0.43.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",

View File

@ -255,9 +255,9 @@ export async function checkTransactionStatus(
let slot;
let confirmations: Confirmations | undefined;
try {
const { value } = await new Connection(url, "recent").getSignatureStatus(
signature
);
const { value } = await new Connection(url).getSignatureStatus(signature, {
searchTransactionHistory: true
});
if (value === null) {
status = Status.Missing;