update GenerateDeployScript back to GenerateDeployScriptAction in generate-deploy-script.ts
This commit is contained in:
parent
22b0c9ec46
commit
85c08d8ad3
@ -7,7 +7,7 @@ import { DeployAction } from '../../redux/actions/deploy';
|
||||
import { DryRunAction } from '../../redux/actions/dry-run';
|
||||
import { EvaluateFunctionAction } from '../../redux/actions/evaluate-function';
|
||||
import { EvaluateValueAction } from '../../redux/actions/evaluate-value';
|
||||
import { GenerateDeployScript } from '../../redux/actions/generate-deploy-script';
|
||||
import { GenerateDeployScriptAction } from '../../redux/actions/generate-deploy-script';
|
||||
import { AppState } from '../../redux/app';
|
||||
import { ChangeDispatchedAction, ChangeSelectedAction, CommandState } from '../../redux/command';
|
||||
import { Command } from '../../redux/types';
|
||||
@ -77,7 +77,7 @@ function createAction(command: Command) {
|
||||
case Command.EvaluateFunction:
|
||||
return new EvaluateFunctionAction();
|
||||
case Command.GenerateDeployScript:
|
||||
return new GenerateDeployScript();
|
||||
return new GenerateDeployScriptAction();
|
||||
default:
|
||||
throw new Error('Unsupported command');
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ export async function fetchRandomPrivateKey(): Promise<string> {
|
||||
return response.text();
|
||||
}
|
||||
|
||||
export class GenerateDeployScript extends CancellableAction {
|
||||
export class GenerateDeployScriptAction extends CancellableAction {
|
||||
getAction() {
|
||||
return async (dispatch: Dispatch, getState: () => AppState) => {
|
||||
dispatch({ ...new UpdateLoadingAction('Compiling contract...') });
|
||||
|
@ -11,16 +11,16 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ts-tools/node": "^1.0.0",
|
||||
"@types/cors": "^2.8.6",
|
||||
"@types/express": "^4.17.1",
|
||||
"@types/express-winston": "^3.0.4",
|
||||
"@types/hapi__joi": "^16.0.1",
|
||||
"@types/jest": "^24.0.23",
|
||||
"@types/joi": "^14.3.3",
|
||||
"@types/node": "10",
|
||||
"@types/node-fetch": "^2.5.4",
|
||||
"@types/tmp": "^0.1.0",
|
||||
"@types/winston": "^2.4.4",
|
||||
"@types/cors": "^2.8.6",
|
||||
"@types/node-fetch": "^2.5.4",
|
||||
"jest": "^24.9.0",
|
||||
"nodemon": "^1.19.3",
|
||||
"ts-jest": "^24.1.0",
|
||||
@ -40,6 +40,7 @@
|
||||
"express": "^4.17.1",
|
||||
"express-prometheus-middleware": "^0.8.5",
|
||||
"express-winston": "^4.0.1",
|
||||
"gensync": "^1.0.0-beta.1",
|
||||
"node-fetch": "^2.6.0",
|
||||
"sanitize-html": "^1.20.1",
|
||||
"tmp": "^0.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user