@neurodyn/room-viewer 0.1.4 → 0.2.0
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/dist/contract.d.ts +1 -0
- package/dist/contract.js +4 -0
- package/dist/room-viewer.embed.min.js +26 -26
- package/dist/room-viewer.global.min.js +26 -26
- package/dist/room-viewer.js +4 -0
- package/package.json +2 -2
package/dist/room-viewer.js
CHANGED
|
@@ -212,6 +212,10 @@ const roomViewerContract = defineTriggerContract()({
|
|
|
212
212
|
required: true,
|
|
213
213
|
description: 'Public API key sent as `x-api-key`. Not needed when `source` is `shopify`.'
|
|
214
214
|
}),
|
|
215
|
+
productRef: contract_attribute('product-ref', parsers_text(), {
|
|
216
|
+
required: false,
|
|
217
|
+
description: "The shop's own id of the product. Reported with widget events so views are counted per store product. The loader script sets it."
|
|
218
|
+
}),
|
|
215
219
|
source: contract_attribute('source', oneOf(ROOM_VIEWER_SOURCES), {
|
|
216
220
|
required: false,
|
|
217
221
|
defaultValue: '`default`',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neurodyn/room-viewer",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "Vizbl Room Viewer: show rugs, flooring and wall art in the shopper’s own room from a photo.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"vizbl",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"react": "^19.2.0",
|
|
46
46
|
"react-dom": "^19.2.0",
|
|
47
|
-
"@neurodyn/react-room-viewer": "0.
|
|
47
|
+
"@neurodyn/react-room-viewer": "0.3.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@google/model-viewer": "4.2.0",
|