@bootpay/client-js 5.2.0-beta.1 → 5.2.0-beta.11

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 (52) hide show
  1. package/README.md +1 -0
  2. package/dist/{index.es.js → index.js} +3851 -2706
  3. package/dist/index.umd.cjs +137 -0
  4. package/dist/src/bootpay-environment.d.ts +2 -1
  5. package/dist/src/bootpay-es5.d.ts +2 -1
  6. package/dist/src/bootpay-sdk.d.ts +3 -2
  7. package/dist/src/bootpay-widget.d.ts +3 -2
  8. package/dist/src/bootpay.d.ts +5 -4
  9. package/dist/src/index.d.ts +9 -12
  10. package/dist/src/lib/analytics.d.ts +4 -3
  11. package/dist/src/lib/bootpay-store.d.ts +2 -1
  12. package/dist/src/lib/bootpay-widget.d.ts +4 -3
  13. package/dist/src/lib/bootpay.d.ts +5 -4
  14. package/dist/src/lib/event/hooks/widget/message.d.ts +10 -5
  15. package/dist/src/lib/event/payment.d.ts +3 -2
  16. package/dist/src/lib/event/polling.d.ts +3 -2
  17. package/dist/src/lib/event/store.d.ts +2 -1
  18. package/dist/src/lib/event/user-token.d.ts +2 -1
  19. package/dist/src/lib/event/widget.d.ts +2 -1
  20. package/dist/src/lib/locale/message.d.ts +1 -1
  21. package/dist/src/lib/template/{oopay.d.ts → brandpay.d.ts} +9 -5
  22. package/dist/src/lib/template/confirm-modal.d.ts +3 -2
  23. package/dist/src/lib/template/modal.d.ts +3 -2
  24. package/dist/src/lib/template/payment.d.ts +4 -3
  25. package/dist/src/lib/template/store.d.ts +3 -2
  26. package/dist/src/lib/template/user-token.d.ts +5 -4
  27. package/dist/src/lib/template/widget.d.ts +3 -2
  28. package/dist/src/support/alfred-progress/index.d.ts +2 -1
  29. package/dist/src/support/event-logger.d.ts +3 -2
  30. package/dist/src/support/event.d.ts +2 -1
  31. package/dist/src/support/ex-store.d.ts +3 -2
  32. package/dist/src/support/resource.d.ts +2 -1
  33. package/dist/src/support/storage.d.ts +2 -1
  34. package/dist/src/support/stores/widget-store.d.ts +4 -3
  35. package/dist/src/support/template-manager.d.ts +9 -2
  36. package/dist/src/support/widget-store.d.ts +3 -2
  37. package/dist/src/types/bootpay-ex-interface.d.ts +53 -0
  38. package/dist/src/types/bootpay-interface.d.ts +298 -0
  39. package/dist/src/types/bootpay-sdk-interface.d.ts +16 -0
  40. package/dist/src/types/bootpay-widget-interface.d.ts +106 -0
  41. package/package.json +15 -4
  42. package/tsconfig.json +11 -2
  43. package/vite.config.ts +8 -9
  44. package/dist/index.umd.js +0 -137
  45. package/dist/package.json.d.ts +0 -56
  46. package/dist/src/bootpay-wallet.d.ts +0 -15
  47. package/dist/src/lib/bootpay-wallet.d.ts +0 -7
  48. package/dist/src/lib/event/hooks/wallet/message.d.ts +0 -24
  49. package/dist/src/lib/event/wallet.d.ts +0 -6
  50. package/dist/src/lib/template/wallet.d.ts +0 -15
  51. package/dist/src/support/stores/wallet-store.d.ts +0 -11
  52. package/dist/vite.config.d.ts +0 -2
@@ -1,15 +0,0 @@
1
- import { RequestPaymentWalletModel } from './models/bootpay-wallet-interface';
2
- declare global {
3
- interface Window {
4
- BootpayWallet: BootpayWalletInterface;
5
- }
6
- }
7
- export interface BootpayWalletInterface {
8
- render(el: string, data: RequestPaymentWalletModel): void;
9
- rerender(): void;
10
- setEnvironmentMode(env: 'development' | 'stage' | 'production', hostname: string | undefined | null): void;
11
- isRendered(): boolean;
12
- synchronizedFromBootpay(data: any): void;
13
- }
14
- declare const BootpayWallet: BootpayWalletInterface;
15
- export default BootpayWallet;
@@ -1,7 +0,0 @@
1
- import { BootpayManager } from '../support/bootpay-manager';
2
- import { RequestPaymentWalletModel } from '../models/bootpay-wallet-interface';
3
- export declare class BootpayWalletWindowManger extends BootpayManager {
4
- constructor();
5
- render(el: string, data: RequestPaymentWalletModel): void;
6
- }
7
- export declare const BootpayWalletWindow: BootpayWalletWindowManger;
@@ -1,24 +0,0 @@
1
- export declare const WalletWindowMessage: {
2
- resize: (data: ExResizeData) => void;
3
- showModal: (data: {
4
- url: string;
5
- }) => void;
6
- resizeModal: (data: ExResizeData) => void;
7
- closeModal: () => void;
8
- confirmModal: (data: {
9
- message: string;
10
- title: string;
11
- confirmButtonText: string;
12
- cancelButtonText: string;
13
- confirm: boolean;
14
- }) => void;
15
- /**
16
- * 결제수단정보 추가가 완료된 경우
17
- * Comment by GOSOMI
18
- * @date: 2025-01-17
19
- */
20
- addedSuccess: (data: any) => void;
21
- synchronize: (data: any) => void;
22
- onReady: (data: any) => void;
23
- onChange: (data: any) => void;
24
- };
@@ -1,6 +0,0 @@
1
- import { BootpayWindowEvent } from '../../support/event';
2
- declare class BootpayWalletEventManager extends BootpayWindowEvent {
3
- constructor();
4
- }
5
- export declare const BootpayWalletEvent: BootpayWalletEventManager;
6
- export {};
@@ -1,15 +0,0 @@
1
- import { TemplateManager } from '../../support/template-manager';
2
- import { WalletStoreManager } from '../../support/stores/wallet-store';
3
- declare class TemplateWalletManager extends TemplateManager {
4
- el: string;
5
- $template: string;
6
- $walletStore: WalletStoreManager;
7
- $iFrameId: string;
8
- constructor();
9
- render(el: string): void;
10
- templateRender(): void;
11
- destroy(): void;
12
- resize(resizeData: any): void;
13
- }
14
- export declare const BootpayWalletTemplate: TemplateWalletManager;
15
- export {};
@@ -1,11 +0,0 @@
1
- import { BootpayStoreManager } from './bootpay-store';
2
- import { RequestPaymentWalletModel } from '../../models/bootpay-wallet-interface';
3
- export declare class WalletStoreManager extends BootpayStoreManager {
4
- data: RequestPaymentWalletModel;
5
- constructor();
6
- encryptKey(): string;
7
- set(data: RequestPaymentWalletModel): void;
8
- callHook(name: string, data: any): void;
9
- encryptParameters(): string;
10
- }
11
- export declare const WalletStore: WalletStoreManager;
@@ -1,2 +0,0 @@
1
- declare const _default: import("vite").UserConfig;
2
- export default _default;