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

@0xproject/types

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xproject/types - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

28

lib/index.d.ts

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

9

package.json
{
"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

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