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

Add missing userId field in getUsersRestrictions result #165

Merged
merged 2 commits into from
Jan 22, 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.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