@tugitark/vue-widget 1.4.2 → 1.4.3

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/index.md +7 -1
  2. package/package.json +1 -1
package/index.md CHANGED
@@ -3,10 +3,12 @@
3
3
 
4
4
  This library wraps the Tugi Tark chat widget in a standardised vue component. The component internally handles loading the latest version of the widget script from our CDN and translates between the imperative API controlling the widget and the vue data flow model to configure things based purely on properties and callbacks.
5
5
 
6
+ Also see [the original integration guide](https://www.tugitark.com/chat-setup) for more information about the widget itself.
7
+
6
8
  Minimal Example
7
9
  -----------------
8
10
 
9
- This is the smallest number of properties that you can pass to `<TugiWidget>` and have it still operate correctly.
11
+ This is the smallest number of properties that you can pass to `<TugiWidget>` and have it still operate correctly. These properties are given to you on signing up with Tugi Tark and must be entered accurately.
10
12
 
11
13
  ```vue
12
14
  <script setup lang="js">
@@ -194,3 +196,7 @@ While there can be only one widget on the page there can be multiple `<TugiWidge
194
196
  </template>
195
197
  ```
196
198
 
199
+ [Click here](using-library.md) to see how this component wraps the underlying [@tugitark/declarative-widget](https://gitlab.com/tugitark/integration/libraries/javascript/declarative-widget) library in a react component.
200
+
201
+ [Click here][from-scratch.md) to get a better understanding of everything that that library is doing behind the scenes to inject the main widget script in to a page and initialise it.
202
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tugitark/vue-widget",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Wraps the tugitark widget in a Vue component.",
5
5
  "scripts": {
6
6
  "build": "npx esbuild index.ts --target=es6 --outfile=index.js && sed -i 's/\\bconst\\b/var/g' index.js && sed -i 's/\\blet\\b/var/g' index.js && npx esbuild index.js --allow-overwrite --minify --target=es5 --outfile=index.js && npx tsc --noErrorTruncation --declaration --emitDeclarationOnly --target es6 --module nodenext --moduleResolution nodenext --outDir . index.ts",