Socket
Socket
Sign inDemoInstall

@yudiel/react-qr-scanner

Package Overview
Dependencies
8
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.6 to 1.2.7

7

dist/cjs/components/QrScanner.d.ts

@@ -5,4 +5,4 @@ import React from 'react';

import { OnErrorFunction, OnResultFunction } from '../types';
export interface QrScannerProps {
onError: OnErrorFunction;
export interface IQrScannerProps {
onError?: OnErrorFunction;
onResult?: OnResultFunction;

@@ -21,3 +21,4 @@ containerStyle?: CSSProperties;

stopDecoding?: boolean;
audio?: boolean;
}
export declare const QrScanner: (props: QrScannerProps) => React.JSX.Element;
export declare const QrScanner: (props: IQrScannerProps) => React.JSX.Element;

@@ -12,2 +12,3 @@ /// <reference types="react" />

stopDecoding?: boolean;
audio?: boolean;
}

@@ -14,0 +15,0 @@ export declare const useQrScanner: (props: IUseQrScannerProps) => {

@@ -5,4 +5,4 @@ import React from 'react';

import { OnErrorFunction, OnResultFunction } from '../types';
export interface QrScannerProps {
onError: OnErrorFunction;
export interface IQrScannerProps {
onError?: OnErrorFunction;
onResult?: OnResultFunction;

@@ -21,3 +21,4 @@ containerStyle?: CSSProperties;

stopDecoding?: boolean;
audio?: boolean;
}
export declare const QrScanner: (props: QrScannerProps) => React.JSX.Element;
export declare const QrScanner: (props: IQrScannerProps) => React.JSX.Element;

@@ -12,2 +12,3 @@ /// <reference types="react" />

stopDecoding?: boolean;
audio?: boolean;
}

@@ -14,0 +15,0 @@ export declare const useQrScanner: (props: IUseQrScannerProps) => {

@@ -7,4 +7,4 @@ import React, { CSSProperties, ReactElement } from 'react';

interface QrScannerProps {
onError: OnErrorFunction;
interface IQrScannerProps {
onError?: OnErrorFunction;
onResult?: OnResultFunction;

@@ -23,7 +23,8 @@ containerStyle?: CSSProperties;

stopDecoding?: boolean;
audio?: boolean;
}
declare const QrScanner: (props: QrScannerProps) => React.JSX.Element;
declare const QrScanner: (props: IQrScannerProps) => React.JSX.Element;
declare const useMediaDevices: (constraints?: MediaTrackConstraints) => MediaTrackSettings[];
export { QrScanner, type QrScannerProps, useMediaDevices };
export { type IQrScannerProps, QrScanner, useMediaDevices };
{
"name": "@yudiel/react-qr-scanner",
"version": "1.2.6",
"version": "1.2.7",
"description": "A library to scan qr codes in react.",

@@ -19,4 +19,3 @@ "author": "Yudiel Curbelo",

"files": [
"dist",
"src"
"dist"
],

@@ -33,3 +32,3 @@ "scripts": {

"devDependencies": {
"@babel/preset-env": "^7.23.5",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",

@@ -39,21 +38,21 @@ "@babel/preset-typescript": "^7.23.3",

"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@storybook/addon-actions": "^7.6.3",
"@storybook/addon-essentials": "^7.6.3",
"@storybook/addon-interactions": "^7.6.3",
"@storybook/addon-links": "^7.6.3",
"@storybook/react": "^7.6.3",
"@storybook/react-webpack5": "7.6.3",
"@types/node": "^20.10.2",
"@types/react": "^18.2.40",
"@types/react-dom": "^18.2.17",
"@rollup/plugin-typescript": "^11.1.6",
"@storybook/addon-actions": "^7.6.16",
"@storybook/addon-essentials": "^7.6.16",
"@storybook/addon-interactions": "^7.6.16",
"@storybook/addon-links": "^7.6.16",
"@storybook/react": "^7.6.16",
"@storybook/react-webpack5": "7.6.16",
"@types/node": "^20.11.19",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.6.1",
"rollup": "^4.12.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"storybook": "7.6.3",
"storybook": "7.6.16",
"tslib": "^2.6.2",
"typescript": "^5.3.2"
"typescript": "^5.3.3"
},

@@ -60,0 +59,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc