diff --git a/CHANGELOG.md b/CHANGELOG.md index 828c923..e632074 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +# 1.0.0-Beta.13 + +- Update `powersync-kotlin` dependency to version `1.0.0-BETA32`, which includes: + - Removed unnecessary `User-Id` header from internal PowerSync service requests. + - Fix `getNextCrudTransaction()` only returning a single item. + # 1.0.0-Beta.12 - Added attachment sync helpers diff --git a/Package.resolved b/Package.resolved index 6d67bb1..9dfc8b4 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/powersync-ja/powersync-kotlin.git", "state" : { - "revision" : "633a2924f7893f7ebeb064cbcd9c202937673633", - "version" : "1.0.0-BETA30.0" + "revision" : "144d2110eaca2537f49f5e86e5a6c78acf502f94", + "version" : "1.0.0-BETA32.0" } }, { diff --git a/Package.swift b/Package.swift index 05bd814..38048da 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,7 @@ let package = Package( targets: ["PowerSync"]), ], dependencies: [ - .package(url: "https://github.com/powersync-ja/powersync-kotlin.git", exact: "1.0.0-BETA30.0"), + .package(url: "https://github.com/powersync-ja/powersync-kotlin.git", exact: "1.0.0-BETA32.0"), .package(url: "https://github.com/powersync-ja/powersync-sqlite-core-swift.git", "0.3.12"..<"0.4.0") ], targets: [ diff --git a/Sources/PowerSync/Kotlin/KotlinPowerSyncDatabaseImpl.swift b/Sources/PowerSync/Kotlin/KotlinPowerSyncDatabaseImpl.swift index 874d4ca..9eeae98 100644 --- a/Sources/PowerSync/Kotlin/KotlinPowerSyncDatabaseImpl.swift +++ b/Sources/PowerSync/Kotlin/KotlinPowerSyncDatabaseImpl.swift @@ -210,7 +210,7 @@ final class KotlinPowerSyncDatabaseImpl: PowerSyncDatabaseProtocol { for try await values in try self.kotlinDatabase.watch( sql: options.sql, parameters: options.parameters, - throttleMs: KotlinLong(value: options.throttleMs), + throttleMs: options.throttleMs, mapper: { cursor in do { return try options.mapper(cursor)