@arkesel/rn-kova-live-chat 1.0.0 → 1.0.1
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/README.md +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ npx expo install rn-kova-live-chat socket.io-client moment @react-native-async-s
|
|
|
47
47
|
```javascript
|
|
48
48
|
import React from 'react';
|
|
49
49
|
import { View } from 'react-native';
|
|
50
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
50
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
51
51
|
|
|
52
52
|
export default function App() {
|
|
53
53
|
return (
|
|
@@ -126,7 +126,7 @@ const { user } = useAuth();
|
|
|
126
126
|
```javascript
|
|
127
127
|
import React from 'react';
|
|
128
128
|
import { View } from 'react-native';
|
|
129
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
129
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
130
130
|
|
|
131
131
|
export default function ShoppingApp() {
|
|
132
132
|
return (
|
|
@@ -149,7 +149,7 @@ export default function ShoppingApp() {
|
|
|
149
149
|
```javascript
|
|
150
150
|
import React from 'react';
|
|
151
151
|
import { View } from 'react-native';
|
|
152
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
152
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
153
153
|
import { usePatient } from './context/PatientContext';
|
|
154
154
|
|
|
155
155
|
export default function HealthcareApp() {
|
|
@@ -177,7 +177,7 @@ export default function HealthcareApp() {
|
|
|
177
177
|
```javascript
|
|
178
178
|
import React from 'react';
|
|
179
179
|
import { View } from 'react-native';
|
|
180
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
180
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
181
181
|
import { useTenant } from './hooks/useTenant';
|
|
182
182
|
|
|
183
183
|
export default function MultiTenantApp() {
|
|
@@ -207,7 +207,7 @@ export default function MultiTenantApp() {
|
|
|
207
207
|
import React from 'react';
|
|
208
208
|
import { View } from 'react-native';
|
|
209
209
|
import { useRoute } from '@react-navigation/native';
|
|
210
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
210
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
211
211
|
|
|
212
212
|
export default function App() {
|
|
213
213
|
const route = useRoute();
|
|
@@ -235,7 +235,7 @@ export default function App() {
|
|
|
235
235
|
import React from 'react';
|
|
236
236
|
import { View } from 'react-native';
|
|
237
237
|
import { useSelector } from 'react-redux';
|
|
238
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
238
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
239
239
|
|
|
240
240
|
export default function App() {
|
|
241
241
|
const user = useSelector(state => state.auth.user);
|
|
@@ -263,7 +263,7 @@ export default function App() {
|
|
|
263
263
|
```javascript
|
|
264
264
|
import React from 'react';
|
|
265
265
|
import { View } from 'react-native';
|
|
266
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
266
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
267
267
|
import Config from 'react-native-config';
|
|
268
268
|
|
|
269
269
|
export default function App() {
|
|
@@ -773,7 +773,7 @@ Control widget state from parent component:
|
|
|
773
773
|
|
|
774
774
|
```javascript
|
|
775
775
|
import React, { useRef } from 'react';
|
|
776
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
776
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
777
777
|
|
|
778
778
|
function App() {
|
|
779
779
|
const chatRef = useRef(null);
|
|
@@ -833,7 +833,7 @@ All dependencies are installed automatically with the package.
|
|
|
833
833
|
```javascript
|
|
834
834
|
import React from 'react';
|
|
835
835
|
import { render } from '@testing-library/react-native';
|
|
836
|
-
import ChatWidget from 'rn-kova-live-chat';
|
|
836
|
+
import ChatWidget from '@arkesel/rn-kova-live-chat';
|
|
837
837
|
|
|
838
838
|
describe('ChatWidget', () => {
|
|
839
839
|
it('renders without crashing', () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkesel/rn-kova-live-chat",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A lightweight, zero-config chat widget for React Native with no native dependencies (except AsyncStorage). Works in Expo Go! and Integrates with KOVA-IQ Platform.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|