Skip to content

Commit

Permalink
Add missing userId field in getUsersRestrictions result (#165)
Browse files Browse the repository at this point in the history
* Add missing userId field in getUsersRestrictions result

* PubNub js 0.11.1 release.

---------

Co-authored-by: PubNub Release Bot <[email protected]>
  • Loading branch information
wkal-pubnub and pubnub-release-bot authored Jan 22, 2025
1 parent 672393d commit 9703498
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 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.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.
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.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:
Expand Down
2 changes: 1 addition & 1 deletion js-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pubnub-chat-impl/config/ktlint/baseline.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<baseline version="1.0">
<file name="src/jsMain/kotlin/converters.kt">
<error line="145" column="14" source="standard:function-naming" />
<error line="146" column="14" source="standard:function-naming" />
</file>
</baseline>
1 change: 1 addition & 0 deletions pubnub-chat-impl/src/jsMain/kotlin/converters.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down
1 change: 1 addition & 0 deletions pubnub-chat-impl/src/jsMain/kotlin/types.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ external interface RestrictionJs {
var mute: Boolean?
var reason: Any?
var channelId: String?
var userId: String?
}

external interface MembershipsResponseJs {
Expand Down

0 comments on commit 9703498

Please sign in to comment.