New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

barkoder-cordova

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barkoder-cordova - npm Package Compare versions

Comparing version 1.2.8 to 1.2.10

www/BarkoderConfig.ts

2

package.json
{
"name": "barkoder-cordova",
"version": "1.2.8",
"version": "1.2.10",
"description": "Cordova plugin that connects to barkoderSDK which helps users scan barcodes with mobile devices",

@@ -5,0 +5,0 @@ "cordova": {

@@ -74,3 +74,3 @@ # barKoder Barcode Scanner SDK plugin for Cordova

```bash
ionic cordova plugin add barkoder-cordova-plugin
cordova plugin add barkoder-cordova
```

@@ -87,3 +87,3 @@

```bash
ionic cordova plugin add “/your-path/barkoder-cordova”
cordova plugin add “/your-path/barkoder-cordova”
```

@@ -97,3 +97,3 @@

declare var Barkoder: any;
declare var BarkoderConstants: any;
import { BarcodeType } from 'plugins/barkoder-cordova-plugin/www/BarkoderConfig';

@@ -103,4 +103,4 @@ @ViewChild('barkoderView') barkoderViewRef!: ElementRef;

setActiveBarcodeTypes() {
Barkoder.setBarcodeTypeEnabled(BarkoderConstants.BarcodeType.CODE128, true);
Barkoder.setBarcodeTypeEnabled(BarkoderConstants.BarcodeType.EAN13, true);
Barkoder.setBarcodeTypeEnabled(BarcodeType.code128, true);
Barkoder.setBarcodeTypeEnabled(BarcodeType.ean13, true);
}

@@ -107,0 +107,0 @@

@@ -179,2 +179,10 @@ var exec = require('cordova/exec');

exports.setDataMatrixDpmModeEnabled = function (enabled, success, error) {
exec(success, error, barkoderScanner, 'setDataMatrixDpmModeEnabled', [enabled]);
};
exports.configureBarkoder = function (barkoderConfig, success, error) {
exec(success, error, barkoderScanner, 'configureBarkoder', [barkoderConfig]);
};
// - Getters

@@ -320,2 +328,6 @@

exec(success, error, barkoderScanner, 'isVINRestrictionsEnabled', []);
};
exports.getBarkoderResolution = function (success, error) {
exec(success, error, barkoderScanner, 'getBarkoderResolution', []);
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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