@poprank/rankings
Advanced tools
Comparing version 1.1.14 to 1.1.15
@@ -230,3 +230,3 @@ "use strict"; | ||
} | ||
// Quintuple Digits | ||
// Quintuple (33333, 44444, etc.) trait | ||
if (digits === 5) { | ||
@@ -246,2 +246,16 @@ var isQuintuple = false; | ||
} | ||
// Hundred (x00), Thousand (x000), Ten Thousand (x0,000) trait | ||
if (id % Math.pow(10, digits - 1) === 0) { | ||
var values = { | ||
3: 'Hundred', | ||
4: 'Thousand', | ||
5: 'Ten Thousand', | ||
}; | ||
outTraits.push({ | ||
value: values[digits], | ||
category: 'Meta', | ||
typeValue: 'Special', | ||
displayType: null, | ||
}); | ||
} | ||
// Square number | ||
@@ -248,0 +262,0 @@ var isSquare = id > 0 && Number.isInteger(Math.sqrt(id)); |
{ | ||
"name": "@poprank/rankings", | ||
"version": "1.1.14", | ||
"version": "1.1.15", | ||
"description": "PopRank's NFT rarity and aesthetic ranking logic", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
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
60458
843