@ethersphere/bee-js 6.5.0 → 6.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mjs/utils/http.js
CHANGED
|
@@ -3,7 +3,9 @@ import { Objects, Strings } from 'cafe-utility';
|
|
|
3
3
|
export const DEFAULT_HTTP_CONFIG = {
|
|
4
4
|
headers: {
|
|
5
5
|
accept: 'application/json, text/plain, */*'
|
|
6
|
-
}
|
|
6
|
+
},
|
|
7
|
+
maxBodyLength: Infinity,
|
|
8
|
+
maxContentLength: Infinity
|
|
7
9
|
};
|
|
8
10
|
/**
|
|
9
11
|
* Main function to make HTTP requests.
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { BeeRequestOptions } from '../index';
|
|
3
|
-
export declare const DEFAULT_HTTP_CONFIG:
|
|
4
|
-
headers: {
|
|
5
|
-
accept: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
3
|
+
export declare const DEFAULT_HTTP_CONFIG: AxiosRequestConfig;
|
|
8
4
|
/**
|
|
9
5
|
* Main function to make HTTP requests.
|
|
10
6
|
* @param options User defined settings
|