Skip to content

Commit

Permalink
chore: added sepolia to the network option
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Jul 26, 2022
1 parent dbb9dd9 commit 6713514
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
node_modules
.idea
.vscode
lib/__tests__
lib/*.map
lib/**/__tests__
lib/**/*.map
logs
*.logs
*.dot
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Options:
-f, --outputFormat <value> output file format. (choices: "svg", "png", "dot", "all", default: "svg")
-o, --outputFileName <value> output file name
-i, --ignoreFilesOrFolders <filesOrFolders> comma separated list of files or folders to ignore
-n, --network <network> Ethereum network (choices: "mainnet", "polygon", "bsc", "arbitrum", "ropsten", "kovan", "rinkeby", "goerli", default: "mainnet")
-n, --network <network> Ethereum network (choices: "mainnet", "polygon", "bsc", "arbitrum", "ropsten", "kovan", "rinkeby", "goerli", "sepolia", default: "mainnet")
-k, --apiKey <key> Etherscan, Polygonscan or BscScan API key
-v, --verbose run with debugging statements (default: false)
-h, --help display help for command
Expand Down
2 changes: 1 addition & 1 deletion lib/parserEtherscan.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ASTNode } from '@solidity-parser/parser/dist/src/ast-types';
import { UmlClass } from './umlClass';
declare const networks: readonly ["mainnet", "ropsten", "kovan", "rinkeby", "goerli", "polygon", "bsc", "arbitrum"];
declare const networks: readonly ["mainnet", "ropsten", "kovan", "rinkeby", "goerli", "sepolia", "polygon", "bsc", "arbitrum"];
declare type Network = typeof networks[number];
export declare class EtherscanParser {
protected apikey: string;
Expand Down
1 change: 1 addition & 0 deletions lib/parserEtherscan.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/sol2uml.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sol2uml",
"version": "2.0.2",
"version": "2.0.3",
"description": "Unified Modeling Language (UML) class diagram generator for Solidity contracts",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/ts/parserEtherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const networks = <const>[
'kovan',
'rinkeby',
'goerli',
'sepolia',
'polygon',
'bsc',
'arbitrum',
Expand Down
1 change: 1 addition & 0 deletions src/ts/sol2uml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ The Solidity code can be pulled from verified source code on Blockchain explorer
'kovan',
'rinkeby',
'goerli',
'sepolia',
])
.default('mainnet')
)
Expand Down

0 comments on commit 6713514

Please sign in to comment.