@retion-miniapp/sdk 0.8.3 → 0.8.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/CHANGELOG.md +6 -0
- package/README.md +6 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -262,7 +262,9 @@ haptic(HapticType.notificationSuccess); // thanh toán xong
|
|
|
262
262
|
| `notificationSuccess` / `notificationWarning` / `notificationError` | Kết quả thao tác |
|
|
263
263
|
|
|
264
264
|
|
|
265
|
-
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Face ID / Touch ID / Android biometrics
|
|
266
268
|
|
|
267
269
|
Kiểm tra thiết bị hỗ trợ rồi yêu cầu xác thực:
|
|
268
270
|
|
|
@@ -298,7 +300,9 @@ async function authenticate() {
|
|
|
298
300
|
|
|
299
301
|
Kiểm tra `result.success` trước khi tiếp tục. Người dùng huỷ có thể trả `{ success: false, error: 'User cancellation' }`; lỗi khác có thể đi vào `catch`. Loại xác thực do thiết bị quyết định: `FaceID`, `TouchID` hoặc `Biometrics` trên Android.
|
|
300
302
|
|
|
301
|
-
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
## Nhận dạng giọng nói
|
|
302
306
|
|
|
303
307
|
Đăng ký nhận văn bản trước khi bắt đầu nghe:
|
|
304
308
|
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED