Skip to content

Commit 2aa7b42

Browse files
committed
typo
1 parent fb89e2c commit 2aa7b42

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,13 @@ const auth = new Authing({
178178
clientId: 'your_client_id',
179179
timestamp: Math.round(new Date() / 1000),
180180
nonce: Math.ceil(Math.random() * Math.pow(10, 6)),
181+
enableFetchPhone: true // 启用获取手机号
181182
});
182183

183184
auth.then(function(authing) {
184185

185186
authing.startWXAppScaning({
186-
mount: 'qrcode-node', //二维码挂载点的 HTML 元素 ID,如不写则默认漂浮在文档中间
187+
mount: 'qrcode-node', //二维码挂载点的 HTML 元素 ID,如不写则默认漂浮在文档中间
187188
});
188189

189190
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "authing-js-sdk",
3-
"version": "2.9.1",
3+
"version": "2.10.0",
44
"description": "Official sdk of Authing",
55
"main": "dist/authing-js-sdk.js",
66
"browser": "dist/authing-js-sdk-browser.min.js",

0 commit comments

Comments
 (0)