diff --git a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 index 9eda8c0..0d7c31a 100644 --- a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 +++ b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 @@ -1 +1 @@ -95ec52aef197bd0f892688a0cc7a806363f5334c7db059d1d4886b6c49962fb9 \ No newline at end of file +82b644869a006f53bab9fce638d82babbcf438d5667b85e39dfd007344f2afd9 \ No newline at end of file diff --git a/ApiVideoClient.podspec b/ApiVideoClient.podspec index 0ff9ec0..244a0d6 100644 --- a/ApiVideoClient.podspec +++ b/ApiVideoClient.podspec @@ -6,11 +6,11 @@ Pod::Spec.new do |s| # Add back when CocoaPods/CocoaPods#11558 is released #s.watchos.deployment_target = '3.0' s.version = '1.2.1' - s.source = { :git => 'https://github.com/apivideo/api.video-ios-client', :tag => 'v1.2.1' } + s.source = { :git => 'https://github.com/apivideo/api.video-swift-client', :tag => 'v1.2.1' } s.authors = { 'Ecosystem Team' => 'ecosystem@api.video' } s.license = { :type => 'MIT' } s.homepage = 'https://docs.api.video' - s.summary = 'The official iOS client library for api.video' + s.summary = 'The official Swift api.video client for iOS, macOS and tvOS' s.source_files = 'Sources/**/*.swift' s.dependency 'AnyCodable-FlightSchool', '~> 0.6.1' s.dependency 'Alamofire', '~> 5.4.3' diff --git a/README.md b/README.md index 00764d0..2709bb9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video)   [![badge](https://img.shields.io/github/stars/apivideo/api.video-ios-client?style=social)]()   [![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video) +[![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video)   [![badge](https://img.shields.io/github/stars/apivideo/api.video-swift-client?style=social)]()   [![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video) ![](https://github.com/apivideo/.github/blob/main/assets/apivideo_banner.png)

api.video iOS client

@@ -42,7 +42,7 @@ api.video's iOS streamlines the coding process. Chunking files is handled for y Specify it in your `Cartfile`: ``` -github "apivideo/api.video-ios-client" ~> 1.2.1 +github "apivideo/api.video-swift-client" ~> 1.2.1 ``` Run `carthage update` diff --git a/Sources/APIs.swift b/Sources/APIs.swift index 1a471c0..5f8883e 100644 --- a/Sources/APIs.swift +++ b/Sources/APIs.swift @@ -8,7 +8,7 @@ import Foundation public class ApiVideoClient { public static var apiKey: String? = nil public static var basePath = "https://ws.api.video" - internal static var customHeaders:[String: String] = ["AV-Origin-Client": "ios:1.2.1"] + internal static var customHeaders:[String: String] = ["AV-Origin-Client": "swift:1.2.1"] private static var chunkSize: Int = 50 * 1024 * 1024 internal static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory() internal static var credential = ApiVideoCredential() diff --git a/git_push.sh b/git_push.sh index 77a6ba2..6c99ce5 100644 --- a/git_push.sh +++ b/git_push.sh @@ -19,7 +19,7 @@ if [ "$git_user_id" = "" ]; then fi if [ "$git_repo_id" = "" ]; then - git_repo_id="api.video-ios-client" + git_repo_id="api.video-swift-client" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" fi