diff --git a/package-lock.json b/package-lock.json index 270827c..cd3ed6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "arweave", - "version": "1.12.3", + "version": "1.12.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "arweave", - "version": "1.12.3", + "version": "1.12.4", "license": "MIT", "dependencies": { "arconnect": "^0.4.2", diff --git a/package.json b/package.json index da7521e..d251d31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arweave", - "version": "1.12.3", + "version": "1.12.4", "description": "Arweave JS client library", "main": "./node/index.js", "react-native": "./node/index.js", diff --git a/src/common/lib/api.ts b/src/common/lib/api.ts index 640a7ad..148f856 100755 --- a/src/common/lib/api.ts +++ b/src/common/lib/api.ts @@ -59,7 +59,7 @@ export default class Api { ): Promise> { const headers = new Headers(config?.headers || {}); - if(!headers.get('content-type')?.includes('application/json')){ + if (!headers.get("content-type")?.includes("application/json")) { headers.append("content-type", "application/json"); } headers.append("accept", "application/json, text/plain, */*");