Skip to content

Commit

Permalink
Merge pull request #89 from ethereum-attestation-service/fix
Browse files Browse the repository at this point in the history
 Fix signer assignment during `connect` (2.0.0-beta.1 regression)
  • Loading branch information
lbeder authored Apr 5, 2024
2 parents 32fc2c7 + 262743c commit ef088c1
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.0.1-beta.1 (2024-04-04)

- Fix signer assignment during `connect` (2.0.0-beta.1 regression).

## 2.0.0-beta.1 (2024-03-21)

- Don't automatically broadcast transactions. In order to broadcast transactions, it's now always necessary to call the `wait()` function.
Expand Down
4 changes: 2 additions & 2 deletions dist/offchain/offchain-utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/offchain/offchain-utils.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/transaction.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/transaction.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereum-attestation-service/eas-sdk",
"version": "2.0.0-beta.1",
"version": "2.0.1-beta.1",
"description": "Ethereum Attestation Service - TypeScript/JavaScript SDK",
"repository": "[email protected]:ethereum-attestation-service/eas-sdk.git",
"author": "Leonid Beder <[email protected]>",
Expand Down
2 changes: 2 additions & 0 deletions src/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export class Base<C extends BaseContract> {
public connect(signer: TransactionSigner) {
this.contract = this.contract.connect(signer as unknown as ContractRunner) as C;

this.signer = signer;

return this;
}

Expand Down

0 comments on commit ef088c1

Please sign in to comment.