@uselingu/react-native-sdk 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # @lingu/react-native-sdk
1
+ # @uselingu/react-native-sdk
2
2
 
3
3
  > Lingu AI Chat SDK for React Native - Hybrid approach with WebView UI and native API
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/@lingu/react-native-sdk.svg)](https://www.npmjs.com/package/@lingu/react-native-sdk)
5
+ [![npm version](https://img.shields.io/npm/v/@uselingu/react-native-sdk.svg)](https://www.npmjs.com/package/@uselingu/react-native-sdk)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
8
  ## Features
@@ -21,9 +21,9 @@
21
21
  ## Installation
22
22
 
23
23
  ```bash
24
- npm install @lingu/react-native-sdk react-native-webview @react-native-async-storage/async-storage
24
+ npm install @uselingu/react-native-sdk react-native-webview @react-native-async-storage/async-storage
25
25
  # or
26
- yarn add @lingu/react-native-sdk react-native-webview @react-native-async-storage/async-storage
26
+ yarn add @uselingu/react-native-sdk react-native-webview @react-native-async-storage/async-storage
27
27
  ```
28
28
 
29
29
  ### iOS Setup
@@ -43,7 +43,7 @@ No additional setup required.
43
43
  ```tsx
44
44
  import React from 'react';
45
45
  import { View } from 'react-native';
46
- import { LinguChat } from '@lingu/react-native-sdk';
46
+ import { LinguChat } from '@uselingu/react-native-sdk';
47
47
 
48
48
  export default function App() {
49
49
  return (
@@ -119,7 +119,7 @@ function App() {
119
119
  ### Using the Hook
120
120
 
121
121
  ```tsx
122
- import { useLinguChat } from '@lingu/react-native-sdk';
122
+ import { useLinguChat } from '@uselingu/react-native-sdk';
123
123
 
124
124
  function CustomChat() {
125
125
  const {
@@ -200,7 +200,7 @@ Low-level API client for direct API access.
200
200
  ### Basic Integration
201
201
 
202
202
  ```tsx
203
- import { LinguChat } from '@lingu/react-native-sdk';
203
+ import { LinguChat } from '@uselingu/react-native-sdk';
204
204
 
205
205
  <LinguChat apiKey="your-api-key-here" />
206
206
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uselingu/react-native-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Lingu AI Chat SDK for React Native - Hybrid approach with WebView UI and native API",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",