@paypay/mini-app-js-sdk 1.14.2 → 1.17.1

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 (97) hide show
  1. package/dist/composition-api/useMakePayment.d.ts +1 -1
  2. package/dist/composition-api/useRenderSmartButton.d.ts +3 -0
  3. package/dist/mini-app-api.d.ts +4 -1
  4. package/dist/mini-app-js-sdk.browser.js +1 -1
  5. package/dist/mini-app-js-sdk.es.js +1 -1
  6. package/dist/mini-app-js-sdk.min.css +1 -1
  7. package/dist/model/bridge/getAuthStatus.d.ts +3 -0
  8. package/dist/model/bridge/index.d.ts +2 -0
  9. package/dist/model/bridge/makePayment.d.ts +1 -1
  10. package/dist/model/bridge/render.d.ts +2 -0
  11. package/dist/model/bridge/renderLoginButton.d.ts +2 -0
  12. package/dist/model/bridge/renderPayButton.d.ts +2 -0
  13. package/dist/model/makePayment.d.ts +2 -1
  14. package/dist/model/miniAppError.d.ts +7 -3
  15. package/dist/model/miniAppStatus.d.ts +3 -1
  16. package/dist/model/permission.d.ts +1 -0
  17. package/dist/package/action-sheet/index.d.ts +14 -1
  18. package/dist/package/banner-header/index.vue.d.ts +9 -1
  19. package/dist/package/button/index.d.ts +13 -1
  20. package/dist/package/charge-amount-list/index.vue.d.ts +9 -2
  21. package/dist/package/charge-amount-more-list/index.vue.d.ts +2 -0
  22. package/dist/package/date-button/index.vue.d.ts +2 -0
  23. package/dist/package/divider/index.d.ts +3 -0
  24. package/dist/package/header/index.d.ts +14 -3
  25. package/dist/package/input/index.d.ts +31 -2
  26. package/dist/package/lottie/index.d.ts +10 -1
  27. package/dist/package/overlay/index.d.ts +6 -0
  28. package/dist/package/payment-method/Bank.vue.d.ts +3 -0
  29. package/dist/package/payment-method/CreditCard.vue.d.ts +3 -0
  30. package/dist/package/payment-method/SbidBank.vue.d.ts +2 -0
  31. package/dist/package/payment-method/Wallet.vue.d.ts +2 -0
  32. package/dist/package/payment-method/index.d.ts +2 -0
  33. package/dist/package/payment-method-list/index.vue.d.ts +3 -0
  34. package/dist/package/payment-type/Bank.vue.d.ts +3 -0
  35. package/dist/package/payment-type/{CrediCard.vue.d.ts → CreditCard.vue.d.ts} +3 -1
  36. package/dist/package/payment-type/Sbid.vue.d.ts +2 -0
  37. package/dist/package/payment-type/Wallet.vue.d.ts +2 -0
  38. package/dist/package/payment-type/index.d.ts +2 -0
  39. package/dist/package/select-list/Components.d.ts +9 -1
  40. package/dist/package/select-list/index.d.ts +12 -1
  41. package/dist/package/switch/index.d.ts +7 -1
  42. package/dist/types.d.ts +46 -1
  43. package/dist/utils/api.d.ts +5 -0
  44. package/dist/utils/helper.d.ts +7 -0
  45. package/dist/utils/storage.d.ts +4 -0
  46. package/dist/views/email-registration/App.vue.d.ts +11 -3
  47. package/dist/views/email-registration/components/EmailButton.vue.d.ts +9 -1
  48. package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +7 -1
  49. package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +6 -1
  50. package/dist/views/error-sheet/Index.vue.d.ts +13 -4
  51. package/dist/views/get-user-address/App.vue.d.ts +21 -1
  52. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +12 -2
  53. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +6 -1
  54. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +4 -0
  55. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +6 -1
  56. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +23 -4
  57. package/dist/views/get-user-address/Sheet/App.vue.d.ts +29 -3
  58. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +9 -2
  59. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +17 -2
  60. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +28 -3
  61. package/dist/views/get-user-address/hooks/ui-hooks.d.ts +4 -1
  62. package/dist/views/get-user-address/store/root.d.ts +2 -0
  63. package/dist/views/input-address/App.vue.d.ts +6 -2
  64. package/dist/views/make-payment/App.vue.d.ts +29 -1
  65. package/dist/views/make-payment/Main.vue.d.ts +49 -1
  66. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +25 -0
  67. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +5 -1
  68. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +2 -0
  69. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +2 -0
  70. package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +3 -0
  71. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +3 -0
  72. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +3 -0
  73. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +11 -2
  74. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +5 -0
  75. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +8 -1
  76. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +4 -0
  77. package/dist/views/make-payment/Sheets/Consult.vue.d.ts +2 -0
  78. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +6 -1
  79. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +42 -5
  80. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +3 -0
  81. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +7 -0
  82. package/dist/views/make-payment/hooks/app-hooks.d.ts +5 -2
  83. package/dist/views/make-payment/hooks/ui-hooks.d.ts +23 -2
  84. package/dist/views/make-payment/store/root.d.ts +2 -2
  85. package/dist/views/make-payment/store/util-for-handle-error.d.ts +1 -1
  86. package/dist/views/open-app/App.vue.d.ts +6 -1
  87. package/dist/views/open-map/App.vue.d.ts +6 -1
  88. package/dist/views/show-alert/App.vue.d.ts +8 -1
  89. package/dist/views/show-update-warning/App.vue.d.ts +6 -1
  90. package/dist/views/smart-button/App.vue.d.ts +87 -0
  91. package/dist/views/take-photo/App.vue.d.ts +6 -1
  92. package/dist/views/topup/App.vue.d.ts +6 -1
  93. package/dist/views/topup/BannerInfo.vue.d.ts +5 -1
  94. package/dist/views/topup/CashbackInfo.vue.d.ts +8 -1
  95. package/dist/views/topup/TopupCompletion.vue.d.ts +5 -1
  96. package/package.json +21 -21
  97. package/dist/utils/ns.d.ts +0 -5
@@ -1,3 +1,3 @@
1
1
  import { MakePaymentParams } from '../types';
2
- declare const initMakePayment: (initMakePayment: MakePaymentParams) => void;
2
+ declare const initMakePayment: (initMakePayment: MakePaymentParams) => Promise<void>;
3
3
  export { initMakePayment };
@@ -0,0 +1,3 @@
1
+ import { RenderSmartButtonParams, SmartButtonParam } from '../types';
2
+ declare const initSmartButton: (params: RenderSmartButtonParams, data: SmartButtonParam, preferredLanguage: string, isLoggedIn?: boolean) => void;
3
+ export { initSmartButton };
@@ -1,5 +1,5 @@
1
1
  import { JsBridge, JsBridgeModule, NativeParams } from './jsbridge-core';
2
- import { CopyToClipBoardParams, GetDataParams, GetPermissionStatusParams, InitParams, InputAddressParams, MakePaymentParams, MapParams, MiniAppResult, OpenAppParams, OpenWebviewParams, ShowErrorSheetParams, RequestParams, RequestInternalParams, SetDataParams, ShowAlertParams, ShowUpdateWarningParams, TopupParams, TakePhotoParams, ShareParams, GetUserLocationParams, GetBalanceParams, CloseAppParams, GetUserAddressParams, GetKycInformationParams, CheckPaymentMethodParams, SetTitleParams, SetEnablePullDownRefreshParams, RegisterKycParams, StartMultiFactorAuthParams } from './types';
2
+ import { CopyToClipBoardParams, GetDataParams, GetPermissionStatusParams, InitParams, InputAddressParams, MakePaymentParams, MapParams, MiniAppResult, OpenAppParams, OpenWebviewParams, ShowErrorSheetParams, RequestParams, RequestInternalParams, SetDataParams, ShowAlertParams, ShowUpdateWarningParams, TopupParams, TakePhotoParams, ShareParams, GetUserLocationParams, GetBalanceParams, CloseAppParams, GetUserAddressParams, GetKycInformationParams, CheckPaymentMethodParams, SetTitleParams, SetEnablePullDownRefreshParams, RegisterKycParams, StartMultiFactorAuthParams, RenderSmartButtonParams } from './types';
3
3
  export declare class MiniAppModule extends JsBridgeModule {
4
4
  constructor(jsBridge: JsBridge);
5
5
  private detectMode;
@@ -12,7 +12,9 @@ export declare class MiniAppModule extends JsBridgeModule {
12
12
  requestInternal(params: RequestInternalParams): void;
13
13
  getUAID(params: NativeParams<MiniAppResult, unknown, void>): void;
14
14
  getBalance(params: GetBalanceParams): void;
15
+ getAuthStatus(params: NativeParams<MiniAppResult, unknown, void>): void;
15
16
  makePayment(params: MakePaymentParams): void;
17
+ createOrder(params: MakePaymentParams): void;
16
18
  getUserProfile(params: NativeParams<MiniAppResult, unknown, void>): void;
17
19
  topup(params: TopupParams): void;
18
20
  setSessionData(params: SetDataParams): void;
@@ -45,4 +47,5 @@ export declare class MiniAppModule extends JsBridgeModule {
45
47
  startMultiFactorAuth(params: StartMultiFactorAuthParams): void;
46
48
  logout(params: NativeParams<MiniAppResult, unknown, void>): void;
47
49
  verifyMultiFactorAuthResult(params: NativeParams<MiniAppResult, unknown, void>): void;
50
+ render(params: RenderSmartButtonParams): void;
48
51
  }