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

Fixed type in createConversation methods. #167

Merged
merged 2 commits into from
Jan 30, 2025
Merged
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 gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=false
GROUP=com.pubnub
POM_PACKAGING=jar
VERSION_NAME=0.11.0
VERSION_NAME=0.11.2

POM_NAME=PubNub Chat SDK
POM_DESCRIPTION=This SDK offers a set of handy methods to create your own feature-rich chat or add a chat to your existing application.
Expand Down
7 changes: 6 additions & 1 deletion js-chat/.pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: pubnub-js-chat
version: 0.11.1
version: 0.11.2
scm: github.com/pubnub/js-chat
schema: 1
files:
- lib/dist/index.js
changelog:
- date: 2025-01-30
version: 0.11.2
changes:
- type: bug
text: "Fixed input type in createConversation methods."
- date: 2025-01-22
version: 0.11.1
changes:
Expand Down
4 changes: 2 additions & 2 deletions js-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"react-native": "dist/index.es.js",
"version": "0.11.1",
"version": "0.11.2",
"name": "@pubnub/chat",
"dependencies": {
"pubnub": "8.4.1",
"pubnub": "8.6.0",
"format-util": "^1.0.5"
}
}
6 changes: 3 additions & 3 deletions src/jsMain/resources/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ declare class Chat {
*/
createPublicConversation({ channelId, channelData }?: {
channelId?: string;
channelData?: AppContext.SetChannelMetadataParameters<AppContext.CustomData>;
channelData?: AppContext.ChannelMetadata<AppContext.CustomData>;
}): Promise<Channel>;
/**
* Presence
Expand All @@ -717,7 +717,7 @@ declare class Chat {
createDirectConversation({ user, channelId, channelData, membershipData }: {
user: User;
channelId?: string;
channelData?: AppContext.SetChannelMetadataParameters<AppContext.CustomData>;
channelData?: AppContext.ChannelMetadata<AppContext.CustomData>;
membershipData?: Omit<AppContext.SetMembershipsParameters<AppContext.CustomData>, "channels" | "include" | "filter"> & {
custom?: AppContext.CustomData;
};
Expand All @@ -729,7 +729,7 @@ declare class Chat {
createGroupConversation({ users, channelId, channelData, membershipData }: {
users: User[];
channelId?: string;
channelData?: AppContext.SetChannelMetadataParameters<AppContext.CustomData>;
channelData?: AppContext.ChannelMetadata<AppContext.CustomData>;
membershipData?: Omit<AppContext.SetMembershipsParameters<AppContext.CustomData>, "channels" | "include" | "filter"> & {
custom?: AppContext.CustomData;
};
Expand Down