@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
|
@@ -49,7 +49,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
iconKycWarn: string;
|
|
50
50
|
iconMail: string;
|
|
51
51
|
iconGreenTick: string;
|
|
52
|
+
iconExitMiniApp: string;
|
|
53
|
+
iconTopupNotice: string;
|
|
54
|
+
iconTopupSetup: string;
|
|
55
|
+
iconNotice: string;
|
|
56
|
+
iconTopupSuccess: string;
|
|
52
57
|
icon3DSecure: string;
|
|
58
|
+
iconArrowRightBlue: string;
|
|
53
59
|
};
|
|
54
60
|
amount: import("vue").ComputedRef<string>;
|
|
55
61
|
statusLabelColor: import("vue").ComputedRef<string | undefined>;
|
|
@@ -110,6 +116,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
116
|
noAddress: string;
|
|
111
117
|
change: string;
|
|
112
118
|
close: string;
|
|
119
|
+
noCashBack: string;
|
|
113
120
|
};
|
|
114
121
|
duplicate: {
|
|
115
122
|
header: string;
|
|
@@ -281,6 +288,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
281
288
|
};
|
|
282
289
|
cashbackList: {
|
|
283
290
|
close: string;
|
|
291
|
+
condition: string;
|
|
284
292
|
};
|
|
285
293
|
desktopTitle: {
|
|
286
294
|
Payment: string;
|
|
@@ -350,6 +358,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
350
358
|
about3DSecure: string;
|
|
351
359
|
close: string;
|
|
352
360
|
};
|
|
361
|
+
registerPaymentFeatures: {
|
|
362
|
+
autoTopupRoot: {
|
|
363
|
+
title: string;
|
|
364
|
+
titleNeedUpdate: string;
|
|
365
|
+
description: string;
|
|
366
|
+
minAmount: string;
|
|
367
|
+
unit: string;
|
|
368
|
+
addTopupMethod: string;
|
|
369
|
+
noActivatedTopupMethod: string;
|
|
370
|
+
topupNotice: string;
|
|
371
|
+
updateWarning: {
|
|
372
|
+
message: string;
|
|
373
|
+
update: string;
|
|
374
|
+
cancel: string;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
autoTopupRootFooter: {
|
|
378
|
+
enable: string;
|
|
379
|
+
notice: string;
|
|
380
|
+
notNow: string;
|
|
381
|
+
};
|
|
382
|
+
amountChange: {
|
|
383
|
+
title: string;
|
|
384
|
+
description: string;
|
|
385
|
+
register: string;
|
|
386
|
+
cancel: string;
|
|
387
|
+
};
|
|
388
|
+
amountError: {
|
|
389
|
+
changeLimit: string;
|
|
390
|
+
close: string;
|
|
391
|
+
};
|
|
392
|
+
defaultError: {
|
|
393
|
+
title: string;
|
|
394
|
+
description: string;
|
|
395
|
+
};
|
|
396
|
+
autoTopupConfirmation: {
|
|
397
|
+
title: string;
|
|
398
|
+
description: string;
|
|
399
|
+
change: string;
|
|
400
|
+
cancel: string;
|
|
401
|
+
};
|
|
402
|
+
autoTopupSettingComplete: {
|
|
403
|
+
title: string;
|
|
404
|
+
description: string;
|
|
405
|
+
finish: string;
|
|
406
|
+
};
|
|
407
|
+
setupTopupMethod: {
|
|
408
|
+
title: string;
|
|
409
|
+
description: string;
|
|
410
|
+
finish: string;
|
|
411
|
+
cancel: string;
|
|
412
|
+
};
|
|
413
|
+
selectTopupAmount: {
|
|
414
|
+
title: string;
|
|
415
|
+
recommend: string;
|
|
416
|
+
close: string;
|
|
417
|
+
unit: string;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
353
420
|
};
|
|
354
421
|
}, {
|
|
355
422
|
copied: boolean;
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypay/mini-app-js-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.45.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"lint": "eslint src test --ext .ts,.tsx,.vue",
|
|
9
|
+
"lint:style": "stylelint src/**/*.{css,less,vue}",
|
|
9
10
|
"format": "prettier --write '{src,test}/**/*.{ts,tsx,vue,less}'",
|
|
10
11
|
"upgrade": "yarn upgrade-interactive",
|
|
11
12
|
"test": "jest --silent --coverage",
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
"@babel/core": "^7.15.5",
|
|
32
33
|
"@babel/plugin-transform-typescript": "^7.15.4",
|
|
33
34
|
"@babel/preset-env": "^7.15.4",
|
|
35
|
+
"@pinia/testing": "^0.0.12",
|
|
34
36
|
"@rollup/plugin-replace": "^3.0.0",
|
|
35
37
|
"@testing-library/jest-dom": "^5.16.2",
|
|
36
38
|
"@testing-library/vue": "^6.4.2",
|
|
@@ -58,7 +60,10 @@
|
|
|
58
60
|
"jest-transform-stub": "^2.0.0",
|
|
59
61
|
"less": "^4.1.1",
|
|
60
62
|
"lint-staged": "^11.1.2",
|
|
63
|
+
"postcss-html": "^1.4.1",
|
|
64
|
+
"postcss-less": "^6.0.0",
|
|
61
65
|
"prettier": "^2.3.2",
|
|
66
|
+
"stylelint": "^14.9.1",
|
|
62
67
|
"ts-jest": "^26.5.6",
|
|
63
68
|
"typescript": "~4.4.2",
|
|
64
69
|
"vite": "^2.6.14",
|
|
@@ -67,7 +72,9 @@
|
|
|
67
72
|
"vue-jest": "5.0.0-alpha.9",
|
|
68
73
|
"vue-tsc": "^0.29.5"
|
|
69
74
|
},
|
|
70
|
-
"files": [
|
|
75
|
+
"files": [
|
|
76
|
+
"dist"
|
|
77
|
+
],
|
|
71
78
|
"husky": {
|
|
72
79
|
"hooks": {
|
|
73
80
|
"pre-commit": "lint-staged"
|