Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/eth-sig-util

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/eth-sig-util - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

3

dist/sign-typed-data.js

@@ -92,3 +92,4 @@ "use strict";

else if ((0, ethjs_util_1.isHexString)(value)) {
value = (0, utils_1.numberToBuffer)(parseInt(value, 16));
const prepend = value.length % 2 ? '0' : '';
value = Buffer.from(prepend + value.slice(2), 'hex');
}

@@ -95,0 +96,0 @@ else {

{
"name": "@metamask/eth-sig-util",
"version": "5.0.0",
"version": "5.0.1",
"description": "A few useful functions for signing ethereum data",

@@ -32,4 +32,3 @@ "keywords": [

"build:clean": "rimraf dist && yarn build",
"docs": "typedoc",
"docs:publish": "typedoc --cleanOutputDir false --gitRevision \"v$(jq -r .version < ./package.json)\"",
"build:docs": "typedoc",
"lint": "yarn lint:eslint && yarn lint:misc --check",

@@ -39,4 +38,3 @@ "lint:eslint": "eslint . --cache --ext js,ts",

"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
"prepublishOnly": "yarn build:clean",
"setup": "yarn install",
"prepack": "./scripts/prepack.sh",
"test": "jest",

@@ -43,0 +41,0 @@ "test:watch": "jest --watch"

@@ -19,3 +19,3 @@ # `@metamask/eth-sig-util`

The full API documentation for the latest published version of this library is [available here](https://metamask.github.io/eth-sig-util/index.html).
The full API documentation for the latest published version of this library is [available here](https://metamask.github.io/eth-sig-util/latest/index.html).

@@ -26,7 +26,6 @@ ## Contributing

- Install [Node.js](https://nodejs.org) version 12
- Install [Node.js](https://nodejs.org) version 14
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
- Install [Yarn v1](https://yarnpkg.com/en/docs/install)
- Run `yarn setup` to install dependencies and run any requried post-install scripts
- **Warning:** Do not use the `yarn` / `yarn install` command directly. Use `yarn setup` instead. The normal install command will skip required post-install scripts, leaving your development environment in an invalid state.
- Install [Yarn v3](https://yarnpkg.com/getting-started/install)
- Run `yarn install` to install dependencies and run any required post-install scripts

@@ -77,4 +76,4 @@ ### Testing and Linting

- Be very careful to use a clean local environment to publish the release, and follow exactly the same steps used during CI.
- Use `npm publish --dry-run` to examine the release contents to ensure the correct files are included. Compare to previous releases if necessary (e.g. using `https://unpkg.com/browse/[package name]@[package version]/`).
- Once you are confident the release contents are correct, publish the release using `npm publish`.
- Wait for the `publish-release` GitHub Action workflow to finish. This should trigger a second job (`publish-npm`), which will wait for a run approval by the [`npm publishers`](https://github.com/orgs/MetaMask/teams/npm-publishers) team.
- Approve the `publish-npm` job (or ask somebody on the npm publishers team to approve it for you).
- Once the `publish-npm` job has finished, check npm to verify that it has been published.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc