@bootpay/client-js 5.2.1 → 5.2.3-beta.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.
@@ -23,6 +23,7 @@ export interface BootpayWidgetInterface {
23
23
  currentPaymentParameters(): PaymentParametersModel;
24
24
  isWidgetTypeSubscription(): boolean;
25
25
  isWidgetTypePayment(): boolean;
26
+ getBrandpayLaunchManagerUrl(data: RequestBootpayBrandpayLaunchManager): string;
26
27
  }
27
28
  declare global {
28
29
  interface Window {
@@ -13,7 +13,7 @@ export interface BootpayInterface {
13
13
  requestPaymentUrl(data: RequestPaymentUrlModel): Promise<any>;
14
14
  confirm(): Promise<any>;
15
15
  errorHandler(data: any): any;
16
- setEnvironmentMode(env: 'development' | 'stage' | 'production', hostname: string | undefined | null): void;
16
+ setEnvironmentMode(env: 'development' | 'stage' | 'production', hostname?: string | undefined | null): void;
17
17
  setApplicationId(applicationId: string | undefined): string | undefined;
18
18
  setVersion(sdkVersion: string, name: string, packageVersion: string): void;
19
19
  setLogLevel(level: number): void;
@@ -20,6 +20,7 @@ export declare class WidgetStoreManager extends BootpayCommerceManager {
20
20
  */
21
21
  getExtra(externalExtra?: ExtraModel | undefined): ExtraModel;
22
22
  getRequestPaymentData(data?: RequestPaymentModel | RequestSubscriptionModel): RequestPaymentModel | RequestSubscriptionModel;
23
+ getManagerUrl(): string;
23
24
  /**
24
25
  * 숫자 타입 필드들을 업데이트하는 헬퍼 메서드
25
26
  * Comment by GOSOMI
@@ -70,8 +70,8 @@ export interface RequestAuthenticationModel {
70
70
  sk?: string
71
71
  ti?: number
72
72
  tk?: string
73
- user: UserModel
74
- extra: ExtraModel
73
+ user?: UserModel
74
+ extra?: ExtraModel
75
75
  }
76
76
 
77
77
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bootpay/client-js",
3
- "version": "5.2.1",
3
+ "version": "5.2.3-beta.1",
4
4
  "main": "dist/index.mjs",
5
5
  "exports": {
6
6
  ".": {