Skip to content

Commit b0ba381

Browse files
authored
Release 70ec88081b3be3d86e052a347463093e31eb7151 (#17)
1 parent 71dc81c commit b0ba381

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ let package = Package(
2727
swiftSettings: [.unsafeFlags(["-suppress-warnings"])]),
2828
.binaryTarget(
2929
name: "BitwardenFFI",
30-
url: "https://bwlivefronttest.blob.core.windows.net/sdk/552e626-BitwardenFFI.xcframework.zip",
31-
checksum: "3175dc32d03b6e27dbce25e70ceb547c93c4d19b93617065fb8b2e3d2853cbcb"),
30+
url: "https://bwlivefronttest.blob.core.windows.net/sdk/70ec880-BitwardenFFI.xcframework.zip",
31+
checksum: "258f267516fae0431611fb9c5465f2de9f15bc3b28c34eb6181d95c82a85d44f"),
3232
.testTarget(
3333
name: "BitwardenSdkTests",
3434
dependencies: ["BitwardenSdk"])

Sources/BitwardenSdk/BitwardenFido.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,14 +1136,14 @@ public func FfiConverterTypeMakeCredentialRequest_lower(_ value: MakeCredentialR
11361136

11371137
public struct MakeCredentialResult {
11381138
public let authenticatorData: Data
1139-
public let attestedCredentialData: Data
1139+
public let attestationObject: Data
11401140
public let credentialId: Data
11411141

11421142
// Default memberwise initializers are never public by default, so we
11431143
// declare one manually.
1144-
public init(authenticatorData: Data, attestedCredentialData: Data, credentialId: Data) {
1144+
public init(authenticatorData: Data, attestationObject: Data, credentialId: Data) {
11451145
self.authenticatorData = authenticatorData
1146-
self.attestedCredentialData = attestedCredentialData
1146+
self.attestationObject = attestationObject
11471147
self.credentialId = credentialId
11481148
}
11491149
}
@@ -1155,7 +1155,7 @@ extension MakeCredentialResult: Equatable, Hashable {
11551155
if lhs.authenticatorData != rhs.authenticatorData {
11561156
return false
11571157
}
1158-
if lhs.attestedCredentialData != rhs.attestedCredentialData {
1158+
if lhs.attestationObject != rhs.attestationObject {
11591159
return false
11601160
}
11611161
if lhs.credentialId != rhs.credentialId {
@@ -1166,7 +1166,7 @@ extension MakeCredentialResult: Equatable, Hashable {
11661166

11671167
public func hash(into hasher: inout Hasher) {
11681168
hasher.combine(authenticatorData)
1169-
hasher.combine(attestedCredentialData)
1169+
hasher.combine(attestationObject)
11701170
hasher.combine(credentialId)
11711171
}
11721172
}
@@ -1177,14 +1177,14 @@ public struct FfiConverterTypeMakeCredentialResult: FfiConverterRustBuffer {
11771177
return
11781178
try MakeCredentialResult(
11791179
authenticatorData: FfiConverterData.read(from: &buf),
1180-
attestedCredentialData: FfiConverterData.read(from: &buf),
1180+
attestationObject: FfiConverterData.read(from: &buf),
11811181
credentialId: FfiConverterData.read(from: &buf)
11821182
)
11831183
}
11841184

11851185
public static func write(_ value: MakeCredentialResult, into buf: inout [UInt8]) {
11861186
FfiConverterData.write(value.authenticatorData, into: &buf)
1187-
FfiConverterData.write(value.attestedCredentialData, into: &buf)
1187+
FfiConverterData.write(value.attestationObject, into: &buf)
11881188
FfiConverterData.write(value.credentialId, into: &buf)
11891189
}
11901190
}

0 commit comments

Comments
 (0)