Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@intlsdk/account-api

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intlsdk/account-api - npm Package Compare versions

Comparing version 1.16.5 to 1.16.6

1

dist/src/index.d.ts

@@ -57,2 +57,3 @@ import Aegis from 'aegis-web-mini-sdk';

thirdAuthorize: ApiModel['getThirdLoginInfo'];
steamHistoryAuthorize: ApiModel['getHistorySteamdLoginInfo'];
intlAuthorize: ApiModel['thirdChannelLogin'];

@@ -59,0 +60,0 @@ msdkAuthorize: ApiModel['thirdChannelLoginToMsdk'];

27

dist/src/model/api-account.d.ts
import { RespMeta, IntlSignInResp } from '../type/common.type';
import { ThirdChannelInfo } from '../type/third-common.type';
import { SignInParams, CACCSignInResp, VerifyCodeSignInParams, IntlSignInParams, QueryUserInfoParams, QueryUserInfoResp, ModifyProfileParams, ModifyProfileResp, QueryUserNameStatusParams, QueryUserNameStatusResp, ModifyUserAgreementParams, ModifyUserAgreementResp, QueryRegisterStatusResp, RegisterParams, RegisterResp, VerifyCodeRegisterParams, VerifyCodeRegisterResp, RequestVerifyCodeParams, RequestVerifyCodeResp, RequestVerifyImageResp, ResetPasswordParams, LogoutParams, ThirdAuthorizeParams, ThirdAuthorizeResp, IntlAuthorizeParams, QueryRegisterStatusParams, QueryCodeStatusParams, QueryCodeStatusResp, ModifyAccountInfoParams, ModifyAccountInfoResp, GetThirdAccessTokenParams, GetThirdAccessTokenResp, LoginParams, SubscribeEmailParams, LoginResp, intlLogoutParams } from '../type';
import { SignInParams, CACCSignInResp, VerifyCodeSignInParams, IntlSignInParams, QueryUserInfoParams, QueryUserInfoResp, ModifyProfileParams, ModifyProfileResp, QueryUserNameStatusParams, QueryUserNameStatusResp, ModifyUserAgreementParams, ModifyUserAgreementResp, QueryRegisterStatusResp, RegisterParams, RegisterResp, VerifyCodeRegisterParams, VerifyCodeRegisterResp, RequestVerifyCodeParams, RequestVerifyCodeResp, RequestVerifyImageResp, ResetPasswordParams, LogoutParams, ThirdAuthorizeParams, ThirdAuthorizeResp, IntlAuthorizeParams, QueryRegisterStatusParams, QueryCodeStatusParams, QueryCodeStatusResp, ModifyAccountInfoParams, ModifyAccountInfoResp, GetThirdAccessTokenParams, GetThirdAccessTokenResp, LoginParams, SubscribeEmailParams, LoginResp, intlLogoutParams, VerifyLoginParams } from '../type';
import { GetProtocolParam, GetProtocolResp, SetProtocolParam, SetProtocolResp } from '../type/account';

@@ -79,14 +79,15 @@ import { SDKConfig } from '../config';

* @param {*} params
* verify_type int 【必填】验证方式,1:使用验证码,2:使用旧密码, !!#6aa84f 3: 使用当前自建账号登录态!!
* verify_code string 【当verify_type=1时必填】验证码 ,可为int型老协议适配
* password string 【当verify_type=2时必填】 密码,格式(09a-zA-z_![]-+()) 3264个字节-客户端MD5传输
* verify_type int 【必填】验证方式,1:使用验证码,2:使用旧密码 3: 使用当前自建账号登录态!!
* verify_code string / int 【当verify_type=1时必填】验证码, 可为int型老协议适配
* password string 【当verify_type=2时必填】 密码,格式(09a-zA-z_![]-+()) 32 - 64个字节-客户端MD5传输
* account string 【当verify_type!=3时必填】当前存在的账号
* account_type int 【当verify_type!=3时必填】1email,2phone
* phone_area_code string 【选填 】 手机登录时为必填参数, 这里填写的是手机区号字段
* phone_area_code string 【account_type = 2必填】 手机登录时为必填参数, 这里填写的是手机区号字段
* account_type int 【当verify_type!=3时必填】1 email, 2 phone
* token string 【当verify_type=3时必填】自建帐号登录态信息
* uid string 【当verify_type=3时必填】用户id
*
* verify_code_modify string 【必填】被修改账号的验证码,修改账号验证码(code_type=3)
* account_modify string 【必填】要修改的帐号
* account_type_modify int 【必填】要修改的账号,类似1email,2phone
* phone_area_code_modify string 【选填 】 要修改的账号是手机时为必填参数, 这里填写的是手机区号字段
* phone_area_code_modify string 【ccount_type_modify = 2必填】 要修改的账号是手机时为必填参数, 这里填写的是手机区号字段
*/

@@ -291,2 +292,8 @@ modifyAccountInfo: (params: ModifyAccountInfoParams) => Promise<ModifyAccountInfoResp>;

/**
* 获取历史steam登录信息
*
* @returns url
*/
getHistorySteamdLoginInfo: (params: ThirdAuthorizeParams) => Promise<ThirdAuthorizeResp | unknown>;
/**
* kakao version 3 ,login

@@ -426,2 +433,8 @@ * @param params

intlLogout: (params: intlLogoutParams) => Promise<RespMeta>;
/**
* Intl 鉴权
* @param params
* @returns
*/
verifyLogin: (params: VerifyLoginParams) => Promise<RespMeta>;
}

@@ -1,2 +0,2 @@

import { QueryGameNameParams, QueryGameNameResp } from 'src/type/common.type';
import { QueryGameNameParams, QueryGameNameResp } from '../../src/type/common.type';
import { SDKConfig } from '../config';

@@ -3,0 +3,0 @@ export default class {

export declare const WEB_SOURCE = 32;
export declare const MACHINE_CHECK_TYPE: any;
export declare const ACCOUNT_TYPE: any;
export declare const ACCOUNT_TYPE: {
EMAIL: number;
PHONE: number;
};
/**

@@ -5,0 +8,0 @@ * 渠道(channel)常量类

import '../utils/polyfill';
import { RespMeta } from 'src/type/common.type';
import { SubscribeEmailParams, UnbindParams, intlLogoutParams } from 'src/type/cacc.type';
import { RespMeta } from '../../src/type/common.type';
import { SubscribeEmailParams, UnbindParams, VerifyLoginParams, intlLogoutParams } from '../../src/type/cacc.type';
import { SDKConfig } from '../config';

@@ -71,6 +71,3 @@ export declare const getDEVICEINFO: () => {

*/
verifyLogin: ({ openid, token }: {
openid: string;
token: string;
}) => Promise<any>;
verifyLogin: ({ openid, token, channel_id }: VerifyLoginParams) => Promise<any>;
/**

@@ -93,5 +90,7 @@ * intl解密

/**
* Intl退出登录
* Intl 退出登录
*
* channel_id 需要和 intl 授权时的 channel id 相一致
*/
intlLogout(params: intlLogoutParams): Promise<RespMeta>;
}

@@ -219,2 +219,8 @@ import { PersonalInfoMeta, UsernameAvailableType, UserAgreementMeta, RegisterType, VerifyType, UidExpireRespMeta, PhoneMeta, UpdateUserAgreementMeta, MachineCheckParams, PasswordParams, AccountMeta, AccountType } from './cacc-common.type';

token: string;
channel_id?: number;
}
export interface VerifyLoginParams {
openid: string;
token: string;
channel_id?: number;
}

@@ -1,4 +0,4 @@

import { ClientOptions } from 'src/type';
import { ClientOptions } from '../../src/type';
import { SDKConfig } from '../config';
export declare function handleHost(config: SDKConfig, options: ClientOptions): SDKConfig;
export declare function handleRequestConfig(config: SDKConfig, options: ClientOptions): SDKConfig;
{
"name": "@intlsdk/account-api",
"version": "1.16.5",
"version": "1.16.6",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "dist/src/index.d.ts",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc