Skip to content

Commit

Permalink
Release 1.0.0 beta 15 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmattos-hw authored Mar 17, 2022
1 parent ad1423d commit 6036a50
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: swift
osx_image: xcode12.2
osx_image: xcode13.1
os: osx
branches:
only:
Expand All @@ -15,11 +15,11 @@ env:
- IOS_FRAMEWORK_SCHEME="HyperwalletSDK"

matrix:
- ios_version='14.2' ios_device='iPhone 11' scheme="$IOS_FRAMEWORK_SCHEME" platform='iOS Simulator'
- ios_version='15.0' ios_device='iPhone 11' scheme="$IOS_FRAMEWORK_SCHEME" platform='iOS Simulator'
before_install:
# Boot the emulator by ID
- |
ios_uid=$(xcrun instruments -s devices | grep Simulator | grep "$ios_device ($ios_version)*" | grep -o "[0-9A-F]\{8\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{12\}")
ios_uid=$(xcrun xctrace list devices | grep Simulator | grep "$ios_device Simulator ($ios_version)*" | grep -o "[0-9A-F]\{8\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{4\}-[0-9A-F]\{12\}")
xcrun simctl boot $ios_uid
# List all emulator available
- xcrun simctl list
Expand Down Expand Up @@ -48,6 +48,6 @@ script: |
# Lint - Add `--strict` to fail for warning and violation
swiftlint lint --reporter json
after_success:
- slather
# - slather
- make docs
- if [ $TRAVIS_BRANCH = 'master' ] && [ $TRAVIS_PULL_REQUEST = 'false' ]; then sh ./Scripts/travisPublishDocs.sh; fi
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog
=========
[1.0.0-beta15](https://github.com/hyperwallet/hyperwallet-ios-sdk/releases/tag/1.0.0-beta15)
-------------------
- Connection timeout increased

[1.0.0-beta14](https://github.com/hyperwallet/hyperwallet-ios-sdk/releases/tag/1.0.0-beta14)
-------------------
- Performance update for Add Transfer Method GraphQL
Expand Down
2 changes: 1 addition & 1 deletion HyperwalletSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'HyperwalletSDK'
spec.version = '1.0.0-beta14'
spec.version = '1.0.0-beta15'
spec.summary = 'Hyperwallet Core SDK for iOS to integrate with Hyperwallet Platform'
spec.homepage = 'https://github.com/hyperwallet/hyperwallet-ios-sdk'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ Use [Carthage](https://github.com/Carthage/Carthage) or [CocoaPods](https://coco
### Carthage
Specify it in your Cartfile:
```ogdl
github "hyperwallet/hyperwallet-ios-sdk" "1.0.0-beta14"
github "hyperwallet/hyperwallet-ios-sdk" "1.0.0-beta15"
```

### CocoaPods
Specify it in your Podfile:
```ruby
pod 'HyperwalletSDK', '~> 1.0.0-beta14'
pod 'HyperwalletSDK', '~> 1.0.0-beta15'
```

## Initialization
Expand Down
4 changes: 2 additions & 2 deletions Sources/HTTPTransaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ final class HTTPTransaction {
"application/json"
}()

/// Returns the default timeout - 5 seconds
/// Returns the default timeout - 30 seconds
private static let defaultTimeout: Double = {
5.0
30.0
}()

/// Returns `Accept-Language` header, generated by querying `Locale` for the user's `preferredLanguages`.
Expand Down
2 changes: 1 addition & 1 deletion Tests/HTTPTransactionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class HTTPTransactionTests: XCTestCase {
let configuration = HTTPTransaction.urlSessionConfiguration
let header = configuration.httpAdditionalHeaders

XCTAssertEqual(configuration.timeoutIntervalForRequest, 5.0)
XCTAssertEqual(configuration.timeoutIntervalForRequest, 30.0)
XCTAssertEqual(header?["Content-Type"] as? String, "application/json")
XCTAssertTrue((header?["Accept-Language"] as? String ?? "").contains("en"))
XCTAssertNotNil(header?["x-sdk-version"])
Expand Down

0 comments on commit 6036a50

Please sign in to comment.