@0xproject/types
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -9,2 +9,5 @@ import { BigNumber } from 'bignumber.js'; | ||
} | ||
export interface TxDataPayable extends TxData { | ||
value?: BigNumber; | ||
} | ||
export interface TransactionReceipt { | ||
@@ -11,0 +14,0 @@ blockHash: string; |
{ | ||
"name": "@0xproject/types", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "0x types", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@0xproject/tslint-config": "^0.2.1", | ||
"@0xproject/tslint-config": "^0.3.0", | ||
"bignumber.js": "^5.0.0", | ||
@@ -25,0 +25,0 @@ "shx": "^0.2.2", |
@@ -1,7 +0,7 @@ | ||
0x types | ||
@0xproject/types | ||
------ | ||
TS types shared across 0x projects and packages | ||
Typescript types shared across 0x projects and packages | ||
## Install | ||
## Installation | ||
@@ -11,1 +11,42 @@ ```bash | ||
``` | ||
## Usage | ||
```javascript | ||
import { | ||
TransactionReceipt, | ||
TxData, | ||
TxDataPayable, | ||
} from '@0xproject/types'; | ||
``` | ||
## Contributing | ||
We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository. | ||
Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started. | ||
### Install Dependencies | ||
If you don't have yarn workspaces e`nabled (Yarn < v1.0) - enable them: | ||
```bash | ||
yarn config set workspaces-experimental true | ||
``` | ||
Then install dependencies | ||
```bash | ||
yarn install | ||
``` | ||
### Build | ||
```bash | ||
yarn build | ||
``` | ||
### Lint | ||
```bash | ||
yarn lint | ||
``` |
@@ -11,2 +11,6 @@ import {BigNumber} from 'bignumber.js'; | ||
export interface TxDataPayable extends TxData { | ||
value?: BigNumber; | ||
} | ||
export interface TransactionReceipt { | ||
@@ -13,0 +17,0 @@ blockHash: string; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
3938
10
83
52
1