Skip to content
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

fix: pong response & chunked upload #27

Merged
merged 6 commits into from
Jan 29, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
chore: bump versions
loks0n committed Jan 29, 2025
commit cda8a0ca3421684cf478b6cf68593b7558baa37c
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ Add the package to your `Package.swift` dependencies:

```swift
dependencies: [
.package(url: "[email protected]:appwrite/sdk-for-swift.git", from: "6.2.1"),
.package(url: "[email protected]:appwrite/sdk-for-swift.git", from: "7.0.0"),
],
```

2 changes: 1 addition & 1 deletion Sources/Appwrite/Client.swift
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ open class Client {
"x-sdk-name": "Swift",
"x-sdk-platform": "server",
"x-sdk-language": "swift",
"x-sdk-version": "6.2.1",
"x-sdk-version": "7.0.0",
"x-appwrite-response-format": "1.6.0"
]

25 changes: 1 addition & 24 deletions Sources/Appwrite/Services/Users.swift
Original file line number Diff line number Diff line change
@@ -1235,30 +1235,7 @@ open class Users: Service {
method: "DELETE",
path: apiPath,
headers: apiHeaders,
params: apiParams,
converter: converter
)
}

///
/// Delete authenticator
///
/// Delete an authenticator app.
///
/// @param String userId
/// @param AppwriteEnums.AuthenticatorType type
/// @throws Exception
/// @return array
///
open func deleteMfaAuthenticator(
userId: String,
type: AppwriteEnums.AuthenticatorType
) async throws -> AppwriteModels.User<[String: AnyCodable]> {
return try await deleteMfaAuthenticator(
userId: userId,
type: type,
nestedType: [String: AnyCodable].self
)
params: apiParams )
}

///