Bump the RustSDK to v1.0.66-alpha

This commit is contained in:
Stefan Ceriu
2023-05-22 18:38:25 +03:00
committed by Stefan Ceriu
parent 3ff61f5158
commit d38cf8f989
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -4621,7 +4621,7 @@
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift"; repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
requirement = { requirement = {
kind = exactVersion; kind = exactVersion;
version = "1.0.65-alpha"; version = "1.0.66-alpha";
}; };
}; };
96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = { 96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = {
@@ -102,8 +102,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-rust-components-swift", "location" : "https://github.com/matrix-org/matrix-rust-components-swift",
"state" : { "state" : {
"revision" : "937bd40d601b59d676c18e466fd111925e498799", "revision" : "1da413f836e4c7e4ef9c097b55bd07794abbb596",
"version" : "1.0.65-alpha" "version" : "1.0.66-alpha"
} }
}, },
{ {
@@ -439,7 +439,7 @@ class ClientProxy: ClientProxyProtocol {
.timelineLimit(limit: UInt32(SlidingSyncConstants.initialTimelineLimit)) // Starts off with zero to quickly load rooms, then goes to 1 while scrolling to quickly load last messages and 20 when the scrolling stops to load room history .timelineLimit(limit: UInt32(SlidingSyncConstants.initialTimelineLimit)) // Starts off with zero to quickly load rooms, then goes to 1 while scrolling to quickly load last messages and 20 when the scrolling stops to load room history
.requiredState(requiredState: slidingSyncRequiredState) .requiredState(requiredState: slidingSyncRequiredState)
.filters(filters: slidingSyncFilters) .filters(filters: slidingSyncFilters)
.syncMode(mode: .selective) .syncModeSelective()
.addRange(from: 0, toIncluded: 20) .addRange(from: 0, toIncluded: 20)
.onceBuilt(callback: visibleRoomsListProxy) .onceBuilt(callback: visibleRoomsListProxy)
@@ -471,8 +471,7 @@ class ClientProxy: ClientProxyProtocol {
.noTimelineLimit() .noTimelineLimit()
.requiredState(requiredState: slidingSyncRequiredState) .requiredState(requiredState: slidingSyncRequiredState)
.filters(filters: slidingSyncFilters) .filters(filters: slidingSyncFilters)
.syncMode(mode: .growing) .syncModeGrowing(batchSize: 100, maximumNumberOfRoomsToFetch: nil)
.batchSize(batchSize: 100)
.onceBuilt(callback: allRoomsListProxy) .onceBuilt(callback: allRoomsListProxy)
self.allRoomsListBuilder = allRoomsListBuilder self.allRoomsListBuilder = allRoomsListBuilder
@@ -492,8 +491,7 @@ class ClientProxy: ClientProxyProtocol {
.noTimelineLimit() .noTimelineLimit()
.requiredState(requiredState: slidingSyncInvitesRequiredState) .requiredState(requiredState: slidingSyncInvitesRequiredState)
.filters(filters: slidingSyncInviteFilters) .filters(filters: slidingSyncInviteFilters)
.syncMode(mode: .growing) .syncModeGrowing(batchSize: 100, maximumNumberOfRoomsToFetch: nil)
.batchSize(batchSize: 100)
.onceBuilt(callback: invitesListProxy) .onceBuilt(callback: invitesListProxy)
self.invitesListBuilder = invitesListBuilder self.invitesListBuilder = invitesListBuilder
@@ -509,8 +507,7 @@ class ClientProxy: ClientProxyProtocol {
.noTimelineLimit() .noTimelineLimit()
.requiredState(requiredState: slidingSyncNotificationsRequiredState) .requiredState(requiredState: slidingSyncNotificationsRequiredState)
.filters(filters: slidingSyncNotificationsFilters) .filters(filters: slidingSyncNotificationsFilters)
.syncMode(mode: .growing) .syncModeGrowing(batchSize: 100, maximumNumberOfRoomsToFetch: nil)
.batchSize(batchSize: 100)
self.notificationsListBuilder = notificationsListBuilder self.notificationsListBuilder = notificationsListBuilder
} }
+1 -1
View File
@@ -42,7 +42,7 @@ include:
packages: packages:
MatrixRustSDK: MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.0.65-alpha exactVersion: 1.0.66-alpha
# path: ../matrix-rust-sdk # path: ../matrix-rust-sdk
DesignKit: DesignKit:
path: DesignKit path: DesignKit