Skip to content

Commit b8517d6

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (141.0.20250617050355)
1 parent 3391648 commit b8517d6

File tree

5 files changed

+81
-7
lines changed

5 files changed

+81
-7
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 = "0e46314d8873df519844a66559ca4039b0c74e685cab9919ada6e8fcca9721d3"
5-
let version = "141.0.20250613050346"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.141.20250613050346/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "ed33c39ec6aa1d22eadee7b2edfced4fba061595c1fee5cfbc987aac553e5bd6"
5+
let version = "141.0.20250617050355"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.141.20250617050355/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

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

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: 6, day: 13, hour: 5, minute: 30, second: 53))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 6, day: 17, hour: 5, minute: 18, second: 6))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/logins.swift

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,8 @@ public protocol LoginStoreProtocol: AnyObject {
895895

896896
func delete(id: String) throws -> Bool
897897

898+
func deleteMany(ids: [String]) throws -> [Bool]
899+
898900
/**
899901
* The `delete_undecryptable_records_for_remote_replacement` function locally deletes stored logins
900902
* that cannot be decrypted and sets the last sync time to 0 so any existing server records can be downloaded
@@ -1049,6 +1051,14 @@ open func delete(id: String)throws -> Bool {
10491051
FfiConverterString.lower(id),$0
10501052
)
10511053
})
1054+
}
1055+
1056+
open func deleteMany(ids: [String])throws -> [Bool] {
1057+
return try FfiConverterSequenceBool.lift(try rustCallWithError(FfiConverterTypeLoginsApiError_lift) {
1058+
uniffi_logins_fn_method_loginstore_delete_many(self.uniffiClonePointer(),
1059+
FfiConverterSequenceString.lower(ids),$0
1060+
)
1061+
})
10521062
}
10531063

10541064
/**
@@ -2315,6 +2325,56 @@ fileprivate struct FfiConverterOptionTypeLogin: FfiConverterRustBuffer {
23152325
}
23162326
}
23172327

2328+
#if swift(>=5.8)
2329+
@_documentation(visibility: private)
2330+
#endif
2331+
fileprivate struct FfiConverterSequenceBool: FfiConverterRustBuffer {
2332+
typealias SwiftType = [Bool]
2333+
2334+
public static func write(_ value: [Bool], into buf: inout [UInt8]) {
2335+
let len = Int32(value.count)
2336+
writeInt(&buf, len)
2337+
for item in value {
2338+
FfiConverterBool.write(item, into: &buf)
2339+
}
2340+
}
2341+
2342+
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> [Bool] {
2343+
let len: Int32 = try readInt(&buf)
2344+
var seq = [Bool]()
2345+
seq.reserveCapacity(Int(len))
2346+
for _ in 0 ..< len {
2347+
seq.append(try FfiConverterBool.read(from: &buf))
2348+
}
2349+
return seq
2350+
}
2351+
}
2352+
2353+
#if swift(>=5.8)
2354+
@_documentation(visibility: private)
2355+
#endif
2356+
fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {
2357+
typealias SwiftType = [String]
2358+
2359+
public static func write(_ value: [String], into buf: inout [UInt8]) {
2360+
let len = Int32(value.count)
2361+
writeInt(&buf, len)
2362+
for item in value {
2363+
FfiConverterString.write(item, into: &buf)
2364+
}
2365+
}
2366+
2367+
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> [String] {
2368+
let len: Int32 = try readInt(&buf)
2369+
var seq = [String]()
2370+
seq.reserveCapacity(Int(len))
2371+
for _ in 0 ..< len {
2372+
seq.append(try FfiConverterString.read(from: &buf))
2373+
}
2374+
return seq
2375+
}
2376+
}
2377+
23182378
#if swift(>=5.8)
23192379
@_documentation(visibility: private)
23202380
#endif
@@ -2543,6 +2603,9 @@ private let initializationResult: InitializationResult = {
25432603
if (uniffi_logins_checksum_method_loginstore_delete() != 44678) {
25442604
return InitializationResult.apiChecksumMismatch
25452605
}
2606+
if (uniffi_logins_checksum_method_loginstore_delete_many() != 14564) {
2607+
return InitializationResult.apiChecksumMismatch
2608+
}
25462609
if (uniffi_logins_checksum_method_loginstore_delete_undecryptable_records_for_remote_replacement() != 23503) {
25472610
return InitializationResult.apiChecksumMismatch
25482611
}

swift-source/all/Generated/loginsFFI.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,11 @@ RustBuffer uniffi_logins_fn_method_loginstore_add_with_meta(void*_Nonnull ptr, R
379379
int8_t uniffi_logins_fn_method_loginstore_delete(void*_Nonnull ptr, RustBuffer id, RustCallStatus *_Nonnull out_status
380380
);
381381
#endif
382+
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_DELETE_MANY
383+
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_DELETE_MANY
384+
RustBuffer uniffi_logins_fn_method_loginstore_delete_many(void*_Nonnull ptr, RustBuffer ids, RustCallStatus *_Nonnull out_status
385+
);
386+
#endif
382387
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_DELETE_UNDECRYPTABLE_RECORDS_FOR_REMOTE_REPLACEMENT
383388
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_DELETE_UNDECRYPTABLE_RECORDS_FOR_REMOTE_REPLACEMENT
384389
void uniffi_logins_fn_method_loginstore_delete_undecryptable_records_for_remote_replacement(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
@@ -878,6 +883,12 @@ uint16_t uniffi_logins_checksum_method_loginstore_add_with_meta(void
878883
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_DELETE
879884
uint16_t uniffi_logins_checksum_method_loginstore_delete(void
880885

886+
);
887+
#endif
888+
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_DELETE_MANY
889+
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_DELETE_MANY
890+
uint16_t uniffi_logins_checksum_method_loginstore_delete_many(void
891+
881892
);
882893
#endif
883894
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_DELETE_UNDECRYPTABLE_RECORDS_FOR_REMOTE_REPLACEMENT

swift-source/focus/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: 6, day: 13, hour: 5, minute: 30, second: 55))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 6, day: 17, hour: 5, minute: 18, second: 8))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)