Catalog npm
Back to packageRELEASE DETAILS

2.1.0

npm

@0x/types

0x types

Published25 Feb 2019
Direct dependencies8
Transitive dependenciesNot calculated

README

Current package documentation

@0x/types

TypeScript types shared across 0x projects and packages

Installation

yarn add -D @0x/types

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

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

Usage

import { TransactionReceipt, TxData, TxDataPayable } from '@0x/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=@0x/types yarn build

Or continuously rebuild on change:

PKG=@0x/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 8

Native requirements
8 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
}
~8.0.2runtime
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^2.1.0runtime
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
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "1f28388b30ad050c5c67a76b21f4bf7dd42e987b",
  "tarball": "https://registry.npmjs.org/@0x/types/-/types-2.1.0.tgz",
  "fileCount": 11,
  "integrity": "sha512-nw76o4s5gpEmXNFNqEt21kS7MOFZCn2a0oyIT5Nk+x4Ofht2TKZZtNNpfl8n+l3t/flbB5FiwsC/6XH6tj7KWQ==",
  "signatures": [
    {
      "sig": "MEQCICDbaCLVVTr3I/A9bsYMlZFOuqiw3ka2qIq38lYDqrTSAiAjwBiwN2ACZg4V9bXWHXNUQmPjLGzhsaMcZMCqBsVz9A==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 65082,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdF+pCRA9TVsSAnZWagAAZ38P/RJ83rMOvjy9knMtIJb/\nR9pF+Q+WhpU1QlIv1UUAfvtx/jBhsx/ATpbwvQBJizYBGgA4gBiVezoXWmdw\n6nyunHkHzCGdolphnXaHavkyB+o2ogt1oXM7CdZR+GUPan4qsBbVrYnQuOuA\nlPXu/hCczbQQDImZGajz7rsss+U8t0vY7xsSAT6/bqVGU4EmuL6WE9cPfGTC\n/FZ/J9L6GCct0PERAj8ykUIaooA/L1BiQRULILX4K8IvnR0piHVbAprMKPhs\nNQ++lvO+vv5tOp4+Sb7PHLLzJUF00nCOL7nXzxQPUJHZKzOWsvRrTSe/9Dlb\nEJe85U8qanhV9IdX9SGEqvc3XyqSbAmpkmSKZ5q3koHyTRuofx9a8BSheG0I\n2JmjPO7ZeNgmVR+3X1cxR0r3wt2rN6RQYPDxUYswkFqBWLpGMggzloggUGnq\nyrRRDnyG6dzR64EaWPnKhhXjB9mRhj3XJQ2GBRoy1mxO1WrOr8pje1/4wqVh\nt9MmRQzQkOdzoBudDiSoFoas8ajBKd1exmn1OA66rurEzoz741+AsYgqLBWA\nP/O7Z2CCe5ZPpU2nbo72zg5k6QSH3ozvVOKDhkfv837qXnQ9kvd2gwviTOjd\n2lV8mI5TvsD3zPKc6qGW32qjqZRr5NqAVhxwrpIVtbhEcrz4ADy0Kx+m/fze\nhkFv\r\n=h8GU\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xproject/tools

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:32 UTC

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

Record identity

package_version:61ba2f1187124ef56ff7635f3a15ea5e4e33ee84bc00dda76d8f1c7e475ff03d

Other collected versions

3.3.718 Aug3.3.616 Mar3.3.526 Feb3.3.425 Aug3.3.326 Apr3.3.224 MarView all collected versions →