Skip to content

Commit

Permalink
Merge pull request #10 from kleros/feat/volta
Browse files Browse the repository at this point in the history
Feat/volta
  • Loading branch information
salgozino authored Jun 4, 2024
2 parents 37dffcb + 67b552d commit d7feb78
Show file tree
Hide file tree
Showing 4 changed files with 2,509 additions and 412 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ yarn-error.log
.vscode
!.gitkeep
images
db
db
.yarn
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "t2cr-to-ipfs",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pulls token information from the kleros t2cr and publishes them to ipfs following uniswap/token-lists schema.",
"main": "src/index.ts",
"repository": "git+https://github.com/kleros/t2cr-to-ipfs",
Expand Down Expand Up @@ -44,5 +44,9 @@
"lodash": "^4.17.19",
"node-fetch": "^2.6.0",
"sharp": "^0.32.6"
},
"volta": {
"node": "16.20.2",
"yarn": "1.22.22"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function main() {
const imageSharp = sharp(imageBuffer)
const metadata = await imageSharp.metadata()

console.info(`Image metadata:`, metadata)
console.debug(`Image metadata:`, metadata)

if (!metadata.format) {
throw new Error('Unsupported image format')
Expand Down
Loading

0 comments on commit d7feb78

Please sign in to comment.