@paypay/mini-app-js-sdk 1.25.0 → 1.28.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.
Files changed (92) hide show
  1. package/dist/composition-api/useRegisterEmail.d.ts +1 -1
  2. package/dist/jsbridge-core/jsbridge.d.ts +11 -11
  3. package/dist/jsbridge-core/lib/reconstructParams.d.ts +2 -1
  4. package/dist/jsbridge-core/module.d.ts +1 -3
  5. package/dist/jsbridge-core/paypay-jsbridge.d.ts +2 -3
  6. package/dist/mini-app-api.d.ts +14 -14
  7. package/dist/mini-app-js-sdk.browser.js +1 -1
  8. package/dist/mini-app-js-sdk.es.js +819 -576
  9. package/dist/mini-app-js-sdk.min.css +1 -1
  10. package/dist/model/bridge/checkAccessToken.d.ts +2 -2
  11. package/dist/model/bridge/debug.d.ts +2 -2
  12. package/dist/model/bridge/getAppDetail.d.ts +1 -1
  13. package/dist/model/bridge/getAuthStatus.d.ts +2 -2
  14. package/dist/model/bridge/getConfigure.d.ts +2 -1
  15. package/dist/model/bridge/getDeviceInformation.d.ts +2 -2
  16. package/dist/model/bridge/getPlatformInformation.d.ts +1 -1
  17. package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
  18. package/dist/model/bridge/getUAID.d.ts +2 -2
  19. package/dist/model/bridge/getUserProfile.d.ts +2 -2
  20. package/dist/model/bridge/logout.d.ts +2 -2
  21. package/dist/model/bridge/registerEmail.d.ts +1 -1
  22. package/dist/model/bridge/registerKyc.d.ts +1 -1
  23. package/dist/model/bridge/removeStorageData.d.ts +2 -2
  24. package/dist/model/bridge/render.d.ts +1 -1
  25. package/dist/model/bridge/renderLoginButton.d.ts +1 -1
  26. package/dist/model/bridge/renderPayButton.d.ts +1 -1
  27. package/dist/model/bridge/scanCode.d.ts +1 -1
  28. package/dist/model/bridge/setSessionData.d.ts +1 -1
  29. package/dist/model/bridge/setStorageData.d.ts +1 -1
  30. package/dist/model/bridge/setTitle.d.ts +1 -1
  31. package/dist/model/bridge/showAlert.d.ts +1 -1
  32. package/dist/model/bridge/showErrorSheet.d.ts +1 -1
  33. package/dist/model/bridge/showUpdateWarning.d.ts +1 -1
  34. package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +2 -2
  35. package/dist/model/makePayment.d.ts +10 -2
  36. package/dist/package/input/index.d.ts +0 -19
  37. package/dist/package/input/utils.d.ts +0 -4
  38. package/dist/package/payment-method/PayLaterCC.vue.d.ts +291 -0
  39. package/dist/package/payment-method/SbidBank.vue.d.ts +5 -0
  40. package/dist/package/payment-method/Wallet.vue.d.ts +5 -1
  41. package/dist/package/payment-type/PayLaterCC.vue.d.ts +289 -0
  42. package/dist/package/payment-type/Sbid.vue.d.ts +5 -0
  43. package/dist/package/payment-type/Wallet.vue.d.ts +5 -0
  44. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +5 -0
  45. package/dist/types.d.ts +33 -31
  46. package/dist/utils/fetch.d.ts +43 -2
  47. package/dist/utils/getImages.d.ts +1 -0
  48. package/dist/utils/getLanguage.d.ts +4 -0
  49. package/dist/utils/helper.d.ts +1 -0
  50. package/dist/utils/miniAppRequest.d.ts +2 -1
  51. package/dist/views/email-registration/App.vue.d.ts +7 -3
  52. package/dist/views/email-registration/hooks/callback.d.ts +1 -1
  53. package/dist/views/error-sheet/Index.vue.d.ts +5 -0
  54. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +4 -0
  55. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +5 -0
  56. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +4 -0
  57. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +4 -0
  58. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +4 -0
  59. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +4 -0
  60. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +4 -0
  61. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +4 -0
  62. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +4 -0
  63. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +4 -0
  64. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +4 -0
  65. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +4 -0
  66. package/dist/views/make-payment/Main.vue.d.ts +1 -0
  67. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +4 -0
  68. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +5 -0
  69. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +5 -0
  70. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +5 -0
  71. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +6 -0
  72. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +4 -0
  73. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +5 -0
  74. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +7 -7
  75. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +16 -1
  76. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +4 -0
  77. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +5 -0
  78. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +4 -0
  79. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +5 -0
  80. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +5 -0
  81. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +1 -0
  82. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +5 -0
  83. package/dist/views/make-payment/hooks/app-hooks.d.ts +7 -2
  84. package/dist/views/open-app/App.vue.d.ts +5 -0
  85. package/dist/views/open-map/App.vue.d.ts +4 -0
  86. package/dist/views/show-update-warning/App.vue.d.ts +5 -0
  87. package/dist/views/take-photo/App.vue.d.ts +4 -0
  88. package/dist/views/topup/App.vue.d.ts +10 -5
  89. package/dist/views/topup/CashbackInfo.vue.d.ts +4 -0
  90. package/dist/views/topup/TopupCompletion.vue.d.ts +5 -0
  91. package/package.json +3 -1
  92. package/dist/utils/common.d.ts +0 -2
@@ -201,6 +201,10 @@ declare const _default: import("vue").DefineComponent<{
201
201
  cashBackExpirable: string;
202
202
  balance: string;
203
203
  };
204
+ payLater: {
205
+ title: string;
206
+ balance: string;
207
+ };
204
208
  softbank: {
205
209
  desc: string;
206
210
  desc1: string;
@@ -276,6 +280,7 @@ declare const _default: import("vue").DefineComponent<{
276
280
  downArrow: string;
277
281
  bankIcon: string;
278
282
  confetti: string;
283
+ payLater: string;
279
284
  };
280
285
  }, {
281
286
  description(): string;
@@ -200,6 +200,10 @@ declare const _default: import("vue").DefineComponent<{
200
200
  cashBackExpirable: string;
201
201
  balance: string;
202
202
  };
203
+ payLater: {
204
+ title: string;
205
+ balance: string;
206
+ };
203
207
  softbank: {
204
208
  desc: string;
205
209
  desc1: string;
@@ -1,10 +1,10 @@
1
- import { PropType } from 'vue';
2
- import { TopupResponseData } from '../../utils/api';
3
- import { TopupParams } from '../../types';
4
- import { MiniAppErrorType } from '../../model/miniAppError';
5
1
  import { AnimationItem } from 'lottie-web';
2
+ import { PropType } from 'vue';
6
3
  import { PaymentMethod as TPaymentMethod } from '../../model/makePayment';
4
+ import { MiniAppErrorType } from '../../model/miniAppError';
7
5
  import { UIComponentsErrorButton } from '../../model/uiComponents';
6
+ import { TopupParams } from '../../types';
7
+ import { TopupResponseData } from '../../utils/api';
8
8
  declare const _default: import("vue").DefineComponent<{
9
9
  show: BooleanConstructor;
10
10
  topupParams: {
@@ -247,6 +247,10 @@ declare const _default: import("vue").DefineComponent<{
247
247
  cashBackExpirable: string;
248
248
  balance: string;
249
249
  };
250
+ payLater: {
251
+ title: string;
252
+ balance: string;
253
+ };
250
254
  softbank: {
251
255
  desc: string;
252
256
  desc1: string;
@@ -322,6 +326,7 @@ declare const _default: import("vue").DefineComponent<{
322
326
  downArrow: string;
323
327
  bankIcon: string;
324
328
  confetti: string;
329
+ payLater: string;
325
330
  };
326
331
  isFirstLoad: boolean;
327
332
  }, {
@@ -354,7 +359,7 @@ declare const _default: import("vue").DefineComponent<{
354
359
  numberWithCommas: (x?: number) => string;
355
360
  init(): Promise<void>;
356
361
  createAnime(s: AnimationItem): void;
357
- findFirstValidMethod(index: number): void;
362
+ findFirstValidMethodTopup(): void;
358
363
  switchInput(): Promise<void>;
359
364
  setMoney(money: number): void;
360
365
  closeIconClick(): void;
@@ -216,6 +216,10 @@ declare const _default: import("vue").DefineComponent<{
216
216
  cashBackExpirable: string;
217
217
  balance: string;
218
218
  };
219
+ payLater: {
220
+ title: string;
221
+ balance: string;
222
+ };
219
223
  softbank: {
220
224
  desc: string;
221
225
  desc1: string;
@@ -41,6 +41,7 @@ declare const _default: import("vue").DefineComponent<{
41
41
  downArrow: string;
42
42
  bankIcon: string;
43
43
  confetti: string;
44
+ payLater: string;
44
45
  };
45
46
  amount: import("vue").ComputedRef<string>;
46
47
  statusLabelColor: import("vue").ComputedRef<string | undefined>;
@@ -241,6 +242,10 @@ declare const _default: import("vue").DefineComponent<{
241
242
  cashBackExpirable: string;
242
243
  balance: string;
243
244
  };
245
+ payLater: {
246
+ title: string;
247
+ balance: string;
248
+ };
244
249
  softbank: {
245
250
  desc: string;
246
251
  desc1: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paypay/mini-app-js-sdk",
3
- "version": "1.25.0",
3
+ "version": "1.28.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "build": "vite build",
@@ -31,6 +31,8 @@
31
31
  "@babel/plugin-transform-typescript": "^7.15.4",
32
32
  "@babel/preset-env": "^7.15.4",
33
33
  "@rollup/plugin-replace": "^3.0.0",
34
+ "@testing-library/jest-dom": "^5.16.2",
35
+ "@testing-library/vue": "^6.4.2",
34
36
  "@types/jest": "^26.0.24",
35
37
  "@types/js-cookie": "^2.2.7",
36
38
  "@types/uuid": "^8.3.1",
@@ -1,2 +0,0 @@
1
- import { PaymentMethod } from '../model/makePayment';
2
- export declare function filterUnsupportedPaymentMethod(paymentMethods: PaymentMethod[]): PaymentMethod[];