Skip to content

Commit c36ce2c

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (138.0.20250308050337)
1 parent c85638e commit c36ce2c

File tree

5 files changed

+46
-9
lines changed

5 files changed

+46
-9
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 = "8055a71a088bc80f0227ad63181ad9a2a03505a3755e5184f2eee3e3570af563"
5-
let version = "138.0.20250307050321"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.138.20250307050321/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "916ce887c1ad36fc304580bb9497e7fffffd9914a151d1ec7ed871c845f02f2e"
5+
let version = "138.0.20250308050337"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.138.20250308050337/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "049f3830e7a05d4f891b5b91f517139b95df7075d73f236bdf012dae1c8f956d"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.138.20250307050321/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "7ea68b25f2849c79c7801816c3052a17a5afa1eabf8bf3f3099033b20d37f1e1"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.138.20250308050337/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: 3, day: 7, hour: 5, minute: 31, second: 40))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 3, day: 8, hour: 5, minute: 12, second: 40))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/search.swift

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ public protocol SearchEngineSelectorProtocol : AnyObject {
500500
*/
501501
func filterEngineConfiguration(userEnvironment: SearchUserEnvironment) throws -> RefinedSearchConfig
502502

503+
func setConfigOverrides(overrides: String) throws
504+
503505
/**
504506
* Sets the search configuration from the given string. If the configuration
505507
* string is unchanged since the last update, the cached configuration is
@@ -608,6 +610,13 @@ open func filterEngineConfiguration(userEnvironment: SearchUserEnvironment)throw
608610
FfiConverterTypeSearchUserEnvironment.lower(userEnvironment),$0
609611
)
610612
})
613+
}
614+
615+
open func setConfigOverrides(overrides: String)throws {try rustCallWithError(FfiConverterTypeSearchApiError.lift) {
616+
uniffi_search_fn_method_searchengineselector_set_config_overrides(self.uniffiClonePointer(),
617+
FfiConverterString.lower(overrides),$0
618+
)
619+
}
611620
}
612621

613622
/**
@@ -1118,6 +1127,10 @@ public struct SearchEngineDefinition {
11181127
* upon (e.g. alphabetical).
11191128
*/
11201129
public var orderHint: UInt32?
1130+
/**
1131+
* The url used for reporting clicks.
1132+
*/
1133+
public var clickUrl: String?
11211134

11221135
// Default memberwise initializers are never public by default, so we
11231136
// declare one manually.
@@ -1166,7 +1179,10 @@ public struct SearchEngineDefinition {
11661179
* The higher the number, the nearer to the front it should be.
11671180
* If the number is not specified, other methods of sorting may be relied
11681181
* upon (e.g. alphabetical).
1169-
*/orderHint: UInt32?) {
1182+
*/orderHint: UInt32?,
1183+
/**
1184+
* The url used for reporting clicks.
1185+
*/clickUrl: String?) {
11701186
self.aliases = aliases
11711187
self.charset = charset
11721188
self.classification = classification
@@ -1177,6 +1193,7 @@ public struct SearchEngineDefinition {
11771193
self.telemetrySuffix = telemetrySuffix
11781194
self.urls = urls
11791195
self.orderHint = orderHint
1196+
self.clickUrl = clickUrl
11801197
}
11811198
}
11821199

@@ -1214,6 +1231,9 @@ extension SearchEngineDefinition: Equatable, Hashable {
12141231
if lhs.orderHint != rhs.orderHint {
12151232
return false
12161233
}
1234+
if lhs.clickUrl != rhs.clickUrl {
1235+
return false
1236+
}
12171237
return true
12181238
}
12191239

@@ -1228,6 +1248,7 @@ extension SearchEngineDefinition: Equatable, Hashable {
12281248
hasher.combine(telemetrySuffix)
12291249
hasher.combine(urls)
12301250
hasher.combine(orderHint)
1251+
hasher.combine(clickUrl)
12311252
}
12321253
}
12331254

@@ -1248,7 +1269,8 @@ public struct FfiConverterTypeSearchEngineDefinition: FfiConverterRustBuffer {
12481269
partnerCode: FfiConverterString.read(from: &buf),
12491270
telemetrySuffix: FfiConverterString.read(from: &buf),
12501271
urls: FfiConverterTypeSearchEngineUrls.read(from: &buf),
1251-
orderHint: FfiConverterOptionUInt32.read(from: &buf)
1272+
orderHint: FfiConverterOptionUInt32.read(from: &buf),
1273+
clickUrl: FfiConverterOptionString.read(from: &buf)
12521274
)
12531275
}
12541276

@@ -1263,6 +1285,7 @@ public struct FfiConverterTypeSearchEngineDefinition: FfiConverterRustBuffer {
12631285
FfiConverterString.write(value.telemetrySuffix, into: &buf)
12641286
FfiConverterTypeSearchEngineUrls.write(value.urls, into: &buf)
12651287
FfiConverterOptionUInt32.write(value.orderHint, into: &buf)
1288+
FfiConverterOptionString.write(value.clickUrl, into: &buf)
12661289
}
12671290
}
12681291

@@ -2484,6 +2507,9 @@ private var initializationResult: InitializationResult = {
24842507
if (uniffi_search_checksum_method_searchengineselector_filter_engine_configuration() != 58182) {
24852508
return InitializationResult.apiChecksumMismatch
24862509
}
2510+
if (uniffi_search_checksum_method_searchengineselector_set_config_overrides() != 22323) {
2511+
return InitializationResult.apiChecksumMismatch
2512+
}
24872513
if (uniffi_search_checksum_method_searchengineselector_set_search_config() != 35713) {
24882514
return InitializationResult.apiChecksumMismatch
24892515
}

swift-source/all/Generated/searchFFI.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ void uniffi_search_fn_method_searchengineselector_clear_search_config(void*_Nonn
277277
RustBuffer uniffi_search_fn_method_searchengineselector_filter_engine_configuration(void*_Nonnull ptr, RustBuffer user_environment, RustCallStatus *_Nonnull out_status
278278
);
279279
#endif
280+
#ifndef UNIFFI_FFIDEF_UNIFFI_SEARCH_FN_METHOD_SEARCHENGINESELECTOR_SET_CONFIG_OVERRIDES
281+
#define UNIFFI_FFIDEF_UNIFFI_SEARCH_FN_METHOD_SEARCHENGINESELECTOR_SET_CONFIG_OVERRIDES
282+
void uniffi_search_fn_method_searchengineselector_set_config_overrides(void*_Nonnull ptr, RustBuffer overrides, RustCallStatus *_Nonnull out_status
283+
);
284+
#endif
280285
#ifndef UNIFFI_FFIDEF_UNIFFI_SEARCH_FN_METHOD_SEARCHENGINESELECTOR_SET_SEARCH_CONFIG
281286
#define UNIFFI_FFIDEF_UNIFFI_SEARCH_FN_METHOD_SEARCHENGINESELECTOR_SET_SEARCH_CONFIG
282287
void uniffi_search_fn_method_searchengineselector_set_search_config(void*_Nonnull ptr, RustBuffer configuration, RustCallStatus *_Nonnull out_status
@@ -577,6 +582,12 @@ uint16_t uniffi_search_checksum_method_searchengineselector_clear_search_config(
577582
#define UNIFFI_FFIDEF_UNIFFI_SEARCH_CHECKSUM_METHOD_SEARCHENGINESELECTOR_FILTER_ENGINE_CONFIGURATION
578583
uint16_t uniffi_search_checksum_method_searchengineselector_filter_engine_configuration(void
579584

585+
);
586+
#endif
587+
#ifndef UNIFFI_FFIDEF_UNIFFI_SEARCH_CHECKSUM_METHOD_SEARCHENGINESELECTOR_SET_CONFIG_OVERRIDES
588+
#define UNIFFI_FFIDEF_UNIFFI_SEARCH_CHECKSUM_METHOD_SEARCHENGINESELECTOR_SET_CONFIG_OVERRIDES
589+
uint16_t uniffi_search_checksum_method_searchengineselector_set_config_overrides(void
590+
580591
);
581592
#endif
582593
#ifndef UNIFFI_FFIDEF_UNIFFI_SEARCH_CHECKSUM_METHOD_SEARCHENGINESELECTOR_SET_SEARCH_CONFIG

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: 3, day: 7, hour: 5, minute: 31, second: 42))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 3, day: 8, hour: 5, minute: 12, second: 42))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)