@bootpay/client-js 5.2.0-beta.14 → 5.2.0-beta.16
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/index.mjs +2251 -2193
- package/dist/index.umd.js +49 -49
- package/dist/src/bootpay-widget.d.ts +2 -1
- package/dist/src/lib/template/user-token.d.ts +9 -0
- package/dist/src/support/stores/widget-store.d.ts +1 -1
- package/dist/src/types/bootpay-widget-interface.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExternalBootpaySelectModel, PaymentParametersModel, RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel } from './types/bootpay-widget-interface';
|
|
1
|
+
import { ExternalBootpaySelectModel, PaymentParametersModel, RequestBootpayBrandpayLaunchManager, RequestBootpayWidgetModel, ResponseBootpayWidgetTermsModel } from './types/bootpay-widget-interface';
|
|
2
2
|
import { RequestPaymentModel, RequestSubscriptionModel } from './types/bootpay-interface';
|
|
3
3
|
|
|
4
4
|
export interface BootpayWidgetInterface {
|
|
@@ -7,6 +7,7 @@ export interface BootpayWidgetInterface {
|
|
|
7
7
|
setEnvironmentMode(env: 'development' | 'stage' | 'production', hostname: string | undefined | null): void;
|
|
8
8
|
requestPayment(data: RequestPaymentModel): Promise<any>;
|
|
9
9
|
requestSubscription(data: RequestSubscriptionModel): Promise<any>;
|
|
10
|
+
launchBrandpayManager(data: RequestBootpayBrandpayLaunchManager): void;
|
|
10
11
|
update(data: RequestBootpayWidgetModel, rendering?: boolean): void;
|
|
11
12
|
errorHandler(e: any): any;
|
|
12
13
|
currentTermsCondition(): ResponseBootpayWidgetTermsModel[];
|
|
@@ -2,6 +2,7 @@ import { TemplateManager } from '../../support/template-manager';
|
|
|
2
2
|
import { BootpayUserTokenEventManager } from '../event/user-token';
|
|
3
3
|
import { SessionStorageManager } from '../../support/storage';
|
|
4
4
|
import { BiometricDataModel, RequestPaymentWalletModel } from '../../types/bootpay-sdk-interface';
|
|
5
|
+
import { RequestBootpayBrandpayLaunchManager } from '../../types/bootpay-widget-interface';
|
|
5
6
|
|
|
6
7
|
export declare class UserTokenTemplateManager extends TemplateManager {
|
|
7
8
|
$session: SessionStorageManager;
|
|
@@ -11,6 +12,8 @@ export declare class UserTokenTemplateManager extends TemplateManager {
|
|
|
11
12
|
$userWindowId: string;
|
|
12
13
|
$bootpaySdkFormId: string;
|
|
13
14
|
$event: BootpayUserTokenEventManager;
|
|
15
|
+
$popupInstance: Window | null;
|
|
16
|
+
$popupInstanceWatcher: number;
|
|
14
17
|
deviceType: number;
|
|
15
18
|
constructor();
|
|
16
19
|
/**
|
|
@@ -68,6 +71,12 @@ export declare class UserTokenTemplateManager extends TemplateManager {
|
|
|
68
71
|
* @date: 2022-02-25
|
|
69
72
|
*/
|
|
70
73
|
requestWalletPayment(data: RequestPaymentWalletModel): Promise<unknown>;
|
|
74
|
+
/**
|
|
75
|
+
* Brandpay Manager를 실행한다
|
|
76
|
+
* Comment by GOSOMI
|
|
77
|
+
* @date: 2022-02-16
|
|
78
|
+
*/
|
|
79
|
+
launchBrandpayManager(data: RequestBootpayBrandpayLaunchManager): void;
|
|
71
80
|
/**
|
|
72
81
|
* iFrame src로 이동
|
|
73
82
|
* Comment by GOSOMI
|
|
@@ -4,7 +4,7 @@ import { BootpayStoreManager } from './bootpay-store';
|
|
|
4
4
|
|
|
5
5
|
export declare class WidgetStoreManager extends BootpayStoreManager {
|
|
6
6
|
el: string | undefined;
|
|
7
|
-
data:
|
|
7
|
+
data: RequestBootpayWidgetModel;
|
|
8
8
|
termsPassed: boolean;
|
|
9
9
|
widgetExtra: ExtraModel | undefined;
|
|
10
10
|
widgetType: number;
|
|
@@ -104,4 +104,13 @@ export interface WidgetBrandpayWalletModel {
|
|
|
104
104
|
card_no?: string
|
|
105
105
|
card_type?: number
|
|
106
106
|
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface RequestBootpayBrandpayLaunchManager {
|
|
110
|
+
application_id: string
|
|
111
|
+
widget_key: string
|
|
112
|
+
user_token: string
|
|
113
|
+
sandbox?: boolean
|
|
114
|
+
popup?: boolean
|
|
115
|
+
hooks?: WidgetHookFunction
|
|
107
116
|
}
|