Skip to content

Commit f9d471d

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (142.0.20250715050256)
1 parent 91f0dcd commit f9d471d

File tree

9 files changed

+120
-60
lines changed

9 files changed

+120
-60
lines changed

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// swift-tools-version:5.4
22
import PackageDescription
33

4-
let checksum = "66f66a3ce5543e2898507eecb66227b66a3d636aaa46c92ac498fc6312daf184"
5-
let version = "142.0.20250712050346"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.142.20250712050346/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "1745277ba6e6b7f361f662b8d04201fd9b6650975a19519e2658712a5da226e1"
5+
let version = "142.0.20250715050256"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.142.20250715050256/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "8ca6c3b138ef2fbdcc4ca66df0adf75d101f19565ff6bb02596f49a12190aa02"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.142.20250712050346/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "48942fef273ed53b42e2b6253d9d2691c3b07549f7e50f3a3d3b6f274ddd175f"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.142.20250715050256/artifacts/public/build/FocusRustComponents.xcframework.zip"
1111
let package = Package(
1212
name: "MozillaRustComponentsSwift",
1313
platforms: [.iOS(.v14)],

swift-source/all/FxAClient/FxAccountManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ extension Notification.Name {
624624
class FxAStatePersistenceCallback: PersistCallback {
625625
weak var manager: FxAccountManager?
626626

627-
public init(manager: FxAccountManager) {
627+
init(manager: FxAccountManager) {
628628
self.manager = manager
629629
}
630630

swift-source/all/FxAClient/PersistedFirefoxAccount.swift

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -28,36 +28,36 @@ class PersistedFirefoxAccount {
2828
self.inner = inner
2929
}
3030

31-
public convenience init(config: FxaConfig) {
31+
convenience init(config: FxaConfig) {
3232
self.init(inner: FirefoxAccount(config: config))
3333
}
3434

3535
/// Registers a persistence callback. The callback will get called every time
3636
/// the `FxAccounts` state needs to be saved. The callback must
3737
/// persist the passed string in a secure location (like the keychain).
38-
public func registerPersistCallback(_ cb: PersistCallback) {
38+
func registerPersistCallback(_ cb: PersistCallback) {
3939
persistCallback = cb
4040
}
4141

4242
/// Unregisters a persistence callback.
43-
public func unregisterPersistCallback() {
43+
func unregisterPersistCallback() {
4444
persistCallback = nil
4545
}
4646

47-
public static func fromJSON(data: String) throws -> PersistedFirefoxAccount {
47+
static func fromJSON(data: String) throws -> PersistedFirefoxAccount {
4848
return try PersistedFirefoxAccount(inner: FirefoxAccount.fromJson(data: data))
4949
}
5050

51-
public func toJSON() throws -> String {
51+
func toJSON() throws -> String {
5252
try inner.toJson()
5353
}
5454

55-
public func setUserData(userData: UserData) {
55+
func setUserData(userData: UserData) {
5656
defer { tryPersistState() }
5757
inner.setUserData(userData: userData)
5858
}
5959

60-
public func beginOAuthFlow(
60+
func beginOAuthFlow(
6161
scopes: [String],
6262
entrypoint: String
6363
) throws -> URL {
@@ -69,11 +69,11 @@ class PersistedFirefoxAccount {
6969
}
7070
}
7171

72-
public func getPairingAuthorityURL() throws -> URL {
72+
func getPairingAuthorityURL() throws -> URL {
7373
return try URL(string: inner.getPairingAuthorityUrl())!
7474
}
7575

76-
public func beginPairingFlow(
76+
func beginPairingFlow(
7777
pairingUrl: String,
7878
scopes: [String],
7979
entrypoint: String
@@ -85,33 +85,33 @@ class PersistedFirefoxAccount {
8585
}
8686
}
8787

88-
public func completeOAuthFlow(code: String, state: String) throws {
88+
func completeOAuthFlow(code: String, state: String) throws {
8989
defer { tryPersistState() }
9090
try notifyAuthErrors {
9191
try self.inner.completeOauthFlow(code: code, state: state)
9292
}
9393
}
9494

95-
public func checkAuthorizationStatus() throws -> AuthorizationInfo {
95+
func checkAuthorizationStatus() throws -> AuthorizationInfo {
9696
defer { tryPersistState() }
9797
return try notifyAuthErrors {
9898
try self.inner.checkAuthorizationStatus()
9999
}
100100
}
101101

102-
public func disconnect() {
102+
func disconnect() {
103103
defer { tryPersistState() }
104104
inner.disconnect()
105105
}
106106

107-
public func getProfile(ignoreCache: Bool) throws -> Profile {
107+
func getProfile(ignoreCache: Bool) throws -> Profile {
108108
defer { tryPersistState() }
109109
return try notifyAuthErrors {
110110
try self.inner.getProfile(ignoreCache: ignoreCache)
111111
}
112112
}
113113

114-
public func initializeDevice(
114+
func initializeDevice(
115115
name: String,
116116
deviceType: DeviceType,
117117
supportedCapabilities: [DeviceCapability]
@@ -124,127 +124,127 @@ class PersistedFirefoxAccount {
124124
}
125125
}
126126

127-
public func getCurrentDeviceId() throws -> String {
127+
func getCurrentDeviceId() throws -> String {
128128
return try notifyAuthErrors {
129129
try self.inner.getCurrentDeviceId()
130130
}
131131
}
132132

133-
public func getDevices(ignoreCache: Bool = false) throws -> [Device] {
133+
func getDevices(ignoreCache: Bool = false) throws -> [Device] {
134134
return try notifyAuthErrors {
135135
try self.inner.getDevices(ignoreCache: ignoreCache)
136136
}
137137
}
138138

139-
public func getAttachedClients() throws -> [AttachedClient] {
139+
func getAttachedClients() throws -> [AttachedClient] {
140140
return try notifyAuthErrors {
141141
try self.inner.getAttachedClients()
142142
}
143143
}
144144

145-
public func setDeviceName(_ name: String) throws {
145+
func setDeviceName(_ name: String) throws {
146146
defer { tryPersistState() }
147147
try notifyAuthErrors {
148148
try self.inner.setDeviceName(displayName: name)
149149
}
150150
}
151151

152-
public func clearDeviceName() throws {
152+
func clearDeviceName() throws {
153153
defer { tryPersistState() }
154154
try notifyAuthErrors {
155155
try self.inner.clearDeviceName()
156156
}
157157
}
158158

159-
public func ensureCapabilities(supportedCapabilities: [DeviceCapability]) throws {
159+
func ensureCapabilities(supportedCapabilities: [DeviceCapability]) throws {
160160
defer { tryPersistState() }
161161
try notifyAuthErrors {
162162
try self.inner.ensureCapabilities(supportedCapabilities: supportedCapabilities)
163163
}
164164
}
165165

166-
public func setDevicePushSubscription(sub: DevicePushSubscription) throws {
166+
func setDevicePushSubscription(sub: DevicePushSubscription) throws {
167167
try notifyAuthErrors {
168168
try self.inner.setPushSubscription(subscription: sub)
169169
}
170170
}
171171

172-
public func handlePushMessage(payload: String) throws -> AccountEvent {
172+
func handlePushMessage(payload: String) throws -> AccountEvent {
173173
defer { tryPersistState() }
174174
return try notifyAuthErrors {
175175
try self.inner.handlePushMessage(payload: payload)
176176
}
177177
}
178178

179-
public func pollDeviceCommands() throws -> [IncomingDeviceCommand] {
179+
func pollDeviceCommands() throws -> [IncomingDeviceCommand] {
180180
defer { tryPersistState() }
181181
return try notifyAuthErrors {
182182
try self.inner.pollDeviceCommands()
183183
}
184184
}
185185

186-
public func sendSingleTab(targetDeviceId: String, title: String, url: String) throws {
186+
func sendSingleTab(targetDeviceId: String, title: String, url: String) throws {
187187
return try notifyAuthErrors {
188188
try self.inner.sendSingleTab(targetDeviceId: targetDeviceId, title: title, url: url)
189189
}
190190
}
191191

192-
public func closeTabs(targetDeviceId: String, urls: [String]) throws -> CloseTabsResult {
192+
func closeTabs(targetDeviceId: String, urls: [String]) throws -> CloseTabsResult {
193193
return try notifyAuthErrors {
194194
try self.inner.closeTabs(targetDeviceId: targetDeviceId, urls: urls)
195195
}
196196
}
197197

198-
public func getTokenServerEndpointURL() throws -> URL {
198+
func getTokenServerEndpointURL() throws -> URL {
199199
return try URL(string: inner.getTokenServerEndpointUrl())!
200200
}
201201

202-
public func getConnectionSuccessURL() throws -> URL {
202+
func getConnectionSuccessURL() throws -> URL {
203203
return try URL(string: inner.getConnectionSuccessUrl())!
204204
}
205205

206-
public func getManageAccountURL(entrypoint: String) throws -> URL {
206+
func getManageAccountURL(entrypoint: String) throws -> URL {
207207
return try URL(string: inner.getManageAccountUrl(entrypoint: entrypoint))!
208208
}
209209

210-
public func getManageDevicesURL(entrypoint: String) throws -> URL {
210+
func getManageDevicesURL(entrypoint: String) throws -> URL {
211211
return try URL(string: inner.getManageDevicesUrl(entrypoint: entrypoint))!
212212
}
213213

214-
public func getAccessToken(scope: String, ttl: UInt64? = nil) throws -> AccessTokenInfo {
214+
func getAccessToken(scope: String, ttl: UInt64? = nil) throws -> AccessTokenInfo {
215215
defer { tryPersistState() }
216216
return try notifyAuthErrors {
217217
try self.inner.getAccessToken(scope: scope, ttl: ttl == nil ? nil : Int64(clamping: ttl!))
218218
}
219219
}
220220

221-
public func getSessionToken() throws -> String {
221+
func getSessionToken() throws -> String {
222222
defer { tryPersistState() }
223223
return try notifyAuthErrors {
224224
try self.inner.getSessionToken()
225225
}
226226
}
227227

228-
public func handleSessionTokenChange(sessionToken: String) throws {
228+
func handleSessionTokenChange(sessionToken: String) throws {
229229
defer { tryPersistState() }
230230
return try notifyAuthErrors {
231231
try self.inner.handleSessionTokenChange(sessionToken: sessionToken)
232232
}
233233
}
234234

235-
public func authorizeCodeUsingSessionToken(params: AuthorizationParameters) throws -> String {
235+
func authorizeCodeUsingSessionToken(params: AuthorizationParameters) throws -> String {
236236
defer { tryPersistState() }
237237
return try notifyAuthErrors {
238238
try self.inner.authorizeCodeUsingSessionToken(params: params)
239239
}
240240
}
241241

242-
public func clearAccessTokenCache() {
242+
func clearAccessTokenCache() {
243243
defer { tryPersistState() }
244244
inner.clearAccessTokenCache()
245245
}
246246

247-
public func gatherTelemetry() throws -> String {
247+
func gatherTelemetry() throws -> String {
248248
return try notifyAuthErrors {
249249
try self.inner.gatherTelemetry()
250250
}

swift-source/all/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension GleanMetrics {
2323
// Intentionally left private, no external user can instantiate a new global object.
2424
}
2525

26-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 7, day: 12, hour: 5, minute: 18, second: 13))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 7, day: 15, hour: 5, minute: 20, second: 0))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)