@arrowsphere/api-client 3.38.0-rc.fdi.1 → 3.38.0
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/CHANGELOG.md
CHANGED
|
@@ -41,13 +41,13 @@ export declare abstract class AbstractHttpClient {
|
|
|
41
41
|
setSecurity(security: HttpClientSecurity): this;
|
|
42
42
|
/**
|
|
43
43
|
* Warning: can remove useful headers, prefer use mergeHeaders()
|
|
44
|
-
* @param headers
|
|
44
|
+
* @param headers - Set headers information
|
|
45
45
|
*/
|
|
46
46
|
setHeaders(headers: Record<string, string>): this;
|
|
47
47
|
/**
|
|
48
48
|
* Will merge existing headers with those in parameters.
|
|
49
49
|
* If There is key equality, the header passed as parameter has priority.
|
|
50
|
-
* @param headers
|
|
50
|
+
* @param headers - Merge headers information
|
|
51
51
|
*/
|
|
52
52
|
mergeHeaders(headers: Record<string, string>): this;
|
|
53
53
|
removeHeader(headerKey: string): this;
|
|
@@ -54,7 +54,7 @@ class AbstractHttpClient {
|
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Warning: can remove useful headers, prefer use mergeHeaders()
|
|
57
|
-
* @param headers
|
|
57
|
+
* @param headers - Set headers information
|
|
58
58
|
*/
|
|
59
59
|
setHeaders(headers) {
|
|
60
60
|
this.headers = headers;
|
|
@@ -63,7 +63,7 @@ class AbstractHttpClient {
|
|
|
63
63
|
/**
|
|
64
64
|
* Will merge existing headers with those in parameters.
|
|
65
65
|
* If There is key equality, the header passed as parameter has priority.
|
|
66
|
-
* @param headers
|
|
66
|
+
* @param headers - Merge headers information
|
|
67
67
|
*/
|
|
68
68
|
mergeHeaders(headers) {
|
|
69
69
|
const mergedHeaders = {
|
|
@@ -8,7 +8,6 @@ export declare abstract class AbstractGraphQLClient extends AbstractHttpClient {
|
|
|
8
8
|
/**
|
|
9
9
|
* Must not be called directly.
|
|
10
10
|
* Use getClientInstance() to access it.
|
|
11
|
-
* @protected
|
|
12
11
|
*/
|
|
13
12
|
protected graphQLClient: GraphQLClient;
|
|
14
13
|
protected optionsHeader?: Dom.RequestInit['headers'];
|
package/package.json
CHANGED