@bootpay/client-js 5.2.3 → 5.2.5-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.
@@ -8,7 +8,11 @@ interface BootpaySdkInterface {
8
8
  setLogLevel(level: number): void;
9
9
  setUUID(uuid: string): void;
10
10
  setDevice(deviceType: string): number;
11
- requestPasswordToken(userToken: string): Promise<string>;
11
+ requestPasswordTokenLegacy(userToken: string): Promise<string>;
12
+ requestPasswordToken(data: {
13
+ application_id: string;
14
+ user_token: string;
15
+ }): Promise<string>;
12
16
  requestChangePassword(userToken: string): Promise<string>;
13
17
  requestAddCard(userToken: string): Promise<any>;
14
18
  wallets(userToken: string): Promise<any>;
@@ -0,0 +1,7 @@
1
+ import { BootpayWindowEvent } from '../../vendor/mixins/event';
2
+
3
+ declare class BootpaySdkEventManager extends BootpayWindowEvent {
4
+ constructor();
5
+ }
6
+ export declare const BootpaySdkEvent: BootpaySdkEventManager;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const BootpaySdkEvents: {
2
+ externalPasswordResponse: (data: any) => void;
3
+ resize: (data: {
4
+ width: string;
5
+ height: string;
6
+ }) => void;
7
+ };
@@ -41,6 +41,10 @@ export declare class UserTokenTemplateManager extends TemplateManager {
41
41
  * @date: 2022-02-16
42
42
  */
43
43
  request(requestType: string, userToken: string): Promise<string>;
44
+ requestTokenFromSDK({ application_id, user_token }: {
45
+ application_id: any;
46
+ user_token: any;
47
+ }): Promise<string>;
44
48
  /**
45
49
  * 카드 추가 SDK
46
50
  * Comment by GOSOMI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bootpay/client-js",
3
- "version": "5.2.3",
3
+ "version": "5.2.5-beta.1",
4
4
  "main": "dist/index.mjs",
5
5
  "exports": {
6
6
  ".": {