Catalog npm
Back to packageRELEASE DETAILS

11.16.17

npm

@0x/protocol-utils

0x protocol utils

Published2 Nov 2022
Direct dependencies32
Transitive dependenciesNot calculated

README

Current package documentation

@0x/protocol-utils

0x protocol-related utilities for the V4/Exchange Proxy constellation of contracts, with tooling related to:

  • Limit orders
  • Rfq orders
  • Transformers
  • Signatures
  • EIP712 hashing

Read the Documentation.

Installation

yarn add @0x/protocol-utils

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

"compilerOptions": {
    "typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@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/protocol-utils yarn build

Or continuously rebuild on change:

PKG=@0x/protocol-utils 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 33

Native requirements
32 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^4.0.1runtime
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
~4.0.4runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.11runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^7.0.0runtime
@0x/assert
Environment
{
  "local_name": "@0x/assert",
  "alias": false,
  "peer_metadata": null
}
^3.0.35runtime
ethereumjs-util
Environment
{
  "local_name": "ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
^7.0.10runtime
@0x/json-schemas
Environment
{
  "local_name": "@0x/json-schemas",
  "alias": false,
  "peer_metadata": null
}
^6.4.4runtime
@0x/subproviders
Environment
{
  "local_name": "@0x/subproviders",
  "alias": false,
  "peer_metadata": null
}
^7.0.0runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^8.0.0runtime
@0x/contract-wrappers
Environment
{
  "local_name": "@0x/contract-wrappers",
  "alias": false,
  "peer_metadata": null
}
^13.22.9runtime
@0x/contract-addresses
Environment
{
  "local_name": "@0x/contract-addresses",
  "alias": false,
  "peer_metadata": null
}
^7.2.0runtime
@typescript-eslint/parser
Environment
{
  "local_name": "@typescript-eslint/parser",
  "alias": false,
  "peer_metadata": null
}
^5.38.0runtime
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^6.2.0development
sinon
Environment
{
  "local_name": "sinon",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
^8.23.1development
typedoc
Environment
{
  "local_name": "typedoc",
  "alias": false,
  "peer_metadata": null
}
~0.16.11development
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^3.3.6development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
4.6.3development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
12.12.54development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.2development
@types/bn.js
Environment
{
  "local_name": "@types/bn.js",
  "alias": false,
  "peer_metadata": null
}
^4.11.0development
@types/mocha
Environment
{
  "local_name": "@types/mocha",
  "alias": false,
  "peer_metadata": null
}
^5.2.7development
@0x/dev-utils
Environment
{
  "local_name": "@0x/dev-utils",
  "alias": false,
  "peer_metadata": null
}
^5.0.0development
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
4.14.104development
@0x/ts-doc-gen
Environment
{
  "local_name": "@0x/ts-doc-gen",
  "alias": false,
  "peer_metadata": null
}
^0.0.28development
ethereum-types
Environment
{
  "local_name": "ethereum-types",
  "alias": false,
  "peer_metadata": null
}
^3.7.1development
web3-provider-engine
Environment
{
  "local_name": "web3-provider-engine",
  "alias": false,
  "peer_metadata": null
}
14.0.6development
@0x/typescript-typings
Environment
{
  "local_name": "@0x/typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^5.3.1development
eslint-config-prettier
Environment
{
  "local_name": "eslint-config-prettier",
  "alias": false,
  "peer_metadata": null
}
^8.5.0development
@typescript-eslint/parser
Environment
{
  "local_name": "@typescript-eslint/parser",
  "alias": false,
  "peer_metadata": null
}
^5.38.0development
@types/web3-provider-engine
Environment
{
  "local_name": "@types/web3-provider-engine",
  "alias": false,
  "peer_metadata": null
}
^14.0.0development
@typescript-eslint/eslint-plugin
Environment
{
  "local_name": "@typescript-eslint/eslint-plugin",
  "alias": false,
  "peer_metadata": null
}
^5.38.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "f4280d27d068496e7279a47f3b37997b9bea61f5",
  "tarball": "https://registry.npmjs.org/@0x/protocol-utils/-/protocol-utils-11.16.17.tgz",
  "fileCount": 65,
  "integrity": "sha512-U+/taEVDVfdF4ZidLUE8CkSkCmCjnl56IrmOMlI94mFrVFzDbYud35bZo8NI8+WmW6DJbl8JSSXwU0OROyXJXw==",
  "signatures": [
    {
      "sig": "MEQCIAF06lqrOz7tJ9Bt2CJTQn40kt3Ewi7PHJrQPyOiRMzGAiBQmhFbkDoCkdZbiXWEi5GFvGhIsYEeGvAU+zIuY/+3xg==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 195883,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYuxjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIrw//d9oofD1bT3EwW+xQYd2SXldfrHyLmyAPw5I8pRK7qnPL/hS3\r\nV65PycjxkzDEYuoIde5Ej4K1vDoz8FvUMUhDCVnxXO6vR0mtLyOQSR0svesO\r\nDI7+l8dNFSI+bSN6jMWt9jFQJw39Oo5MIBnh6RwpUJrxb5jVwZX4f6zmN1W9\r\nvc64rm5+5MgnWCNuRe0ghgOLhZUXmpcGS7scqx/TMKO571aroxKI0Zh421oO\r\n1c3JUGZlhd/EkFBCzUHdBBvPq4K/Sm3YeNTQJqy2HkkZhc0k7pe7RZ8JHlvd\r\nxO6/9fHbZoKc6uWJvrFH7pdB2Y9O7ZdGWQa0JvZRM1aueHGwdwauz/+hC+4i\r\nIh0DW3GqeFCc7QbdIUyzF6uAaKhSWdwmTIrIlNEzTQtbzDo4tW7Oquw0PAm5\r\nE8GnPAp2byk6WQc0CXqMTMP0zEKOakeYWlGrSXy0L4nS8XSHv0j6Xx32/6WQ\r\nsd+jdWtzenGQqv+47cYmK9hRclHXMgD151FsS2RvJ8GBKAjXf2LDLdMRXS/o\r\n6gzfk6RBsMuM9AGuMJEq3zxCF/10gAhnP+vFy+SZ33u+t8lZ141ailEhelOG\r\nw0e4r9Mf4WeXsMa+FqvqekCDSkmWCv8qUgHv3EF40m7mN5dhEbQ9GmNQ3XgF\r\nOmKJ9v7A0cDS+4cFw0cHIYzUij1LIZJ+gL0=\r\n=EXn2\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xproject/protocol

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:28 UTC

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

Record identity

package_version:bf98db710ce8bb47ec53daf429a9a2fa41d1e778d2e911e0f2a6d27b7eca77e8

Other collected versions

11.24.216 Nov11.24.129 Aug11.24.018 Aug11.23.09 Aug11.22.421 Jul11.22.319 JulView all collected versions →