aleph-sdk-ts
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -56,3 +56,7 @@ "use strict"; | ||
form.append('file', configuration.file); | ||
const response = yield axios_1.default.post(`${configuration.APIServer}/api/v0/${configuration.storageEngine.toLowerCase()}/add_file`, form); | ||
const response = yield axios_1.default.post(`${configuration.APIServer}/api/v0/${configuration.storageEngine.toLowerCase()}/add_file`, form, { | ||
headers: { | ||
'Content-Type': undefined, | ||
}, | ||
}); | ||
return response.data.hash; | ||
@@ -59,0 +63,0 @@ }); |
{ | ||
"name": "aleph-sdk-ts", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Aleph.im Typescript SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32034
761