From 50f7fedccacf30e77bc2be8a4601bb47e6a92175 Mon Sep 17 00:00:00 2001 From: mym0404 Date: Wed, 5 Jun 2024 09:54:02 +0900 Subject: [PATCH] fix: typo in `login` function parameter 'prompt' --- packages/core/package.json | 2 +- packages/user/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 432c9e5..9ebf91e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -34,7 +34,7 @@ "prepare": "husky", "release": "./script/release.sh", "codegen:android": "cd ../../example/android && ./gradlew generateCodegenArtifactsFromSchema", - "codegen:ios": "node ../../example/node_modules/react-native/scripts/generate-codegen-artifacts.js --path example/ --outputPath ../../example/ios", + "codegen:ios": "react-native codegen --path example/ --outputPath ../../example/ios", "codegen": "yarn codegen:android && yarn codegen:ios", "build:expo-config-plugin": "tsc --project ./expo-config-plugin", "prepack": "yarn build:expo-config-plugin && bob build", diff --git a/packages/user/src/index.ts b/packages/user/src/index.ts index 914f31f..3f2b4b0 100644 --- a/packages/user/src/index.ts +++ b/packages/user/src/index.ts @@ -122,7 +122,7 @@ export function login({ scopes, }: { serviceTerms?: string[]; - prompts?: ('Loign' | 'Create' | 'Cert' | 'UnifyDaum' | 'SelectAccount')[]; + prompts?: ('Login' | 'Create' | 'Cert' | 'UnifyDaum' | 'SelectAccount')[]; scopes?: string[]; useKakaoAccountLogin?: boolean; web?: {