Skip to content

Commit

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

* Version 91.1.0

Co-authored-by: Firefox Sync Engineering <[email protected]>
  • Loading branch information
github-actions[bot] and Firefox Sync Engineering authored Feb 14, 2022
1 parent 2adf48c commit a276a45
Show file tree
Hide file tree
Showing 19 changed files with 717 additions and 389 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 = "6e87f8efdc1d4f173d0ecf3e983621c90447852ca8d94feb2e758306bdce17fb"
let version = "v91.0.1"
let checksum = "16545b8edb256f06ca9f37e9da233ed4324d4a5545f406603b9150208f9290ce"
let version = "v91.1.0"
let url = "https://github.com/mozilla/application-services/releases/download/\(version)/MozillaRustComponents.xcframework.zip"

let package = Package(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public enum MZKeychainItemAccessibility {
return key
}
}

return nil
}
}
Expand Down
5 changes: 0 additions & 5 deletions swift-source/FxAClient/MZKeychain/KeychainWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ open class MZKeychainWrapper {

// Remove accessibility attribute
keychainQueryDictionary.removeValue(forKey: SecAttrAccessible)

// Limit search results to one
keychainQueryDictionary[SecMatchLimit] = kSecMatchLimitOne

Expand Down Expand Up @@ -375,7 +374,6 @@ open class MZKeychainWrapper {
return false
}
}

/// Remove all keychain data, including data not added through keychain wrapper.
///
/// - Warning: This may remove custom keychain entries you did not add via SwiftKeychainWrapper.
Expand All @@ -396,7 +394,6 @@ open class MZKeychainWrapper {
@discardableResult private class func deleteKeychainSecClass(_ secClass: AnyObject) -> Bool {
let query = [SecClass: secClass]
let status: OSStatus = SecItemDelete(query as CFDictionary)

if status == errSecSuccess {
return true
} else {
Expand All @@ -413,7 +410,6 @@ open class MZKeychainWrapper {
if let accessibility = accessibility {
keychainQueryDictionary[SecAttrAccessible] = accessibility.keychainAttrValue
}

// Update
let status: OSStatus = SecItemUpdate(keychainQueryDictionary as CFDictionary, updateDictionary as CFDictionary)

Expand Down Expand Up @@ -441,7 +437,6 @@ open class MZKeychainWrapper {
if let accessibility = accessibility {
keychainQueryDictionary[SecAttrAccessible] = accessibility.keychainAttrValue
}

// Set the keychain access group if defined
if let accessGroup = self.accessGroup {
keychainQueryDictionary[SecAttrAccessGroup] = accessGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,20 @@ public extension MZKeychainWrapper {
if let value = bool(forKey: key.rawValue) {
return value
}

return nil
}

func integer(forKey key: Key) -> Int? {
if let value = integer(forKey: key.rawValue) {
return value
}

return nil
}

func float(forKey key: Key) -> Float? {
if let value = float(forKey: key.rawValue) {
return value
}

return nil
}

Expand All @@ -127,7 +124,6 @@ public extension MZKeychainWrapper {
if let value = double(forKey: key.rawValue) {
return value
}

return nil
}

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: 2, day: 3, hour: 18, minute: 8, second: 21))
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2022, month: 2, day: 12, hour: 15, minute: 6, second: 39))
}

enum NimbusEvents {
Expand Down
Loading

0 comments on commit a276a45

Please sign in to comment.