Skip to content

Commit 3dd492b

Browse files
authored
Merge pull request #142 from nexxai/main
Typofixes
2 parents 291715c + d5ab7ac commit 3dd492b

File tree

16 files changed

+36
-36
lines changed

16 files changed

+36
-36
lines changed

src/components/common/send-recieve-graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { getSummaryColor } from '../../model/events/categorization';
1313
import { getReadableSize } from '../../util/buffer';
1414

1515
// Somewhat arbitrary colour selections, but picking from our existing category
16-
// pallet for vaugely related colours, that work together and which don't have
16+
// pallet for vaguely related colours, that work together and which don't have
1717
// accessibility issues for colourblind usersL
1818
export const SentDataColor = getSummaryColor('data');
1919
export const ReceivedDataColor = getSummaryColor('rtc-media');

src/components/intercept/config/android-adb-config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class AndroidAdbConfig extends React.Component<{
175175
} = this;
176176

177177
// Ensure the config rule is in place before we start any activation. This listens for the
178-
// next config request, and uses that to track succesful setup (by calling onSuccess).
178+
// next config request, and uses that to track successful setup (by calling onSuccess).
179179
setUpAndroidCertificateRule(
180180
proxyStore!.certContent!,
181181
rulesStore!,

src/components/modify/handler-config.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export function HandlerConfiguration(props: {
229229
case 'wait-for-rtc-data-channel':
230230
return <RTCWaitForChannelConfig {...configProps} />;
231231
case 'wait-for-rtc-message':
232-
return <RTCWaitForDataMessaageConfig {...configProps} />;
232+
return <RTCWaitForDataMessageConfig {...configProps} />;
233233
case 'create-rtc-data-channel':
234234
return <RTCCreateChannelStepConfig {...configProps} />;
235235
case 'send-rtc-data-message':
@@ -2511,7 +2511,7 @@ class RTCWaitForChannelConfig extends HandlerConfig<WaitForChannelStepDefinition
25112511
}
25122512

25132513
@observer
2514-
class RTCWaitForDataMessaageConfig extends HandlerConfig<WaitForMessageStepDefinition> {
2514+
class RTCWaitForDataMessageConfig extends HandlerConfig<WaitForMessageStepDefinition> {
25152515

25162516
render() {
25172517
const { channelLabel } = this.props.handler;

src/components/modify/rule-row.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const DetailsHeader = styled.div`
192192

193193
const HighPriorityMarker = styled(Icon).attrs(() => ({
194194
icon: ['fas', 'exclamation'],
195-
title: 'High-priority rule: this rule overrides all non-high-prority rules'
195+
title: 'High-priority rule: this rule overrides all non-high-priority rules'
196196
}))`
197197
margin-right: 10px;
198198
align-self: baseline;

src/model/api/api-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const apiMetadataSchema = serializr.createSimpleSchema({
4141
});
4242

4343
// In addition to the public OpenAPI directory, we have a few extra APIs (stored in
44-
// this repo in /extra-apis) that we match seprately:
44+
// this repo in /extra-apis) that we match separately:
4545
const EXTRA_APIS: { [urlPrefix: string]: 'ipfs' | 'ethereum' } = {
4646
// See the 'servers' field in /extra-apis/ipfs.json:
4747
'localhost:5001/api/v0': 'ipfs',

src/model/filters/search-filters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ class HeaderFilter extends Filter {
994994
new StringSyntax("header value", {
995995
allowedChars: [[0, 255]], // Any ASCII! Wrapper guards against spaces for us.
996996
suggestionGenerator: (value, index, events: CollectedEvent[]) => {
997-
// Find the start of the wrapped header name text that preceeds this
997+
// Find the start of the wrapped header name text that precedes this
998998
const headerNameIndex = value.slice(0, index - 1).lastIndexOf('[');
999999

10001000
const headerNamePart = HeaderFilter.filterSyntax[1];

src/model/filters/syntax-matching.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export type SyntaxPartMatch = {
299299
}) => {
300300
// We want to get suggestions from the last part that consumed any input. That means
301301
// for a last-part half-match, we want that partial last part, but for a last part
302-
// 0-char-match, we want the preceeding full part, because there might still be
302+
// 0-char-match, we want the preceding full part, because there might still be
303303
// useful suggestions there to extend that part.
304304
const syntaxPartIndex = match!.lastConsumingPartSyntaxIndex;
305305
const stringIndex = match!.lastConsumingPartStringIndex;

src/model/filters/syntax-parts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ export class SyntaxRepeaterSyntax<
569569
value: ''
570570
}];
571571
} else if (wrappedMatch.type === 'partial') {
572-
// We have a partial match on our contents, so suggest continuining it
572+
// We have a partial match on our contents, so suggest continuing it
573573
const suggestions = wrappedSyntax.getSuggestions(value, index, context);
574574
if (matchCount + 1 < minimumRepetitions) {
575575
return suggestions.map(suggestion => ({

src/model/http/exchange-breakpoint.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function getBody(message: MockttpBreakpointedRequest | MockttpBreakpointedRespon
5050
});
5151
}
5252

53-
const omitPsuedoHeaders = (headers: Headers) =>
53+
const omitPseudoHeaders = (headers: Headers) =>
5454
_.omitBy(headers, (_v, key) => key.startsWith(':')) as Headers;
5555

5656
export async function getRequestBreakpoint(request: MockttpBreakpointedRequest) {
@@ -203,9 +203,9 @@ export abstract class Breakpoint<T extends BreakpointInProgress> {
203203
: { body: await this.editableBody.encodingBestEffortPromise }
204204
),
205205

206-
// Psuedo-headers those will be generated automatically from the other,
206+
// Pseudo-headers those will be generated automatically from the other,
207207
// fields, as part of the rest of the request process.
208-
headers: omitPsuedoHeaders(rawHeadersToHeaders(this.resultMetadata.rawHeaders))
208+
headers: omitPseudoHeaders(rawHeadersToHeaders(this.resultMetadata.rawHeaders))
209209
} as unknown as BreakpointResumeType<T>);
210210
}
211211

src/model/rules/rule-descriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export function summarizeHandlerClass(key: HandlerClassKey): string {
233233
case 'ipns-resolve-result':
234234
return "Return a fixed IPNS resolved address";
235235
case 'ipns-publish-result':
236-
return "Return a fixed succesful IPNS result";
236+
return "Return a fixed successful IPNS result";
237237
case 'ipfs-pins-result':
238238
return "Return a fixed IPFS pinning result";
239239
case 'ipfs-pin-ls-result':

0 commit comments

Comments
 (0)