diff --git a/package.json b/package.json index fe83638fe..ca79a1565 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@across-protocol/sdk", "author": "UMA Team", - "version": "4.3.100", + "version": "4.3.101", "license": "AGPL-3.0", "homepage": "https://docs.across.to/reference/sdk", "files": [ diff --git a/src/utils/AddressUtils.ts b/src/utils/AddressUtils.ts index 49b4d5f89..457d3bd49 100644 --- a/src/utils/AddressUtils.ts +++ b/src/utils/AddressUtils.ts @@ -212,8 +212,8 @@ export abstract class Address { } // Checks if the other address is equivalent to this address. - eq(other: Address): boolean { - return this.toString() === other.toString(); + eq(other?: Address): boolean { + return this.toString() === other?.toString(); } // Compares Addresses by first converting them to BigNumbers.