@snowcone-app/ui 0.10.9 → 0.10.11
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/CHANGELOG.md +15 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/composed/HeroProductImage.tsx +2 -0
- package/src/patterns/RealtimeProvider.tsx +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#4675](https://github.com/snowcone-app/snowcone-monorepo/pull/4675) [`8dc0954`](https://github.com/snowcone-app/snowcone-monorepo/commit/8dc09546922eb941f23473e23d63f6a504e5db42) Thanks [@kevinsproles](https://github.com/kevinsproles)! - `HeroProductImage` stamps `data-mockup-id` on its root: which picture this is, for tests and monitors that name pictures by id instead of DOM order.
|
|
8
|
+
|
|
9
|
+
## 0.10.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#4643](https://github.com/snowcone-app/snowcone-monorepo/pull/4643) [`af17a28`](https://github.com/snowcone-app/snowcone-monorepo/commit/af17a28ff9a11fa6e59efb83aff3c8dae863a082) Thanks [@kevinsproles](https://github.com/kevinsproles)! - Realtime frame flow control: an `all_mockups_rendered` summary that arrives before its frames (they wait behind the ack window) no longer replaces the frame a picture still has to draw. It was lost, never drawn or acked, and the box waited out its 5 s ack timeout (`E_RT_ACK_TIMEOUT`) on every picture of the gallery. A frame dropped by the per-picture bound (`E_BLOB_PICTURE_BOUND`) is now acked too.
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`af17a28`](https://github.com/snowcone-app/snowcone-monorepo/commit/af17a28ff9a11fa6e59efb83aff3c8dae863a082)]:
|
|
16
|
+
- @snowcone-app/sdk@0.29.1
|
|
17
|
+
|
|
3
18
|
## 0.10.9
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -6322,6 +6322,7 @@ function RealtimeProvider({
|
|
|
6322
6322
|
console.error(
|
|
6323
6323
|
`[RealtimeProvider] E_BLOB_PICTURE_BOUND: ${owner} has more than ${MAX_FRAMES_PER_PICTURE} frames waiting to be shown; dropping its oldest unshown frame (the picture on screen is kept).`
|
|
6324
6324
|
);
|
|
6325
|
+
ackUrl(victim);
|
|
6325
6326
|
revokeBlobUrl(victim);
|
|
6326
6327
|
}
|
|
6327
6328
|
blobsByOwnerRef.current.set(owner, list);
|
|
@@ -6333,7 +6334,7 @@ function RealtimeProvider({
|
|
|
6333
6334
|
}
|
|
6334
6335
|
registeredBlobUrlsRef.current.add(url);
|
|
6335
6336
|
return url;
|
|
6336
|
-
}, [revokeBlobUrl]);
|
|
6337
|
+
}, [revokeBlobUrl, ackUrl]);
|
|
6337
6338
|
const releaseOlderFrames = (0, import_react25.useCallback)((owner) => {
|
|
6338
6339
|
const list = blobsByOwnerRef.current.get(owner);
|
|
6339
6340
|
const shown = shownBlobByOwnerRef.current.get(owner);
|
|
@@ -11511,6 +11512,7 @@ var HeroProductImage = (0, import_react46.memo)(function HeroProductImage2({
|
|
|
11511
11512
|
className: `relative overflow-hidden ${className || ""}`,
|
|
11512
11513
|
style,
|
|
11513
11514
|
"data-hero-image": "true",
|
|
11515
|
+
"data-mockup-id": actualMockupId || void 0,
|
|
11514
11516
|
"data-fit": fit,
|
|
11515
11517
|
"data-picture-failed": imgFailed ? "E_PICTURE_UNDISPLAYED" : void 0,
|
|
11516
11518
|
"data-picture-failed-src": failedSrc,
|