dracoder-web3-package 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -227,6 +227,8 @@ const selectOrAddPolygonMainNetwork = async () => {
227
227
  response: error,
228
228
  };
229
229
  }
230
+ }else{
231
+ throw switchError
230
232
  }
231
233
  }
232
234
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dracoder-web3-package",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Dracoder package used for web3 provider integration.",
5
5
  "main": "index.js",
6
6
  "keywords": [