chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -41,21 +41,21 @@ import {
subscribeUserAuthInfos as subscribeUserAuthInfosImpl,
} from '@coze-foundation/account-adapter';
/** @deprecated 使用 getLoginStatus */
/** @deprecated using getLoginStatus */
export const getIsSettled = (() =>
getLoginStatus() !== 'settling') satisfies typeof getIsSettledOfSdk;
/** @deprecated 使用 getLoginStatus */
/** @deprecated using getLoginStatus */
export const getIsLogined = (() =>
getLoginStatus() === 'logined') satisfies typeof getIsLoginedOfSdk;
export const getUserInfo = getUserInfoImpl satisfies typeof getUserInfoOfSdk;
export const getUserAuthInfos =
getUserAuthInfosImpl satisfies typeof getUserAuthInfosOfSdk;
/** @deprecated 使用 useLoginStatus */
/** @deprecated useLoginStatus */
export const useIsSettled = (() => {
const status = useLoginStatus();
return status !== 'settling';
}) satisfies typeof useIsSettledOfSdk;
/** @deprecated 使用 useLoginStatus */
/** @deprecated useLoginStatus */
export const useIsLogined = (() => {
const status = useLoginStatus();
return status === 'logined';