Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KABBOUCHI committed Aug 28, 2023
1 parent 624a33c commit 606d1e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@instadapp/avocado",
"version": "0.4.4",
"version": "0.4.5",
"type": "module",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion src/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class AvoSigner extends Signer implements TypedDataSigner {
const avoSafeNonce = options && typeof options.avoSafeNonce !== 'undefined' ? String(options.avoSafeNonce) : await this.getSafeNonce(targetChainId)

const avoVersion = options?.version
? parse(options.version)?.major || 1
? (parse(options.version)?.major || 1) === 1
? AvoSafeVersion.V1
: AvoSafeVersion.V2
: await avoContracts.safeVersion(targetChainId, options?.safeAddress || await this.getAddress());
Expand Down

0 comments on commit 606d1e6

Please sign in to comment.