Skip to content

Commit 404da6e

Browse files
authored
fix: typos in function and comments (#3467)
nothing fancy just some typos
1 parent 27a24cd commit 404da6e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/snaps-controllers/src/websocket/WebSocketService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class WebSocketService {
133133
*
134134
* @param snapId - The Snap ID.
135135
* @param id - The identifier for the WebSocket connection.
136-
* @returns Information abou the WebSocket connection.
136+
* @returns Information about the WebSocket connection.
137137
* @throws If the WebSocket connection cannot be found.
138138
*/
139139
#get(snapId: SnapId, id: string) {

packages/snaps-rpc-methods/src/endowments/keyring.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ describe('endowment:keyring', () => {
5151
// @ts-expect-error Missing other required permission types.
5252
specification.validator({
5353
caveats: [
54-
{ type: 'keyringOrigin', value: { allowedOrgins: ['foo.com'] } },
55-
{ type: 'keyringOrigin', value: { allowedOrgins: ['bar.com'] } },
54+
{ type: 'keyringOrigin', value: { allowedOrigins: ['foo.com'] } },
55+
{ type: 'keyringOrigin', value: { allowedOrigins: ['bar.com'] } },
5656
],
5757
}),
5858
).toThrow('Duplicate caveats are not allowed.');

0 commit comments

Comments
 (0)