From 2945ee063e74ab64ed6e72b36c6796fa986f7672 Mon Sep 17 00:00:00 2001 From: Balaganesh S Date: Tue, 29 Oct 2024 17:42:45 +0530 Subject: [PATCH] Updated Package for version 2.2.1.12 --- .gitignore | 4 +++ Package.swift | 33 +++++++++++++++++++ .../HyperSDKDependencies/TestHyperSDK.swift | 3 ++ 3 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 Package.swift create mode 100644 Sources/HyperSDKDependencies/TestHyperSDK.swift diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..876b1e1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.build +.swiftpm +.DS_Store +Package.resolved diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..1fc819a --- /dev/null +++ b/Package.swift @@ -0,0 +1,33 @@ +// swift-tools-version:5.3 +import PackageDescription + +let package = Package( + name: "HyperSDK", + platforms: [ + .iOS(.v12) + ], + products: [ + .library( + name: "HyperSDK", + targets: ["HyperSDK", "HyperSDKDependencies"] + ) + ], + dependencies: [ + .package(name: "JuspaySafeBrowser", url: "https://github.com/juspay/juspaysafebrowser-ios.git", .exact("0.1.84")), + .package(name: "Salvator", url: "https://github.com/juspay/salvator-ios.git", .exact("1.0.6")), + ], + targets: [ + .binaryTarget( + name: "HyperSDK", + url: "https://public.releases.juspay.in/release/ios/hyper-sdk/2.2.1.12/HyperSDK.zip", + checksum: "5319664c13717b7da556d5a55b8ffdf55de166d935c249f568878bde9b6400e1" + ), + .target( + name: "HyperSDKDependencies", + dependencies: [ + .product(name: "JuspaySafeBrowser", package: "JuspaySafeBrowser"), + .product(name: "Salvator", package: "Salvator") + ] + ) + ] +) \ No newline at end of file diff --git a/Sources/HyperSDKDependencies/TestHyperSDK.swift b/Sources/HyperSDKDependencies/TestHyperSDK.swift new file mode 100644 index 0000000..7e34b76 --- /dev/null +++ b/Sources/HyperSDKDependencies/TestHyperSDK.swift @@ -0,0 +1,3 @@ +class TestHyperSDK { + +} \ No newline at end of file