-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Operating System: Windows 10 1909 build: 18363.720
VS Code: 1.44.0-insider
NodeJS: v12.16.1
NPM: 6.14.3
MythxJS: 1.3.11
I create a simple project with the following code:
import { Client } from 'mythxjs';
async function login() {
const mythx = new Client('<address removed>', '<password removed');
const tokens = await mythx.login();
const bytecode = '0x6080<truncated bytecode>';
let result = await mythx.submitBytecode(bytecode);
}
login();
When building this project, I get the following build time exceptions:
$ npm run build
> [email protected] build C:\Users\caleteet\source\Test\mythxjs-test
> tsc -p ./
node_modules/mythxjs/dist/src/types/index.d.ts:1:30 - error TS2307: Cannot find module './analysis-list'.
1 export { AnalysisList } from './analysis-list';
~~~~~~~~~~~~~~~~~
node_modules/mythxjs/dist/src/types/index.d.ts:2:36 - error TS2307: Cannot find module './analysis-submission'.
2 export { AnalysisSubmission } from './analysis-submission';
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/mythxjs/dist/src/types/index.d.ts:3:32 - error TS2307: Cannot find module './detected-issues'.
3 export { DetectedIssues } from './detected-issues';
~~~~~~~~~~~~~~~~~~~
node_modules/mythxjs/dist/src/types/index.d.ts:4:25 - error TS2307: Cannot find module './openapi'.
4 export { Openapi } from './openapi';
~~~~~~~~~~~
node_modules/mythxjs/dist/src/types/index.d.ts:5:25 - error TS2307: Cannot find module './version'.
5 export { Version } from './version';
~~~~~~~~~~~
Found 5 errors.
I didn't see the modules referenced here in the output as they are just typings.
Metadata
Metadata
Assignees
Labels
No labels