sol2uml 2.2.4 → 2.2.5

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.
@@ -11,7 +11,7 @@ const parserUmlClasses = async (fileFolderAddress, options) => {
11
11
  };
12
12
  if ((0, regEx_1.isAddress)(fileFolderAddress)) {
13
13
  debug(`argument ${fileFolderAddress} is an Ethereum address so checking Etherscan for the verified source code`);
14
- const etherscanApiKey = options.etherscanApiKey || 'ZAD4UI2RCXCQTP38EXS3UY2MPHFU5H9KB1';
14
+ const etherscanApiKey = options.apiKey || 'ZAD4UI2RCXCQTP38EXS3UY2MPHFU5H9KB1';
15
15
  const etherscanParser = new parserEtherscan_1.EtherscanParser(etherscanApiKey, options.network);
16
16
  result = await etherscanParser.getUmlClasses(fileFolderAddress);
17
17
  }
package/lib/sol2uml.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sol2uml",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "Solidity contract visualisation tool.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -31,10 +31,10 @@
31
31
  "klaw": "^4.0.1"
32
32
  },
33
33
  "devDependencies": {
34
+ "@openzeppelin/contracts": "4.7.3",
34
35
  "@types/jest": "^29.1.1",
35
36
  "@types/klaw": "^3.0.3",
36
37
  "jest": "^29.1.2",
37
- "@openzeppelin/contracts": "4.7.3",
38
38
  "prettier": "^2.7.1",
39
39
  "ts-jest": "^29.0.3",
40
40
  "ts-node": "^10.9.1",