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

@coinmasters/helpers

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coinmasters/helpers - npm Package Compare versions

Comparing version 11.0.23 to 11.0.24

8

dist/index.es.js

@@ -665,4 +665,8 @@ var be = Object.defineProperty;

console.log("toMultiplier input decimal:", r);
const e = 10n ** BigInt(r);
return console.log("toMultiplier result:", e), e;
try {
const e = 10n ** BigInt(r);
return console.log("toMultiplier result:", e), e;
} catch (e) {
return console.error("Error in toMultiplier:", e), 10n ** 0n;
}
}, I = (r) => Math.log10(parseFloat(r.toString()));

@@ -669,0 +673,0 @@ function H({

@@ -11,5 +11,5 @@ {

"vitest": "0.34.6",
"@coinmasters/tokens": "3.7.23",
"@internal/config": "2.7.23",
"@coinmasters/types": "4.7.23"
"@internal/config": "2.7.24",
"@coinmasters/tokens": "3.7.24",
"@coinmasters/types": "4.7.24"
},

@@ -20,4 +20,4 @@ "eslintConfig": {

"peerDependencies": {
"@coinmasters/types": "4.7.23",
"@coinmasters/tokens": "3.7.23"
"@coinmasters/tokens": "3.7.24",
"@coinmasters/types": "4.7.24"
},

@@ -47,3 +47,3 @@ "exports": {

"types": "./dist/index.d.ts",
"version": "11.0.23",
"version": "11.0.24",
"scripts": {

@@ -50,0 +50,0 @@ "build": "vite build",

@@ -19,5 +19,10 @@ import { BaseDecimal } from '@coinmasters/types';

console.log('toMultiplier input decimal:', decimal);
const result = 10n ** BigInt(decimal);
console.log('toMultiplier result:', result);
return result;
try {
const result = 10n ** BigInt(decimal);
console.log('toMultiplier result:', result);
return result;
} catch (error) {
console.error('Error in toMultiplier:', error);
return 10n ** 0n;
}
};

@@ -24,0 +29,0 @@ // const toMultiplier = (decimal: number) => 10n ** BigInt(decimal);

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