diff --git a/package.json b/package.json index 98ba141..965a5c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@instadapp/vue-web3", - "version": "0.5.0", + "version": "0.6.0", "description": "Vue web3 composition api", "license": "MIT", "main": "index.js", diff --git a/src/index.ts b/src/index.ts index a71532f..869dd52 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ export class UnsupportedChainIdError extends Error { supportedChainIds?: readonly number[], ) { super() - this.name = this.constructor.name + this.name = 'UnsupportedChainIdError' this.message = `Unsupported chain id: ${unsupportedChainId}. Supported chain ids are: ${supportedChainIds}.` } }