Skip to content

Commit e369198

Browse files
Merge pull request #12 from apivideo/bugfix/swift5_progressive_upload_visibility
fix(swift5): Fix progressive upload protocol visibility
2 parents e607ce8 + 2722319 commit e369198

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

ApiVideoClient.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Pod::Spec.new do |s|
44
s.osx.deployment_target = '10.12'
55
s.tvos.deployment_target = '10.0'
66
s.watchos.deployment_target = '3.0'
7-
s.version = '0.1.1'
8-
s.source = { :git => 'https://github.com/apivideo/api.video-ios-client', :tag => 'v0.1.1' }
7+
s.version = '0.1.2'
8+
s.source = { :git => 'https://github.com/apivideo/api.video-ios-client', :tag => 'v0.1.2' }
99
s.authors = { 'Ecosystem Team' => 'ecosystem@api.video' }
1010
s.license = { :type => 'MIT' }
1111
s.homepage = 'https://docs.api.video'

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22
All changes to this project will be documented in this file.
33

4+
## [0.1.2] - 2021-12-14
5+
- Set protocol for progressive upload session visibility to public
6+
47
## [0.1.1] - 2021-12-14
58
- Add a protocol for progressive upload session
69

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ api.video's iOS client streamlines the coding process. Chunking files is handled
4141
Specify it in your `Cartfile`:
4242

4343
```
44-
github "apivideo/api.video-ios-client" ~> 0.1.1
44+
github "apivideo/api.video-ios-client" ~> 0.1.2
4545
```
4646

4747
Run `carthage update`
4848

4949
### CocoaPods
5050

51-
Add `pod 'ApiVideoClient', '0.1.1'` in your `Podfile`
51+
Add `pod 'ApiVideoClient', '0.1.2'` in your `Podfile`
5252

5353
Run `pod install`
5454

Sources/Upload/ProgressiveUploadSessioning.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import Foundation
55

6-
protocol ProgressiveUploadSessioning {
6+
public protocol ProgressiveUploadSessioning {
77
func uploadPart(file: URL, onProgressReady: ((Progress) -> Void)?, apiResponseQueue: DispatchQueue, completion: @escaping ((_ data: Video?, _ error: Error?) -> Void)) -> URLSessionTask?
88
func uploadLastPart(file: URL, onProgressReady: ((Progress) -> Void)?, apiResponseQueue: DispatchQueue, completion: @escaping ((_ data: Video?, _ error: Error?) -> Void)) -> URLSessionTask?
99
}

project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ targets:
77
sources: [Sources]
88
info:
99
path: ./Info.plist
10-
version: 0.1.1
10+
version: 0.1.2
1111
settings:
1212
APPLICATION_EXTENSION_API_ONLY: true
1313
scheme: {}

0 commit comments

Comments
 (0)