@atlaskit/react-ufo 4.13.1 → 4.14.0

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.
@@ -0,0 +1,10 @@
1
+ export interface BatteryInfo {
2
+ level?: number;
3
+ charging?: boolean;
4
+ }
5
+ export interface LegacyBatteryInfo {
6
+ 'event:battery:level'?: number;
7
+ 'event:battery:charging'?: boolean;
8
+ }
9
+ export default function getBatteryInfo(): Promise<BatteryInfo>;
10
+ export declare function getBatteryInfoToLegacyFormat(): Promise<LegacyBatteryInfo>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "4.13.1",
3
+ "version": "4.14.0",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -170,6 +170,9 @@
170
170
  "react_ufo_add_webdriver_info": {
171
171
  "type": "boolean"
172
172
  },
173
+ "react_ufo_battery_info": {
174
+ "type": "boolean"
175
+ },
173
176
  "platform_ufo_exclude_3p_attribute_changes": {
174
177
  "type": "boolean"
175
178
  }