@0xproject/types
Advanced tools
Comparing version 0.1.9 to 0.2.0
# 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
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
7402
158