react-native-flic2 2.0.0-beta.10 → 2.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,9 @@ object Flic2Converter {
16
16
  putString("bluetoothAddress", button.getBdAddr() ?: "")
17
17
  putString("serialNumber", button.getSerialNumber() ?: "")
18
18
 
19
+ // ready timestamp
20
+ putLong("readyTimestamp", button.getReadyTimestamp())
21
+
19
22
  // Use connection state constants instead of enum
20
23
  val connState = button.getConnectionState()
21
24
  putInt("state", connectionStateToInt(connState))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-flic2",
3
- "version": "2.0.0-beta.10",
3
+ "version": "2.0.0-beta.12",
4
4
  "description": "React Native Flic plugin made with the Flic2 SDK (unofficial)",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",