@paypay/mini-app-js-sdk 2.38.0 → 2.40.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/clientFunctions/index.d.ts +2 -0
- package/dist/client/clientFunctions/storageFunctions.d.ts +22 -0
- package/dist/client/clientFunctions/urlFunctions.d.ts +1 -0
- package/dist/client/clientUtils.d.ts +1 -4
- package/dist/client/index.d.ts +3 -0
- package/dist/client/supportedFunctionsList.d.ts +1 -1
- package/dist/core/coreUtils.d.ts +8 -0
- package/dist/environment-variables.d.ts +1 -0
- package/dist/mini-app-api.d.ts +1 -2
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +285 -655
- package/dist/resources/images.d.ts +1 -0
- package/dist/resources/locales/topup/index.d.ts +48 -0
- package/dist/resources/locales/topup/ja.d.ts +24 -0
- package/dist/types.d.ts +0 -10
- package/dist/utils/fetch.d.ts +2 -2
- package/dist/utils/helper.d.ts +2 -0
- package/dist/utils/minimumAppVersion.d.ts +0 -1
- package/dist/utils/minimumJSSDKVersion.d.ts +2 -0
- package/package.json +1 -1
- package/dist/model/bridge/logAppsFlyerEvent.d.ts +0 -2
- package/dist/utils/remoteString.d.ts +0 -6
|
@@ -52,5 +52,6 @@ export declare const img_exclaimIcon: string;
|
|
|
52
52
|
export declare const img_iconPpcdGold: string;
|
|
53
53
|
export declare const img_iconPpcd: string;
|
|
54
54
|
export declare const img_kyc: string;
|
|
55
|
+
export declare const img_ppCredit: string;
|
|
55
56
|
export declare const qr_kyc: string;
|
|
56
57
|
export declare const qr_topup: string;
|
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
ja: {
|
|
3
|
+
topup: {
|
|
4
|
+
title: string;
|
|
5
|
+
charge: string;
|
|
6
|
+
minAmount: string;
|
|
7
|
+
maxAmount: string;
|
|
8
|
+
moneyLabel: string;
|
|
9
|
+
noMethod: string;
|
|
10
|
+
loading: string;
|
|
11
|
+
payBtn: string;
|
|
12
|
+
availableBalance: string;
|
|
13
|
+
availableBalanceAfter: string;
|
|
14
|
+
allBalance: string;
|
|
15
|
+
yen: string;
|
|
16
|
+
feeNotIncluded: string;
|
|
17
|
+
fee: string;
|
|
18
|
+
topupAmount: string;
|
|
19
|
+
taxIncluded: string;
|
|
20
|
+
};
|
|
3
21
|
topupCompletion: {
|
|
4
22
|
title: string;
|
|
5
23
|
idInfo: string;
|
|
6
24
|
copied: string;
|
|
7
25
|
};
|
|
26
|
+
duplicate: {
|
|
27
|
+
topHeader: string;
|
|
28
|
+
topText1: string;
|
|
29
|
+
topText2: string;
|
|
30
|
+
topAgreeButtonText: string;
|
|
31
|
+
};
|
|
8
32
|
paymentMethod: {
|
|
9
33
|
expired: string;
|
|
10
34
|
ordinary: string;
|
|
@@ -28,11 +52,35 @@ declare const _default: {
|
|
|
28
52
|
};
|
|
29
53
|
};
|
|
30
54
|
en: {
|
|
55
|
+
topup: {
|
|
56
|
+
title: string;
|
|
57
|
+
charge: string;
|
|
58
|
+
minAmount: string;
|
|
59
|
+
maxAmount: string;
|
|
60
|
+
moneyLabel: string;
|
|
61
|
+
noMethod: string;
|
|
62
|
+
loading: string;
|
|
63
|
+
payBtn: string;
|
|
64
|
+
availableBalance: string;
|
|
65
|
+
availableBalanceAfter: string;
|
|
66
|
+
allBalance: string;
|
|
67
|
+
yen: string;
|
|
68
|
+
feeNotIncluded: string;
|
|
69
|
+
fee: string;
|
|
70
|
+
topupAmount: string;
|
|
71
|
+
taxIncluded: string;
|
|
72
|
+
};
|
|
31
73
|
topupCompletion: {
|
|
32
74
|
title: string;
|
|
33
75
|
idInfo: string;
|
|
34
76
|
copied: string;
|
|
35
77
|
};
|
|
78
|
+
duplicate: {
|
|
79
|
+
topHeader: string;
|
|
80
|
+
topText1: string;
|
|
81
|
+
topText2: string;
|
|
82
|
+
topAgreeButtonText: string;
|
|
83
|
+
};
|
|
36
84
|
paymentMethod: {
|
|
37
85
|
expired: string;
|
|
38
86
|
ordinary: string;
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
topup: {
|
|
3
|
+
title: string;
|
|
4
|
+
charge: string;
|
|
5
|
+
minAmount: string;
|
|
6
|
+
maxAmount: string;
|
|
7
|
+
moneyLabel: string;
|
|
8
|
+
noMethod: string;
|
|
9
|
+
loading: string;
|
|
10
|
+
payBtn: string;
|
|
11
|
+
availableBalance: string;
|
|
12
|
+
availableBalanceAfter: string;
|
|
13
|
+
allBalance: string;
|
|
14
|
+
yen: string;
|
|
15
|
+
feeNotIncluded: string;
|
|
16
|
+
fee: string;
|
|
17
|
+
topupAmount: string;
|
|
18
|
+
taxIncluded: string;
|
|
19
|
+
};
|
|
2
20
|
topupCompletion: {
|
|
3
21
|
title: string;
|
|
4
22
|
idInfo: string;
|
|
5
23
|
copied: string;
|
|
6
24
|
};
|
|
25
|
+
duplicate: {
|
|
26
|
+
topHeader: string;
|
|
27
|
+
topText1: string;
|
|
28
|
+
topText2: string;
|
|
29
|
+
topAgreeButtonText: string;
|
|
30
|
+
};
|
|
7
31
|
paymentMethod: {
|
|
8
32
|
expired: string;
|
|
9
33
|
ordinary: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -344,10 +344,6 @@ export interface ScanCodeParams extends NativeParams<MiniAppResult> {
|
|
|
344
344
|
export interface ScanCodeClientParams extends NativeParams<MiniAppResult> {
|
|
345
345
|
redirectUrlOnCancel?: string;
|
|
346
346
|
}
|
|
347
|
-
export interface LogAppsFlyerEventParams extends NativeParams<void> {
|
|
348
|
-
eventName: string;
|
|
349
|
-
parameters: Record<string, unknown>;
|
|
350
|
-
}
|
|
351
347
|
export declare const AddShortcutTypes: {
|
|
352
348
|
readonly FAVORITE: "FAVORITE";
|
|
353
349
|
readonly OS_HOME_SCREEN_ICON: "OS_HOME_SCREEN_ICON";
|
|
@@ -472,12 +468,6 @@ export declare const PPUtilFunctionName: {
|
|
|
472
468
|
readonly clientPopState: "clientPopState";
|
|
473
469
|
};
|
|
474
470
|
export declare type PPUtilFunctionNameType = (typeof PPUtilFunctionName)[keyof typeof PPUtilFunctionName];
|
|
475
|
-
export declare type SaveRefreshTokenOption = {
|
|
476
|
-
refreshToken: string;
|
|
477
|
-
domain: string;
|
|
478
|
-
isSecure: boolean;
|
|
479
|
-
clientId: string;
|
|
480
|
-
};
|
|
481
471
|
export declare type SaveCodeVerifierOption = {
|
|
482
472
|
codeVerifier: string;
|
|
483
473
|
domain: string;
|
package/dist/utils/fetch.d.ts
CHANGED
|
@@ -79,6 +79,6 @@ export declare type PPFetchResult<T, E = Record<string, unknown>> = {
|
|
|
79
79
|
statusCode: number;
|
|
80
80
|
body?: null;
|
|
81
81
|
};
|
|
82
|
-
export declare function
|
|
83
|
-
export declare function fetchRefreshToken(refreshToken: string,
|
|
82
|
+
export declare function ppFetch<T, E = Record<string, unknown>>(options: PPFetchOptions): Promise<PPFetchResult<T, E>>;
|
|
83
|
+
export declare function fetchRefreshToken(refreshToken: string, clientOrigin?: string): Promise<boolean>;
|
|
84
84
|
export { createHeaderMiniAppApi };
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ export declare function getAppVersion(): string | null;
|
|
|
47
47
|
export declare function semVerCompare(a: string, b: string): boolean;
|
|
48
48
|
export declare function checkVersion(minVersion: string): boolean;
|
|
49
49
|
export declare function checkJSSDKVersion(minVersion: string): boolean;
|
|
50
|
+
export declare function clientStorageFunctionsAreAvailable(): boolean;
|
|
51
|
+
export declare function clientQueryParamRemoval(): boolean;
|
|
50
52
|
export declare function getPlatformFontSize(): FontSize;
|
|
51
53
|
export declare function delay(time?: number): Promise<boolean>;
|
|
52
54
|
export declare const createErrorCode: (errorCode: MiniAppErrorType, jws?: string | null | undefined) => {
|
package/package.json
CHANGED