-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
35 lines (32 loc) · 1.25 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SingleFactorAuth",
platforms: [
.iOS(.v14), .macOS(.v11)
],
products: [
.library(
name: "SingleFactorAuth",
targets: ["SingleFactorAuth"])
],
dependencies: [
.package(url: "https://github.com/torusresearch/torus-utils-swift.git", from: "10.0.0"),
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.0.0"),
.package(url: "https://github.com/Web3Auth/session-manager-swift.git", from: "6.0.1"),
.package(url: "https://github.com/auth0/JWTDecode.swift.git", from: "3.2.0")
],
targets: [
.target(
name: "SingleFactorAuth",
dependencies: [
.product(name: "TorusUtils", package: "torus-utils-swift"),
.product(name: "SessionManager", package: "session-manager-swift"),
.product(name: "JWTDecode", package: "JWTDecode.swift")
]),
.testTarget(
name: "SingleFactorAuthTests",
dependencies: ["SingleFactorAuth", .product(name: "JWTKit", package: "jwt-kit")])
]
)