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

@depay/local-currency

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depay/local-currency - npm Package Compare versions

Comparing version 3.5.2 to 3.5.3

2

dist/esm/index.js

@@ -448,3 +448,3 @@ var timezoneToCurrency = {

let currency = new Currency({ amount, code, timeZone });
let rate = await fetch('https://public.depay.fi/currencies/' + currency.code)
let rate = await fetch('https://public.depay.com/currencies/' + currency.code)
.then((response) => response.json())

@@ -451,0 +451,0 @@ .then((data) => parseFloat(data))

@@ -454,3 +454,3 @@ (function (global, factory) {

let currency = new Currency({ amount, code, timeZone });
let rate = await fetch('https://public.depay.fi/currencies/' + currency.code)
let rate = await fetch('https://public.depay.com/currencies/' + currency.code)
.then((response) => response.json())

@@ -457,0 +457,0 @@ .then((data) => parseFloat(data))

{
"name": "@depay/local-currency",
"moduleName": "LocalCurrency",
"version": "3.5.2",
"version": "3.5.3",
"description": "JavaScript library that detects user's local currency and provides functionalities to convert between multiple currencies.",

@@ -27,3 +27,3 @@ "main": "dist/umd/index.js",

],
"author": "depay.fi",
"author": "depay.com",
"license": "MIT",

@@ -30,0 +30,0 @@ "bugs": {

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