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

advlib-ble-services

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

advlib-ble-services - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

12

lib/minew.js
/**
* Copyright reelyActive 2015-2020
* Copyright reelyActive 2015-2021
* We believe in an open Internet of Things

@@ -27,2 +27,3 @@ */

const VISIBLE_LIGHT_MASK = 0x01;
const MINEW_URI = "https://sniffypedia.org/Organization/Shenzhen_Minew_Technologies_Co_Ltd/";

@@ -81,3 +82,3 @@

return { batteryPercentage: batteryPercentage, temperature: temperature,
relativeHumidity: relativeHumidity };
relativeHumidity: relativeHumidity, uri: MINEW_URI };
}

@@ -102,3 +103,3 @@

return { batteryPercentage: batteryPercentage,
isVisibleLight: isVisibleLight };
isVisibleLight: isVisibleLight, uri: MINEW_URI };
}

@@ -125,3 +126,4 @@

return { batteryPercentage: batteryPercentage, acceleration: acceleration };
return { batteryPercentage: batteryPercentage, acceleration: acceleration,
uri: MINEW_URI };
}

@@ -144,3 +146,3 @@

return { batteryPercentage: batteryPercentage, name: name };
return { batteryPercentage: batteryPercentage, name: name, uri: MINEW_URI };
}

@@ -147,0 +149,0 @@

@@ -18,3 +18,3 @@ {

],
"version": "1.0.0",
"version": "1.0.1",
"engines": {

@@ -21,0 +21,0 @@ "node": ">=6.0.0"

@@ -24,15 +24,19 @@ /**

temperature: 21.5,
relativeHumidity: 50.0
relativeHumidity: 50.0,
uri: "https://sniffypedia.org/Organization/Shenzhen_Minew_Technologies_Co_Ltd/"
};
const EXPECTED_DATA_VISIBLE_LIGHT = {
batteryPercentage: 69,
isVisibleLight: true
isVisibleLight: true,
uri: "https://sniffypedia.org/Organization/Shenzhen_Minew_Technologies_Co_Ltd/"
};
const EXPECTED_DATA_ACCELERATION = {
batteryPercentage: 100,
acceleration: [ -0.5, 0.0, 0.5 ]
acceleration: [ -0.5, 0.0, 0.5 ],
uri: "https://sniffypedia.org/Organization/Shenzhen_Minew_Technologies_Co_Ltd/"
};
const EXPECTED_DATA_NAME = {
batteryPercentage: 1,
name: "PLUS"
name: "PLUS",
uri: "https://sniffypedia.org/Organization/Shenzhen_Minew_Technologies_Co_Ltd/"
};

@@ -39,0 +43,0 @@

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