Merge branch 'hotfix-cellphone-name' into 'main'

fix: incorrect property name (`cellphone`) in type definition

See merge request Binaryify/neteasecloudmusicapi!6
This commit is contained in:
binaryify 2024-05-15 02:33:33 +00:00
commit 47a43bc4a9

6
interface.d.ts vendored
View File

@ -271,20 +271,20 @@ export function batch(
): Promise<Response>
export function captcha_sent(
params: { cellphone: string; ctcode?: number | string } & RequestBaseConfig,
params: { phone: string; ctcode?: number | string } & RequestBaseConfig,
): Promise<Response>
export function captcha_verify(
params: {
ctcode?: number | string
cellphone: number | string
phone: number | string
captcha: string
} & RequestBaseConfig,
): Promise<Response>
export function cellphone_existence_check(
params: {
cellphone: number | string
phone: number | string
countrycode: number | string
} & RequestBaseConfig,
): Promise<Response>