Skip to content

Commit

Permalink
chore(release): 0.2.3 [skip ci]
Browse files Browse the repository at this point in the history
## [0.2.3](v0.2.2...v0.2.3) (2023-11-23)

### Bug Fixes

* add svg content type ([843f505](843f505))
* handle empty responses ([a73d216](a73d216))
  • Loading branch information
semantic-release-bot committed Nov 23, 2023
1 parent 843f505 commit ba30323
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73658,7 +73658,7 @@ async function buildManifest (files, buildDir, signer) {
}

;// CONCATENATED MODULE: ./src/utils/getContentTypeByExtension.js
function getContentTypeByExtension (ext) {
function getContentTypeByExtension(ext) {
switch (ext.toLowerCase()) {
case '.html':
return 'text/html'
Expand All @@ -73681,6 +73681,8 @@ function getContentTypeByExtension (ext) {
return 'image/jpeg'
case '.gif':
return 'image/gif'
case '.svg':
return 'application/svg+xml'
default:
return 'application/octet-stream' // default to binary data
}
Expand Down Expand Up @@ -73827,7 +73829,7 @@ async function upload(buildDir, privateKey, dryRun) {
)
while (!response.confirmed?.number_of_confirmations > 0) {
console.log(
`${txId} confirmations: ${response.confirmed.number_of_confirmations}`,
`${txId} confirmations: ${response.confirmed?.number_of_confirmations}`,
)
await sleep(1000 * 5)
response = await arweave.transactions.getStatus(txId)
Expand Down

0 comments on commit ba30323

Please sign in to comment.