Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-dna-deviceinfo

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-dna-deviceinfo - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

29

deviceinfo.ios.js

@@ -493,18 +493,21 @@ var DeviceInfo_1;

export { DeviceInfo };
let BluetoothManagerDelegate = class BluetoothManagerDelegate extends NSObject {
static new() {
return super.new();
var BluetoothManagerDelegate = /** @class */ (function (_super) {
__extends(BluetoothManagerDelegate, _super);
function BluetoothManagerDelegate() {
return _super !== null && _super.apply(this, arguments) || this;
}
initWithResolverCallback(resolve) {
BluetoothManagerDelegate.new = function () {
return _super.new.call(this);
};
BluetoothManagerDelegate.prototype.initWithResolverCallback = function (resolve) {
this.resolve = resolve;
return this;
}
centralManagerDidUpdateState(central) {
this.resolve(central.state === 5);
}
};
BluetoothManagerDelegate.ObjCProtocols = [CBCentralManagerDelegate];
BluetoothManagerDelegate = __decorate([
NativeClass()
], BluetoothManagerDelegate);
};
BluetoothManagerDelegate.prototype.centralManagerDidUpdateState = function (central) {
this.resolve(central.state === CBManagerState.PoweredOn);
};
// Note: This ObjCProtocols is needed.
BluetoothManagerDelegate.ObjCProtocols = [CBCentralManagerDelegate];
return BluetoothManagerDelegate;
}(NSObject));
//# sourceMappingURL=deviceinfo.ios.js.map
{
"name": "nativescript-dna-deviceinfo",
"version": "3.4.0",
"version": "3.5.0",
"description": "NativeScript plugin to acquire device information.",

@@ -70,2 +70,4 @@ "main": "deviceinfo",

"IPv4",
"IPv6",
"IP Address",
"Bluetooth",

@@ -72,0 +74,0 @@ "Orientation",

@@ -13,3 +13,5 @@

## Changelogs:
- 3.5.0: Fixed runtime errors related to "NativeClass is not defined" observed on NativeScript Version 7 apps. The fix will likely benefit iOS apps.
- 3.4.0: Added "dumpIpAddresses" API. Changed "wifiIpv4Address" and "cellularIpv4Address" to return an IPv4 address string, and their Android implementation is revised.

@@ -16,0 +18,0 @@ - 3.3.1: Fixed a crash related to the retrieval of wifi SSID on iOS 13.0 version and above.

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