@teardown/react-native 2.0.34 → 2.0.36

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.34",
3
+ "version": "2.0.36",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -52,9 +52,9 @@
52
52
  "prepublishOnly": "bun run build"
53
53
  },
54
54
  "dependencies": {
55
- "@teardown/ingest-api": "2.0.34",
56
- "@teardown/schemas": "2.0.34",
57
- "@teardown/types": "2.0.34",
55
+ "@teardown/ingest-api": "2.0.36",
56
+ "@teardown/schemas": "2.0.36",
57
+ "@teardown/types": "2.0.36",
58
58
  "eventemitter3": "^5.0.1",
59
59
  "react-native-get-random-values": "^2.0.0",
60
60
  "uuid": "^13.0.0",
@@ -63,7 +63,7 @@
63
63
  "devDependencies": {
64
64
  "@biomejs/biome": "2.3.10",
65
65
  "@react-native-firebase/messaging": "*",
66
- "@teardown/tsconfig": "2.0.34",
66
+ "@teardown/tsconfig": "2.0.36",
67
67
  "@types/bun": "1.3.5",
68
68
  "@types/react": "~19.1.0",
69
69
  "@types/uuid": "^11.0.0",
@@ -486,7 +486,7 @@ export class IdentityClient {
486
486
  device: {
487
487
  timestamp: deviceInfo.timestamp?.toISOString(),
488
488
  os: {
489
- platform: deviceInfo.os.platform.toLowerCase() as "ios" | "android" | "web",
489
+ platform: deviceInfo.os.platform as "IOS" | "ANDROID" | "WEB",
490
490
  name: deviceInfo.os.name,
491
491
  version: deviceInfo.os.version,
492
492
  },
@@ -499,7 +499,7 @@ export class IdentityClient {
499
499
  enabled: notificationsInfo.push.enabled,
500
500
  granted: notificationsInfo.push.granted,
501
501
  token: notificationsInfo.push.token,
502
- platform: notificationsInfo.push.platform.toLowerCase() as "fcm" | "apns" | "expo",
502
+ platform: notificationsInfo.push.platform as "APNS" | "FCM" | "EXPO",
503
503
  },
504
504
  }
505
505
  : undefined,