@vcp-dev/site-edit-bridge 0.11.40 → 0.11.42
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 +2 -0
- package/dist/auto-bootstrap.d.ts +1 -1
- package/dist/auto-bootstrap.js +14 -14
- package/dist/client.d.ts +3 -3
- package/dist/document-codec.d.ts +1 -1
- package/dist/engine-worker-client.d.ts +1 -1
- package/dist/engine-worker.js +1 -1
- package/dist/index.js +18 -18
- package/dist/next-dev-server.d.ts +4 -0
- package/dist/next-dev-server.js +5 -5
- package/dist/portable-cms-schema-proof.js +1 -1
- package/dist/portable-remote-asset.js +1 -1
- package/dist/portable-snapshot-proof.js +2 -3
- package/dist/property-preview.d.ts +1 -1
- package/dist/protocol.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/window-message.d.ts +41 -4
- package/dist/window-message.js +1 -1
- package/package.json +3 -14
package/README.md
CHANGED
|
@@ -52,6 +52,8 @@ iframe 初始文档就绪前的存活探针不建立 CMS 身份的会话归属
|
|
|
52
52
|
|
|
53
53
|
`bridge-status` 的 `failed`/`reconnecting` 可带可选的 `failureCode`(只含机器可读错误码,不含错误正文),父页据此上报诊断遥测。
|
|
54
54
|
|
|
55
|
+
Next Link 客户端切页可复用已认证、已完成 composition 同步且处于 open 的 WebSocket;仅在同时具备 bridge session key 和 launch identity 时启用。每次切页仍重新校验 health/launch,并以新的 bridge 缓存执行 `initialize-session`,不复用旧页面文档或跳过 composition/快照守卫。同步未完成时再次导航、连接失效、图失效和观察到同路径 Candidate 切换仍丢弃旧连接;迟到 health/initialize 不能发布旧路由就绪或关闭新路由连接。
|
|
56
|
+
|
|
55
57
|
## 滚动完成事件
|
|
56
58
|
|
|
57
59
|
frame-runtime 的 `scroll` 事件保留原 `metrics`,可选 `phase: "end"` 表示当前观测到的滚动容器均收到浏览器原生 `scrollend`。它与待发的 RAF 合并;新滚动会取消待发的完成标记。没有原生完成事件时不猜测 `end`,旧消费者与旧 runtime 继续使用 quiet-window fallback。
|
package/dist/auto-bootstrap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SiteEditCompositionContext, SiteEditCompositionSelector, SiteEditRenderDocument, SiteEditRenderEntry } from "@vcp-dev/contracts";
|
|
1
|
+
import type { SiteEditCompositionContext, SiteEditCompositionSelector, SiteEditRenderDocument, SiteEditRenderEntry } from "@vcp-dev/platform-shared/contracts";
|
|
2
2
|
import { type CmsPreviewIdentityRegistry } from "./cms-preview-identity-registry.js";
|
|
3
3
|
import { type SiteEditBridgeClient, type SiteEditBridge, type SiteEditBridgeConnectionStatus, type SiteEditBridgeConnectionState } from "./client.js";
|
|
4
4
|
import { type SiteEditFrameRuntimeBridgeStatus, type SiteEditFrameRuntimeRequestBody } from "./window-message.js";
|