@flun/webauthn-browser 2.1.0 → 2.1.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 +4 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
# 变更日志
|
|
2
|
+
## [2.1.1] - 2026-07-20 15:26
|
|
3
|
+
### 优化
|
|
4
|
+
- 对'dist\index.js'文件做了一些细节上的优化;
|
|
2
5
|
## [2.1.0] - 2026-07-18 22:22
|
|
3
6
|
### 优化
|
|
4
7
|
- 验证顺序改变:在Windows下优先调用底层Windows hello 注册/认证,然后才是标准模式;
|
|
@@ -6,7 +9,4 @@
|
|
|
6
9
|
|
|
7
10
|
## [2.0.19] - 2026-07-15 19:25
|
|
8
11
|
### 更新
|
|
9
|
-
- 依赖包(@types/node)更新;
|
|
10
|
-
## [2.0.18] - 2026-07-06 16:17
|
|
11
|
-
### 优化
|
|
12
|
-
- 说明文件中 `allowScripts` 配置示例细节优化;
|
|
12
|
+
- 依赖包(@types/node)更新;
|
package/dist/index.js
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"use strict";
|
|
7
7
|
const defaultPropDescriptor = { enumerable: true, configurable: true, writable: true, value: void 0 },
|
|
8
8
|
falsePromise = Promise.resolve(false),
|
|
9
|
-
bufferToBase64URLString =
|
|
9
|
+
bufferToBase64URLString = e => {
|
|
10
10
|
const t = new Uint8Array(e);
|
|
11
11
|
let r = "";
|
|
12
12
|
for (const e of t) r += String.fromCharCode(e);
|
|
13
13
|
return btoa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "")
|
|
14
14
|
},
|
|
15
|
-
base64URLStringToBuffer =
|
|
15
|
+
base64URLStringToBuffer = e => {
|
|
16
16
|
const t = e.replace(/-/g, "+").replace(/_/g, "/"), r = (4 - t.length % 4) % 4, n = t.padEnd(t.length + r, "="),
|
|
17
17
|
o = atob(n), i = new ArrayBuffer(o.length), a = new Uint8Array(i);
|
|
18
18
|
for (let e = 0; e < o.length; e++) a[e] = o.charCodeAt(e);
|