File tree Expand file tree Collapse file tree 4 files changed +2
-5
lines changed
core/src/commonMain/kotlin/com/powersync Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 3
3
## 1.0.0-BETA32
4
4
5
5
* Added ` onChange ` method to the PowerSync client. This allows for observing table changes.
6
+ * Removed unnecessary ` User-Id ` header from internal PowerSync service requests.
6
7
7
8
## 1.0.0-BETA31
8
9
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ Current limitations:
47
47
48
48
- Integration with SQLDelight schema and API generation (ORM) is not yet supported.
49
49
50
- Future work/ideas:
51
- - Attachments helper package.
52
-
53
50
## Installation
54
51
55
52
Add the PowerSync Kotlin Multiplatform SDK to your project by adding the following to your ` build.gradle.kts ` file:
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ public data class PowerSyncCredentials(
18
18
val token : String ,
19
19
/* *
20
20
* User ID.
21
+ * @deprecated This is no longer used.
21
22
*/
22
23
@SerialName(" user_id" ) val userId : String? ,
23
24
) {
Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ internal class SyncStream(
174
174
contentType(ContentType .Application .Json )
175
175
headers {
176
176
append(HttpHeaders .Authorization , " Token ${credentials.token} " )
177
- append(" User-Id" , credentials.userId ? : " " )
178
177
}
179
178
}
180
179
if (response.status.value == 401 ) {
@@ -202,7 +201,6 @@ internal class SyncStream(
202
201
contentType(ContentType .Application .Json )
203
202
headers {
204
203
append(HttpHeaders .Authorization , " Token ${credentials.token} " )
205
- append(" User-Id" , credentials.userId ? : " " )
206
204
}
207
205
timeout { socketTimeoutMillis = Long .MAX_VALUE }
208
206
setBody(bodyJson)
You can’t perform that action at this time.
0 commit comments