@bootpay/client-js 5.2.0-beta.10 → 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.
- package/dist/{index.mjs → index.js} +652 -658
- package/dist/{index.umd.js → index.umd.cjs} +12 -12
- package/dist/src/support/bootpay-manager.d.ts +2 -2
- package/dist/src/support/ex-store.d.ts +1 -1
- package/dist/src/support/stores/bootpay-store.d.ts +2 -2
- package/dist/src/support/stores/widget-store.d.ts +1 -1
- package/package.json +6 -7
- package/tsconfig.json +8 -5
- package/vite.config.ts +1 -2
|
@@ -3,7 +3,7 @@ export declare class BootpayManager {
|
|
|
3
3
|
$present(value: any): boolean;
|
|
4
4
|
$type(value: any, type: string): boolean;
|
|
5
5
|
$uuid(): string;
|
|
6
|
-
$encrypt(data: any):
|
|
7
|
-
$decrypt(payload: string):
|
|
6
|
+
$encrypt(data: any): string;
|
|
7
|
+
$decrypt(payload: string): string;
|
|
8
8
|
getUserAgent(): string;
|
|
9
9
|
}
|
|
@@ -7,7 +7,7 @@ export declare class ExStoreManager extends BootpayStoreManager {
|
|
|
7
7
|
constructor();
|
|
8
8
|
setExData(el: string, data: RequestExModel): void;
|
|
9
9
|
encryptParameters(): string;
|
|
10
|
-
encryptKey():
|
|
10
|
+
encryptKey(): string;
|
|
11
11
|
currentBootpayStoreParameters(): string;
|
|
12
12
|
}
|
|
13
13
|
export declare const ExStore: ExStoreManager;
|
|
@@ -12,7 +12,7 @@ export declare class WidgetStoreManager extends BootpayStoreManager {
|
|
|
12
12
|
setPayment(pg: string | undefined, method: string | undefined, wallet_id: string | undefined, terms: boolean, select_terms: ResponseBootpayWidgetTermsModel[], extra: ExtraModel): void;
|
|
13
13
|
updateOnProcessing(data: WidgetStoreData): void;
|
|
14
14
|
encryptParameters(): string;
|
|
15
|
-
encryptKey():
|
|
15
|
+
encryptKey(): string;
|
|
16
16
|
/**
|
|
17
17
|
* 결제 요청시 가져올 extra 값
|
|
18
18
|
* Comment by GOSOMI
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bootpay/client-js",
|
|
3
|
-
"version": "5.2.0-beta.
|
|
4
|
-
"main": "dist/index.
|
|
3
|
+
"version": "5.2.0-beta.11",
|
|
4
|
+
"main": "dist/index.mjs",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"exports": {
|
|
6
7
|
".": {
|
|
7
|
-
"import": "./dist/index.
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
"./package.json": "./package.json"
|
|
8
|
+
"import": "./dist/index.js",
|
|
9
|
+
"types": "./dist/src/index.d.ts"
|
|
10
|
+
}
|
|
12
11
|
},
|
|
13
12
|
"styles": "dist/index.css",
|
|
14
13
|
"scripts": {
|
package/tsconfig.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "esnext",
|
|
4
|
-
"module": "esnext",
|
|
5
4
|
"sourceMap": false,
|
|
6
5
|
"lib": [
|
|
7
6
|
"esnext",
|
|
8
7
|
"dom"
|
|
9
8
|
],
|
|
10
|
-
"
|
|
9
|
+
"module": "commonjs",
|
|
10
|
+
"moduleResolution": "node",
|
|
11
11
|
"allowSyntheticDefaultImports": true,
|
|
12
12
|
"resolveJsonModule": true,
|
|
13
13
|
"esModuleInterop": true,
|
|
@@ -24,13 +24,16 @@
|
|
|
24
24
|
"../node_modules/*",
|
|
25
25
|
"./*"
|
|
26
26
|
]
|
|
27
|
-
}
|
|
27
|
+
},
|
|
28
|
+
"types": [
|
|
29
|
+
"./src/types/*.d.ts"
|
|
30
|
+
]
|
|
28
31
|
},
|
|
29
32
|
"include": [
|
|
30
33
|
"src/**/*.ts",
|
|
31
|
-
"src/**/*.d.ts",
|
|
32
34
|
"src/**/*.js",
|
|
33
|
-
"src/**/*.json"
|
|
35
|
+
"src/**/*.json",
|
|
36
|
+
"src/**/*.vue"
|
|
34
37
|
],
|
|
35
38
|
"exclude": [
|
|
36
39
|
"**/*.spec.ts",
|
package/vite.config.ts
CHANGED