@glif/filecoin-number
Advanced tools
Comparing version 2.0.62 to 2.0.63
@@ -35,2 +35,6 @@ /// <reference types="node" /> | ||
/** | ||
* Checks whether the unit is the default unit | ||
*/ | ||
get isDefaultUnit(): boolean; | ||
/** | ||
* Returns the denominator specific unit (omits 't' if adding other prefix) | ||
@@ -37,0 +41,0 @@ */ |
@@ -338,2 +338,11 @@ "use strict"; | ||
} | ||
/** | ||
* Checks whether the unit is the default unit | ||
*/ | ||
}, { | ||
key: "isDefaultUnit", | ||
get: function get() { | ||
return this._unit === FilecoinNumber.DefaultUnit; | ||
} | ||
}], [{ | ||
@@ -340,0 +349,0 @@ key: "isFilecoinNumber", |
@@ -322,2 +322,11 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
} | ||
/** | ||
* Checks whether the unit is the default unit | ||
*/ | ||
}, { | ||
key: "isDefaultUnit", | ||
get: function get() { | ||
return this._unit === FilecoinNumber.DefaultUnit; | ||
} | ||
}], [{ | ||
@@ -324,0 +333,0 @@ key: "isFilecoinNumber", |
@@ -88,2 +88,10 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
/** | ||
* Checks whether the unit is the default unit | ||
*/ | ||
get isDefaultUnit() { | ||
return this._unit === FilecoinNumber.DefaultUnit; | ||
} | ||
/** | ||
* Returns the denominator specific unit (omits 't' if adding other prefix) | ||
@@ -90,0 +98,0 @@ */ |
{ | ||
"name": "@glif/filecoin-number", | ||
"version": "2.0.62", | ||
"version": "2.0.63", | ||
"description": "a javascript package to handle Filecoin numbers like Fil and AttoFil", | ||
@@ -50,3 +50,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "7747cb9057a40d1590869142e25a2270699f1c39" | ||
"gitHead": "440144735f715f645d2b3d730d588fad75586f8e" | ||
} |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152863
1388