Irys-xyz / arweave-js-sdk

JS SDK for Irys on Arweave
110 stars 95 forks source link

"^0.10.5" When uploading, garbage values are included at the end. #79

Closed donghwan2019 closed 1 year ago

donghwan2019 commented 1 year ago

Hi there

There is an issue when using bundlr.upload to upload metadata

let response = await bundlr.upload(JSON.stringify(metadata, null, 2)); let tokenURI = "https://arweave.net/" + response.id; console.log(Metadata uploaded ==> ${tokenURI});

cat file { "name": "name #1", "description": "Description metadata", "image": "https://arweave.net/t0i_Cg4lFTz7_AsIRAiqOEQJJe80KwW26J3-07dsSKE" }%

When viewing the file with cat, there are garbage values at the end. However, it is fine when uploading the file.

JesseTheRobot commented 1 year ago

Hey @donghwan2019 , are you using content-type tags to make sure your content is rendered correctly? additionally, can you please provide me with some sample IDs & input files so I can take a look into what's going on

JesseTheRobot commented 1 year ago

Closed as stale