Socket
Socket
Sign inDemoInstall

bigval

Package Overview
Dependencies
1
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.6.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.6.0](https://github.com/hiddentao/bigval/compare/v1.5.0...v1.6.0) (2023-11-06)
### Features
* add decimals getter ([9b3fbb0](https://github.com/hiddentao/bigval/commit/9b3fbb06d0fe9346437a37ced08a92899cc6ec96))
# [1.5.0](https://github.com/hiddentao/bigval/compare/v1.4.0...v1.5.0) (2022-03-02)

@@ -2,0 +9,0 @@

4

dist/cjs/index.d.ts

@@ -123,2 +123,6 @@ import { Decimal } from 'decimal.js';

/**
* Get no. of decimal places.
*/
get decimals(): number;
/**
* Round to the nearest whole number.

@@ -125,0 +129,0 @@ */

@@ -137,2 +137,8 @@ "use strict";

/**
* Get no. of decimal places.
*/
get decimals() {
return this._n.decimalPlaces();
}
/**
* Round to the nearest whole number.

@@ -139,0 +145,0 @@ */

@@ -123,2 +123,6 @@ import { Decimal } from 'decimal.js';

/**
* Get no. of decimal places.
*/
get decimals(): number;
/**
* Round to the nearest whole number.

@@ -125,0 +129,0 @@ */

@@ -133,2 +133,8 @@ import { Decimal } from 'decimal.js';

/**
* Get no. of decimal places.
*/
get decimals() {
return this._n.decimalPlaces();
}
/**
* Round to the nearest whole number.

@@ -135,0 +141,0 @@ */

2

package.json
{
"name": "bigval",
"version": "1.5.0",
"version": "1.6.0",
"description": "Easier calculation and formatting of crypto values with decimals. Useful for smart contract interaction.",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc