Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

@tosspayments/payment-sdk

Package Overview
Dependencies
Maintainers
47
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tosspayments/payment-sdk - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

11

CHANGELOG.md

@@ -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);

8

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc