Skip to content

docs: fix typo #439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ Repository admins can use `npm version patch` to create a new patch version.
- For minor version updates, use `npm version minor`.
- For major version updates, use `npm version major`.

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).
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).
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type OnClientEvent = <Payload>(
* @param connectOptions `SocketConnectOption` type to use to connect to the Stream API socket.
* @param onError a callback function to use whenever errors occur in the SDK.
* @param logLevel `LogLevel` type to define the amount of logging the SDK should provide.
* @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.
* @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.
*/
export type ClientConfig = {
network?: Network;
Expand Down Expand Up @@ -86,7 +86,7 @@ export type Trait = {

interface ExtendedItemMetadataType extends BaseItemMetadataType {
description: string | null;
backrgound_color: string | null;
background_color: string | null;
traits: Trait[];
}

Expand Down