Skip to content

Commit 90b4228

Browse files
Merge pull request #260 from Authing/fix-miniapp-validate-publicKey
chore: install fixed lerna version
2 parents b9aaeab + f2b87d5 commit 90b4228

File tree

23 files changed

+44
-51
lines changed

23 files changed

+44
-51
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
4747
- name: install packages
4848
run: |
49+
npm install -g [email protected]
4950
npm ci
5051
lerna run autoinstall
5152

examples/miniapp-wx/miniapp/miniprogram_npm/@authing/miniapp-jsencrypt/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/miniapp-wx/miniapp/miniprogram_npm/@authing/miniapp-sm2encrypt/index.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/miniapp-wx/miniapp/miniprogram_npm/@authing/miniapp-wx/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/miniapp-wx/miniapp/miniprogram_npm/@authing/miniapp-wx/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/miniapp-wx/miniapp/miniprogram_npm/jsbn/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/miniapp-wx/miniapp/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/miniapp-wx/miniapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"dependencies": {
1212
"@authing/miniapp-jsencrypt": "^5.1.8",
1313
"@authing/miniapp-sm2encrypt": "^5.1.8",
14-
"@authing/miniapp-wx": "^5.1.8"
14+
"@authing/miniapp-wx": "^5.1.9-alpha.0"
1515
}
1616
}

examples/miniapp-wx/miniapp/pages/index/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -290,15 +290,6 @@ Page({
290290
console.log('authing.decryptData res: ', res)
291291
},
292292

293-
async getAccessToken () {
294-
const res = await authing.getAccessToken({
295-
appId: 'WX_APP_ID',
296-
appSecret: 'WX_APP_SECRET'
297-
})
298-
299-
console.log('authing.getAccessToken res: ', res)
300-
},
301-
302293
getShareInfo() {
303294
const {shareTicket} = wx.getLaunchOptionsSync()
304295

examples/miniapp-wx/miniapp/pages/index/index.wxml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
<!-- 解密数据 -->
2121
<button bindtap="decryptData">decryptData</button>
22-
<button bindtap="getAccessToken">getAccessToken</button>
2322

2423

2524
<button bindtap="refreshToken">refreshToken</button>

0 commit comments

Comments
 (0)