Skip to content

Commit

Permalink
Fixed type in createConversation methods. (#167)
Browse files Browse the repository at this point in the history
* PubNub js 0.11.2 release.

---------

Co-authored-by: PubNub Release Bot <[email protected]>
  • Loading branch information
marcin-cebo and pubnub-release-bot authored Jan 30, 2025
1 parent d59ff18 commit ec6f3b5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
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

0 comments on commit ec6f3b5

Please sign in to comment.