Skip to content

Commit

Permalink
feat(harmony): uni-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
StrivingRabbit committed Jan 9, 2025
1 parent ad81dc5 commit 3ee845d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/uni-app-harmony/src/compiler/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export const StandaloneExtApi: IStandaloneExtApi[] = [
name: 'uni-push',
type: 'extapi',
},
{
name: 'uni-verify',
type: 'extapi',
},
]

export const ExtApiBlackListX = [
Expand Down
1 change: 1 addition & 0 deletions packages/uni-app-harmony/src/compiler/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ function getRelatedProviders(inputDir: string): IRelatedProvider[] {
const SupportedModules = {
'uni-facialRecognitionVerify': 'uni-facialRecognitionVerify',
'uni-push': 'uni-push',
'uni-verify': 'uni-verify',
}

// 获取uni_modules中的相关模块
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,14 @@
"setAppBadgeNumber"
],
"version": "1.0.2"
},
{
"type": "extapi",
"plugin": "uni-verify",
"apis": [
"getUniverifyManager",
"getUniVerifyManager"
],
"version": "1.0.0"
}
]
1 change: 1 addition & 0 deletions packages/uni-uts-v1/src/arkts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export function getArkTSAutoImports(isX = false): AutoImportOptions {
['UTSObject'],
['UTSJSONObject'],
['SourceError'],
['UniElement'],
['UTSHarmony'],
],
},
Expand Down

0 comments on commit 3ee845d

Please sign in to comment.