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

@lykkex/lykke.js

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lykkex/lykke.js - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/bundle/lykke.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.lykke={})}(this,function(e){"use strict";var t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};e.buildDijkstra=function(e,t,r,n){r[e]=0;for(var i=Object.keys(t),o={},f=0;f<i.length;f++){for(var u="",a=0,c=i;a<c.length;a++)n[s=c[a]]||u&&!(r[s]<r[u])||(u=s);if(r[u]===1/0)break;for(var s in n[u]=!0,t[u]){var l=s,d=t[u][s].weight;r[u]+d<r[l]&&(r[l]=r[u]+d,o[l]=u)}}return o},e.formatNumber=function(e){return function(r,n,i){if(i=t({maximumFractionDigits:n,minimumFractionDigits:n},i),!Number.isFinite(r)){if("string"==typeof e)return e;r=e}return function(e){var t=e.search(/0+$/),r=","===e[t-1]||"."===e[t-1]?2:1;return-1!==t?e.slice(0,t+r):e}(r.toLocaleString(void 0,i))}},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.lykke={})}(this,function(e){"use strict";var t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};e.buildDijkstra=function(e,t,r,n){r[e]=0;for(var i=Object.keys(t),o={},f=0;f<i.length;f++){for(var u="",a=0,c=i;a<c.length;a++)n[s=c[a]]||u&&!(r[s]<r[u])||(u=s);if(r[u]===1/0)break;for(var s in n[u]=!0,t[u]){var l=s,d=t[u][s].weight;r[u]+d<r[l]&&(r[l]=r[u]+d,o[l]=u)}}return o},e.formatNumber=function(e){return function(r,n,i){if(i=t({maximumFractionDigits:n,minimumFractionDigits:n},i),!Number.isFinite(r)){if("string"==typeof e)return e;r=e}return function(e){if(-1===e.search(/\.|,/))return e;var t=e.search(/0+$/),r=","===e[t-1]||"."===e[t-1]?2:1;return-1!==t?e.slice(0,t+r):e}(r.toLocaleString(void 0,i))}},Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=lykke.js.map

@@ -10,2 +10,6 @@ var __assign = (this && this.__assign) || Object.assign || function(t) {

export var checkForTrailingZero = function (value) {
var notFractional = value.search(/\.|,/) === -1;
if (notFractional) {
return value;
}
var indexOfZero = value.search(/0+$/);

@@ -12,0 +16,0 @@ var zeroesQuantity = value[indexOfZero - 1] === ',' || value[indexOfZero - 1] === '.' ? 2 : 1;

{
"name": "@lykkex/lykke.js",
"version": "0.2.0",
"version": "0.2.1",
"description": "A TypeScript/Javascript library surrounding Lykke services",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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