diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-27 09:37:43 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-27 09:37:43 +0800 |
commit | 4de8f5b0d486a4e07243f3906a19ca07ed0c62e4 (patch) | |
tree | 0ba2f1788e0c81e05a3f18eb45d8a08dcfd939e9 | |
parent | 6886429f0b74b8f281818fb03484cccd0e0b8ed0 (diff) | |
download | tangerine-wallet-browser-4de8f5b0d486a4e07243f3906a19ca07ed0c62e4.tar tangerine-wallet-browser-4de8f5b0d486a4e07243f3906a19ca07ed0c62e4.tar.gz tangerine-wallet-browser-4de8f5b0d486a4e07243f3906a19ca07ed0c62e4.tar.bz2 tangerine-wallet-browser-4de8f5b0d486a4e07243f3906a19ca07ed0c62e4.tar.lz tangerine-wallet-browser-4de8f5b0d486a4e07243f3906a19ca07ed0c62e4.tar.xz tangerine-wallet-browser-4de8f5b0d486a4e07243f3906a19ca07ed0c62e4.tar.zst tangerine-wallet-browser-4de8f5b0d486a4e07243f3906a19ca07ed0c62e4.zip |
fix dependencies
-rw-r--r-- | package-lock.json | 5 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | ui/app/components/qr-scanner/qr-scanner.component.js | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/package-lock.json b/package-lock.json index 6acc27a24..fd5d9d1b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1624,8 +1624,9 @@ } }, "@zxing/library": { - "version": "github:zxing-js/library#a1a3481f456b93df4182ab867ad5cf9a092e32b9", - "from": "github:zxing-js/library#a1a3481f456b93df4182ab867ad5cf9a092e32b9", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@zxing/library/-/library-0.7.0.tgz", + "integrity": "sha512-VJ1cJaCWVF8MspnuyaZKGKlrSQLqQ5usgSap8uuCAvWGQ6W6OwN1NeGvnjhT+9hmnwkHK8XjaflvzaDBC7nKnw==", "requires": { "text-encoding": "^0.6.4", "ts-custom-error": "^2.2.1" diff --git a/package.json b/package.json index cff1b28be..55f99dca8 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ }, "dependencies": { "@material-ui/core": "^1.0.0", - "@zxing/library": "github:zxing-js/library#a1a3481f456b93df4182ab867ad5cf9a092e32b9", + "@zxing/library": "^0.7.0", "abi-decoder": "^1.0.9", "asmcrypto.js": "0.22.0", "async": "^2.5.0", diff --git a/ui/app/components/qr-scanner/qr-scanner.component.js b/ui/app/components/qr-scanner/qr-scanner.component.js index 344d46c3b..a0b52495d 100644 --- a/ui/app/components/qr-scanner/qr-scanner.component.js +++ b/ui/app/components/qr-scanner/qr-scanner.component.js @@ -1,8 +1,8 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' import {connect} from 'react-redux' -import adapter from 'webrtc-adapter' // eslint-disable-line import/no-nodejs-modules, no-unused-vars import { BrowserQRCodeReader } from '@zxing/library' +import adapter from 'webrtc-adapter' // eslint-disable-line import/no-nodejs-modules, no-unused-vars import { hideQrScanner, qrCodeDetected} from '../../actions' import Spinner from '../spinner' |