Skip to content
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

[CON-84] feat: create conversation SDK #10

Merged
merged 21 commits into from
Jan 2, 2024
Merged

[CON-84] feat: create conversation SDK #10

merged 21 commits into from
Jan 2, 2024

Conversation

ttypic
Copy link
Collaborator

@ttypic ttypic commented Dec 6, 2023

Changed API design a bit, rename to conversation, created basic entities

@ttypic ttypic force-pushed the create-conversation branch from 33e14d8 to add9ff5 Compare December 6, 2023 10:22
@ttypic ttypic force-pushed the create-conversation branch from add9ff5 to 3836cb5 Compare December 6, 2023 10:44
@ttypic ttypic requested a review from AndyTWF December 7, 2023 10:29
@ttypic ttypic changed the title feat: create conversation SDK [Con-84] feat: create conversation SDK Dec 7, 2023
@ttypic ttypic changed the title [Con-84] feat: create conversation SDK [CON-84] feat: create conversation SDK Dec 7, 2023
src/Chat.ts Outdated Show resolved Hide resolved
src/Chat.ts Outdated Show resolved Hide resolved
src/ChatApi.ts Outdated Show resolved Hide resolved
src/ChatApi.ts Outdated Show resolved Hide resolved
src/ChatApi.ts Outdated Show resolved Hide resolved
@@ -6,9 +6,9 @@ export class Conversations {
private readonly realtime: Realtime;
private readonly chatApi: ChatApi;

constructor(realtime: Realtime, baseUrl: string) {
constructor(realtime: Realtime) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be a way to pass in a logger here? Perhaps we need to think about introducing something like ClientOptions?

src/ChatApi.ts Outdated Show resolved Hide resolved
@ttypic ttypic force-pushed the create-conversation branch from ad40b66 to 7219cf6 Compare January 2, 2024 15:41
@ttypic ttypic merged commit db7f378 into main Jan 2, 2024
5 checks passed
@AndyTWF AndyTWF deleted the create-conversation branch July 10, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants