diff --git a/.github/workflows/publish-Risk.podspec.yml b/.github/workflows/publish-Risk.podspec.yml index 5885c1d..c5451f8 100644 --- a/.github/workflows/publish-Risk.podspec.yml +++ b/.github/workflows/publish-Risk.podspec.yml @@ -12,6 +12,6 @@ jobs: - name: Publish to CocoaPods register run: | gem install cocoapods - pod trunk push Risk.podspec --allow-warnings --skip-import-validation + pod trunk push Risk.podspec --allow-warnings env: COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} diff --git a/Sources/Core/Constants.swift b/Sources/Core/Constants.swift index e23ace0..5d33d30 100644 --- a/Sources/Core/Constants.swift +++ b/Sources/Core/Constants.swift @@ -9,7 +9,7 @@ import Foundation enum Constants { static let productName = "risk-ios-sdk" - static let version = "1.0.0" + static let version = "1.0.1" static let userAgent = "checkout-sdk-risk-ios/\(version)" static let loggerTypeIdentifier = "com.checkout.risk-mobile-sdk" } diff --git a/iOSExampleRiskCocoapods/Podfile b/iOSExampleRiskCocoapods/Podfile index 3cff5f9..51ff6f2 100644 --- a/iOSExampleRiskCocoapods/Podfile +++ b/iOSExampleRiskCocoapods/Podfile @@ -6,7 +6,7 @@ target 'iOSExampleRiskCocoapods' do use_frameworks! # Pods for iOS Example Custom - pod 'Risk', '0.0.2' + pod 'Risk', '1.0.0' end diff --git a/iOSExampleRiskCocoapods/Podfile.lock b/iOSExampleRiskCocoapods/Podfile.lock index 3250839..2fba03d 100644 --- a/iOSExampleRiskCocoapods/Podfile.lock +++ b/iOSExampleRiskCocoapods/Podfile.lock @@ -1,12 +1,12 @@ PODS: - CheckoutEventLoggerKit (1.2.4) - FingerprintPro (2.2.0) - - Risk (0.0.2): + - Risk (1.0.0): - CheckoutEventLoggerKit (~> 1.2.4) - FingerprintPro (= 2.2.0) DEPENDENCIES: - - Risk (= 0.0.2) + - Risk (= 1.0.0) SPEC REPOS: trunk: @@ -17,8 +17,8 @@ SPEC REPOS: SPEC CHECKSUMS: CheckoutEventLoggerKit: b780dec46295a34942780ea6230d0d5fd08aa05a FingerprintPro: 72e35dc0315b75ba36eafaaed996dbb2f35f7326 - Risk: e199436b726d1f9c7c83fe1ed15cf7e19470abd3 + Risk: 91ed45ee208965709c3069ee6834b41045146002 -PODFILE CHECKSUM: e91d0a4882d157474dec6038556d1cd5790432c3 +PODFILE CHECKSUM: 8ec9973f25868276095af561a70efb2b105a19ac COCOAPODS: 1.14.3 diff --git a/iOSExampleRiskCocoapods/Pods/Manifest.lock b/iOSExampleRiskCocoapods/Pods/Manifest.lock index 3250839..2fba03d 100644 --- a/iOSExampleRiskCocoapods/Pods/Manifest.lock +++ b/iOSExampleRiskCocoapods/Pods/Manifest.lock @@ -1,12 +1,12 @@ PODS: - CheckoutEventLoggerKit (1.2.4) - FingerprintPro (2.2.0) - - Risk (0.0.2): + - Risk (1.0.0): - CheckoutEventLoggerKit (~> 1.2.4) - FingerprintPro (= 2.2.0) DEPENDENCIES: - - Risk (= 0.0.2) + - Risk (= 1.0.0) SPEC REPOS: trunk: @@ -17,8 +17,8 @@ SPEC REPOS: SPEC CHECKSUMS: CheckoutEventLoggerKit: b780dec46295a34942780ea6230d0d5fd08aa05a FingerprintPro: 72e35dc0315b75ba36eafaaed996dbb2f35f7326 - Risk: e199436b726d1f9c7c83fe1ed15cf7e19470abd3 + Risk: 91ed45ee208965709c3069ee6834b41045146002 -PODFILE CHECKSUM: e91d0a4882d157474dec6038556d1cd5790432c3 +PODFILE CHECKSUM: 8ec9973f25868276095af561a70efb2b105a19ac COCOAPODS: 1.14.3 diff --git a/iOSExampleRiskCocoapods/Pods/Risk/README.md b/iOSExampleRiskCocoapods/Pods/Risk/README.md index 85acdf1..8cbd63e 100644 --- a/iOSExampleRiskCocoapods/Pods/Risk/README.md +++ b/iOSExampleRiskCocoapods/Pods/Risk/README.md @@ -1,9 +1,9 @@ # Risk iOS package - - +![license](https://img.shields.io/github/license/checkout/checkout-risk-sdk-ios.svg) + The package helps collect device data for merchants with direct integration (standalone) with the package and those using [Checkout's Frames iOS package](https://github.com/checkout/frames-ios). ## Table of contents @@ -27,7 +27,7 @@ The package helps collect device data for merchants with direct integration (sta ## Documentation ### Usage guide - 1. Add `Risk` as a package dependency - _see [Installation guide](https://github.com/checkout/checkout-risk-sdk-ios/blob/main/.github/partial-readmes/Integration.md) on how to add our SDK in your iOS app via SPM or Cocoapods._ + 1. Add `Risk` as a package dependency - _see [Installation guide](https://github.com/checkout/checkout-risk-sdk-ios/blob/main/.github/partial-readmes/Installation.md) on how to add our SDK in your iOS app via SPM or Cocoapods._ 2. Obtain a public API key from [Checkout Dashboard](https://dashboard.checkout.com/developers/keys). 3. Initialise the package with the `getInstance` method passing in the required configuration (public API key and environment), then publish the device data with the `publishData` method, see example below. ```swift @@ -118,7 +118,7 @@ The package exposes two methods: ### Additional Resources - + - [Frames iOS SDK documentation](https://www.checkout.com/docs/developer-resources/sdks/frames-ios-sdk) ## Demo projects diff --git a/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/Constants.swift b/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/Constants.swift index a5ab808..e23ace0 100644 --- a/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/Constants.swift +++ b/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/Constants.swift @@ -9,6 +9,7 @@ import Foundation enum Constants { static let productName = "risk-ios-sdk" - static let version = "0.0.1" + static let version = "1.0.0" static let userAgent = "checkout-sdk-risk-ios/\(version)" + static let loggerTypeIdentifier = "com.checkout.risk-mobile-sdk" } diff --git a/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/LoggerService.swift b/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/LoggerService.swift index cec227a..bca23c5 100644 --- a/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/LoggerService.swift +++ b/iOSExampleRiskCocoapods/Pods/Risk/Sources/Core/LoggerService.swift @@ -74,7 +74,7 @@ extension LoggerServiceProtocol { } return Event( - typeIdentifier: "com.checkout.risk-mobile-sdk", + typeIdentifier: Constants.loggerTypeIdentifier, time: Date(), monitoringLevel: monitoringLevel, properties: properties diff --git a/iOSExampleRiskCocoapods/Pods/Target Support Files/Risk/Risk-Info.plist b/iOSExampleRiskCocoapods/Pods/Target Support Files/Risk/Risk-Info.plist index aa57310..19cf209 100644 --- a/iOSExampleRiskCocoapods/Pods/Target Support Files/Risk/Risk-Info.plist +++ b/iOSExampleRiskCocoapods/Pods/Target Support Files/Risk/Risk-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.0.2 + 1.0.0 CFBundleSignature ???? CFBundleVersion