@auth-link/web 0.0.0-stage → 0.0.1

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 ADDED
@@ -0,0 +1,47 @@
1
+ # Changelog
2
+
3
+ ## 0.0.1 — Unpublished
4
+
5
+ - Start the new `@auth-link/web` package under the `auth-link` npm organization.
6
+ - Keep each refresh period on a fixed monotonic deadline so rounded server timestamps and network delays cannot make the bar jump; ignore stale periods.
7
+
8
+ ### Included changes from earlier local builds
9
+
10
+ - Animate the refresh bar continuously using animation frames and monotonic server timing, reset immediately at code rollover, and stop animation when the dialog closes or reduced motion is enabled.
11
+
12
+ - Replace dual countdowns with a thin refresh bar and static caption; show request expiry only in the final 30 seconds, with a subdued warning and reduced-motion-aware code transitions in all three layouts.
13
+
14
+ - Close rejected dialogs automatically; return typed `Rejection` payloads (`code: REJECTED`) through JavaScript, React and Vue callbacks without a rejection/retry panel or user-close event.
15
+
16
+ - Add A (default minimal), B (split) and C (compact / mobile sheet) via `variant`, including reactive React/Vue updates and `modal.setVariant()`.
17
+ - Replace the oversized close control with a small icon and 44px target; add translated footer cancellation to B/C.
18
+
19
+ - Default dialogs to Simplified Chinese; keep all explicit language selections.
20
+
21
+ - Automatically dismiss confirmed dialogs while delivering the success callback once.
22
+ - Open responsive native dialogs with openAuthLinkBind / openAuthLinkConfirm from any framework.
23
+ - React / Vue components now open dialogs on mount; use onClose / @close to unmount. SSR renders no dialog.
24
+ - Add localized close controls, Escape handling, focus/scroll restoration and abort-on-close.
25
+ - Move the client package and mobile app into the c_auth_link repository.
26
+
27
+
28
+ ## 0.1.2 — Unpublished
29
+
30
+ - Use the single `device-presence.v1` protocol: original-phone hardware proof and in-app approval. Remove legacy authentication policy support.
31
+ - Update English, Chinese and Japanese guides for mobile protocol 7.
32
+
33
+
34
+ ## 0.1.1 — Pending release
35
+
36
+ - Add Bengali, Spanish, Filipino, Hindi, Indonesian, Malay, Portuguese, Thai and Vietnamese panel translations; retain English, Simplified/Traditional Chinese and Japanese.
37
+ - Default both React and Vue panels to English, including unsupported-locale fallback and accessible language attributes.
38
+ - Add English (default), Chinese and Japanese integration guides and language links.
39
+ - Use platform-neutral package metadata; remove local paths and maintainer publishing instructions from public documentation.
40
+ - Export `supportedLocales` for host language pickers.
41
+
42
+ ## 0.1.0
43
+
44
+ - React/Vue 绑定二维码、30 秒动态核对码、请求/数字双倒计时。
45
+ - 同源 application 客户端、CSRF、创建幂等键、取消与组件生命周期管理。
46
+ - 确认/拒绝/过期/错误事件,消费后才确认,卸载后屏蔽迟到响应。
47
+ - TypeScript、四种语言、独立 CSS、无浏览器 seed 或租户密钥。