New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gridplus-sdk

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridplus-sdk - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

2

package.json
{
"name": "gridplus-sdk",
"version": "0.8.1",
"version": "0.8.2",
"description": "SDK to interact with GridPlus Lattice1 device",

@@ -5,0 +5,0 @@ "scripts": {

@@ -52,3 +52,3 @@ // Utils for Ethereum transactions. This is effecitvely a shim of ethereumjs-util, which

const digest = prehash ? prehash : eip712.TypedDataUtils.encodeDigest(req.input.payload);
return addRecoveryParam(digest, sig, signer)
return addRecoveryParam(digest, sig, signer, { type: 'EIP712_MSG' })
} else {

@@ -410,2 +410,4 @@ throw new Error('Unsupported protocol');

return ensureHexBuffer(v, true); // 0 or 1, with 0 expected as an empty buffer
} else if (type === 'EIP712_MSG') {
return ensureHexBuffer(v, false); // 0 or 1, with 0 expected as a number
}

@@ -412,0 +414,0 @@

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