@paypay/mini-app-js-sdk 1.42.0 → 1.45.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/jsbridge-core/lib/reconstructParams.d.ts +2 -3
- package/dist/mini-app-api.d.ts +3 -2
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +3961 -1935
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +2 -3
- package/dist/model/bridge/getConfigure.d.ts +16 -0
- package/dist/model/bridge/registerPaymentFeatures.d.ts +2 -0
- package/dist/model/makePayment.d.ts +24 -9
- package/dist/model/uiComponents.d.ts +1 -1
- package/dist/package/header/index.d.ts +11 -0
- package/dist/package/payment-method/CreditCard.vue.d.ts +8 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +67 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +67 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +67 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +67 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +67 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +67 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +67 -0
- package/dist/types.d.ts +20 -1
- package/dist/utils/api.d.ts +1 -0
- package/dist/utils/fetch.d.ts +1 -0
- package/dist/utils/getImages.d.ts +6 -0
- package/dist/utils/getLanguage.d.ts +61 -0
- package/dist/utils/helper.d.ts +4 -0
- package/dist/utils/storage.d.ts +3 -0
- package/dist/views/error-sheet/Index.vue.d.ts +67 -0
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +61 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +6 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +67 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +61 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +61 -0
- package/dist/views/make-payment/Main.vue.d.ts +4 -1
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +61 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +114 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +83 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +174 -13
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +61 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +61 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +67 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +8 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +67 -0
- package/dist/views/make-payment/hooks/app-hooks.d.ts +60 -7
- package/dist/views/open-app/App.vue.d.ts +67 -0
- package/dist/views/open-map/App.vue.d.ts +61 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +61 -0
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +67 -0
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +61 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +61 -0
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +61 -0
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +67 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +6 -0
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +177 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +92 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +144 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +150 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +141 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +147 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +99 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +166 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +170 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/api.d.ts +4 -0
- package/dist/views/registerPaymentFeatures/store.d.ts +88 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +62 -0
- package/dist/views/show-update-warning/App.vue.d.ts +67 -0
- package/dist/views/take-photo/App.vue.d.ts +61 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +6 -0
- package/dist/views/topup/App.vue.d.ts +68 -1
- package/dist/views/topup/CashbackInfo.vue.d.ts +61 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +67 -0
- package/package.json +9 -2
|
@@ -60,7 +60,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
iconKycWarn: string;
|
|
61
61
|
iconMail: string;
|
|
62
62
|
iconGreenTick: string;
|
|
63
|
+
iconExitMiniApp: string;
|
|
64
|
+
iconTopupNotice: string;
|
|
65
|
+
iconTopupSetup: string;
|
|
66
|
+
iconNotice: string;
|
|
67
|
+
iconTopupSuccess: string;
|
|
63
68
|
icon3DSecure: string;
|
|
69
|
+
iconArrowRightBlue: string;
|
|
64
70
|
};
|
|
65
71
|
lg: {
|
|
66
72
|
showUpdateWarning: {
|
|
@@ -115,6 +121,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
121
|
noAddress: string;
|
|
116
122
|
change: string;
|
|
117
123
|
close: string;
|
|
124
|
+
noCashBack: string;
|
|
118
125
|
};
|
|
119
126
|
duplicate: {
|
|
120
127
|
header: string;
|
|
@@ -286,6 +293,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
293
|
};
|
|
287
294
|
cashbackList: {
|
|
288
295
|
close: string;
|
|
296
|
+
condition: string;
|
|
289
297
|
};
|
|
290
298
|
desktopTitle: {
|
|
291
299
|
Payment: string;
|
|
@@ -355,6 +363,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
355
363
|
about3DSecure: string;
|
|
356
364
|
close: string;
|
|
357
365
|
};
|
|
366
|
+
registerPaymentFeatures: {
|
|
367
|
+
autoTopupRoot: {
|
|
368
|
+
title: string;
|
|
369
|
+
titleNeedUpdate: string;
|
|
370
|
+
description: string;
|
|
371
|
+
minAmount: string;
|
|
372
|
+
unit: string;
|
|
373
|
+
addTopupMethod: string;
|
|
374
|
+
noActivatedTopupMethod: string;
|
|
375
|
+
topupNotice: string;
|
|
376
|
+
updateWarning: {
|
|
377
|
+
message: string;
|
|
378
|
+
update: string;
|
|
379
|
+
cancel: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
autoTopupRootFooter: {
|
|
383
|
+
enable: string;
|
|
384
|
+
notice: string;
|
|
385
|
+
notNow: string;
|
|
386
|
+
};
|
|
387
|
+
amountChange: {
|
|
388
|
+
title: string;
|
|
389
|
+
description: string;
|
|
390
|
+
register: string;
|
|
391
|
+
cancel: string;
|
|
392
|
+
};
|
|
393
|
+
amountError: {
|
|
394
|
+
changeLimit: string;
|
|
395
|
+
close: string;
|
|
396
|
+
};
|
|
397
|
+
defaultError: {
|
|
398
|
+
title: string;
|
|
399
|
+
description: string;
|
|
400
|
+
};
|
|
401
|
+
autoTopupConfirmation: {
|
|
402
|
+
title: string;
|
|
403
|
+
description: string;
|
|
404
|
+
change: string;
|
|
405
|
+
cancel: string;
|
|
406
|
+
};
|
|
407
|
+
autoTopupSettingComplete: {
|
|
408
|
+
title: string;
|
|
409
|
+
description: string;
|
|
410
|
+
finish: string;
|
|
411
|
+
};
|
|
412
|
+
setupTopupMethod: {
|
|
413
|
+
title: string;
|
|
414
|
+
description: string;
|
|
415
|
+
finish: string;
|
|
416
|
+
cancel: string;
|
|
417
|
+
};
|
|
418
|
+
selectTopupAmount: {
|
|
419
|
+
title: string;
|
|
420
|
+
recommend: string;
|
|
421
|
+
close: string;
|
|
422
|
+
unit: string;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
358
425
|
};
|
|
359
426
|
isDesktop: import("vue").ComputedRef<boolean>;
|
|
360
427
|
isPreTransactionAutoChargeEnabled: import("vue").ComputedRef<boolean | undefined>;
|
|
@@ -60,7 +60,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
iconKycWarn: string;
|
|
61
61
|
iconMail: string;
|
|
62
62
|
iconGreenTick: string;
|
|
63
|
+
iconExitMiniApp: string;
|
|
64
|
+
iconTopupNotice: string;
|
|
65
|
+
iconTopupSetup: string;
|
|
66
|
+
iconNotice: string;
|
|
67
|
+
iconTopupSuccess: string;
|
|
63
68
|
icon3DSecure: string;
|
|
69
|
+
iconArrowRightBlue: string;
|
|
64
70
|
};
|
|
65
71
|
lg: {
|
|
66
72
|
showUpdateWarning: {
|
|
@@ -115,6 +121,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
121
|
noAddress: string;
|
|
116
122
|
change: string;
|
|
117
123
|
close: string;
|
|
124
|
+
noCashBack: string;
|
|
118
125
|
};
|
|
119
126
|
duplicate: {
|
|
120
127
|
header: string;
|
|
@@ -286,6 +293,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
293
|
};
|
|
287
294
|
cashbackList: {
|
|
288
295
|
close: string;
|
|
296
|
+
condition: string;
|
|
289
297
|
};
|
|
290
298
|
desktopTitle: {
|
|
291
299
|
Payment: string;
|
|
@@ -355,6 +363,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
355
363
|
about3DSecure: string;
|
|
356
364
|
close: string;
|
|
357
365
|
};
|
|
366
|
+
registerPaymentFeatures: {
|
|
367
|
+
autoTopupRoot: {
|
|
368
|
+
title: string;
|
|
369
|
+
titleNeedUpdate: string;
|
|
370
|
+
description: string;
|
|
371
|
+
minAmount: string;
|
|
372
|
+
unit: string;
|
|
373
|
+
addTopupMethod: string;
|
|
374
|
+
noActivatedTopupMethod: string;
|
|
375
|
+
topupNotice: string;
|
|
376
|
+
updateWarning: {
|
|
377
|
+
message: string;
|
|
378
|
+
update: string;
|
|
379
|
+
cancel: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
autoTopupRootFooter: {
|
|
383
|
+
enable: string;
|
|
384
|
+
notice: string;
|
|
385
|
+
notNow: string;
|
|
386
|
+
};
|
|
387
|
+
amountChange: {
|
|
388
|
+
title: string;
|
|
389
|
+
description: string;
|
|
390
|
+
register: string;
|
|
391
|
+
cancel: string;
|
|
392
|
+
};
|
|
393
|
+
amountError: {
|
|
394
|
+
changeLimit: string;
|
|
395
|
+
close: string;
|
|
396
|
+
};
|
|
397
|
+
defaultError: {
|
|
398
|
+
title: string;
|
|
399
|
+
description: string;
|
|
400
|
+
};
|
|
401
|
+
autoTopupConfirmation: {
|
|
402
|
+
title: string;
|
|
403
|
+
description: string;
|
|
404
|
+
change: string;
|
|
405
|
+
cancel: string;
|
|
406
|
+
};
|
|
407
|
+
autoTopupSettingComplete: {
|
|
408
|
+
title: string;
|
|
409
|
+
description: string;
|
|
410
|
+
finish: string;
|
|
411
|
+
};
|
|
412
|
+
setupTopupMethod: {
|
|
413
|
+
title: string;
|
|
414
|
+
description: string;
|
|
415
|
+
finish: string;
|
|
416
|
+
cancel: string;
|
|
417
|
+
};
|
|
418
|
+
selectTopupAmount: {
|
|
419
|
+
title: string;
|
|
420
|
+
recommend: string;
|
|
421
|
+
close: string;
|
|
422
|
+
unit: string;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
358
425
|
};
|
|
359
426
|
openBreakDown: import("vue").Ref<boolean>;
|
|
360
427
|
toggleBreakDown: () => void;
|
package/dist/types.d.ts
CHANGED
|
@@ -392,7 +392,8 @@ export declare enum PpLocalStorageKey {
|
|
|
392
392
|
clientId = "ppjssdk.clientId",
|
|
393
393
|
userInfo = "ppjssdk.userInfo",
|
|
394
394
|
lastPaymentMethod = "ppjssdk.lastPaymentMethod",
|
|
395
|
-
lastTopupPayMethod = "ppjssdk.lastTopupPayMethod"
|
|
395
|
+
lastTopupPayMethod = "ppjssdk.lastTopupPayMethod",
|
|
396
|
+
codeVerifier = "ppjssdk.codeVerifier"
|
|
396
397
|
}
|
|
397
398
|
export declare enum CookieDuration {
|
|
398
399
|
oneDay = 1,
|
|
@@ -407,6 +408,12 @@ export declare type AddressUpdateEvent = {
|
|
|
407
408
|
selectedAddress: Address;
|
|
408
409
|
addresses: Address[];
|
|
409
410
|
};
|
|
411
|
+
export interface RegisterPaymentFeaturesParams extends NativeParams<void> {
|
|
412
|
+
paymentFeatureType: string;
|
|
413
|
+
}
|
|
414
|
+
export declare enum PaymentFeaturetype {
|
|
415
|
+
AUTO_TOPUP = "PRE_TRANSACTION_AUTO_CHARGE"
|
|
416
|
+
}
|
|
410
417
|
export declare type GrantedPermissionRespone = {
|
|
411
418
|
unsigned?: {
|
|
412
419
|
data?: {
|
|
@@ -434,4 +441,16 @@ export declare type SessionResponse = {
|
|
|
434
441
|
};
|
|
435
442
|
};
|
|
436
443
|
};
|
|
444
|
+
export declare enum ChallengeMethod {
|
|
445
|
+
S256 = "S256"
|
|
446
|
+
}
|
|
447
|
+
interface AuthStatusFailResult extends MiniAppErrorResultType {
|
|
448
|
+
code: {
|
|
449
|
+
challenge: string;
|
|
450
|
+
challengeMethod: ChallengeMethod;
|
|
451
|
+
} | null;
|
|
452
|
+
}
|
|
453
|
+
export interface GetAuthStatusParams extends NativeParams<MiniAppResult, AuthStatusFailResult> {
|
|
454
|
+
isInternal?: boolean;
|
|
455
|
+
}
|
|
437
456
|
export {};
|
package/dist/utils/api.d.ts
CHANGED
package/dist/utils/fetch.d.ts
CHANGED
|
@@ -41,5 +41,11 @@ export declare function getImages(): {
|
|
|
41
41
|
iconKycWarn: string;
|
|
42
42
|
iconMail: string;
|
|
43
43
|
iconGreenTick: string;
|
|
44
|
+
iconExitMiniApp: string;
|
|
45
|
+
iconTopupNotice: string;
|
|
46
|
+
iconTopupSetup: string;
|
|
47
|
+
iconNotice: string;
|
|
48
|
+
iconTopupSuccess: string;
|
|
44
49
|
icon3DSecure: string;
|
|
50
|
+
iconArrowRightBlue: string;
|
|
45
51
|
};
|
|
@@ -51,6 +51,7 @@ export declare function getLanguage(): {
|
|
|
51
51
|
noAddress: string;
|
|
52
52
|
change: string;
|
|
53
53
|
close: string;
|
|
54
|
+
noCashBack: string;
|
|
54
55
|
};
|
|
55
56
|
duplicate: {
|
|
56
57
|
header: string;
|
|
@@ -222,6 +223,7 @@ export declare function getLanguage(): {
|
|
|
222
223
|
};
|
|
223
224
|
cashbackList: {
|
|
224
225
|
close: string;
|
|
226
|
+
condition: string;
|
|
225
227
|
};
|
|
226
228
|
desktopTitle: {
|
|
227
229
|
Payment: string;
|
|
@@ -291,5 +293,64 @@ export declare function getLanguage(): {
|
|
|
291
293
|
about3DSecure: string;
|
|
292
294
|
close: string;
|
|
293
295
|
};
|
|
296
|
+
registerPaymentFeatures: {
|
|
297
|
+
autoTopupRoot: {
|
|
298
|
+
title: string;
|
|
299
|
+
titleNeedUpdate: string;
|
|
300
|
+
description: string;
|
|
301
|
+
minAmount: string;
|
|
302
|
+
unit: string;
|
|
303
|
+
addTopupMethod: string;
|
|
304
|
+
noActivatedTopupMethod: string;
|
|
305
|
+
topupNotice: string;
|
|
306
|
+
updateWarning: {
|
|
307
|
+
message: string;
|
|
308
|
+
update: string;
|
|
309
|
+
cancel: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
autoTopupRootFooter: {
|
|
313
|
+
enable: string;
|
|
314
|
+
notice: string;
|
|
315
|
+
notNow: string;
|
|
316
|
+
};
|
|
317
|
+
amountChange: {
|
|
318
|
+
title: string;
|
|
319
|
+
description: string;
|
|
320
|
+
register: string;
|
|
321
|
+
cancel: string;
|
|
322
|
+
};
|
|
323
|
+
amountError: {
|
|
324
|
+
changeLimit: string;
|
|
325
|
+
close: string;
|
|
326
|
+
};
|
|
327
|
+
defaultError: {
|
|
328
|
+
title: string;
|
|
329
|
+
description: string;
|
|
330
|
+
};
|
|
331
|
+
autoTopupConfirmation: {
|
|
332
|
+
title: string;
|
|
333
|
+
description: string;
|
|
334
|
+
change: string;
|
|
335
|
+
cancel: string;
|
|
336
|
+
};
|
|
337
|
+
autoTopupSettingComplete: {
|
|
338
|
+
title: string;
|
|
339
|
+
description: string;
|
|
340
|
+
finish: string;
|
|
341
|
+
};
|
|
342
|
+
setupTopupMethod: {
|
|
343
|
+
title: string;
|
|
344
|
+
description: string;
|
|
345
|
+
finish: string;
|
|
346
|
+
cancel: string;
|
|
347
|
+
};
|
|
348
|
+
selectTopupAmount: {
|
|
349
|
+
title: string;
|
|
350
|
+
recommend: string;
|
|
351
|
+
close: string;
|
|
352
|
+
unit: string;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
294
355
|
};
|
|
295
356
|
export declare function getPayPayLanguage(): string;
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare function getRuntime(): MiniAppRuntime;
|
|
|
40
40
|
export declare function isPayPayMiniApp(): boolean;
|
|
41
41
|
export declare function getAppVersion(): string | null;
|
|
42
42
|
export declare function semVerCompare(a: string, b: string): boolean;
|
|
43
|
+
export declare function checkVersion(minVersion: string): boolean;
|
|
43
44
|
export declare function delay(time?: number): Promise<boolean>;
|
|
44
45
|
export declare const createErrorCode: (errorCode: MiniAppErrorType, jws?: string | null | undefined) => {
|
|
45
46
|
errorCode: MiniAppErrorType;
|
|
@@ -50,4 +51,7 @@ export declare function handleHeightResize(el: HTMLElement, windowHeight: number
|
|
|
50
51
|
export declare function getPaymentMethodStatus(isExpired: boolean, val?: PaymentMethodStatus): unknown;
|
|
51
52
|
export declare function filterErrorButtonList(buttonList: UIComponentsErrorButton[] | null): UIComponentsErrorButton[] | undefined;
|
|
52
53
|
export declare function getFailErrorCode(ppFetchResult: string): MiniAppErrorType.timeOut | MiniAppErrorType.serverError | MiniAppErrorType.tokenExpired | MiniAppErrorType.notAuthorized;
|
|
54
|
+
export declare function getStoreUrl(): "https://play.google.com/store/apps/details?id=jp.ne.paypay.android.app" | "https://itunes.apple.com/app/id1435783608";
|
|
55
|
+
export declare function generateCodeVerifier(length?: number): string;
|
|
56
|
+
export declare function generateCodeChallange(codeVerifier: string): Promise<string>;
|
|
53
57
|
export {};
|
package/dist/utils/storage.d.ts
CHANGED
|
@@ -26,3 +26,6 @@ export declare function getClientId(): string | undefined;
|
|
|
26
26
|
export declare function saveClientId(id: string): void;
|
|
27
27
|
export declare function getUserInfo(): string | undefined;
|
|
28
28
|
export declare function saveUserInfo(userData: string): void;
|
|
29
|
+
export declare function getCodeVerifier(): string | undefined;
|
|
30
|
+
export declare function saveCodeVerifier(codeVerifier: string): void;
|
|
31
|
+
export declare function removeCodeVerifier(): void;
|
|
@@ -81,7 +81,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
iconKycWarn: string;
|
|
82
82
|
iconMail: string;
|
|
83
83
|
iconGreenTick: string;
|
|
84
|
+
iconExitMiniApp: string;
|
|
85
|
+
iconTopupNotice: string;
|
|
86
|
+
iconTopupSetup: string;
|
|
87
|
+
iconNotice: string;
|
|
88
|
+
iconTopupSuccess: string;
|
|
84
89
|
icon3DSecure: string;
|
|
90
|
+
iconArrowRightBlue: string;
|
|
85
91
|
};
|
|
86
92
|
lg: {
|
|
87
93
|
showUpdateWarning: {
|
|
@@ -136,6 +142,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
142
|
noAddress: string;
|
|
137
143
|
change: string;
|
|
138
144
|
close: string;
|
|
145
|
+
noCashBack: string;
|
|
139
146
|
};
|
|
140
147
|
duplicate: {
|
|
141
148
|
header: string;
|
|
@@ -307,6 +314,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
307
314
|
};
|
|
308
315
|
cashbackList: {
|
|
309
316
|
close: string;
|
|
317
|
+
condition: string;
|
|
310
318
|
};
|
|
311
319
|
desktopTitle: {
|
|
312
320
|
Payment: string;
|
|
@@ -376,6 +384,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
376
384
|
about3DSecure: string;
|
|
377
385
|
close: string;
|
|
378
386
|
};
|
|
387
|
+
registerPaymentFeatures: {
|
|
388
|
+
autoTopupRoot: {
|
|
389
|
+
title: string;
|
|
390
|
+
titleNeedUpdate: string;
|
|
391
|
+
description: string;
|
|
392
|
+
minAmount: string;
|
|
393
|
+
unit: string;
|
|
394
|
+
addTopupMethod: string;
|
|
395
|
+
noActivatedTopupMethod: string;
|
|
396
|
+
topupNotice: string;
|
|
397
|
+
updateWarning: {
|
|
398
|
+
message: string;
|
|
399
|
+
update: string;
|
|
400
|
+
cancel: string;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
autoTopupRootFooter: {
|
|
404
|
+
enable: string;
|
|
405
|
+
notice: string;
|
|
406
|
+
notNow: string;
|
|
407
|
+
};
|
|
408
|
+
amountChange: {
|
|
409
|
+
title: string;
|
|
410
|
+
description: string;
|
|
411
|
+
register: string;
|
|
412
|
+
cancel: string;
|
|
413
|
+
};
|
|
414
|
+
amountError: {
|
|
415
|
+
changeLimit: string;
|
|
416
|
+
close: string;
|
|
417
|
+
};
|
|
418
|
+
defaultError: {
|
|
419
|
+
title: string;
|
|
420
|
+
description: string;
|
|
421
|
+
};
|
|
422
|
+
autoTopupConfirmation: {
|
|
423
|
+
title: string;
|
|
424
|
+
description: string;
|
|
425
|
+
change: string;
|
|
426
|
+
cancel: string;
|
|
427
|
+
};
|
|
428
|
+
autoTopupSettingComplete: {
|
|
429
|
+
title: string;
|
|
430
|
+
description: string;
|
|
431
|
+
finish: string;
|
|
432
|
+
};
|
|
433
|
+
setupTopupMethod: {
|
|
434
|
+
title: string;
|
|
435
|
+
description: string;
|
|
436
|
+
finish: string;
|
|
437
|
+
cancel: string;
|
|
438
|
+
};
|
|
439
|
+
selectTopupAmount: {
|
|
440
|
+
title: string;
|
|
441
|
+
recommend: string;
|
|
442
|
+
close: string;
|
|
443
|
+
unit: string;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
379
446
|
};
|
|
380
447
|
}, {
|
|
381
448
|
buttonListData(): UIComponentsErrorButton[] | ErrorSheetButton[] | null | undefined;
|
|
@@ -70,6 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
noAddress: string;
|
|
71
71
|
change: string;
|
|
72
72
|
close: string;
|
|
73
|
+
noCashBack: string;
|
|
73
74
|
};
|
|
74
75
|
duplicate: {
|
|
75
76
|
header: string;
|
|
@@ -241,6 +242,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
242
|
};
|
|
242
243
|
cashbackList: {
|
|
243
244
|
close: string;
|
|
245
|
+
condition: string;
|
|
244
246
|
};
|
|
245
247
|
desktopTitle: {
|
|
246
248
|
Payment: string;
|
|
@@ -310,6 +312,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
312
|
about3DSecure: string;
|
|
311
313
|
close: string;
|
|
312
314
|
};
|
|
315
|
+
registerPaymentFeatures: {
|
|
316
|
+
autoTopupRoot: {
|
|
317
|
+
title: string;
|
|
318
|
+
titleNeedUpdate: string;
|
|
319
|
+
description: string;
|
|
320
|
+
minAmount: string;
|
|
321
|
+
unit: string;
|
|
322
|
+
addTopupMethod: string;
|
|
323
|
+
noActivatedTopupMethod: string;
|
|
324
|
+
topupNotice: string;
|
|
325
|
+
updateWarning: {
|
|
326
|
+
message: string;
|
|
327
|
+
update: string;
|
|
328
|
+
cancel: string;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
autoTopupRootFooter: {
|
|
332
|
+
enable: string;
|
|
333
|
+
notice: string;
|
|
334
|
+
notNow: string;
|
|
335
|
+
};
|
|
336
|
+
amountChange: {
|
|
337
|
+
title: string;
|
|
338
|
+
description: string;
|
|
339
|
+
register: string;
|
|
340
|
+
cancel: string;
|
|
341
|
+
};
|
|
342
|
+
amountError: {
|
|
343
|
+
changeLimit: string;
|
|
344
|
+
close: string;
|
|
345
|
+
};
|
|
346
|
+
defaultError: {
|
|
347
|
+
title: string;
|
|
348
|
+
description: string;
|
|
349
|
+
};
|
|
350
|
+
autoTopupConfirmation: {
|
|
351
|
+
title: string;
|
|
352
|
+
description: string;
|
|
353
|
+
change: string;
|
|
354
|
+
cancel: string;
|
|
355
|
+
};
|
|
356
|
+
autoTopupSettingComplete: {
|
|
357
|
+
title: string;
|
|
358
|
+
description: string;
|
|
359
|
+
finish: string;
|
|
360
|
+
};
|
|
361
|
+
setupTopupMethod: {
|
|
362
|
+
title: string;
|
|
363
|
+
description: string;
|
|
364
|
+
finish: string;
|
|
365
|
+
cancel: string;
|
|
366
|
+
};
|
|
367
|
+
selectTopupAmount: {
|
|
368
|
+
title: string;
|
|
369
|
+
recommend: string;
|
|
370
|
+
close: string;
|
|
371
|
+
unit: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
313
374
|
};
|
|
314
375
|
handleClose: () => void;
|
|
315
376
|
handleSelect: (index: number) => void;
|
|
@@ -55,7 +55,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
iconKycWarn: string;
|
|
56
56
|
iconMail: string;
|
|
57
57
|
iconGreenTick: string;
|
|
58
|
+
iconExitMiniApp: string;
|
|
59
|
+
iconTopupNotice: string;
|
|
60
|
+
iconTopupSetup: string;
|
|
61
|
+
iconNotice: string;
|
|
62
|
+
iconTopupSuccess: string;
|
|
58
63
|
icon3DSecure: string;
|
|
64
|
+
iconArrowRightBlue: string;
|
|
59
65
|
};
|
|
60
66
|
handleClick: (index: number) => void;
|
|
61
67
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -113,6 +113,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
noAddress: string;
|
|
114
114
|
change: string;
|
|
115
115
|
close: string;
|
|
116
|
+
noCashBack: string;
|
|
116
117
|
};
|
|
117
118
|
duplicate: {
|
|
118
119
|
header: string;
|
|
@@ -284,6 +285,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
284
285
|
};
|
|
285
286
|
cashbackList: {
|
|
286
287
|
close: string;
|
|
288
|
+
condition: string;
|
|
287
289
|
};
|
|
288
290
|
desktopTitle: {
|
|
289
291
|
Payment: string;
|
|
@@ -353,6 +355,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
353
355
|
about3DSecure: string;
|
|
354
356
|
close: string;
|
|
355
357
|
};
|
|
358
|
+
registerPaymentFeatures: {
|
|
359
|
+
autoTopupRoot: {
|
|
360
|
+
title: string;
|
|
361
|
+
titleNeedUpdate: string;
|
|
362
|
+
description: string;
|
|
363
|
+
minAmount: string;
|
|
364
|
+
unit: string;
|
|
365
|
+
addTopupMethod: string;
|
|
366
|
+
noActivatedTopupMethod: string;
|
|
367
|
+
topupNotice: string;
|
|
368
|
+
updateWarning: {
|
|
369
|
+
message: string;
|
|
370
|
+
update: string;
|
|
371
|
+
cancel: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
autoTopupRootFooter: {
|
|
375
|
+
enable: string;
|
|
376
|
+
notice: string;
|
|
377
|
+
notNow: string;
|
|
378
|
+
};
|
|
379
|
+
amountChange: {
|
|
380
|
+
title: string;
|
|
381
|
+
description: string;
|
|
382
|
+
register: string;
|
|
383
|
+
cancel: string;
|
|
384
|
+
};
|
|
385
|
+
amountError: {
|
|
386
|
+
changeLimit: string;
|
|
387
|
+
close: string;
|
|
388
|
+
};
|
|
389
|
+
defaultError: {
|
|
390
|
+
title: string;
|
|
391
|
+
description: string;
|
|
392
|
+
};
|
|
393
|
+
autoTopupConfirmation: {
|
|
394
|
+
title: string;
|
|
395
|
+
description: string;
|
|
396
|
+
change: string;
|
|
397
|
+
cancel: string;
|
|
398
|
+
};
|
|
399
|
+
autoTopupSettingComplete: {
|
|
400
|
+
title: string;
|
|
401
|
+
description: string;
|
|
402
|
+
finish: string;
|
|
403
|
+
};
|
|
404
|
+
setupTopupMethod: {
|
|
405
|
+
title: string;
|
|
406
|
+
description: string;
|
|
407
|
+
finish: string;
|
|
408
|
+
cancel: string;
|
|
409
|
+
};
|
|
410
|
+
selectTopupAmount: {
|
|
411
|
+
title: string;
|
|
412
|
+
recommend: string;
|
|
413
|
+
close: string;
|
|
414
|
+
unit: string;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
356
417
|
};
|
|
357
418
|
kyc: import("vue").ComputedRef<boolean>;
|
|
358
419
|
isEdit: import("vue").ComputedRef<boolean>;
|