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.9 to 0.2.0

4

CHANGELOG.md
# CHANGELOG
## vx.x.x
## v0.2.0 - _February 7, 2018_
* Added BlockLiteralParam and BlockParam, refactored out of 0x.js types. (#355)

@@ -51,1 +51,6 @@ import { BigNumber } from 'bignumber.js';

}
export declare enum BlockParamLiteral {
Latest = "latest",
Pending = "pending",
}
export declare type BlockParam = BlockParamLiteral | number;

@@ -17,2 +17,10 @@ "use strict";

})(SolidityTypes = exports.SolidityTypes || (exports.SolidityTypes = {}));
// Earliest is omitted by design. It is simply an alias for the `0` constant and
// is thus not very helpful. Moreover, this type is used in places that only accept
// `latest` or `pending`.
var BlockParamLiteral;
(function (BlockParamLiteral) {
BlockParamLiteral["Latest"] = "latest";
BlockParamLiteral["Pending"] = "pending";
})(BlockParamLiteral = exports.BlockParamLiteral || (exports.BlockParamLiteral = {}));
//# sourceMappingURL=index.js.map
{
"name": "@0xproject/types",
"version": "0.1.9",
"version": "0.2.0",
"description": "0x types",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -59,1 +59,11 @@ import { BigNumber } from 'bignumber.js';

}
// Earliest is omitted by design. It is simply an alias for the `0` constant and
// is thus not very helpful. Moreover, this type is used in places that only accept
// `latest` or `pending`.
export enum BlockParamLiteral {
Latest = 'latest',
Pending = 'pending',
}
export type BlockParam = BlockParamLiteral | number;

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