Skip to content

Commit 50f7fed

Browse files
committed
fix: typo in login function parameter 'prompt'
1 parent 2ed9d6e commit 50f7fed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"prepare": "husky",
3535
"release": "./script/release.sh",
3636
"codegen:android": "cd ../../example/android && ./gradlew generateCodegenArtifactsFromSchema",
37-
"codegen:ios": "node ../../example/node_modules/react-native/scripts/generate-codegen-artifacts.js --path example/ --outputPath ../../example/ios",
37+
"codegen:ios": "react-native codegen --path example/ --outputPath ../../example/ios",
3838
"codegen": "yarn codegen:android && yarn codegen:ios",
3939
"build:expo-config-plugin": "tsc --project ./expo-config-plugin",
4040
"prepack": "yarn build:expo-config-plugin && bob build",

packages/user/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function login({
122122
scopes,
123123
}: {
124124
serviceTerms?: string[];
125-
prompts?: ('Loign' | 'Create' | 'Cert' | 'UnifyDaum' | 'SelectAccount')[];
125+
prompts?: ('Login' | 'Create' | 'Cert' | 'UnifyDaum' | 'SelectAccount')[];
126126
scopes?: string[];
127127
useKakaoAccountLogin?: boolean;
128128
web?: {

0 commit comments

Comments
 (0)