Skip to content

Commit 202de42

Browse files
Update Swift SDK to aaae971f1230b4a165dc92ac674bd66af81d18dc
1 parent fe0f17e commit 202de42

File tree

3 files changed

+51
-7
lines changed

3 files changed

+51
-7
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ let package = Package(
3333
),
3434
.binaryTarget(
3535
name: "BitwardenFFI",
36-
url: "https://github.com/bitwarden/sdk-swift/releases/download/v1.0.0-unstable-85f0a96/BitwardenFFI-1.0.0-85f0a96.xcframework.zip",
37-
checksum: "52040247185b3c6f6e47a139ca9122953a83fe6e502946143e1076e5553e8d4b"
36+
url: "https://github.com/bitwarden/sdk-swift/releases/download/v1.0.0-unstable-aaae971/BitwardenFFI-1.0.0-aaae971.xcframework.zip",
37+
checksum: "fa3a83a5aade9e79575ab4d5bd98a1ac45ef50be08e12c2a161384838d2de85a"
3838
),
3939
]
4040
)

Sources/BitwardenSdk/BitwardenCore.swift

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2953,6 +2953,50 @@ public func FfiConverterTypeOrganizationId_lower(_ value: OrganizationId) -> Rus
29532953

29542954

29552955

2956+
/**
2957+
* Typealias from the type name used in the UDL file to the builtin type. This
2958+
* is needed because the UDL type name is used in function/method signatures.
2959+
*/
2960+
public typealias PasswordProtectedKeyEnvelope = String
2961+
2962+
#if swift(>=5.8)
2963+
@_documentation(visibility: private)
2964+
#endif
2965+
public struct FfiConverterTypePasswordProtectedKeyEnvelope: FfiConverter {
2966+
public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> PasswordProtectedKeyEnvelope {
2967+
return try FfiConverterString.read(from: &buf)
2968+
}
2969+
2970+
public static func write(_ value: PasswordProtectedKeyEnvelope, into buf: inout [UInt8]) {
2971+
return FfiConverterString.write(value, into: &buf)
2972+
}
2973+
2974+
public static func lift(_ value: RustBuffer) throws -> PasswordProtectedKeyEnvelope {
2975+
return try FfiConverterString.lift(value)
2976+
}
2977+
2978+
public static func lower(_ value: PasswordProtectedKeyEnvelope) -> RustBuffer {
2979+
return FfiConverterString.lower(value)
2980+
}
2981+
}
2982+
2983+
2984+
#if swift(>=5.8)
2985+
@_documentation(visibility: private)
2986+
#endif
2987+
public func FfiConverterTypePasswordProtectedKeyEnvelope_lift(_ value: RustBuffer) throws -> PasswordProtectedKeyEnvelope {
2988+
return try FfiConverterTypePasswordProtectedKeyEnvelope.lift(value)
2989+
}
2990+
2991+
#if swift(>=5.8)
2992+
@_documentation(visibility: private)
2993+
#endif
2994+
public func FfiConverterTypePasswordProtectedKeyEnvelope_lower(_ value: PasswordProtectedKeyEnvelope) -> RustBuffer {
2995+
return FfiConverterTypePasswordProtectedKeyEnvelope.lower(value)
2996+
}
2997+
2998+
2999+
29563000
/**
29573001
* Typealias from the type name used in the UDL file to the builtin type. This
29583002
* is needed because the UDL type name is used in function/method signatures.

Sources/BitwardenSdk/BitwardenSDK.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7100,15 +7100,15 @@ private let initializationResult: InitializationResult = {
71007100
uniffiCallbackInitCipherRepository()
71017101
uniffiCallbackInitFido2CredentialStore()
71027102
uniffiCallbackInitFido2UserInterface()
7103-
uniffiEnsureBitwardenExportersInitialized()
7104-
uniffiEnsureBitwardenCoreInitialized()
7103+
uniffiEnsureBitwardenCollectionsInitialized()
7104+
uniffiEnsureBitwardenVaultInitialized()
71057105
uniffiEnsureBitwardenCryptoInitialized()
71067106
uniffiEnsureBitwardenSendInitialized()
7107-
uniffiEnsureBitwardenCollectionsInitialized()
7107+
uniffiEnsureBitwardenSshInitialized()
7108+
uniffiEnsureBitwardenExportersInitialized()
71087109
uniffiEnsureBitwardenGeneratorsInitialized()
7110+
uniffiEnsureBitwardenCoreInitialized()
71097111
uniffiEnsureBitwardenFidoInitialized()
7110-
uniffiEnsureBitwardenVaultInitialized()
7111-
uniffiEnsureBitwardenSshInitialized()
71127112
return InitializationResult.ok
71137113
}()
71147114

0 commit comments

Comments
 (0)