shopar-plugin 0.9.4-alpha.6 → 0.9.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 (37) hide show
  1. package/README.md +3 -2
  2. package/dist/deepar/VERSION.txt +1 -1
  3. package/dist/deepar/js/deepar.esm.js +1 -1
  4. package/dist/deepar/js/deepar.js +1 -1
  5. package/dist/deepar/js/dynamicModules/mediaPipe.js +1 -0
  6. package/dist/deepar/js/dynamicModules/xzimg.js +1 -1
  7. package/dist/deepar/js/dynamicModules/xzimg.js.LICENSE.txt +69 -3
  8. package/dist/deepar/js/types/DeepAR.d.ts +7 -9
  9. package/dist/deepar/js/types/callbacks.d.ts +2 -2
  10. package/dist/deepar/js/types/footData.d.ts +0 -12
  11. package/dist/deepar/js/types/{index-shopar-minimal.d.ts → index.d.ts} +3 -1
  12. package/dist/deepar/js/types/initParams.d.ts +4 -0
  13. package/dist/deepar/js/types/version.d.ts +1 -1
  14. package/dist/deepar/models/foot/foot-detection-96x96x6.bin +0 -0
  15. package/dist/deepar/package.json +2 -2
  16. package/dist/deepar/wasm/deepar.wasm +0 -0
  17. package/dist/deepar/wasm/dyArcorePhysics.wasm +0 -0
  18. package/dist/deepar/wasm/dyArcoreScripting.wasm +0 -0
  19. package/dist/deepar/wasm/dyXzimgMagicFace.wasm +0 -0
  20. package/dist/deepar/wasm/libxzimgPoseEstimation.wasm +0 -0
  21. package/dist/deepar/wasm/tfjs-backend-wasm-simd.wasm +0 -0
  22. package/dist/deepar/wasm/tfjs-backend-wasm-threaded-simd.wasm +0 -0
  23. package/dist/deepar/wasm/tfjs-backend-wasm.wasm +0 -0
  24. package/dist/shopar-analytics.js +1 -1
  25. package/dist/shopar-deepar.js +2 -2
  26. package/dist/shopar-plugin.d.ts +8 -1
  27. package/dist/shopar-plugin.esm.js +1 -1
  28. package/dist/shopar-plugin.js +1 -1
  29. package/package.json +1 -1
  30. package/dist/deepar/js/types/DeepAR-shopar-minimal.d.ts +0 -354
  31. package/dist/deepar/js/types/dracoDecoderUtil.d.ts +0 -20
  32. package/dist/deepar/js/types/dynamicImport.d.ts +0 -8
  33. package/dist/deepar/js/types/workers/draco-decoder/index.d.ts +0 -1
  34. package/dist/deepar/js/workers/draco-decoder.js +0 -1
  35. package/dist/deepar/models/foot/foot-detector-96x96x6-q8.bin +0 -0
  36. package/dist/deepar/split_sum.webp +0 -0
  37. package/dist/deepar/wasm/draco-decoder.wasm +0 -0
package/README.md CHANGED
@@ -32,7 +32,7 @@ There are two distinct ways of integrating the plugin: via Script tag and via NP
32
32
  Add the following script to your HTML.
33
33
 
34
34
  ```html
35
- <script src="https://cdn.jsdelivr.net/npm/shopar-plugin@{{VERSION}}/dist/shopar-plugin.js"></script>
35
+ <script src="https://cdn.jsdelivr.net/npm/shopar-plugin@0.9.4/dist/shopar-plugin.js"></script>
36
36
  ```
37
37
 
38
38
  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).
@@ -153,7 +153,7 @@ Options used for the plugin setup:
153
153
  - `baseUrl` (optional)
154
154
  - Type: `string`
155
155
  - If provided, defines where the additional ShopAR plugin files are fetched from.
156
- - Default value: `https://cdn.jsdelivr.net/npm/shopar-plugin@{{VERSION}}/dist`
156
+ - Default value: `https://cdn.jsdelivr.net/npm/shopar-plugin@0.9.4/dist`
157
157
  - `defaultUI` (optional)
158
158
  - Type: `boolean`
159
159
  - If provided and set to `false`, disables the default UI such as buttons, loading and error views.
@@ -193,6 +193,7 @@ Options used for the plugin setup:
193
193
  - Default values:
194
194
  - `loading.ar`: `Loading Try On...`
195
195
  - `loading.3d`: `Loading 3D...`
196
+ - `prompt.ar.{category}`: undefined
196
197
  - `debounceAREngagementMs` (optional)
197
198
  - Type: `number`
198
199
  - If provided, it will be used as the debounce duration for debounced AR engagement tracking.
@@ -1 +1 @@
1
- DeepAR SDK version: v5.6.21-shopar-alpha-377
1
+ DeepAR SDK version: v5.6.19-shopar