Skip to content

Commit 739e92f

Browse files
Prepare for release 3.2.0 (#45)
1 parent 5262dc5 commit 739e92f

153 files changed

Lines changed: 20373 additions & 14023 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file. To know better on how to write and maintain a changelog, refer to [this link](https://keepachangelog.com/en/1.0.0/).
33

4+
## [3.2.0] - HPP Fallback
5+
6+
### Added
7+
- Support for falling back to displaying the HPP web view — so that if, for any reason, the native SDK flow is not available, the payment can still continue.
8+
49
## [3.1.0] - ResultShown
510

611
### Added
Binary file not shown.

Frameworks/TrueLayerAPI.xcframework/ios-arm64/TrueLayerAPI.framework/Modules/TrueLayerAPI.swiftmodule/arm64-apple-ios.abi.json

Lines changed: 286 additions & 135 deletions
Large diffs are not rendered by default.

Frameworks/TrueLayerAPI.xcframework/ios-arm64/TrueLayerAPI.framework/Modules/TrueLayerAPI.swiftmodule/arm64-apple-ios.private.swiftinterface

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@ import _Concurrency
1111
import _StringProcessing
1212
import _SwiftConcurrencyShims
1313
@_spi(TrueLayer) extension TrueLayerAPI.API {
14-
@_spi(TrueLayer) public enum Environment {
14+
@_spi(TrueLayer) public enum Environment : Swift.Codable {
1515
@_spi(TrueLayer) case development
1616
@_spi(TrueLayer) case production
1717
@_spi(TrueLayer) case sandbox
1818
@_spi(TrueLayer) public static func == (a: TrueLayerAPI.API.Environment, b: TrueLayerAPI.API.Environment) -> Swift.Bool
1919
@_spi(TrueLayer) public func hash(into hasher: inout Swift.Hasher)
20+
@_spi(TrueLayer) public func encode(to encoder: any Swift.Encoder) throws
2021
@_spi(TrueLayer) public var hashValue: Swift.Int {
2122
@_spi(TrueLayer) get
2223
}
24+
@_spi(TrueLayer) public init(from decoder: any Swift.Decoder) throws
2325
}
2426
}
2527
@_spi(TrueLayer) public enum API {
@@ -89,9 +91,6 @@ import _SwiftConcurrencyShims
8991
@_spi(TrueLayer) public func getLegalCopy(for providerCountryCode: Swift.String) async throws -> TrueLayerCore.Core.Payments.Models.Shared.ActionableCopy
9092
#endif
9193
#if compiler(>=5.3) && $AsyncAwait
92-
@_spi(TrueLayer) public func getMerchantConfiguration() async throws -> TrueLayerCore.Core.Payments.Models.Shared.Merchant
93-
#endif
94-
#if compiler(>=5.3) && $AsyncAwait
9594
@_spi(TrueLayer) public func getProvider(with providerID: Swift.String) async throws -> TrueLayerCore.Core.Payments.Models.Shared.Provider
9695
#endif
9796
#if compiler(>=5.3) && $AsyncAwait
@@ -135,7 +134,7 @@ import _SwiftConcurrencyShims
135134
@_spi(TrueLayer) public func getProvidersConfiguration() async throws -> [TrueLayerCore.Core.Payments.Models.Shared.Provider.Configuration]
136135
#endif
137136
#if compiler(>=5.3) && $AsyncAwait
138-
@_spi(TrueLayer) public func getMerchantConfiguration() async throws -> TrueLayerCore.Core.Payments.Models.Shared.Merchant
137+
@_spi(TrueLayer) public func getMerchantConfiguration(redirectURI: Foundation.URL, deviceInformationProvider: any TrueLayerUtils.DeviceInformationProvider, screenInformationProvider: any TrueLayerUtils.ScreenInformationProvider, bundleInformationProvider: any TrueLayerUtils.BundleInformationProvider, localeInformationProvider: any TrueLayerUtils.LocaleInformationProvider, resourceType: Swift.String, integrationType: Swift.String, integrationVersion: Swift.String, sdkVersion: Swift.String, isResultScreenEnabled: Swift.Bool?) async throws -> TrueLayerCore.Core.Payments.Models.Shared.Merchant
139138
#endif
140139
#if compiler(>=5.3) && $AsyncAwait
141140
@_spi(TrueLayer) public func getLastUsedProviders(userIdentifier: Swift.String, paymentType: TrueLayerCore.Core.Payments.Models.Shared.PaymentType) async throws -> [TrueLayerCore.Core.Payments.Models.Shared.Provider.Identifier]
Binary file not shown.
Binary file not shown.

Frameworks/TrueLayerAPI.xcframework/ios-arm64_x86_64-simulator/TrueLayerAPI.framework/Modules/TrueLayerAPI.swiftmodule/arm64-apple-ios-simulator.abi.json

Lines changed: 286 additions & 135 deletions
Large diffs are not rendered by default.

Frameworks/TrueLayerAPI.xcframework/ios-arm64_x86_64-simulator/TrueLayerAPI.framework/Modules/TrueLayerAPI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@ import _Concurrency
1111
import _StringProcessing
1212
import _SwiftConcurrencyShims
1313
@_spi(TrueLayer) extension TrueLayerAPI.API {
14-
@_spi(TrueLayer) public enum Environment {
14+
@_spi(TrueLayer) public enum Environment : Swift.Codable {
1515
@_spi(TrueLayer) case development
1616
@_spi(TrueLayer) case production
1717
@_spi(TrueLayer) case sandbox
1818
@_spi(TrueLayer) public static func == (a: TrueLayerAPI.API.Environment, b: TrueLayerAPI.API.Environment) -> Swift.Bool
1919
@_spi(TrueLayer) public func hash(into hasher: inout Swift.Hasher)
20+
@_spi(TrueLayer) public func encode(to encoder: any Swift.Encoder) throws
2021
@_spi(TrueLayer) public var hashValue: Swift.Int {
2122
@_spi(TrueLayer) get
2223
}
24+
@_spi(TrueLayer) public init(from decoder: any Swift.Decoder) throws
2325
}
2426
}
2527
@_spi(TrueLayer) public enum API {
@@ -89,9 +91,6 @@ import _SwiftConcurrencyShims
8991
@_spi(TrueLayer) public func getLegalCopy(for providerCountryCode: Swift.String) async throws -> TrueLayerCore.Core.Payments.Models.Shared.ActionableCopy
9092
#endif
9193
#if compiler(>=5.3) && $AsyncAwait
92-
@_spi(TrueLayer) public func getMerchantConfiguration() async throws -> TrueLayerCore.Core.Payments.Models.Shared.Merchant
93-
#endif
94-
#if compiler(>=5.3) && $AsyncAwait
9594
@_spi(TrueLayer) public func getProvider(with providerID: Swift.String) async throws -> TrueLayerCore.Core.Payments.Models.Shared.Provider
9695
#endif
9796
#if compiler(>=5.3) && $AsyncAwait
@@ -135,7 +134,7 @@ import _SwiftConcurrencyShims
135134
@_spi(TrueLayer) public func getProvidersConfiguration() async throws -> [TrueLayerCore.Core.Payments.Models.Shared.Provider.Configuration]
136135
#endif
137136
#if compiler(>=5.3) && $AsyncAwait
138-
@_spi(TrueLayer) public func getMerchantConfiguration() async throws -> TrueLayerCore.Core.Payments.Models.Shared.Merchant
137+
@_spi(TrueLayer) public func getMerchantConfiguration(redirectURI: Foundation.URL, deviceInformationProvider: any TrueLayerUtils.DeviceInformationProvider, screenInformationProvider: any TrueLayerUtils.ScreenInformationProvider, bundleInformationProvider: any TrueLayerUtils.BundleInformationProvider, localeInformationProvider: any TrueLayerUtils.LocaleInformationProvider, resourceType: Swift.String, integrationType: Swift.String, integrationVersion: Swift.String, sdkVersion: Swift.String, isResultScreenEnabled: Swift.Bool?) async throws -> TrueLayerCore.Core.Payments.Models.Shared.Merchant
139138
#endif
140139
#if compiler(>=5.3) && $AsyncAwait
141140
@_spi(TrueLayer) public func getLastUsedProviders(userIdentifier: Swift.String, paymentType: TrueLayerCore.Core.Payments.Models.Shared.PaymentType) async throws -> [TrueLayerCore.Core.Payments.Models.Shared.Provider.Identifier]

0 commit comments

Comments
 (0)