@@ -7,7 +7,7 @@ export type QueryParameters = Record<string, any>;
7
7
8
8
export type RequestOptions = {
9
9
/**
10
- * Custom timeout for the request. Note that, in normal situacions
10
+ * Custom timeout for the request. Note that, in normal situations
11
11
* the given timeout will be applied. But the transporter layer may
12
12
* increase this timeout if there is need for it.
13
13
*/
@@ -64,7 +64,7 @@ export type AlgoliaAgent = {
64
64
value : string ;
65
65
66
66
/**
67
- * Mutates the current user agent ading the given user agent options.
67
+ * Mutates the current user agent adding the given user agent options.
68
68
*/
69
69
add : ( options : AlgoliaAgentOptions ) => AlgoliaAgent ;
70
70
} ;
@@ -84,23 +84,23 @@ export type TransporterOptions = {
84
84
85
85
/**
86
86
* The underlying requester used. Should differ
87
- * depending of the enviroment where the client
87
+ * depending of the environment where the client
88
88
* will be used.
89
89
*/
90
90
requester : Requester ;
91
91
92
92
/**
93
93
* The cache of the requests. When requests are
94
94
* `cacheable`, the returned promised persists
95
- * in this cache to shared in similar resquests
95
+ * in this cache to shared in similar requests
96
96
* before being resolved.
97
97
*/
98
98
requestsCache : Cache ;
99
99
100
100
/**
101
101
* The cache of the responses. When requests are
102
102
* `cacheable`, the returned responses persists
103
- * in this cache to shared in similar resquests .
103
+ * in this cache to shared in similar requests .
104
104
*/
105
105
responsesCache : Cache ;
106
106
@@ -145,23 +145,23 @@ export type Transporter = {
145
145
146
146
/**
147
147
* The underlying requester used. Should differ
148
- * depending of the enviroment where the client
148
+ * depending of the environment where the client
149
149
* will be used.
150
150
*/
151
151
requester : Requester ;
152
152
153
153
/**
154
154
* The cache of the requests. When requests are
155
155
* `cacheable`, the returned promised persists
156
- * in this cache to shared in similar resquests
156
+ * in this cache to shared in similar requests
157
157
* before being resolved.
158
158
*/
159
159
requestsCache : Cache ;
160
160
161
161
/**
162
162
* The cache of the responses. When requests are
163
163
* `cacheable`, the returned responses persists
164
- * in this cache to shared in similar resquests .
164
+ * in this cache to shared in similar requests .
165
165
*/
166
166
responsesCache : Cache ;
167
167
@@ -194,7 +194,7 @@ export type Transporter = {
194
194
195
195
/**
196
196
* Performs a request.
197
- * The `baseRequest` and `baseRequestOptions` will be merged accordignly .
197
+ * The `baseRequest` and `baseRequestOptions` will be merged accordingly .
198
198
*/
199
199
request : < TResponse > (
200
200
baseRequest : Request ,
0 commit comments