From 251c6ffb730a8289bfe76c55a3239ddfe5282291 Mon Sep 17 00:00:00 2001 From: "marcin.cebo" Date: Wed, 29 Jan 2025 13:49:12 +0100 Subject: [PATCH 1/2] Fixed type in createConversation methods. --- js-chat/package.json | 4 ++-- src/jsMain/resources/index.d.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js-chat/package.json b/js-chat/package.json index 40200974..86525750 100644 --- a/js-chat/package.json +++ b/js-chat/package.json @@ -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.0", "name": "@pubnub/chat", "dependencies": { - "pubnub": "8.4.1", + "pubnub": "8.6.0", "format-util": "^1.0.5" } } \ No newline at end of file diff --git a/src/jsMain/resources/index.d.ts b/src/jsMain/resources/index.d.ts index 2794b4e5..7d7ba6f3 100644 --- a/src/jsMain/resources/index.d.ts +++ b/src/jsMain/resources/index.d.ts @@ -706,7 +706,7 @@ declare class Chat { */ createPublicConversation({ channelId, channelData }?: { channelId?: string; - channelData?: AppContext.SetChannelMetadataParameters; + channelData?: AppContext.ChannelMetadata; }): Promise; /** * Presence @@ -717,7 +717,7 @@ declare class Chat { createDirectConversation({ user, channelId, channelData, membershipData }: { user: User; channelId?: string; - channelData?: AppContext.SetChannelMetadataParameters; + channelData?: AppContext.ChannelMetadata; membershipData?: Omit, "channels" | "include" | "filter"> & { custom?: AppContext.CustomData; }; @@ -729,7 +729,7 @@ declare class Chat { createGroupConversation({ users, channelId, channelData, membershipData }: { users: User[]; channelId?: string; - channelData?: AppContext.SetChannelMetadataParameters; + channelData?: AppContext.ChannelMetadata; membershipData?: Omit, "channels" | "include" | "filter"> & { custom?: AppContext.CustomData; }; From b9e716412e0a4e00cfc1bf0b6682a7c44c0ce28d Mon Sep 17 00:00:00 2001 From: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com> Date: Thu, 30 Jan 2025 08:18:20 +0100 Subject: [PATCH 2/2] PubNub js 0.11.2 release. --- gradle.properties | 2 +- js-chat/.pubnub.yml | 7 ++++++- js-chat/package.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 364e9d9b..fc849f9c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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. diff --git a/js-chat/.pubnub.yml b/js-chat/.pubnub.yml index a4b5a2a4..f50d712d 100644 --- a/js-chat/.pubnub.yml +++ b/js-chat/.pubnub.yml @@ -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: diff --git a/js-chat/package.json b/js-chat/package.json index 86525750..e326fa5f 100644 --- a/js-chat/package.json +++ b/js-chat/package.json @@ -40,7 +40,7 @@ "module": "dist/index.es.js", "types": "dist/index.d.ts", "react-native": "dist/index.es.js", - "version": "0.11.0", + "version": "0.11.2", "name": "@pubnub/chat", "dependencies": { "pubnub": "8.6.0",