Skip to content

Commit

Permalink
Auto update with latest AS Release v93.0.1 (#49)
Browse files Browse the repository at this point in the history
* Updates Package.swift with v93.0.1 release

* Version 93.0.1

Co-authored-by: Firefox Sync Engineering <[email protected]>
  • Loading branch information
github-actions[bot] and Firefox Sync Engineering authored Apr 21, 2022
1 parent 6f813d2 commit c53e3cc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// swift-tools-version:5.4
import PackageDescription

let checksum = "b0bfb2bf91bf52978b8f0450456a4e9b2f7d346d635b0ac7f743709e6eaa98cb"
let version = "v93.0.0"
let checksum = "ee0c516ff8ddb0050c8e0daffd640c2b2cc01441cd081e6c46002e2f0324dc9c"
let version = "v93.0.1"
let url = "https://github.com/mozilla/application-services/releases/download/\(version)/MozillaRustComponents.xcframework.zip"

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion swift-source/Generated/Metrics/Metrics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension GleanMetrics {
// Intentionally left private, no external user can instantiate a new global object.
}

public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2022, month: 4, day: 14, hour: 15, minute: 6, second: 43))
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2022, month: 4, day: 21, hour: 15, minute: 6, second: 37))
}

enum NimbusEvents {
Expand Down
14 changes: 14 additions & 0 deletions swift-source/Nimbus/Collections+.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,17 @@ public extension Array where Element == Bundle {
return nil
}
}

/// Convenience extensions to make working elements coming from the `Variables`
/// object slightly easier/regular.
extension String {
func map<V>(_ transform: (Self) throws -> V?) rethrows -> V? {
return try transform(self)
}
}

extension Variables {
func map<V>(_ transform: (Self) throws -> V) rethrows -> V {
return try transform(self)
}
}

0 comments on commit c53e3cc

Please sign in to comment.