@tosspayments/tosspayments-sdk 2.0.0 → 2.2.0

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 ADDED
@@ -0,0 +1,33 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [2.2.0](https://github.com/tosspayments/browser-sdk/compare/@tosspayments/tosspayments-sdk@2.1.0...@tosspayments/tosspayments-sdk@2.2.0) (2024-07-03)
7
+
8
+
9
+ ### Features
10
+
11
+ * ANONYMOUS 상수 함께 내보내기 ([#115](https://github.com/tosspayments/browser-sdk/issues/115)) ([3a6c7b3](https://github.com/tosspayments/browser-sdk/commit/3a6c7b37decc5b7c912430342206eb2c098c868c))
12
+
13
+
14
+
15
+
16
+
17
+ # [2.1.0](https://github.com/tosspayments/browser-sdk/compare/@tosspayments/tosspayments-sdk@2.0.0...@tosspayments/tosspayments-sdk@2.1.0) (2024-07-02)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **@tosspayments-sdk:** 사용하는 측에서 타입 추론이 안 되는 이슈를 수정합니다 ([#105](https://github.com/tosspayments/browser-sdk/issues/105)) ([7625469](https://github.com/tosspayments/browser-sdk/commit/762546989c7f39b83d5344349f60dbb8be2339e5))
23
+
24
+
25
+ ### Features
26
+
27
+ * **tosspayment-sdk:** SDK 타입들을 번들링해 내보냅니다 ([#106](https://github.com/tosspayments/browser-sdk/issues/106)) ([f975cb8](https://github.com/tosspayments/browser-sdk/commit/f975cb889dcc2f9cdda31c78ac5eff2fa48b5279))
28
+
29
+
30
+ ### Reverts
31
+
32
+ * Revert "chore(release): publish [skip ci]" (#110) ([8d16f50](https://github.com/tosspayments/browser-sdk/commit/8d16f50254ed7d4b23bd8af73d33b487b7607983)), closes [#110](https://github.com/tosspayments/browser-sdk/issues/110)
33
+ * Revert "chore(release): publish [skip ci]" (#108) ([e513618](https://github.com/tosspayments/browser-sdk/commit/e513618478149495a586518318565201461fc74e)), closes [#108](https://github.com/tosspayments/browser-sdk/issues/108)
package/dist/index.cjs.js CHANGED
@@ -280,5 +280,8 @@ function loadTossPayments(clientKey) {
280
280
  });
281
281
  }
282
282
 
283
+ var ANONYMOUS = '@@ANONYMOUS';
284
+
285
+ exports.ANONYMOUS = ANONYMOUS;
283
286
  exports.clearTossPayments = clearTossPayments;
284
287
  exports.loadTossPayments = loadTossPayments;
package/dist/index.esm.js CHANGED
@@ -276,4 +276,6 @@ function loadTossPayments(clientKey) {
276
276
  });
277
277
  }
278
278
 
279
- export { clearTossPayments, loadTossPayments };
279
+ var ANONYMOUS = '@@ANONYMOUS';
280
+
281
+ export { ANONYMOUS, clearTossPayments, loadTossPayments };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tosspayments/tosspayments-sdk",
3
3
  "description": "TossPayments.js Tosspayments SDK.",
4
- "version": "2.0.0",
4
+ "version": "2.2.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "types/index.d.ts",
8
8
  "author": "Toss Payments",
9
9
  "scripts": {
10
- "build": "rm -rf dist && rollup -c && tsc --emitDeclarationOnly --declaration --declarationDir types",
10
+ "build": "rm -rf dist && rollup -c",
11
11
  "prepack": "yarn build",
12
12
  "test": "vitest",
13
13
  "typecheck": "tsc --noEmit"
@@ -20,12 +20,13 @@
20
20
  "@rollup/plugin-babel": "^5.3.0",
21
21
  "@rollup/plugin-commonjs": "^21.0.1",
22
22
  "@rollup/plugin-typescript": "^8.3.0",
23
- "@tosspayments/sdk-loader": "2.0.0",
24
- "@tosspayments/standard-public-interfaces": "2.0.0",
23
+ "@tosspayments/sdk-loader": "2.0.1",
24
+ "@tosspayments/standard-public-interfaces": "^2.0.0",
25
25
  "happy-dom": "^14.12.3",
26
26
  "prettier": "^2.0.2",
27
27
  "rollup": "^2.60.0",
28
28
  "rollup-plugin-babel": "^4.4.0",
29
+ "rollup-plugin-dts": "^6.1.1",
29
30
  "tslib": "^1.11.1",
30
31
  "typescript": "5.2.2",
31
32
  "vitest": "^1.6.0"
@@ -37,5 +38,5 @@
37
38
  "publishConfig": {
38
39
  "access": "public"
39
40
  },
40
- "gitHead": "3b92018d70af028b11f55a9e03f771ceb5bd9dab"
41
+ "gitHead": "a07117f1b6f50632b6c7ce46931becddb1cbe69e"
41
42
  }