@0xproject/types
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -1,2 +0,2 @@ | ||
import { BigNumber } from '@0xproject/utils'; | ||
import { BigNumber } from 'bignumber.js'; | ||
import * as Web3 from 'web3'; | ||
@@ -25,1 +25,27 @@ export interface TxData { | ||
} | ||
export interface JSONRPCPayload { | ||
params: any[]; | ||
method: string; | ||
} | ||
export declare enum AbiType { | ||
Function = "function", | ||
Constructor = "constructor", | ||
Event = "event", | ||
Fallback = "fallback", | ||
} | ||
export declare type ContractEventArg = string | BigNumber; | ||
export interface DecodedLogArgs { | ||
[argName: string]: ContractEventArg; | ||
} | ||
export interface LogWithDecodedArgs<ArgsType> extends Web3.DecodedLogEntry<ArgsType> { | ||
} | ||
export declare type RawLog = Web3.LogEntry; | ||
export declare enum SolidityTypes { | ||
Address = "address", | ||
Uint256 = "uint256", | ||
Uint8 = "uint8", | ||
Uint = "uint", | ||
} | ||
export interface TransactionReceiptWithDecodedLogs extends TransactionReceipt { | ||
logs: Array<LogWithDecodedArgs<DecodedLogArgs> | Web3.LogEntry>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var AbiType; | ||
(function (AbiType) { | ||
AbiType["Function"] = "function"; | ||
AbiType["Constructor"] = "constructor"; | ||
AbiType["Event"] = "event"; | ||
AbiType["Fallback"] = "fallback"; | ||
})(AbiType = exports.AbiType || (exports.AbiType = {})); | ||
var SolidityTypes; | ||
(function (SolidityTypes) { | ||
SolidityTypes["Address"] = "address"; | ||
SolidityTypes["Uint256"] = "uint256"; | ||
SolidityTypes["Uint8"] = "uint8"; | ||
SolidityTypes["Uint"] = "uint"; | ||
})(SolidityTypes = exports.SolidityTypes || (exports.SolidityTypes = {})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@0xproject/types", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "0x types", | ||
@@ -22,11 +22,12 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@0xproject/tslint-config": "^0.4.5", | ||
"@0xproject/tslint-config": "^0.4.6", | ||
"shx": "^0.2.2", | ||
"tslint": "5.8.0", | ||
"typescript": "~2.6.1" | ||
"typescript": "~2.6.1", | ||
"web3-typescript-typings": "^0.9.8" | ||
}, | ||
"dependencies": { | ||
"@0xproject/utils": "^0.2.3", | ||
"bignumber.js": "~4.1.0", | ||
"web3": "^0.20.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { BigNumber } from '@0xproject/utils'; | ||
import { BigNumber } from 'bignumber.js'; | ||
import * as Web3 from 'web3'; | ||
@@ -28,1 +28,32 @@ | ||
} | ||
export interface JSONRPCPayload { | ||
params: any[]; | ||
method: string; | ||
} | ||
export enum AbiType { | ||
Function = 'function', | ||
Constructor = 'constructor', | ||
Event = 'event', | ||
Fallback = 'fallback', | ||
} | ||
export type ContractEventArg = string | BigNumber; | ||
export interface DecodedLogArgs { | ||
[argName: string]: ContractEventArg; | ||
} | ||
export interface LogWithDecodedArgs<ArgsType> extends Web3.DecodedLogEntry<ArgsType> {} | ||
export type RawLog = Web3.LogEntry; | ||
export enum SolidityTypes { | ||
Address = 'address', | ||
Uint256 = 'uint256', | ||
Uint8 = 'uint8', | ||
Uint = 'uint', | ||
} | ||
export interface TransactionReceiptWithDecodedLogs extends TransactionReceipt { | ||
logs: Array<LogWithDecodedArgs<DecodedLogArgs> | Web3.LogEntry>; | ||
} |
Sorry, the diff of this file is not supported yet
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
6165
137
5
+ Addedbignumber.js@~4.1.0
- Removed@0xproject/utils@^0.2.3
- Removed@0xproject/utils@0.2.4(transitive)
- Removedjs-sha3@0.7.0(transitive)
- Removedlodash@4.17.21(transitive)