Skip to content

Commit

Permalink
Bumped TypeScript to 4.2.2 (#1288).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Mar 7, 2021
1 parent a953f71 commit b2ecffb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"rollup-plugin-sourcemaps": "0.6.3",
"scrypt-js": "3.0.1",
"semver": "^5.6.0",
"typescript": "3.8.3",
"typescript": "4.2.2",
"uglify-es": "3.3.9"
},
"dependencies": {
Expand Down
5 changes: 1 addition & 4 deletions packages/experimental/src.ts/nonce-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export class NonceManager extends ethers.Signer {
super();
this._deltaCount = 0;
ethers.utils.defineReadOnly(this, "signer", signer);
}

get provider(): ethers.providers.Provider {
return this.signer.provider;
ethers.utils.defineReadOnly(this, "provider", signer.provider || null);
}

connect(provider: ethers.providers.Provider): NonceManager {
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src.ts/test-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function TestContractEvents() {
waitForEvent('TestV2', [ { indexed: true }, [ p0, p1 ] ]),
waitForEvent('TestV2Nested', [ { indexed: true }, [ p0_1, p1_1, [ p0, p1 ] ] ]),
]).then(function(result) {
resolve();
resolve(result);
});
});
}
Expand Down
1 change: 1 addition & 0 deletions packages/tests/src.ts/test-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,7 @@ describe("Bad ENS resolution", function() {
try {
const tx = await wallet.sendTransaction({ to: "junk", value: 1 });
console.log("TX", tx);
assert.ok(false, "failed to throw an exception");
} catch (error) {
assert.ok(error.argument === "tx.to" && error.value === "junk");
}
Expand Down

0 comments on commit b2ecffb

Please sign in to comment.