@tosspayments/payment-sdk
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.7.1](https://github.com/tosspayments/browser-sdk/compare/@tosspayments/payment-sdk@1.7.0...@tosspayments/payment-sdk@1.7.1) (2024-03-26) | ||
### Bug Fixes | ||
* **payment-sdk:** κ³μ’μ΄μ²΄ νλΌλ―Έν° μΆκ° ([#93](https://github.com/tosspayments/browser-sdk/issues/93)) ([c007819](https://github.com/tosspayments/browser-sdk/commit/c0078196e7b17bb51477385224b7374448eeb7c6)) | ||
# [1.7.0](https://github.com/tosspayments/browser-sdk/compare/@tosspayments/payment-sdk@1.6.6...@tosspayments/payment-sdk@1.7.0) (2023-11-29) | ||
@@ -8,0 +19,0 @@ |
@@ -7,2 +7,3 @@ 'use strict'; | ||
function loadScript(src, namespace) { | ||
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
var existingElement = document.querySelector("[src=\"".concat(src, "\"]")); | ||
@@ -20,2 +21,7 @@ | ||
script.src = src; | ||
if (options.priority !== undefined) { | ||
script.fetchPriority = options.priority; | ||
} | ||
cachedPromise = new Promise(function (resolve, reject) { | ||
@@ -22,0 +28,0 @@ document.head.appendChild(script); |
var cachedPromise; | ||
function loadScript(src, namespace) { | ||
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
var existingElement = document.querySelector("[src=\"".concat(src, "\"]")); | ||
@@ -15,2 +16,7 @@ | ||
script.src = src; | ||
if (options.priority !== undefined) { | ||
script.fetchPriority = options.priority; | ||
} | ||
cachedPromise = new Promise(function (resolve, reject) { | ||
@@ -17,0 +23,0 @@ document.head.appendChild(script); |
{ | ||
"name": "@tosspayments/payment-sdk", | ||
"description": "TossPayments.js Payment SDK", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"main": "dist/tosspayments.cjs.js", | ||
@@ -23,3 +23,3 @@ "module": "dist/tosspayments.esm.js", | ||
"@rollup/plugin-typescript": "^8.3.0", | ||
"@tosspayments/sdk-loader": "1.1.0", | ||
"@tosspayments/sdk-loader": "1.2.0", | ||
"@types/jest": "^27.0.0", | ||
@@ -39,3 +39,3 @@ "jest": "^27.0.7", | ||
"dependencies": { | ||
"@tosspayments/payment__types": "1.67.0" | ||
"@tosspayments/payment__types": "1.67.2" | ||
}, | ||
@@ -45,3 +45,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "cea306c28d20f226c731cbd7e0a2d81df3427ce3" | ||
"gitHead": "b7be19fe91d7c28e5b088b6ccee2ed4ae15de6da" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19066
134
+ Added@tosspayments/payment__types@1.67.2(transitive)
- Removed@tosspayments/payment__types@1.67.0(transitive)