@flun/webauthn-browser 2.0.16 → 2.0.17

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 CHANGED
@@ -1,4 +1,7 @@
1
1
  # 变更日志
2
+ ## [2.0.17] - 2026-07-06 15:55
3
+ ### 修复
4
+ - 修复说明文件中 `allowScripts` 配置示例错误的问题;
2
5
  ## [2.0.16] - 2026-07-06 15:49
3
6
  ### 新增
4
7
  - 在 README 中新增“配置”章节,指导用户通过 `allowScripts` 显式放行本包的安装脚本,避免因 `ignore-scripts` 全局配置导致钩子被跳过。
package/README.md CHANGED
@@ -10,6 +10,8 @@
10
10
  ## 目录
11
11
 
12
12
  - [目录](#目录)
13
+ - [配置](#配置)
14
+ - [允许安装脚本执行](#允许安装脚本执行)
13
15
  - [安装](#安装)
14
16
  - [NPM 模块方式](#npm-模块方式)
15
17
  - [UMD 全局方式](#umd-全局方式)
@@ -50,7 +52,7 @@
50
52
  ```json
51
53
  {
52
54
  "allowScripts": {
53
- "@flun/windows": true
55
+ "@flun/webauthn-browser": true
54
56
  // 如果依赖的其它包(如 bcrypt、electron-winstaller 等)也有脚本,请按需添加,格式相同
55
57
  }
56
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flun/webauthn-browser",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "WebAuthn 前端库,提供简单易用的接口来处理 WebAuthn 认证流程,支持 Passkeys 和 FIDO2 标准;",
5
5
  "keywords": [
6
6
  "typescript",