WeTransfer-Swift-SDK icon indicating copy to clipboard operation
WeTransfer-Swift-SDK copied to clipboard

A Swift SDK for WeTransfer’s public API

Results 19 WeTransfer-Swift-SDK issues
Sort by recently updated
recently updated
newest added

Currently `AsynchronousDependencyResultOperation` is used to handle the completion of all running instances of `UploadFileOperation` combined, but only the last result and error are used. This should be fixed by either...

enhancement

Using `CodingKeys` of `Codable`, properties like `id` should be renamed to `identifier`. All responses should also be renamed to their actual purpose, instead of directly conveying the API implementation details...

enhancement

Currently the SDK doesn't persist any state so resuming uploads is not possible. It should be able to store information about uploaded chunks so transfer uploads could be resumed at...

enhancement

Right now `UploadFilesOperation` fails when there aren't any files to upload. This might be undesired as there is no actual failing happening when the transfer already has successfully uploaded files

enhancement

Right now in `CompleteUploadOperation`, in the success case of the complete upload request, the response is checked and still might fail based on the value of `ok`. The expected responses...

enhancement

Currently `APIEndpoint` structs contain generic references to the response that is expected to be returned from the request. The request parameters should be defined here as well

enhancement

UploadFilesOperation should have little to do with creating a new `URLSession` and its delegate method. Ideally `APIClient` should have a method to create a new `APIClient` and accept a closure...

enhancement

Currently the `Authorizer` class only stores a bearer and adds it to a given request. It should be responsible for the actual authentication and could also handle the case of...

enhancement

Add the ability to create a transfer with in-memory objects like images. Any object that can be represented as `Data` should be able to be added to a transfer

enhancement