Skip to content

Release 70ec88081b3be3d86e052a347463093e31eb7151 #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ let package = Package(
swiftSettings: [.unsafeFlags(["-suppress-warnings"])]),
.binaryTarget(
name: "BitwardenFFI",
url: "https://bwlivefronttest.blob.core.windows.net/sdk/552e626-BitwardenFFI.xcframework.zip",
checksum: "3175dc32d03b6e27dbce25e70ceb547c93c4d19b93617065fb8b2e3d2853cbcb"),
url: "https://bwlivefronttest.blob.core.windows.net/sdk/70ec880-BitwardenFFI.xcframework.zip",
checksum: "258f267516fae0431611fb9c5465f2de9f15bc3b28c34eb6181d95c82a85d44f"),
.testTarget(
name: "BitwardenSdkTests",
dependencies: ["BitwardenSdk"])
Expand Down
14 changes: 7 additions & 7 deletions Sources/BitwardenSdk/BitwardenFido.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1136,14 +1136,14 @@ public func FfiConverterTypeMakeCredentialRequest_lower(_ value: MakeCredentialR

public struct MakeCredentialResult {
public let authenticatorData: Data
public let attestedCredentialData: Data
public let attestationObject: Data
public let credentialId: Data

// Default memberwise initializers are never public by default, so we
// declare one manually.
public init(authenticatorData: Data, attestedCredentialData: Data, credentialId: Data) {
public init(authenticatorData: Data, attestationObject: Data, credentialId: Data) {
self.authenticatorData = authenticatorData
self.attestedCredentialData = attestedCredentialData
self.attestationObject = attestationObject
self.credentialId = credentialId
}
}
Expand All @@ -1155,7 +1155,7 @@ extension MakeCredentialResult: Equatable, Hashable {
if lhs.authenticatorData != rhs.authenticatorData {
return false
}
if lhs.attestedCredentialData != rhs.attestedCredentialData {
if lhs.attestationObject != rhs.attestationObject {
return false
}
if lhs.credentialId != rhs.credentialId {
Expand All @@ -1166,7 +1166,7 @@ extension MakeCredentialResult: Equatable, Hashable {

public func hash(into hasher: inout Hasher) {
hasher.combine(authenticatorData)
hasher.combine(attestedCredentialData)
hasher.combine(attestationObject)
hasher.combine(credentialId)
}
}
Expand All @@ -1177,14 +1177,14 @@ public struct FfiConverterTypeMakeCredentialResult: FfiConverterRustBuffer {
return
try MakeCredentialResult(
authenticatorData: FfiConverterData.read(from: &buf),
attestedCredentialData: FfiConverterData.read(from: &buf),
attestationObject: FfiConverterData.read(from: &buf),
credentialId: FfiConverterData.read(from: &buf)
)
}

public static func write(_ value: MakeCredentialResult, into buf: inout [UInt8]) {
FfiConverterData.write(value.authenticatorData, into: &buf)
FfiConverterData.write(value.attestedCredentialData, into: &buf)
FfiConverterData.write(value.attestationObject, into: &buf)
FfiConverterData.write(value.credentialId, into: &buf)
}
}
Expand Down