sol2uml 2.0.2 → 2.0.3

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.
package/README.md CHANGED
@@ -53,7 +53,7 @@ Options:
53
53
  -f, --outputFormat <value> output file format. (choices: "svg", "png", "dot", "all", default: "svg")
54
54
  -o, --outputFileName <value> output file name
55
55
  -i, --ignoreFilesOrFolders <filesOrFolders> comma separated list of files or folders to ignore
56
- -n, --network <network> Ethereum network (choices: "mainnet", "polygon", "bsc", "arbitrum", "ropsten", "kovan", "rinkeby", "goerli", default: "mainnet")
56
+ -n, --network <network> Ethereum network (choices: "mainnet", "polygon", "bsc", "arbitrum", "ropsten", "kovan", "rinkeby", "goerli", "sepolia", default: "mainnet")
57
57
  -k, --apiKey <key> Etherscan, Polygonscan or BscScan API key
58
58
  -v, --verbose run with debugging statements (default: false)
59
59
  -h, --help display help for command
@@ -195,7 +195,7 @@ A Solidity variable becomes an attribute in UML and a Solidity function becomes
195
195
 
196
196
  * event
197
197
  * modifier
198
- * abstract - is there is no function body on a contract, the operator is marked as abstract. Operators on an Interface do not have an abstract stereotype as all operators are abstract.
198
+ * abstract - if there is no function body on a contract, the operator is marked as abstract. Operators on an Interface do not have an abstract stereotype as all operators are abstract.
199
199
  * fallback - abstract fallback functions will just have an abstract stereotype.
200
200
  * payable - payable fallback functions will just have a fallback stereotype.
201
201
 
@@ -1,6 +1,6 @@
1
1
  import { ASTNode } from '@solidity-parser/parser/dist/src/ast-types';
2
2
  import { UmlClass } from './umlClass';
3
- declare const networks: readonly ["mainnet", "ropsten", "kovan", "rinkeby", "goerli", "polygon", "bsc", "arbitrum"];
3
+ declare const networks: readonly ["mainnet", "ropsten", "kovan", "rinkeby", "goerli", "sepolia", "polygon", "bsc", "arbitrum"];
4
4
  declare type Network = typeof networks[number];
5
5
  export declare class EtherscanParser {
6
6
  protected apikey: string;
@@ -13,6 +13,7 @@ const networks = [
13
13
  'kovan',
14
14
  'rinkeby',
15
15
  'goerli',
16
+ 'sepolia',
16
17
  'polygon',
17
18
  'bsc',
18
19
  'arbitrum',
package/lib/sol2uml.js CHANGED
@@ -37,6 +37,7 @@ The Solidity code can be pulled from verified source code on Blockchain explorer
37
37
  'kovan',
38
38
  'rinkeby',
39
39
  'goerli',
40
+ 'sepolia',
40
41
  ])
41
42
  .default('mainnet'))
42
43
  .option('-k, --apiKey <key>', 'Etherscan, Polygonscan, BscScan or Arbiscan API key')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sol2uml",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Unified Modeling Language (UML) class diagram generator for Solidity contracts",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",