@awesome-cordova-plugins/bluetooth-serial
Advanced tools
Comparing version 5.43.0 to 6.0.0-alpha.0
@@ -9,2 +9,4 @@ var __extends = (this && this.__extends) || (function () { | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -51,2 +53,2 @@ function __() { this.constructor = d; } | ||
export { BluetoothSerial }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQGF3ZXNvbWUtY29yZG92YS1wbHVnaW5zL3BsdWdpbnMvYmx1ZXRvb3RoLXNlcmlhbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQ0EsT0FBTyx1Q0FBK0MsTUFBTSwrQkFBK0IsQ0FBQztBQUM1RixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sTUFBTSxDQUFDOztJQXNDRyxtQ0FBMEI7Ozs7SUFZN0QsaUNBQU8sYUFBQyxrQkFBMEI7SUFlbEMseUNBQWUsYUFBQyxVQUFrQjtJQVVsQyxvQ0FBVTtJQWFWLCtCQUFLLGFBQUMsSUFBUztJQVlmLG1DQUFTO0lBWVQsOEJBQUk7SUFhSixtQ0FBUyxhQUFDLFNBQWlCO0lBZTNCLG1DQUFTLGFBQUMsU0FBaUI7SUFjM0IsMENBQWdCO0lBWWhCLCtCQUFLO0lBWUwsOEJBQUk7SUFZSixtQ0FBUztJQVlULHFDQUFXO0lBWVgsa0NBQVE7SUFZUiwrQ0FBcUI7SUFZckIsZ0NBQU07SUFZTiwwQ0FBZ0I7SUFjaEIscURBQTJCO0lBYTNCLGlDQUFPLGFBQUMsT0FBZTtJQVd2Qix5Q0FBZSxhQUFDLG9CQUE0Qjs7Ozs7OzBCQWxTOUM7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JhYmxlIGJ5IG90aGVyIGRldmljZXNcbiAgICpcbiAgICogQHBhcmFtIHtudW1iZXJ9IGRpc2NvdmVyYWJsZUR1cmF0aW9uIERlc2lyZWQgbnVtYmVyIG9mIHNlY29uZHMgZGV2aWNlIHNob3VsZCBiZSBkaXNjb3ZlcmFibGUgZm9yXG4gICAqL1xuICBAQ29yZG92YSh7XG4gICAgcGxhdGZvcm1zOiBbJ0FuZHJvaWQnXSxcbiAgICBzeW5jOiB0cnVlLFxuICB9KVxuICBzZXREaXNjb3ZlcmFibGUoZGlzY292ZXJhYmxlRHVyYXRpb246IG51bWJlcik6IHZvaWQge31cbn1cbiJdfQ== |
@@ -5,43 +5,37 @@ 'use strict'; | ||
var tslib = require('tslib'); | ||
var core$1 = require('@angular/core'); | ||
var core = require('@awesome-cordova-plugins/core'); | ||
var core = require('@angular/core'); | ||
var core$1 = require('@awesome-cordova-plugins/core'); | ||
require('rxjs'); | ||
var BluetoothSerial = /** @class */ (function (_super) { | ||
tslib.__extends(BluetoothSerial, _super); | ||
function BluetoothSerial() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
BluetoothSerial.prototype.connect = function (macAddress_or_uuid) { return core.cordova(this, "connect", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "disconnect" }, arguments); }; | ||
BluetoothSerial.prototype.connectInsecure = function (macAddress) { return core.cordova(this, "connectInsecure", { "platforms": ["Android"], "observable": true, "clearFunction": "disconnect" }, arguments); }; | ||
BluetoothSerial.prototype.disconnect = function () { return core.cordova(this, "disconnect", {}, arguments); }; | ||
BluetoothSerial.prototype.write = function (data) { return core.cordova(this, "write", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.available = function () { return core.cordova(this, "available", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.read = function () { return core.cordova(this, "read", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.readUntil = function (delimiter) { return core.cordova(this, "readUntil", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.subscribe = function (delimiter) { return core.cordova(this, "subscribe", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribe" }, arguments); }; | ||
BluetoothSerial.prototype.subscribeRawData = function () { return core.cordova(this, "subscribeRawData", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribeRawData" }, arguments); }; | ||
BluetoothSerial.prototype.clear = function () { return core.cordova(this, "clear", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.list = function () { return core.cordova(this, "list", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.isEnabled = function () { return core.cordova(this, "isEnabled", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.isConnected = function () { return core.cordova(this, "isConnected", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.readRSSI = function () { return core.cordova(this, "readRSSI", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.showBluetoothSettings = function () { return core.cordova(this, "showBluetoothSettings", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.enable = function () { return core.cordova(this, "enable", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.discoverUnpaired = function () { return core.cordova(this, "discoverUnpaired", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.setDeviceDiscoveredListener = function () { return core.cordova(this, "setDeviceDiscoveredListener", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "clearDeviceDiscoveredListener" }, arguments); }; | ||
BluetoothSerial.prototype.setName = function (newName) { return core.cordova(this, "setName", { "platforms": ["Android"], "sync": true }, arguments); }; | ||
BluetoothSerial.prototype.setDiscoverable = function (discoverableDuration) { return core.cordova(this, "setDiscoverable", { "platforms": ["Android"], "sync": true }, arguments); }; | ||
BluetoothSerial.pluginName = "BluetoothSerial"; | ||
BluetoothSerial.repo = "https://github.com/don/BluetoothSerial"; | ||
BluetoothSerial.plugin = "cordova-plugin-bluetooth-serial"; | ||
BluetoothSerial.pluginRef = "bluetoothSerial"; | ||
BluetoothSerial.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
BluetoothSerial.decorators = [ | ||
{ type: core$1.Injectable } | ||
]; | ||
return BluetoothSerial; | ||
}(core.AwesomeCordovaNativePlugin)); | ||
class BluetoothSerial extends core$1.AwesomeCordovaNativePlugin { | ||
connect(macAddress_or_uuid) { return core$1.cordova(this, "connect", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "disconnect" }, arguments); } | ||
connectInsecure(macAddress) { return core$1.cordova(this, "connectInsecure", { "platforms": ["Android"], "observable": true, "clearFunction": "disconnect" }, arguments); } | ||
disconnect() { return core$1.cordova(this, "disconnect", {}, arguments); } | ||
write(data) { return core$1.cordova(this, "write", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
available() { return core$1.cordova(this, "available", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
read() { return core$1.cordova(this, "read", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
readUntil(delimiter) { return core$1.cordova(this, "readUntil", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
subscribe(delimiter) { return core$1.cordova(this, "subscribe", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribe" }, arguments); } | ||
subscribeRawData() { return core$1.cordova(this, "subscribeRawData", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribeRawData" }, arguments); } | ||
clear() { return core$1.cordova(this, "clear", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
list() { return core$1.cordova(this, "list", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
isEnabled() { return core$1.cordova(this, "isEnabled", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
isConnected() { return core$1.cordova(this, "isConnected", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
readRSSI() { return core$1.cordova(this, "readRSSI", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
showBluetoothSettings() { return core$1.cordova(this, "showBluetoothSettings", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
enable() { return core$1.cordova(this, "enable", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
discoverUnpaired() { return core$1.cordova(this, "discoverUnpaired", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
setDeviceDiscoveredListener() { return core$1.cordova(this, "setDeviceDiscoveredListener", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "clearDeviceDiscoveredListener" }, arguments); } | ||
setName(newName) { return core$1.cordova(this, "setName", { "platforms": ["Android"], "sync": true }, arguments); } | ||
setDiscoverable(discoverableDuration) { return core$1.cordova(this, "setDiscoverable", { "platforms": ["Android"], "sync": true }, arguments); } | ||
} | ||
BluetoothSerial.pluginName = "BluetoothSerial"; | ||
BluetoothSerial.repo = "https://github.com/don/BluetoothSerial"; | ||
BluetoothSerial.plugin = "cordova-plugin-bluetooth-serial"; | ||
BluetoothSerial.pluginRef = "bluetoothSerial"; | ||
BluetoothSerial.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
BluetoothSerial.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
exports.BluetoothSerial = BluetoothSerial; |
@@ -1,41 +0,34 @@ | ||
import { __extends } from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
import { AwesomeCordovaNativePlugin, cordova } from '@awesome-cordova-plugins/core'; | ||
import { Observable } from 'rxjs'; | ||
var BluetoothSerial = /** @class */ (function (_super) { | ||
__extends(BluetoothSerial, _super); | ||
function BluetoothSerial() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
BluetoothSerial.prototype.connect = function (macAddress_or_uuid) { return cordova(this, "connect", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "disconnect" }, arguments); }; | ||
BluetoothSerial.prototype.connectInsecure = function (macAddress) { return cordova(this, "connectInsecure", { "platforms": ["Android"], "observable": true, "clearFunction": "disconnect" }, arguments); }; | ||
BluetoothSerial.prototype.disconnect = function () { return cordova(this, "disconnect", {}, arguments); }; | ||
BluetoothSerial.prototype.write = function (data) { return cordova(this, "write", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.available = function () { return cordova(this, "available", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.read = function () { return cordova(this, "read", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.readUntil = function (delimiter) { return cordova(this, "readUntil", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.subscribe = function (delimiter) { return cordova(this, "subscribe", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribe" }, arguments); }; | ||
BluetoothSerial.prototype.subscribeRawData = function () { return cordova(this, "subscribeRawData", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribeRawData" }, arguments); }; | ||
BluetoothSerial.prototype.clear = function () { return cordova(this, "clear", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.list = function () { return cordova(this, "list", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.isEnabled = function () { return cordova(this, "isEnabled", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.isConnected = function () { return cordova(this, "isConnected", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.readRSSI = function () { return cordova(this, "readRSSI", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.showBluetoothSettings = function () { return cordova(this, "showBluetoothSettings", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.enable = function () { return cordova(this, "enable", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.discoverUnpaired = function () { return cordova(this, "discoverUnpaired", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); }; | ||
BluetoothSerial.prototype.setDeviceDiscoveredListener = function () { return cordova(this, "setDeviceDiscoveredListener", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "clearDeviceDiscoveredListener" }, arguments); }; | ||
BluetoothSerial.prototype.setName = function (newName) { return cordova(this, "setName", { "platforms": ["Android"], "sync": true }, arguments); }; | ||
BluetoothSerial.prototype.setDiscoverable = function (discoverableDuration) { return cordova(this, "setDiscoverable", { "platforms": ["Android"], "sync": true }, arguments); }; | ||
BluetoothSerial.pluginName = "BluetoothSerial"; | ||
BluetoothSerial.repo = "https://github.com/don/BluetoothSerial"; | ||
BluetoothSerial.plugin = "cordova-plugin-bluetooth-serial"; | ||
BluetoothSerial.pluginRef = "bluetoothSerial"; | ||
BluetoothSerial.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
BluetoothSerial.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
return BluetoothSerial; | ||
}(AwesomeCordovaNativePlugin)); | ||
export { BluetoothSerial }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvQGF3ZXNvbWUtY29yZG92YS1wbHVnaW5zL3BsdWdpbnMvYmx1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b2lkJ10sXG4gICAgc3luYzogdHJ1ZSxcbiAgfSlcbiAgc2V0TmFtZShuZXdOYW1lOiBzdHJpbmcpOiB2b2lkIHt9XG5cbiAgLyoqXG4gICAqIE1ha2VzIHRoZSBkZXZpY2UgZGlzY292ZXJhYmxlIGJ5IG90aGVyIGRldmljZXNcbiAgICpcbiAgICogQHBhcmFtIHtudW1iZXJ9IGRpc2NvdmVyYWJsZUR1cmF0aW9uIERlc2lyZWQgbnVtYmVyIG9mIHNlY29uZHMgZGV2aWNlIHNob3VsZCBiZSBkaXNjb3ZlcmFibGUgZm9yXG4gICAqL1xuICBAQ29yZG92YSh7XG4gICAgcGxhdGZvcm1zOiBbJ0FuZHJvaWQnXSxcbiAgICBzeW5jOiB0cnVlLFxuICB9KVxuICBzZXREaXNjb3ZlcmFibGUoZGlzY292ZXJhYmxlRHVyYXRpb246IG51bWJlcik6IHZvaWQge31cbn1cbiJdfQ== | ||
export class BluetoothSerial extends AwesomeCordovaNativePlugin { | ||
connect(macAddress_or_uuid) { return cordova(this, "connect", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "disconnect" }, arguments); } | ||
connectInsecure(macAddress) { return cordova(this, "connectInsecure", { "platforms": ["Android"], "observable": true, "clearFunction": "disconnect" }, arguments); } | ||
disconnect() { return cordova(this, "disconnect", {}, arguments); } | ||
write(data) { return cordova(this, "write", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
available() { return cordova(this, "available", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
read() { return cordova(this, "read", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
readUntil(delimiter) { return cordova(this, "readUntil", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
subscribe(delimiter) { return cordova(this, "subscribe", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribe" }, arguments); } | ||
subscribeRawData() { return cordova(this, "subscribeRawData", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "unsubscribeRawData" }, arguments); } | ||
clear() { return cordova(this, "clear", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
list() { return cordova(this, "list", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
isEnabled() { return cordova(this, "isEnabled", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
isConnected() { return cordova(this, "isConnected", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
readRSSI() { return cordova(this, "readRSSI", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
showBluetoothSettings() { return cordova(this, "showBluetoothSettings", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
enable() { return cordova(this, "enable", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
discoverUnpaired() { return cordova(this, "discoverUnpaired", { "platforms": ["Android", "iOS", "Windows Phone"] }, arguments); } | ||
setDeviceDiscoveredListener() { return cordova(this, "setDeviceDiscoveredListener", { "platforms": ["Android", "iOS", "Windows Phone"], "observable": true, "clearFunction": "clearDeviceDiscoveredListener" }, arguments); } | ||
setName(newName) { return cordova(this, "setName", { "platforms": ["Android"], "sync": true }, arguments); } | ||
setDiscoverable(discoverableDuration) { return cordova(this, "setDiscoverable", { "platforms": ["Android"], "sync": true }, arguments); } | ||
} | ||
BluetoothSerial.pluginName = "BluetoothSerial"; | ||
BluetoothSerial.repo = "https://github.com/don/BluetoothSerial"; | ||
BluetoothSerial.plugin = "cordova-plugin-bluetooth-serial"; | ||
BluetoothSerial.pluginRef = "bluetoothSerial"; | ||
BluetoothSerial.platforms = ["Android", "iOS", "Windows Phone 8"]; | ||
BluetoothSerial.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi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10sXG4gICAgc3luYzogdHJ1ZSxcbiAgfSlcbiAgc2V0TmFtZShuZXdOYW1lOiBzdHJpbmcpOiB2b2lkIHt9XG5cbiAgLyoqXG4gICAqIE1ha2VzIHRoZSBkZXZpY2UgZGlzY292ZXJhYmxlIGJ5IG90aGVyIGRldmljZXNcbiAgICpcbiAgICogQHBhcmFtIHtudW1iZXJ9IGRpc2NvdmVyYWJsZUR1cmF0aW9uIERlc2lyZWQgbnVtYmVyIG9mIHNlY29uZHMgZGV2aWNlIHNob3VsZCBiZSBkaXNjb3ZlcmFibGUgZm9yXG4gICAqL1xuICBAQ29yZG92YSh7XG4gICAgcGxhdGZvcm1zOiBbJ0FuZHJvaWQnXSxcbiAgICBzeW5jOiB0cnVlLFxuICB9KVxuICBzZXREaXNjb3ZlcmFibGUoZGlzY292ZXJhYmxlRHVyYXRpb246IG51bWJlcik6IHZvaWQge31cbn1cbiJdfQ== |
@@ -1,1 +0,1 @@ | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-serial","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"5.43.0"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"Daniel Sogl","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-serial","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"6.0.0-alpha.0"} |
@@ -1,1 +0,1 @@ | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-serial","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"5.43.0"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"Daniel Sogl","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-serial","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^5.1.0"},"version":"6.0.0-alpha.0"} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
44795
439
2