@0xproject/typescript-typings
Advanced tools
Comparing version 2.0.2 to 3.0.0
[ | ||
{ | ||
"version": "3.0.0", | ||
"changes": [ | ||
{ | ||
"note": "Remove types for ethers.js", | ||
"pr": "1069" | ||
} | ||
], | ||
"timestamp": 1538157789 | ||
}, | ||
{ | ||
"timestamp": 1537907159, | ||
@@ -4,0 +14,0 @@ "version": "2.0.2", |
@@ -8,2 +8,6 @@ <!-- | ||
## v3.0.0 - _September 28, 2018_ | ||
* Remove types for ethers.js (#1069) | ||
## v2.0.2 - _September 25, 2018_ | ||
@@ -10,0 +14,0 @@ |
{ | ||
"name": "@0xproject/typescript-typings", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"engines": { | ||
@@ -29,3 +29,3 @@ "node": ">=6.12" | ||
"bignumber.js": "~4.1.0", | ||
"ethereum-types": "^1.0.8", | ||
"ethereum-types": "^1.0.9", | ||
"popper.js": "1.14.3" | ||
@@ -41,3 +41,3 @@ }, | ||
}, | ||
"gitHead": "1b35a6e3b5d050fa33097b35e1d739ca13c6806e" | ||
"gitHead": "ac14dd2b29b42ef4d2a46db9b70d4d30cf9bd40f" | ||
} |
declare module 'solc' { | ||
export { ErrorType, ErrorSeverity, SolcError, StandardContractOutput, StandardOutput } from 'ethereum-types'; | ||
import { SolcError } from 'ethereum-types'; | ||
export interface ContractCompilationResult { | ||
@@ -90,58 +92,2 @@ srcmap: string; | ||
} | ||
export type ErrorType = | ||
| 'JSONError' | ||
| 'IOError' | ||
| 'ParserError' | ||
| 'DocstringParsingError' | ||
| 'SyntaxError' | ||
| 'DeclarationError' | ||
| 'TypeError' | ||
| 'UnimplementedFeatureError' | ||
| 'InternalCompilerError' | ||
| 'Exception' | ||
| 'CompilerError' | ||
| 'FatalError' | ||
| 'Warning'; | ||
export type ErrorSeverity = 'error' | 'warning'; | ||
export interface Error { | ||
sourceLocation?: { | ||
file: string; | ||
start: number; | ||
end: number; | ||
}; | ||
type: ErrorType; | ||
component: 'general' | 'ewasm'; | ||
severity: ErrorSeverity; | ||
message: string; | ||
formattedMessage?: string; | ||
} | ||
import { ContractAbi } from 'ethereum-types'; | ||
export interface StandardContractOutput { | ||
abi: ContractAbi; | ||
evm: { | ||
bytecode: { | ||
object: string; | ||
sourceMap: string; | ||
}; | ||
deployedBytecode: { | ||
object: string; | ||
sourceMap: string; | ||
}; | ||
}; | ||
} | ||
export interface StandardOutput { | ||
errors: Error[]; | ||
sources: { | ||
[fileName: string]: { | ||
id: number; | ||
ast?: object; | ||
legacyAST?: object; | ||
}; | ||
}; | ||
contracts: { | ||
[fileName: string]: { | ||
[contractName: string]: StandardContractOutput; | ||
}; | ||
}; | ||
} | ||
export interface SolcInstance { | ||
@@ -155,4 +101,7 @@ compile( | ||
} | ||
export function loadRemoteVersion(versionName: string, cb: (err: Error | null, res?: SolcInstance) => void): void; | ||
export function loadRemoteVersion( | ||
versionName: string, | ||
cb: (err: SolcError | null, res?: SolcInstance) => void, | ||
): void; | ||
export function setupMethods(solcBin: any): SolcInstance; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85499
33
2043
Updatedethereum-types@^1.0.9