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

@dfns/blockchain-integration

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfns/blockchain-integration - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

14

lib/lambda-handler/lambda-handler.js

@@ -11,3 +11,3 @@ "use strict";

includeErrorStack: true,
parseBody: true,
parseBody: false,
});

@@ -46,5 +46,13 @@ const CLIENT_PREFIX = prefix;

console.log("EVENT: ", event);
let body;
if (event.isBase64Encoded) {
let buff = new Buffer(event.body, "base64");
body = JSON.parse(buff.toString("ascii"));
}
else {
body = JSON.parse(event.body);
}
const tx = await wallet.sendPaymentTx({
to: event.body.to,
value: event.body.value,
to: body.to,
value: body.value,
});

@@ -51,0 +59,0 @@ return {

{
"name": "@dfns/blockchain-integration",
"version": "1.0.23",
"version": "1.0.24",
"description": "Blockchain integration Kit for DFNS",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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