Skip to content

Commit 7fbb4e5

Browse files
authored
docs: fix typo (#439)
* fix typo contributing.md "chanages" -> "changes" * fix typo types.ts "emmited" -> "emitted" * fix typos types.ts 1. "emmited" -> "emitted" 2. "backrgound" -> "background"
1 parent 5eaf6ce commit 7fbb4e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ Repository admins can use `npm version patch` to create a new patch version.
9292
- For minor version updates, use `npm version minor`.
9393
- For major version updates, use `npm version major`.
9494

95-
When creating a new version, submit a PR listing all the chanages that you'd like to roll out with this change (since the last major version).
95+
When creating a new version, submit a PR listing all the changes that you'd like to roll out with this change (since the last major version).

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type OnClientEvent = <Payload>(
1414
* @param connectOptions `SocketConnectOption` type to use to connect to the Stream API socket.
1515
* @param onError a callback function to use whenever errors occur in the SDK.
1616
* @param logLevel `LogLevel` type to define the amount of logging the SDK should provide.
17-
* @param onEvent a callback function to use whenever an event is emmited in the SDK. Can be used to globally apply some logic, e.g emitting metric/logging etc. If the onEvent handler returns false, event will be filtered and the subscription callback won't be invoked.
17+
* @param onEvent a callback function to use whenever an event is emitted in the SDK. Can be used to globally apply some logic, e.g emitting metric/logging etc. If the onEvent handler returns false, event will be filtered and the subscription callback won't be invoked.
1818
*/
1919
export type ClientConfig = {
2020
network?: Network;
@@ -86,7 +86,7 @@ export type Trait = {
8686

8787
interface ExtendedItemMetadataType extends BaseItemMetadataType {
8888
description: string | null;
89-
backrgound_color: string | null;
89+
background_color: string | null;
9090
traits: Trait[];
9191
}
9292

0 commit comments

Comments
 (0)