@tosspayments/tosspayments-sdk 0.1.1-alpha.3.0 → 2.0.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/dist/index.cjs.js +2 -10
- package/dist/index.esm.js +2 -10
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -226,16 +226,7 @@ function loadScript(src, namespace) {
|
|
|
226
226
|
|
|
227
227
|
function getNamespace(name) {
|
|
228
228
|
return window[name];
|
|
229
|
-
}
|
|
230
|
-
// Test용
|
|
231
|
-
// export function clearCache() {
|
|
232
|
-
// cachedPromise = null;
|
|
233
|
-
// }
|
|
234
|
-
// // Test용
|
|
235
|
-
// export function getCachedPromise() {
|
|
236
|
-
// return cachedPromise;
|
|
237
|
-
// }
|
|
238
|
-
|
|
229
|
+
}
|
|
239
230
|
|
|
240
231
|
var NamespaceNotAvailableError = /*#__PURE__*/function (_Error) {
|
|
241
232
|
_inherits(NamespaceNotAvailableError, _Error);
|
|
@@ -254,6 +245,7 @@ var NamespaceNotAvailableError = /*#__PURE__*/function (_Error) {
|
|
|
254
245
|
|
|
255
246
|
return NamespaceNotAvailableError;
|
|
256
247
|
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
248
|
+
|
|
257
249
|
var ScriptLoadFailedError = /*#__PURE__*/function (_Error2) {
|
|
258
250
|
_inherits(ScriptLoadFailedError, _Error2);
|
|
259
251
|
|
package/dist/index.esm.js
CHANGED
|
@@ -222,16 +222,7 @@ function loadScript(src, namespace) {
|
|
|
222
222
|
|
|
223
223
|
function getNamespace(name) {
|
|
224
224
|
return window[name];
|
|
225
|
-
}
|
|
226
|
-
// Test용
|
|
227
|
-
// export function clearCache() {
|
|
228
|
-
// cachedPromise = null;
|
|
229
|
-
// }
|
|
230
|
-
// // Test용
|
|
231
|
-
// export function getCachedPromise() {
|
|
232
|
-
// return cachedPromise;
|
|
233
|
-
// }
|
|
234
|
-
|
|
225
|
+
}
|
|
235
226
|
|
|
236
227
|
var NamespaceNotAvailableError = /*#__PURE__*/function (_Error) {
|
|
237
228
|
_inherits(NamespaceNotAvailableError, _Error);
|
|
@@ -250,6 +241,7 @@ var NamespaceNotAvailableError = /*#__PURE__*/function (_Error) {
|
|
|
250
241
|
|
|
251
242
|
return NamespaceNotAvailableError;
|
|
252
243
|
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
244
|
+
|
|
253
245
|
var ScriptLoadFailedError = /*#__PURE__*/function (_Error2) {
|
|
254
246
|
_inherits(ScriptLoadFailedError, _Error2);
|
|
255
247
|
|
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": "0.
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"types": "types/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
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": "
|
|
24
|
-
"@tosspayments/standard-public-interfaces": "2.0.0
|
|
23
|
+
"@tosspayments/sdk-loader": "2.0.0",
|
|
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",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "3b92018d70af028b11f55a9e03f771ceb5bd9dab"
|
|
41
41
|
}
|