nativescript-barcodescanner
Advanced tools
Comparing version 2.5.4 to 2.5.5
@@ -216,7 +216,2 @@ "use strict"; | ||
var validResult = false; | ||
var now = new Date().getTime(); | ||
if (now - this._lastScanResultTs < 1700) { | ||
return; | ||
} | ||
this._lastScanResultTs = now; | ||
if (this._isContinuous) { | ||
@@ -228,2 +223,7 @@ if (!this._scannedArray) { | ||
if (newResult || this._reportDuplicates) { | ||
var now = new Date().getTime(); | ||
if (now - this._lastScanResultTs < 1700) { | ||
return; | ||
} | ||
this._lastScanResultTs = now; | ||
validResult = true; | ||
@@ -230,0 +230,0 @@ this._scannedArray.push("[" + text + "][" + type + "]"); |
# Change Log | ||
## [2.5.5](https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/2.5.5) (2017-06-13) | ||
[Full Changelog](https://github.com/EddyVerbruggen/nativescript-barcodescanner/milestone/19?closed=1) | ||
## [2.5.4](https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/2.5.4) (2017-05-23) | ||
@@ -4,0 +8,0 @@ [Full Changelog](https://github.com/EddyVerbruggen/nativescript-barcodescanner/milestone/18?closed=1) |
{ | ||
"name": "nativescript-barcodescanner", | ||
"version": "2.5.4", | ||
"version": "2.5.5", | ||
"description": "Scan QR/barcodes with a {N} app.", | ||
"main": "barcodescanner", | ||
"typings": "index.d.ts", | ||
"nativescript": { | ||
@@ -54,6 +55,3 @@ "platforms": { | ||
"author": "Eddy Verbruggen <eddyverbruggen@gmail.com>", | ||
"license": { | ||
"type": "MIT", | ||
"url": "https://github.com/eddyverbruggen/nativescript-barcodescanner/blob/master/LICENSE" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -60,0 +58,0 @@ "url": "https://github.com/eddyverbruggen/nativescript-barcodescanner/issues" |
@@ -1,5 +0,4 @@ | ||
/// <reference path="./node_modules/tns-core-modules/lib.core.d.ts" /> Needed for autocompletion and compilation. | ||
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation. | ||
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> | ||
/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" /> | ||
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" /> | ||
/// <reference path="./node_modules/tns-platform-declarations/ios/ios.d.ts" /> | ||
@@ -5,21 +5,39 @@ { | ||
"module": "commonjs", | ||
"declaration": true, | ||
"removeComments": true, | ||
"noLib": false, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"lib": [ | ||
"es2016", | ||
"es6", | ||
"dom" | ||
], | ||
"pretty": true, | ||
"allowUnreachableCode": false, | ||
"allowUnusedLabels": false, | ||
"noEmitHelpers": true, | ||
"declaration": true, | ||
"skipLibCheck": true, | ||
"noLib": true | ||
"noEmitOnError": false, | ||
"noImplicitAny": false, | ||
"noImplicitReturns": true, | ||
"noImplicitUseStrict": false, | ||
"noFallthroughCasesInSwitch": true, | ||
"typeRoots": [ | ||
"./node_modules/@types", | ||
"./node_modules" | ||
], | ||
"types": [], | ||
"baseUrl": ".", | ||
"paths": { | ||
"*": [ | ||
"./node_modules/tns-core-modules/*", | ||
"./node_modules/*" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"manual_typings/base.d.ts", | ||
"references.d.ts", | ||
"barcodescanner.common.ts", | ||
"barcodescanner.android.ts", | ||
"barcodescanner.ios.ts" | ||
"exclude": [ | ||
"demo", | ||
"node_modules" | ||
], | ||
"compileOnSave": false, | ||
"exclude": [ | ||
"node_modules", | ||
"platforms" | ||
] | ||
"compileOnSave": false | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1662619
27
584