Skip to content

Commit

Permalink
Merge pull request #12 from apivideo/bugfix/swift5_progressive_upload…
Browse files Browse the repository at this point in the history
…_visibility

fix(swift5): Fix progressive upload protocol visibility
  • Loading branch information
bot-api-video authored Dec 14, 2021
2 parents e607ce8 + 2722319 commit e369198
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ApiVideoClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'
s.version = '0.1.1'
s.source = { :git => 'https://github.com/apivideo/api.video-ios-client', :tag => 'v0.1.1' }
s.version = '0.1.2'
s.source = { :git => 'https://github.com/apivideo/api.video-ios-client', :tag => 'v0.1.2' }
s.authors = { 'Ecosystem Team' => 'ecosystem@api.video' }
s.license = { :type => 'MIT' }
s.homepage = 'https://docs.api.video'
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All changes to this project will be documented in this file.

## [0.1.2] - 2021-12-14
- Set protocol for progressive upload session visibility to public

## [0.1.1] - 2021-12-14
- Add a protocol for progressive upload session

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ api.video's iOS client streamlines the coding process. Chunking files is handled
Specify it in your `Cartfile`:

```
github "apivideo/api.video-ios-client" ~> 0.1.1
github "apivideo/api.video-ios-client" ~> 0.1.2
```

Run `carthage update`

### CocoaPods

Add `pod 'ApiVideoClient', '0.1.1'` in your `Podfile`
Add `pod 'ApiVideoClient', '0.1.2'` in your `Podfile`

Run `pod install`

Expand Down
2 changes: 1 addition & 1 deletion Sources/Upload/ProgressiveUploadSessioning.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import Foundation

protocol ProgressiveUploadSessioning {
public protocol ProgressiveUploadSessioning {
func uploadPart(file: URL, onProgressReady: ((Progress) -> Void)?, apiResponseQueue: DispatchQueue, completion: @escaping ((_ data: Video?, _ error: Error?) -> Void)) -> URLSessionTask?
func uploadLastPart(file: URL, onProgressReady: ((Progress) -> Void)?, apiResponseQueue: DispatchQueue, completion: @escaping ((_ data: Video?, _ error: Error?) -> Void)) -> URLSessionTask?
}
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ targets:
sources: [Sources]
info:
path: ./Info.plist
version: 0.1.1
version: 0.1.2
settings:
APPLICATION_EXTENSION_API_ONLY: true
scheme: {}
Expand Down

0 comments on commit e369198

Please sign in to comment.