Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

@0xproject/types

0x types

Published21 Sept 2018
Direct dependencies9
Transitive dependenciesNot calculated

README

Current package documentation

@0xproject/types

Typescript types shared across 0x projects and packages

Installation

yarn add -D @0xproject/types

If your project is in TypeScript, add the following to your tsconfig.json:

"compilerOptions": {
    "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
}

Usage

import { TransactionReceipt, TxData, TxDataPayable } from '@0xproject/types';

Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our contribution guidelines before getting started.

Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

yarn config set workspaces-experimental true

Then install dependencies

yarn install

Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

PKG=@0xproject/types yarn build

Or continuously rebuild on change:

PKG=@0xproject/types yarn watch

Clean

yarn clean

Lint

yarn lint

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 9

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
*runtime
bignumber.js
Environment
{
  "local_name": "bignumber.js",
  "alias": false,
  "peer_metadata": null
}
~4.1.0runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^1.0.7runtime
@0xproject/tslint-config
Environment
{
  "local_name": "@0xproject/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^1.0.7development
copyfiles
Environment
{
  "local_name": "copyfiles",
  "alias": false,
  "peer_metadata": null
}
^2.0.0development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.11.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
3.0.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "76a7106f6c19b0ed9cde7dc1218dcc4252d3b397",
  "tarball": "https://registry.npmjs.org/@0xproject/types/-/types-1.0.2.tgz",
  "integrity": "sha512-inT/6cu3R+POs6ejXZzHKaIO8Y95GYKYlGEZiXt7i3+ebO4vGT9YIFJCv+zoE/1Bi/Z0NbR1ldb6hMCqFERc2w==",
  "fileCount": 11,
  "unpackedSize": 34913,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpQdXCRA9TVsSAnZWagAAfkYP/1NRjmc84M4uDkMcwoLZ\nUrbfiwR/tgqkw+JAuUp/Cvu1Lm3qQ+YW+65SEs/CCQanIxvUrk1UVzQ6z1U9\ncVDByP4bDXQOKd2kwdXq1wifN4uPPErCGjJE+bWpnoIDdKihcJk4ajHJybJd\nfRNweYwFSs87B94WPvnP74STU71LtJHr4ISQNLtTKi0ELfg9njTfbOwj7gJh\nSpiJ4ED7y1F6c/+2n86CjfUZPxCoZ7Ty+Md0zKLNVsVwLoaX6eNJjRgEu1Wq\nvG6i52OFr6ZfuOU7y6g1DEG7wcZoIJvknXfa+haAuq1YMbnmlASCpWW+hGgX\nI8zTNqdI0PPRnGApu58GCAC7yYOf65FUl7Nk7ZdywVjVsDezgGi1XtgKGbXw\nP0lcccYckJILfMID4kdpuh85kgnDeKCbRF1SvTQYK9fVuG01UJbQ0CKSc3TC\neUfQ/HLDnhZ+adeWwxfkb12VLXQyElSZwzUKOSSsefysHaSYDs9+omiZCiho\n9XjMRTKQSFHSR4ttTMYV/GFHBAyz94vezOxLcceWPIRsV+ckYxgp8YQuN+6B\nskrgnyj5Ov+hBWHPNBYMLx/2fUSgOEhw9d0Qp1bL14CSK4ycdKdelYvWbwBk\nLrnc7i349WyWLry0o/1T2kfVhyvuABOX4X4sBGtLlUvfEunnW2A1Ef/pmi5a\nT1LI\r\n=RJnI\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDtB8a0+l+a55sY4N5IDGY/XDw6yeBrgsTm28nkRKuFvQIgb9Sqe9KZtiT/fMEu7Ko1tqj5YK/o5i3Xu/uwNx1xtcc="
    }
  ]
}

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xproject/0x.js

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:36 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:bbe27d0dab850c7e331b9c1661789a997b8ec0bcffc3b74c0d68c5fc66dff453

Other collected versions

1.1.44 Oct1.1.228 Sept1.1.125 Sept1.1.025 Sept1.0.15 Sept1.0.1-rc.627 AugView all collected versions →