@paypay/mini-app-js-sdk 1.49.0 → 1.51.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/mini-app-api.d.ts +2 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +219 -1217
- package/dist/model/bridge/getCashbackInformation.d.ts +2 -0
- package/dist/model/miniAppError.d.ts +2 -1
- package/dist/model/permission.d.ts +1 -0
- package/dist/types.d.ts +4 -0
- package/package.json +2 -2
|
@@ -50,7 +50,8 @@ export declare enum MiniAppErrorType {
|
|
|
50
50
|
permissionRequired = "PERMISSION_REQUIRED",
|
|
51
51
|
deeplinkUnavailable = "DEEPLINK_UNAVAILABLE",
|
|
52
52
|
kycIncompleted = "KYC_INCOMPLETED",
|
|
53
|
-
noBankAccount = "NO_BANK_ACCOUNT"
|
|
53
|
+
noBankAccount = "NO_BANK_ACCOUNT",
|
|
54
|
+
invalidPaymentIdentifier = "INVALID_PAYMENT_IDENTIFIER"
|
|
54
55
|
}
|
|
55
56
|
export declare class MiniAppError extends Error {
|
|
56
57
|
constructor(type: MiniAppErrorType);
|
|
@@ -17,6 +17,7 @@ export declare const PermissionName: {
|
|
|
17
17
|
mini_app_user_phone_camera: string;
|
|
18
18
|
mini_app_user_phone_album: string;
|
|
19
19
|
mini_app_bank_information: string;
|
|
20
|
+
mini_app_cashback_information: string;
|
|
20
21
|
};
|
|
21
22
|
export declare const checkPermission: (permissionNames: string[] | string) => Promise<PermissionStatus>;
|
|
22
23
|
export declare function getUserGrantedPermission(): Promise<string[]>;
|
package/dist/types.d.ts
CHANGED
|
@@ -100,6 +100,10 @@ export interface SetDataParams extends NativeParams<void> {
|
|
|
100
100
|
export interface GetDataParams extends NativeParams<MiniAppResult> {
|
|
101
101
|
key: string;
|
|
102
102
|
}
|
|
103
|
+
export interface GetCashbackInfoParams extends NativeParams<MiniAppResult> {
|
|
104
|
+
merchantPaymentId: string;
|
|
105
|
+
merchant?: string;
|
|
106
|
+
}
|
|
103
107
|
export interface RemoveDataParams extends NativeParams<void> {
|
|
104
108
|
key: string;
|
|
105
109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypay/mini-app-js-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"js-cookie": "^3.0.1",
|
|
27
27
|
"lottie-web": "^5.9.6",
|
|
28
|
-
"pinia": "^2.0.
|
|
28
|
+
"pinia": "^2.0.20",
|
|
29
29
|
"uuid": "^8.3.2",
|
|
30
30
|
"vue": "^3.2.35"
|
|
31
31
|
},
|