Skip to content

Commit d20e9c7

Browse files
chore(internal): fix some typos (#534)
1 parent 80b46e9 commit d20e9c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export abstract class APIClient {
163163
maxRetries = 2,
164164
timeout = 60000, // 1 minute
165165
httpAgent,
166-
fetch: overridenFetch,
166+
fetch: overriddenFetch,
167167
}: {
168168
baseURL: string;
169169
maxRetries?: number | undefined;
@@ -176,7 +176,7 @@ export abstract class APIClient {
176176
this.timeout = validatePositiveInteger('timeout', timeout);
177177
this.httpAgent = httpAgent;
178178

179-
this.fetch = overridenFetch ?? fetch;
179+
this.fetch = overriddenFetch ?? fetch;
180180
}
181181

182182
protected authHeaders(opts: FinalRequestOptions): Headers {

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ describe('instantiate client', () => {
197197
expect(client.tokenSecret).toBe('my secret');
198198
});
199199

200-
test('with overriden environment variable arguments', () => {
200+
test('with overridden environment variable arguments', () => {
201201
// set options via env var
202202
process.env['MUX_TOKEN_ID'] = 'another my token id';
203203
process.env['MUX_TOKEN_SECRET'] = 'another my secret';

0 commit comments

Comments
 (0)