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.
- package/README.md +3 -2
- package/dist/deepar/VERSION.txt +1 -1
- package/dist/deepar/js/deepar.esm.js +1 -1
- package/dist/deepar/js/deepar.js +1 -1
- package/dist/deepar/js/dynamicModules/mediaPipe.js +1 -0
- package/dist/deepar/js/dynamicModules/xzimg.js +1 -1
- package/dist/deepar/js/dynamicModules/xzimg.js.LICENSE.txt +69 -3
- package/dist/deepar/js/types/DeepAR.d.ts +7 -9
- package/dist/deepar/js/types/callbacks.d.ts +2 -2
- package/dist/deepar/js/types/footData.d.ts +0 -12
- package/dist/deepar/js/types/{index-shopar-minimal.d.ts → index.d.ts} +3 -1
- package/dist/deepar/js/types/initParams.d.ts +4 -0
- package/dist/deepar/js/types/version.d.ts +1 -1
- package/dist/deepar/models/foot/foot-detection-96x96x6.bin +0 -0
- package/dist/deepar/package.json +2 -2
- package/dist/deepar/wasm/deepar.wasm +0 -0
- package/dist/deepar/wasm/dyArcorePhysics.wasm +0 -0
- package/dist/deepar/wasm/dyArcoreScripting.wasm +0 -0
- package/dist/deepar/wasm/dyXzimgMagicFace.wasm +0 -0
- package/dist/deepar/wasm/libxzimgPoseEstimation.wasm +0 -0
- package/dist/deepar/wasm/tfjs-backend-wasm-simd.wasm +0 -0
- package/dist/deepar/wasm/tfjs-backend-wasm-threaded-simd.wasm +0 -0
- package/dist/deepar/wasm/tfjs-backend-wasm.wasm +0 -0
- package/dist/shopar-analytics.js +1 -1
- package/dist/shopar-deepar.js +2 -2
- package/dist/shopar-plugin.d.ts +8 -1
- package/dist/shopar-plugin.esm.js +1 -1
- package/dist/shopar-plugin.js +1 -1
- package/package.json +1 -1
- package/dist/deepar/js/types/DeepAR-shopar-minimal.d.ts +0 -354
- package/dist/deepar/js/types/dracoDecoderUtil.d.ts +0 -20
- package/dist/deepar/js/types/dynamicImport.d.ts +0 -8
- package/dist/deepar/js/types/workers/draco-decoder/index.d.ts +0 -1
- package/dist/deepar/js/workers/draco-decoder.js +0 -1
- package/dist/deepar/models/foot/foot-detector-96x96x6-q8.bin +0 -0
- package/dist/deepar/split_sum.webp +0 -0
- 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@
|
|
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@
|
|
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.
|
package/dist/deepar/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
DeepAR SDK version: v5.6.
|
|
1
|
+
DeepAR SDK version: v5.6.19-shopar
|