@teardown/react-native 2.0.2 → 2.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teardown/react-native",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,8 +8,8 @@ import * as Application from "expo-application";
8
8
  import * as Device from "expo-device";
9
9
  import { Platform } from "react-native";
10
10
 
11
- import { DeviceInfoAdapter } from "./device.adpater-interface";
12
11
  import { DevicePlatformEnum, NotificationPlatformEnum } from "../device.client";
12
+ import { DeviceInfoAdapter } from "./device.adpater-interface";
13
13
 
14
14
  /**
15
15
  * Maps expo-device DeviceType to a string representation
@@ -2,7 +2,6 @@ import type {
2
2
  ApplicationInfo,
3
3
  DeviceInfo,
4
4
  HardwareInfo,
5
- NotificationsInfo,
6
5
  OSInfo
7
6
  } from "@teardown/schemas";
8
7
 
@@ -16,32 +15,18 @@ import type {
16
15
  *
17
16
  */
18
17
  export abstract class DeviceInfoAdapter {
19
- // -- Application Information --
20
18
  /**
21
19
  * The information about the application running.
22
20
  */
23
21
  abstract get applicationInfo(): ApplicationInfo;
24
- // -- Updates Information --
25
- /**
26
- * The information about the update running.
27
- */
28
- // abstract get updateInfo(): UpdateInfo | null;
29
- // -- Hardware Information --
30
22
  /**
31
23
  * The information about the hardware of the device.
32
24
  */
33
25
  abstract get hardwareInfo(): HardwareInfo;
34
- // -- OS Information --
35
26
  /**
36
27
  * The information about the operating system of the device.
37
28
  */
38
29
  abstract get osInfo(): OSInfo;
39
-
40
- /**
41
- * The information about the notifications of the device.
42
- */
43
- abstract get notificationsInfo(): NotificationsInfo;
44
-
45
30
  /**
46
31
  * The information about the device.
47
32
  */