Commit Graph

4 Commits

Author SHA1 Message Date
javier fc84db4881 Updated license to Apache v2.0 (#9)
This PR contains the work done to update the license to *Apache v2.0* and also, to update any file header and/or mention as necessary.

Reviewed-on: #9
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-07 23:02:12 +00:00
javier a83da81414 Some bug fixes (#8)
This PR contains the work done to fix some bug fixes that were encountered while quickly testing the interactions with the service endpoints. Furthermore, there is also a possible fix to build this library for non-apple platforms.

Reviewed-on: #8
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-05 22:05:07 +00:00
javier 178f59909f Fixed a Swift 5.10 and Swift 6.0 compilation issue found on the "init(privateKey: publicKey: )" initializer function of the GenerateHashUseCase use case in the library target. (#6)
This PR contains the work done to fix a [Swift 5.10](https://swiftpackageindex.com/builds/780C768F-B00B-4F96-90E7-BFB0D2E7C47E) and [Swift 6.0](https://swiftpackageindex.com/builds/4D0AA35C-1F9E-4725-A02F-03FACF74DE10) compilation issue found by the Swift Package Index.

Reviewed-on: #6
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-05 12:35:23 +00:00
javier ce0ec02c03 Implemented the Auth middleware (#3)
This PR contains the work done to implement the `AuthMiddleware` middleware that, when plugged into a `Client` object, adds authentication parameters to any request the client would make.

Reviewed-on: #3
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-04 10:57:15 +00:00