Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xproject/typescript-typings

Package Overview
Dependencies
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xproject/typescript-typings - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

10

CHANGELOG.json
[
{
"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",

4

CHANGELOG.md

@@ -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 @@

6

package.json
{
"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;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc