@xylabs/eth-address
Advanced tools
Comparing version 3.6.7 to 3.6.8
@@ -44,9 +44,9 @@ { | ||
"dependencies": { | ||
"@xylabs/assert": "^3.6.7", | ||
"@xylabs/assert": "^3.6.8", | ||
"ethers": "^6.13.2" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.15.4", | ||
"@xylabs/tsconfig": "^3.15.4", | ||
"@xylabs/tsconfig-jest": "^3.15.4", | ||
"@xylabs/ts-scripts-yarn3": "^3.15.5", | ||
"@xylabs/tsconfig": "^3.15.5", | ||
"@xylabs/tsconfig-jest": "^3.15.5", | ||
"typescript": "^5.5.4" | ||
@@ -65,4 +65,4 @@ }, | ||
"sideEffects": false, | ||
"version": "3.6.7", | ||
"version": "3.6.8", | ||
"type": "module" | ||
} |
export const ellipsize = (value: string, length = 2) => { | ||
const part1 = value.slice(0, length) | ||
const part2 = value.slice(value.length - length, value.length) | ||
const part2 = value.slice(value.length - length) | ||
return `${part1}...${part2}` | ||
} |
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
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
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
75800
Updated@xylabs/assert@^3.6.8