uni-auth 1.0.0 → 1.0.2
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/package.json +2 -1
- package/src/index.js +4 -4
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { appAuth } from './util/app.js'
|
|
2
|
+
export { wxAuth } from './util/wx.js'
|
|
3
3
|
|
|
4
|
-
export async function ifUserAuth(code
|
|
4
|
+
export async function ifUserAuth(code) {
|
|
5
5
|
// #ifdef APP-PLUS
|
|
6
|
-
return await appAuth(code
|
|
6
|
+
return await appAuth(code)
|
|
7
7
|
// #endif
|
|
8
8
|
// #ifdef MP-WEIXIN
|
|
9
9
|
// return await wxAuth(code)
|