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

@polkadot/react-qr

Package Overview
Dependencies
Maintainers
1
Versions
529
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/react-qr - npm Package Compare versions

Comparing version 0.43.0-beta.9 to 0.43.0-beta.10

2

package.json
{
"name": "@polkadot/react-qr",
"version": "0.43.0-beta.9",
"version": "0.43.0-beta.10",
"description": "Generates and reads QR codes",

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

@@ -12,8 +12,4 @@ "use strict";

var _util = require("@polkadot/util");
var _Scan = _interopRequireDefault(require("./Scan"));
var _util2 = require("./util");
// Copyright 2017-2019 @polkadot/react-qr authors & contributors

@@ -26,3 +22,3 @@ // This software may be modified and distributed under the terms

this.onScan = data => {
this.onScan = signature => {
const {

@@ -32,3 +28,3 @@ onScan

if (!data || !onScan) {
if (!signature || !onScan) {
return;

@@ -38,3 +34,3 @@ }

onScan({
signature: (0, _util.u8aToHex)((0, _util2.encodeString)(data))
signature: "0x".concat(signature)
});

@@ -41,0 +37,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