shopar-plugin 1.2.2 → 1.2.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.
package/README.md CHANGED
@@ -33,7 +33,7 @@ There are two distinct ways of integrating the plugin: via Script tag and via NP
33
33
  Add the following script to your HTML.
34
34
 
35
35
  ```html
36
- <script src="https://cdn.jsdelivr.net/npm/shopar-plugin@1.2.2/dist/shopar-plugin.js"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/shopar-plugin@1.2.3/dist/shopar-plugin.js"></script>
37
37
  ```
38
38
 
39
39
  It is possible to use a different CDN instead of [jsDelivr](https://www.jsdelivr.com/) (e.g. [cdnjs](https://cdnjs.com/), [unpkg](https://www.unpkg.com/)), or even a relative path if the plugin is distributed as a static asset to your app. Just make sure to set the `baseUrl` parameter accordingly (see [setup options](#shoparpluginsetupoptions) for more details).
@@ -205,7 +205,7 @@ Options used for the plugin setup:
205
205
  - `baseUrl` (optional)
206
206
  - Type: `string`
207
207
  - If provided, defines where the additional ShopAR plugin files are fetched from.
208
- - Default value: `https://cdn.jsdelivr.net/npm/shopar-plugin@1.2.2/dist`
208
+ - Default value: `https://cdn.jsdelivr.net/npm/shopar-plugin@1.2.3/dist`
209
209
  - `defaultUI` (optional)
210
210
  - Type: `boolean`
211
211
  - If provided and set to `false`, disables the default UI (buttons and error UI).
@@ -268,8 +268,9 @@ Options used for the plugin setup:
268
268
  - If provided, overrides strings in the UI.
269
269
  - Default values:
270
270
  - `loading.ar`: `Loading Try On...`
271
- - `loading.3d`: `Loading 3D...`
272
- - `prompt.ar.{category}`: undefined
271
+ - `prompt.ar.shoes`: undefined
272
+ - `prompt.ar.glasses`: undefined
273
+ - `prompt.ar.watches`: undefined
273
274
  - `onFirstAREngagement` (optional)
274
275
  - Type: `function`
275
276
  - If provided, it will be called the first time the user's subject is detected in AR (e.g. face, feet, wrist). Fires only once per setup.
Binary file