@tosspayments/tosspayments-sdk 2.3.3 → 2.3.4
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/CHANGELOG.md +11 -0
- package/package.json +3 -3
- package/types/index.d.ts +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.3.4](https://github.com/tosspayments/browser-sdk/compare/@tosspayments/tosspayments-sdk@2.3.3...@tosspayments/tosspayments-sdk@2.3.4) (2024-12-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **tosspayments-sdk:** @tosspayments/standard-public-interfaces 버전업 ([#130](https://github.com/tosspayments/browser-sdk/issues/130)) ([62069d3](https://github.com/tosspayments/browser-sdk/commit/62069d34a798ef8324fe032f59c59933d5dba0d1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.3.3](https://github.com/tosspayments/browser-sdk/compare/@tosspayments/tosspayments-sdk@2.3.2...@tosspayments/tosspayments-sdk@2.3.3) (2024-12-09)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tosspayments/tosspayments-sdk",
|
|
3
3
|
"description": "TossPayments.js Tosspayments SDK.",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.4",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"types": "types/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
22
22
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
23
23
|
"@tosspayments/sdk-loader": "2.0.1",
|
|
24
|
-
"@tosspayments/standard-public-interfaces": "2.0.
|
|
24
|
+
"@tosspayments/standard-public-interfaces": "2.0.45",
|
|
25
25
|
"happy-dom": "^14.12.3",
|
|
26
26
|
"prettier": "^2.0.2",
|
|
27
27
|
"rollup": "^2.60.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "793c235208215386fb73996cbd93250201974f78"
|
|
42
42
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -231,6 +231,15 @@ interface WidgetPaymentRequest {
|
|
|
231
231
|
*/
|
|
232
232
|
quantity?: number | null;
|
|
233
233
|
}> | null;
|
|
234
|
+
/**
|
|
235
|
+
* 현금영수증 정보입니다.
|
|
236
|
+
*/
|
|
237
|
+
cashReceipt?: {
|
|
238
|
+
/**
|
|
239
|
+
* 현금영수증 발급 용도입니다. '소득공제', '지출증빙', '미발행' 중 하나입니다.
|
|
240
|
+
*/
|
|
241
|
+
type: '소득공제' | '지출증빙' | '미발행';
|
|
242
|
+
} | null;
|
|
234
243
|
} | null;
|
|
235
244
|
/**
|
|
236
245
|
* 구매자가 해외간편결제를 선택하면 결제에 적용되는 옵션입니다.
|
|
@@ -1045,11 +1054,11 @@ interface TransferPaymentRequest extends PaymentRequest {
|
|
|
1045
1054
|
*/
|
|
1046
1055
|
taxExemptionAmount?: number | null;
|
|
1047
1056
|
/**
|
|
1048
|
-
*
|
|
1057
|
+
* @ignore
|
|
1049
1058
|
*/
|
|
1050
1059
|
cashReceipt?: {
|
|
1051
1060
|
/**
|
|
1052
|
-
*
|
|
1061
|
+
* @ignore
|
|
1053
1062
|
*/
|
|
1054
1063
|
type: '소득공제' | '지출증빙' | '미발행';
|
|
1055
1064
|
} | null;
|