diff --git a/gradle.properties b/gradle.properties index 364e9d9b..55aa754b 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.1 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 1c0ad77f..a4b5a2a4 100644 --- a/js-chat/.pubnub.yml +++ b/js-chat/.pubnub.yml @@ -1,10 +1,15 @@ name: pubnub-js-chat -version: 0.11.0 +version: 0.11.1 scm: github.com/pubnub/js-chat schema: 1 files: - lib/dist/index.js changelog: + - date: 2025-01-22 + version: 0.11.1 + changes: + - type: bug + text: "Add missing userId field in getUsersRestrictions result." - date: 2025-01-16 version: 0.11.0 changes: diff --git a/js-chat/package.json b/js-chat/package.json index 52815e63..40200974 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.1", "name": "@pubnub/chat", "dependencies": { "pubnub": "8.4.1", diff --git a/pubnub-chat-impl/config/ktlint/baseline.xml b/pubnub-chat-impl/config/ktlint/baseline.xml index f0015a77..a627bcc9 100644 --- a/pubnub-chat-impl/config/ktlint/baseline.xml +++ b/pubnub-chat-impl/config/ktlint/baseline.xml @@ -1,6 +1,6 @@ - + diff --git a/pubnub-chat-impl/src/jsMain/kotlin/converters.kt b/pubnub-chat-impl/src/jsMain/kotlin/converters.kt index adccdd90..83c07a12 100644 --- a/pubnub-chat-impl/src/jsMain/kotlin/converters.kt +++ b/pubnub-chat-impl/src/jsMain/kotlin/converters.kt @@ -136,6 +136,7 @@ internal fun Restriction.asJs(): RestrictionJs { this.mute = restriction.mute restriction.reason?.let { this.reason = it } this.channelId = restriction.channelId + this.userId = restriction.userId } } diff --git a/pubnub-chat-impl/src/jsMain/kotlin/types.kt b/pubnub-chat-impl/src/jsMain/kotlin/types.kt index c2b60eb4..b93e57c0 100644 --- a/pubnub-chat-impl/src/jsMain/kotlin/types.kt +++ b/pubnub-chat-impl/src/jsMain/kotlin/types.kt @@ -131,6 +131,7 @@ external interface RestrictionJs { var mute: Boolean? var reason: Any? var channelId: String? + var userId: String? } external interface MembershipsResponseJs {