diff --git a/package.json b/package.json index 4c51d51..223c8b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arweave", - "version": "1.6.0", + "version": "1.6.1", "description": "Arweave JS client library", "main": "index.js", "files": [ diff --git a/src/common/lib/api.ts b/src/common/lib/api.ts index cb99e64..4054d2b 100644 --- a/src/common/lib/api.ts +++ b/src/common/lib/api.ts @@ -81,7 +81,8 @@ export default class Api { baseURL: `${this.config.protocol}://${this.config.host}:${ this.config.port }`, - timeout: this.config.timeout + timeout: this.config.timeout, + maxContentLength: 1024 * 1024 * 512 }); if (this.config.logging) {