@paypay/mini-app-js-sdk 2.15.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.d.ts +6 -5
- package/dist/client/supportedFunctionsList.d.ts +1 -1
- package/dist/composition-api/useGetUserAddress.d.ts +1 -1
- package/dist/composition-api/useInpuAddress.d.ts +1 -1
- package/dist/composition-api/useKycPassport.d.ts +1 -1
- package/dist/composition-api/useMakePayment.d.ts +1 -1
- package/dist/composition-api/useRegisterEmail.d.ts +2 -1
- package/dist/composition-api/useShowUpdateWarning.d.ts +1 -1
- package/dist/composition-api/useShowUpdateWarningKycPassport.d.ts +2 -2
- package/dist/composition-api/useTopup.d.ts +1 -1
- package/dist/core/coreFunctions/claimCoupon.d.ts +1 -0
- package/dist/core/coreFunctions/fetchCoupons.d.ts +3 -2
- package/dist/core/coreFunctions/getPaymentSettings.d.ts +1 -1
- package/dist/core/coreFunctions/logEvent.d.ts +2 -1
- package/dist/core/coreUtils.d.ts +4 -3
- package/dist/core/coupon/couponFunctions/renderCoupons.d.ts +2 -2
- package/dist/core/sentry.d.ts +6 -0
- package/dist/environment-variables.d.ts +5 -0
- package/dist/mini-app-api.d.ts +29 -7
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +1659 -5831
- package/dist/model/OPAErrorCodes.d.ts +4 -0
- package/dist/model/bridge/checkAccessToken.d.ts +4 -2
- package/dist/model/bridge/checkPaymentMethod.d.ts +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +3 -2
- package/dist/model/bridge/getBalance.d.ts +1 -1
- package/dist/model/bridge/getBankInfo.d.ts +2 -2
- package/dist/model/bridge/getDeviceInformation.d.ts +2 -2
- package/dist/model/bridge/getKycInformation.d.ts +1 -1
- package/dist/model/bridge/getKycPassportInfo.d.ts +1 -1
- package/dist/model/bridge/getLoginUrl.d.ts +4 -3
- package/dist/model/bridge/getPayPayCardInfo.d.ts +3 -0
- package/dist/model/bridge/getPermissionStatus.d.ts +1 -1
- package/dist/model/bridge/getPlatformInformation.d.ts +2 -2
- package/dist/model/bridge/getTopBarHeight.d.ts +2 -2
- package/dist/model/bridge/getTransactionInfo.d.ts +1 -1
- package/dist/model/bridge/getTransactions.d.ts +1 -1
- package/dist/model/bridge/getUAID.d.ts +2 -2
- package/dist/model/bridge/getUserAddress.d.ts +1 -1
- package/dist/model/bridge/getUserLocation.d.ts +1 -1
- package/dist/model/bridge/getUserPaymentFeatureSettings.d.ts +1 -1
- package/dist/model/bridge/getUserProfile.d.ts +2 -2
- package/dist/model/bridge/init.d.ts +3 -2
- package/dist/model/bridge/initKycPassport.d.ts +1 -1
- package/dist/model/bridge/inputAddress.d.ts +1 -1
- package/dist/model/bridge/logout.d.ts +2 -2
- package/dist/model/bridge/makePayment.d.ts +1 -1
- package/dist/model/bridge/openWebview.d.ts +1 -1
- package/dist/model/bridge/registerEmail.d.ts +2 -1
- package/dist/model/bridge/registerKyc.d.ts +1 -1
- package/dist/model/bridge/render.d.ts +2 -3
- package/dist/model/bridge/renderLoginButton.d.ts +2 -2
- package/dist/model/bridge/renderPayButton.d.ts +2 -2
- package/dist/model/bridge/showUpdateWarning.d.ts +1 -1
- package/dist/model/bridge/startMultiFactorAuth.d.ts +1 -1
- package/dist/model/bridge/topup.d.ts +1 -1
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +1 -1
- package/dist/model/makePayment.d.ts +18 -17
- package/dist/model/miniAppError.d.ts +2 -1
- package/dist/model/permission.d.ts +2 -23
- package/dist/package/button/index.d.ts +2 -2
- package/dist/package/lottie/index.d.ts +1 -72
- package/dist/resources/en.d.ts +2 -0
- package/dist/resources/ja.d.ts +2 -0
- package/dist/types/checkPaymentMethod.d.ts +20 -0
- package/dist/types/getAuthStatus.d.ts +18 -0
- package/dist/types/getBalance.d.ts +31 -0
- package/dist/types/getBankInfo.d.ts +32 -0
- package/dist/types/getDeviceInformation.d.ts +3 -0
- package/dist/types/getKycInformation.d.ts +50 -0
- package/dist/types/getKycPassportInfo.d.ts +21 -0
- package/dist/types/getPermissionStatus.d.ts +68 -0
- package/dist/types/getPlatformInformation.d.ts +7 -0
- package/dist/types/getTopBarHeight.d.ts +3 -0
- package/dist/types/getTransactionInfo.d.ts +32 -0
- package/dist/types/getTransactions.d.ts +16 -0
- package/dist/types/getUAID.d.ts +3 -0
- package/dist/types/getUserAddress.d.ts +39 -0
- package/dist/types/getUserLocation.d.ts +13 -0
- package/dist/types/getUserPaymentFeatureSettings.d.ts +16 -0
- package/dist/types/getUserProfile.d.ts +25 -0
- package/dist/types/init.d.ts +40 -0
- package/dist/types/initKycPassport.d.ts +12 -0
- package/dist/types/logout.d.ts +3 -0
- package/dist/types/makePayment.d.ts +46 -0
- package/dist/types/openWebview.d.ts +11 -0
- package/dist/types/registerEmail.d.ts +5 -0
- package/dist/types/registerKycParams.d.ts +8 -0
- package/dist/types/showUpdateWarning.d.ts +12 -0
- package/dist/types/startMultiFactorAuth.d.ts +10 -0
- package/dist/types/topup.d.ts +18 -0
- package/dist/types/verifyMultiFactorAuthResult.d.ts +15 -0
- package/dist/types.d.ts +13 -230
- package/dist/utils/analytics.d.ts +10 -2
- package/dist/utils/api.d.ts +7 -12
- package/dist/utils/getLanguage.d.ts +2 -0
- package/dist/utils/helper.d.ts +1 -1
- package/dist/utils/storage.d.ts +3 -2
- package/dist/views/coupon/index.d.ts +8 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +4 -4
- package/package.json +4 -2
- package/dist/composition-api/useRenderSmartButton.d.ts +0 -3
- package/dist/model/bridge/index.d.ts +0 -47
package/dist/client/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { NativeParams } from '../jsbridge-core/jsbridge';
|
|
2
2
|
import { MiniAppModule } from '../mini-app-api';
|
|
3
|
-
import { CopyToClipBoardParams,
|
|
3
|
+
import { CopyToClipBoardParams, GetDataParams, RemoveDataParams, RenderCouponsParams, RenderSmartButtonParams, ScanCodeClientParams, SetDataParams, SetTitleParams, ShareParams } from '../types';
|
|
4
4
|
import { MiniAppStatusType } from '../model/miniAppStatus';
|
|
5
|
+
import { VerifyMultiFactorAuthStatus } from '../types/verifyMultiFactorAuthResult';
|
|
6
|
+
import { InitClientParams } from '../types/init';
|
|
7
|
+
import { GetKycPassportInfoResult } from '../types/getKycPassportInfo';
|
|
5
8
|
declare function init(params: InitClientParams): void;
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function getKycPassportInfo(params: NativeParams<MiniAppResult>): void;
|
|
9
|
+
declare function verifyMultiFactorAuthResult(params: NativeParams<VerifyMultiFactorAuthStatus>): void;
|
|
10
|
+
declare function getKycPassportInfo(params: NativeParams<GetKycPassportInfoResult>): void;
|
|
9
11
|
declare function share(params: ShareParams): void;
|
|
10
12
|
declare function setTitle(params: SetTitleParams): void;
|
|
11
13
|
declare function render(params: RenderSmartButtonParams): void;
|
|
@@ -35,7 +37,6 @@ declare const clientFunctions: {
|
|
|
35
37
|
setStorageData: typeof setStorageData;
|
|
36
38
|
removeStorageData: typeof removeStorageData;
|
|
37
39
|
getKycPassportInfo: typeof getKycPassportInfo;
|
|
38
|
-
getAuthStatus: typeof getAuthStatus;
|
|
39
40
|
logout: (params: NativeParams<{
|
|
40
41
|
statusCode: MiniAppStatusType;
|
|
41
42
|
}, import('../types').MiniAppErrorResultType>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const miniAppSupportedFunctions: readonly ["init", "openWebview", "openMap", "closeApp", "makePayment", "topup", "setSessionData", "getSessionData", "setStorageData", "getStorageData", "removeStorageData", "getPermissionStatus", "scanCode", "showAlert", "showErrorSheet", "getTopBarHeight", "setTitle", "showUpdateWarning", "getPlatformInformation", "openApp", "share", "getKycInformation", "getUserLocation", "checkPaymentMethod", "registerKyc", "startMultiFactorAuth", "verifyMultiFactorAuthResult", "getBankInfo", "logout", "getUserProfile", "getBalance", "getUserAddress", "getUAID", "copyToClipboard", "registerUserInfo", "setEnablePullDownRefresh", "registerEmail", "checkAccessToken", "debug", "inputAddress", "getDeviceInformation", "openMiniApp", "request", "requestInternal", "registerPaymentFeatures", "initKycPassport", "getKycPassportInfo", "shortcutExists", "addShortcut", "logAppsFlyerEvent", "getAllUserAddresses", "getUserPaymentFeatureSettings", "getPaymentSettings", "getTransactionInfo", "getTransactions"];
|
|
1
|
+
export declare const miniAppSupportedFunctions: readonly ["init", "openWebview", "openMap", "closeApp", "makePayment", "topup", "setSessionData", "getSessionData", "setStorageData", "getStorageData", "removeStorageData", "getPermissionStatus", "scanCode", "showAlert", "showErrorSheet", "getTopBarHeight", "setTitle", "showUpdateWarning", "getPlatformInformation", "openApp", "share", "getKycInformation", "getUserLocation", "checkPaymentMethod", "registerKyc", "startMultiFactorAuth", "verifyMultiFactorAuthResult", "getBankInfo", "logout", "getUserProfile", "getBalance", "getUserAddress", "getUAID", "copyToClipboard", "registerUserInfo", "setEnablePullDownRefresh", "registerEmail", "checkAccessToken", "debug", "inputAddress", "getDeviceInformation", "openMiniApp", "request", "requestInternal", "registerPaymentFeatures", "initKycPassport", "getKycPassportInfo", "shortcutExists", "addShortcut", "logAppsFlyerEvent", "getAllUserAddresses", "getUserPaymentFeatureSettings", "getPaymentSettings", "getTransactionInfo", "getTransactions", "getPayPayCardInfo"];
|
|
2
2
|
export declare const smartPaymentSupportedFunctions: readonly ["init", "createOrder", "makePayment", "render", "logout", "getAuthStatus", "getUserProfile", "getBalance", "getUserAddress", "getUAID", "getCashbackInformation", "renderCoupons"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GetUserAddressParams } from '../types';
|
|
1
|
+
import { GetUserAddressParams } from '../types/getUserAddress';
|
|
2
2
|
export declare const initGetUserAddress: (params: GetUserAddressParams) => Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InputAddressParams } from '../types';
|
|
1
|
+
import { InputAddressParams } from '../types/getUserAddress';
|
|
2
2
|
export declare const initInputAddress: (params: InputAddressParams) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InitKycPassportParams } from '../types';
|
|
1
|
+
import { InitKycPassportParams } from '../types/initKycPassport';
|
|
2
2
|
import { MiniAppErrorType } from '../model/miniAppError';
|
|
3
3
|
declare const initKycPassportError: (params: InitKycPassportParams, errorCode: MiniAppErrorType) => void;
|
|
4
4
|
export { initKycPassportError };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { NativeParams } from '../jsbridge-core/jsbridge';
|
|
2
|
-
|
|
2
|
+
import { RegisterEmailResult } from '../types/registerEmail';
|
|
3
|
+
export declare function initRegisterEmail(initRegisterEmail: NativeParams<RegisterEmailResult>, allowsUpdate: boolean): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MiniAppResult } from '../types';
|
|
2
1
|
import { NativeParams } from '../jsbridge-core/jsbridge';
|
|
3
|
-
|
|
2
|
+
import { GetKycPassportInfoResult } from '../types/getKycPassportInfo';
|
|
3
|
+
declare const initUpdateWarning: (params: NativeParams<GetKycPassportInfoResult>) => void;
|
|
4
4
|
export { initUpdateWarning };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { PostLogInRedirectParams } from '../../types';
|
|
1
|
+
import { MiniAppFunctionContext, PostLogInRedirectParams } from '../../types';
|
|
2
2
|
import { Coupon } from '../../views/coupon/types';
|
|
3
3
|
interface FetchCouponsParams extends PostLogInRedirectParams {
|
|
4
4
|
merchantId: string;
|
|
5
5
|
couponId: string;
|
|
6
6
|
}
|
|
7
|
-
export declare
|
|
7
|
+
export declare const FETCH_COUPONS_URL = "public/coupons/v1/coupons";
|
|
8
|
+
export declare function fetchCoupons({ merchantId, couponId, ...postLoginRedirectParams }: FetchCouponsParams, context: MiniAppFunctionContext): Promise<Array<Coupon>>;
|
|
8
9
|
export {};
|
|
@@ -17,6 +17,6 @@ export interface PaymentSettingsType {
|
|
|
17
17
|
pointUsageSetting?: PointUsageSettingType;
|
|
18
18
|
limits?: PaymentLimitsType;
|
|
19
19
|
}
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const GET_PAYMENT_SETTINGS_URL = "web-api/app/v1/paymentSettings";
|
|
21
21
|
export declare function getPaymentSettings(): Promise<PaymentSettingsType>;
|
|
22
22
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
interface LogEventParams {
|
|
2
2
|
eventName?: string;
|
|
3
|
+
sendImmediately?: boolean;
|
|
3
4
|
clientId?: string;
|
|
4
5
|
event_category?: string;
|
|
5
6
|
event_label_suffix?: string;
|
|
@@ -8,5 +9,5 @@ interface LogEventParams {
|
|
|
8
9
|
error_value?: string;
|
|
9
10
|
event_label2?: unknown;
|
|
10
11
|
}
|
|
11
|
-
export declare function logEvent({ eventName, clientId, event_category, event_label_suffix, screen_name, ...params }: LogEventParams): void;
|
|
12
|
+
export declare function logEvent({ eventName, sendImmediately, clientId, event_category, event_label_suffix, screen_name, ...params }: LogEventParams): void;
|
|
12
13
|
export {};
|
package/dist/core/coreUtils.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { NativeParams } from '../jsbridge-core/jsbridge';
|
|
2
|
-
import {
|
|
2
|
+
import { ConsoleDebugInfoParams } from '../types';
|
|
3
|
+
import { ChallengeMethod } from '../types/getAuthStatus';
|
|
3
4
|
export declare function initCoreUtil(targetOrigin: string): void;
|
|
4
5
|
export declare function linkOpen(url: string, target?: string, isFocus?: boolean): void;
|
|
5
6
|
export declare function getDomain(subdomainCookieSharing: boolean, hostname: string): string;
|
|
6
7
|
export declare function checkClientOrigin(origin: string | undefined): boolean;
|
|
7
8
|
export declare function sendRefreshTokenToClient(refreshToken: string, subdomainCookieSharing?: boolean): void;
|
|
8
|
-
export declare function getPkceCodeChallenge(): Promise<{
|
|
9
|
+
export declare function getPkceCodeChallenge(clientOrigin: string): Promise<{
|
|
9
10
|
challenge: string;
|
|
10
11
|
challengeMethod: ChallengeMethod;
|
|
11
12
|
}>;
|
|
12
|
-
export declare function sendMakeIframeVisible
|
|
13
|
+
export declare function sendMakeIframeVisible<T extends NativeParams<any>>(params: T): void;
|
|
13
14
|
export declare function checkMakeIframeVisible(): void;
|
|
14
15
|
export declare function sendDebugInfoToClient(data: ConsoleDebugInfoParams, env?: string | null, debugMode?: boolean): void;
|
|
15
16
|
export declare function isInternalMiniapp(): boolean | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Coupon } from '../../../views/coupon/types';
|
|
2
|
-
import { Locale } from '../../../types';
|
|
2
|
+
import { Locale, MiniAppFunctionContext } from '../../../types';
|
|
3
3
|
interface RenderCouponsParams {
|
|
4
4
|
coupons: Array<Coupon>;
|
|
5
5
|
merchantId: string;
|
|
6
6
|
locale?: Locale;
|
|
7
7
|
}
|
|
8
|
-
export declare function renderCoupons({ coupons, merchantId, locale
|
|
8
|
+
export declare function renderCoupons({ coupons, merchantId, locale }: RenderCouponsParams, context: MiniAppFunctionContext): void;
|
|
9
9
|
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MiniAppErrorType } from '../model/miniAppError';
|
|
2
|
+
import { PPFunctionNameType, PPFunctionResultType } from '../types';
|
|
3
|
+
export declare function initSentry(): void;
|
|
4
|
+
export declare function sendSDKErrorToSentry(name: PPFunctionNameType, result: PPFunctionResultType, error: MiniAppErrorType | undefined): void;
|
|
5
|
+
export declare function sendWindowBridgeErrorToSentry(functionName: string, message: string, error: MiniAppErrorType): void;
|
|
6
|
+
export declare function setClientIdForSentry(clientId: string): void;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare const JS_SDK_VERSION: string;
|
|
2
|
+
export declare const REVISION: string;
|
|
2
3
|
export declare const CORE_IFRAME_ORIGIN: string;
|
|
3
4
|
export declare const CORE_IFRAME_URL: string;
|
|
4
5
|
export declare const COUPON_IFRAME_URL: string;
|
|
5
6
|
export declare const REMOTE_STRINGS_URL: string;
|
|
7
|
+
export declare const SENTRY_DSN: string | undefined;
|
|
8
|
+
export declare const SENTRY_SAMPLE_RATE: number;
|
|
9
|
+
export declare const GA_API_SECRET: string | undefined;
|
|
10
|
+
export declare const GA_MEASUREMENT_ID: string | undefined;
|
package/dist/mini-app-api.d.ts
CHANGED
|
@@ -1,10 +1,32 @@
|
|
|
1
1
|
import { JsBridge, NativeParams } from './jsbridge-core/jsbridge';
|
|
2
2
|
import { JsBridgeModule } from './jsbridge-core/module';
|
|
3
|
-
import { AddShortcutParams,
|
|
3
|
+
import { AddShortcutParams, CloseAppParams, CopyToClipBoardParams, GetCashbackInfoParams, GetDataParams, LogAppsFlyerEventParams, MapParams, MiniAppFunctionContext, MiniAppResult, OpenAppParams, OpenMiniAppParams, RegisterPaymentFeaturesParams, RegisterUserInfoParams, RemoveDataParams, RequestInternalParams, RequestParams, ScanCodeParams, SetDataParams, SetEnablePullDownRefreshParams, SetTitleParams, ShareParams, ShortcutExistsParams, ShowAlertParams, ShowErrorSheetParams, SmsAuthParams } from './types';
|
|
4
|
+
import { TopupParams } from './types/topup';
|
|
5
|
+
import { GetPlatformInformationResult } from './types/getPlatformInformation';
|
|
6
|
+
import { ShowUpdateWarningParams } from './types/showUpdateWarning';
|
|
7
|
+
import { InitParams } from './types/init';
|
|
8
|
+
import { GetAuthStatusParams } from './types/getAuthStatus';
|
|
9
|
+
import { GetBalanceParams } from './types/getBalance';
|
|
10
|
+
import { OpenWebviewParams } from './types/openWebview';
|
|
11
|
+
import { GetDeviceInformationResult } from './types/getDeviceInformation';
|
|
12
|
+
import { CheckPaymentMethodParams } from './types/checkPaymentMethod';
|
|
13
|
+
import { StartMultiFactorAuthParams } from './types/startMultiFactorAuth';
|
|
14
|
+
import { VerifyMultiFactorAuthResultParams } from './types/verifyMultiFactorAuthResult';
|
|
15
|
+
import { MakePaymentParams } from './types/makePayment';
|
|
16
|
+
import { GetUserLocationParams } from './types/getUserLocation';
|
|
17
|
+
import { LogoutResult } from './types/logout';
|
|
18
|
+
import { GetUserPaymentFeatureSettingsParams } from './types/getUserPaymentFeatureSettings';
|
|
19
|
+
import { GetUserAddressParams, InputAddressParams } from './types/getUserAddress';
|
|
20
|
+
import { GetKycPassportInfoParams } from './types/getKycPassportInfo';
|
|
21
|
+
import { InitKycPassportParams } from './types/initKycPassport';
|
|
22
|
+
import { RegisterKycParams } from './types/registerKycParams';
|
|
23
|
+
import { GetKycInformationParams } from './types/getKycInformation';
|
|
24
|
+
import { GetPermissionStatusParams } from './types/getPermissionStatus';
|
|
25
|
+
import { GetTransactionsParams } from './types/getTransactions';
|
|
4
26
|
export declare class MiniAppModule extends JsBridgeModule {
|
|
5
27
|
constructor(jsBridge: JsBridge);
|
|
6
28
|
private detectMode;
|
|
7
|
-
init(params: InitParams): void;
|
|
29
|
+
init(params: InitParams, context: MiniAppFunctionContext): void;
|
|
8
30
|
copyToClipboard(params: CopyToClipBoardParams): void;
|
|
9
31
|
getCashbackInformation(params: GetCashbackInfoParams): void;
|
|
10
32
|
openWebview(params: OpenWebviewParams): void;
|
|
@@ -15,7 +37,7 @@ export declare class MiniAppModule extends JsBridgeModule {
|
|
|
15
37
|
requestInternal(params: RequestInternalParams): void;
|
|
16
38
|
getUAID(params: NativeParams<MiniAppResult>): void;
|
|
17
39
|
getBalance(params: GetBalanceParams): void;
|
|
18
|
-
getAuthStatus(params: GetAuthStatusParams): void;
|
|
40
|
+
getAuthStatus(params: GetAuthStatusParams, context: MiniAppFunctionContext): void;
|
|
19
41
|
makePayment(params: MakePaymentParams): void;
|
|
20
42
|
createOrder(params: MakePaymentParams): void;
|
|
21
43
|
getUserProfile(params: NativeParams<MiniAppResult>): void;
|
|
@@ -32,8 +54,8 @@ export declare class MiniAppModule extends JsBridgeModule {
|
|
|
32
54
|
getTopBarHeight(params: NativeParams<MiniAppResult>): void;
|
|
33
55
|
setTitle(params: SetTitleParams): void;
|
|
34
56
|
showUpdateWarning(params: ShowUpdateWarningParams): void;
|
|
35
|
-
getPlatformInformation(params: NativeParams<
|
|
36
|
-
getDeviceInformation(params: NativeParams<
|
|
57
|
+
getPlatformInformation(params: NativeParams<GetPlatformInformationResult>): void;
|
|
58
|
+
getDeviceInformation(params: NativeParams<GetDeviceInformationResult>): void;
|
|
37
59
|
openApp(params: OpenAppParams): void;
|
|
38
60
|
share(params: ShareParams): void;
|
|
39
61
|
getKycInformation(params: GetKycInformationParams): void;
|
|
@@ -47,9 +69,8 @@ export declare class MiniAppModule extends JsBridgeModule {
|
|
|
47
69
|
setEnablePullDownRefresh(params?: SetEnablePullDownRefreshParams): void;
|
|
48
70
|
registerKyc(params: RegisterKycParams): void;
|
|
49
71
|
startMultiFactorAuth(params: StartMultiFactorAuthParams): void;
|
|
50
|
-
logout(params: NativeParams<
|
|
72
|
+
logout(params: NativeParams<LogoutResult>): void;
|
|
51
73
|
verifyMultiFactorAuthResult(params: VerifyMultiFactorAuthResultParams): void;
|
|
52
|
-
render(params: RenderSmartButtonParams): void;
|
|
53
74
|
registerUserInfo(params: RegisterUserInfoParams): void;
|
|
54
75
|
getBankInfo(params: NativeParams<MiniAppResult>): void;
|
|
55
76
|
registerPaymentFeatures(params: RegisterPaymentFeaturesParams): void;
|
|
@@ -66,4 +87,5 @@ export declare class MiniAppModule extends JsBridgeModule {
|
|
|
66
87
|
orderType: string;
|
|
67
88
|
}): void;
|
|
68
89
|
getTransactions(params: GetTransactionsParams): void;
|
|
90
|
+
getPayPayCardInfo(params: NativeParams<MiniAppResult>): void;
|
|
69
91
|
}
|