vue-wiguet-chatweb 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +7 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,10 +10,9 @@ npm i vue-wiguet-chatweb
10
10
  ```
11
11
  ## Variables de Entorno
12
12
  ```env
13
- VITE_BACKEND_URL=http://192.168.20.107:8500
14
- VITE_BROKER_URL=ws://192.168.20.107:15674/ws
15
- VITE_USERNAME=admin
16
- VITE_PASSWORD=password
13
+ VITE_BACKEND_URL=https://...
14
+ VITE_SOCKET_URI=http://...
15
+ VITE_CELLPHONE_NUMBERS=591...
17
16
  ```
18
17
  ## configuracion de variables de Entorno
19
18
  ```typescript
@@ -21,11 +20,11 @@ VITE_PASSWORD=password
21
20
  import widgetChatCentral from 'vue-wiguet-chatweb'
22
21
 
23
22
  const app = createApp(App);
23
+
24
24
  app.use(widgetChatCentral, {
25
- VITE_BACKEND_URL:import.meta.env.VITE_BACKEND_URL;
26
- VITE_BROKER_URL:import.meta.env.VITE_BROKER_URL;
27
- VITE_USERNAME:import.meta.env.VITE_USERNAME;
28
- VITE_PASSWORD:import.meta.env.VITE_PASSWORD;
25
+ VITE_BACKEND_URL: import.meta.env.VITE_BACKEND_URL,
26
+ VITE_SOCKET_URI: import.meta.env.VITE_SOCKET_URI,
27
+ VITE_CELLPHONE_NUMBERS: import.meta.env.VITE_CELLPHONE_NUMBERS,
29
28
  });
30
29
 
31
30
  app.mount('#app');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-wiguet-chatweb",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",