@parlr/react-native 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +17 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  <p align="center">
13
13
  <a href="https://www.npmjs.com/package/@parlr/react-native"><img src="https://img.shields.io/npm/v/@parlr/react-native.svg?style=flat-square&color=6366f1" alt="npm version" /></a>
14
14
  <a href="https://www.npmjs.com/package/@parlr/react-native"><img src="https://img.shields.io/npm/dm/@parlr/react-native.svg?style=flat-square&color=6366f1" alt="npm downloads" /></a>
15
- <a href="https://github.com/parlr/parlr/blob/main/parlr-react-native/LICENSE"><img src="https://img.shields.io/npm/l/@parlr/react-native.svg?style=flat-square" alt="license" /></a>
15
+ <a href="https://www.npmjs.com/package/@parlr/react-native"><img src="https://img.shields.io/npm/l/@parlr/react-native.svg?style=flat-square" alt="license" /></a>
16
16
  <a href="https://parlr.chat/docs/sdk/react-native"><img src="https://img.shields.io/badge/docs-parlr.chat-6366f1?style=flat-square" alt="docs" /></a>
17
17
  </p>
18
18
 
@@ -41,6 +41,7 @@ Parlr is a modern B2B live chat platform. This SDK gives your React Native app:
41
41
  - **Rich messages** (cards, carousels, quick replies)
42
42
  - **Offline queue** with automatic retry when connectivity returns
43
43
  - **Push notifications** (FCM / APNs)
44
+ - **Automatic device metadata** &mdash; platform, OS version, screen resolution, locale, timezone collected and sent to your dashboard
44
45
  - **HMAC identity verification** for secure user identification
45
46
  - **Dark mode** with automatic system detection
46
47
  - **TypeScript-first** with complete type definitions
@@ -897,19 +898,23 @@ Generate an HMAC token server-side using your workspace secret and the user's em
897
898
 
898
899
  ---
899
900
 
900
- ## Contributing
901
+ ## Changelog
901
902
 
902
- We welcome contributions! Please see our [Contributing Guide](https://github.com/parlr/parlr/blob/main/CONTRIBUTING.md) for details.
903
+ ### 0.1.1
903
904
 
904
- ```bash
905
- git clone https://github.com/parlr/parlr.git
906
- cd parlr/parlr-react-native
907
- npm install
908
- npm run typecheck # Type checking
909
- npm run test # Run tests
910
- npm run build # Build (CJS + ESM + d.ts)
911
- npm run lint # Lint
912
- ```
905
+ - **Device metadata** &mdash; the SDK now automatically collects and sends device information (platform, OS version, screen resolution, locale, timezone) when creating a session. This data appears in the **Visitor Device** and **Location** panels of your Parlr dashboard.
906
+ - Internal improvements to session creation payload.
907
+
908
+ ### 0.1.0
909
+
910
+ - Initial release with full chat UI, WebSocket support, theming, hooks, offline queue, and push notifications.
911
+
912
+ ---
913
+
914
+ ## Support
915
+
916
+ - Documentation: [parlr.chat/docs](https://parlr.chat/docs/sdk/react-native)
917
+ - Issues & feature requests: [support@parlr.chat](mailto:support@parlr.chat)
913
918
 
914
919
  ---
915
920
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parlr/react-native",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Official Parlr live chat SDK for React Native",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",