Catalog npm
Back to packageRELEASE DETAILS

1.3.1

npm

@0x/protocol-utils

0x protocol utils

Published17 Mar 2021
Direct dependencies30
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 30

Native requirements
30 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
}
^6.2.0runtime
@0x/assert
Environment
{
  "local_name": "@0x/assert",
  "alias": false,
  "peer_metadata": null
}
^3.0.21runtime
ethereumjs-util
Environment
{
  "local_name": "ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
^5.1.1runtime
@0x/json-schemas
Environment
{
  "local_name": "@0x/json-schemas",
  "alias": false,
  "peer_metadata": null
}
^5.4.1runtime
@0x/subproviders
Environment
{
  "local_name": "@0x/subproviders",
  "alias": false,
  "peer_metadata": null
}
^6.4.1runtime
@0x/web3-wrapper
Environment
{
  "local_name": "@0x/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^7.4.1runtime
@0x/contract-wrappers
Environment
{
  "local_name": "@0x/contract-wrappers",
  "alias": false,
  "peer_metadata": null
}
^13.14.0runtime
@0x/contract-addresses
Environment
{
  "local_name": "@0x/contract-addresses",
  "alias": false,
  "peer_metadata": null
}
^5.11.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
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.11.0development
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.1development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
3.0.1development
@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
}
^4.2.1development
@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.4.0development
@0x/tslint-config
Environment
{
  "local_name": "@0x/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^4.1.3development
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.1.6development
@types/web3-provider-engine
Environment
{
  "local_name": "@types/web3-provider-engine",
  "alias": false,
  "peer_metadata": null
}
^14.0.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "940c8820e370455574d5d182dc46daaf090454c9",
  "tarball": "https://registry.npmjs.org/@0x/protocol-utils/-/protocol-utils-1.3.1.tgz",
  "fileCount": 53,
  "integrity": "sha512-yw0B5lnTU5TMNOxu4rSMrK6ex/GOYLez37aVx+zBtlgvs/gS0BSsE4NFDV8TQcBw9WiWKNblaUg/f+a/kha/1A==",
  "signatures": [
    {
      "sig": "MEYCIQCDfYyf+dY1+2Asl18JL8yhX3srFB+rRT2I5WUpLYTtTwIhAKFH4L5Xtz6B4zsV55NilhFPGPkffCNdT6y0panFBJ5s",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 108584,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUklUCRA9TVsSAnZWagAAagMQAIAWXAxOrbbuAHAYdjSy\nL5eMJIbuonz0Myz61HCnqGK2V8lYijbdlfD6vVi0VCJfKGnwFJcUE3q9IAB7\njI+gfPVTPh+ksZgeoV/whp7x0u9JcFJAwlEkeTJGSlZnoeannpuN8mAaTSo6\nlpo+k3boHbQW65IoeiJ/HTNi6HouEEfREuf+sKQb0uSoAz+Z70wUQaSpBKrL\nB7wGnsFec180kl+K/vdWRuW79y+W4J6t9fgbFcmtyuvAYILz+yafishAqVDU\nnx2N+lAvrhESdIPnaPs9YTmoRSZHDmOWGQqEw0cpMwJKGdSZdaMV+vQqk2qa\n/mZpiVkJpvUO3Q0IlVkJsv9NZziGbPbYZxNShWMAcT5hxJet/Jh/zcw1NwCY\np+1eSbLMpfjbmc2OxQysmJkG7k65urZQN8Ci/UfLDdCIIbkXesXboVOM7FCV\naDd1/K8hhaf6VrUb8WeuX23lw43kdiZYqz8F8Mzb3qckYbHCqT+igBfinK41\nvGbMCA3ZuD+lPtM/LhLCMD0Vk3dmL9xESPFE/dwg4yWrXqzvMoNC+xh+a9sy\naSEvN/+kniVdAdy7AA3vcbxAq/62erAVOLbmpuUawC7LEpqGVAEZtrDiaoGv\nxHDyGbspBi0aHGy3siYbAQI0GHsql9G/mAUzbiwm5Clyj8OwKBD/+nfBu8XI\nijvJ\r\n=h/xY\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:2d266a716e8d947e0fbbe3b9ab79ef21dc5b8d7f6134fbfbb0dfcfe711ec87ef

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 →