@pixelpay/capacitor-plugin 2.0.11 → 2.0.13-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/android/build.gradle +12 -10
  3. package/android/src/main/java/com/pixel/plugins/capacitor/PixelPaySDKPlugin.java +27 -3
  4. package/dist/esm/index.js +1 -1
  5. package/dist/esm/index.js.map +1 -1
  6. package/dist/plugin.cjs.js +41 -67
  7. package/dist/plugin.cjs.js.map +1 -1
  8. package/dist/plugin.js +41 -67
  9. package/dist/plugin.js.map +1 -1
  10. package/ios/Frameworks/PixelPaySDK.podspec +1 -1
  11. package/ios/Frameworks/PixelPaySDK.xcframework/Info.plist +5 -5
  12. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +2 -20
  13. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Info.plist +0 -0
  14. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.abi.json +515 -321
  15. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.private.swiftinterface +16 -14
  16. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftinterface +16 -14
  18. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/PixelPaySDK +0 -0
  19. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/_CodeSignature/CodeResources +13 -13
  20. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +4 -40
  21. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Info.plist +0 -0
  22. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.abi.json +515 -321
  23. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +16 -14
  24. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  25. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +16 -14
  26. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +515 -321
  27. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +16 -14
  28. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  29. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +16 -14
  30. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/PixelPaySDK +0 -0
  31. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/_CodeSignature/CodeResources +23 -23
  32. package/ios/Frameworks/README.md +1 -1
  33. package/package.json +11 -10
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
3
- // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name PixelPaySDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
3
+ // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name PixelPaySDK
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
5
5
  import CardinalMobile
6
6
  import Combine
7
7
  import CommonCrypto
@@ -763,8 +763,8 @@ public struct HTTPHeader : Swift.Hashable {
763
763
  public let name: Swift.String
764
764
  public let value: Swift.String
765
765
  public init(name: Swift.String, value: Swift.String)
766
- public func hash(into hasher: inout Swift.Hasher)
767
766
  public static func == (a: PixelPaySDK.HTTPHeader, b: PixelPaySDK.HTTPHeader) -> Swift.Bool
767
+ public func hash(into hasher: inout Swift.Hasher)
768
768
  public var hashValue: Swift.Int {
769
769
  get
770
770
  }
@@ -817,11 +817,11 @@ extension Foundation.URLSessionConfiguration {
817
817
  @objc deinit
818
818
  }
819
819
  @_inheritsConvenienceInitializers public class Transaction : PixelPaySDK.ServiceBehaviour {
820
- public func doSale(transaction: PixelPaySDK.SaleTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
821
- public func doAuth(transaction: PixelPaySDK.AuthTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
822
- public func doCapture(transaction: PixelPaySDK.CaptureTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
823
- public func doVoid(transaction: PixelPaySDK.VoidTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
824
- public func getStatus(transaction: PixelPaySDK.StatusTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
820
+ public func doSale(transaction: PixelPaySDK.SaleTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
821
+ public func doAuth(transaction: PixelPaySDK.AuthTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
822
+ public func doCapture(transaction: PixelPaySDK.CaptureTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
823
+ public func doVoid(transaction: PixelPaySDK.VoidTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
824
+ public func getStatus(transaction: PixelPaySDK.StatusTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
825
825
  public func verifyPaymentHash(hash: Swift.String?, order_id: Swift.String?, secret: Swift.String) -> Swift.Bool
826
826
  public func getCybersourceFingerprint(merchant_id: Swift.String, org_id: Swift.String, on_response: @escaping (Swift.String) -> Swift.Void)
827
827
  override public init(settings: PixelPaySDK.Settings)
@@ -1091,6 +1091,7 @@ public class Settings : Swift.Codable {
1091
1091
  public var lang: Swift.String?
1092
1092
  public var sdk: Swift.String?
1093
1093
  public var sdk_version: Swift.String?
1094
+ public var headers: [Swift.String : Swift.String]?
1094
1095
  public init()
1095
1096
  public func setupEndpoint(endpoint: Swift.String)
1096
1097
  public func setupCredentials(key: Swift.String, hash: Swift.String)
@@ -1098,6 +1099,7 @@ public class Settings : Swift.Codable {
1098
1099
  public func setupEnvironment(env: Swift.String)
1099
1100
  public func setupSandbox()
1100
1101
  public func setupLanguage(lang: Swift.String)
1102
+ public func setupHeaders(headers: [Swift.String : Swift.String])
1101
1103
  @objc deinit
1102
1104
  public func encode(to encoder: any Swift.Encoder) throws
1103
1105
  required public init(from decoder: any Swift.Decoder) throws
@@ -1720,11 +1722,11 @@ public class AuthenticationInterceptor<AuthenticatorType> : PixelPaySDK.RequestI
1720
1722
  @objc deinit
1721
1723
  }
1722
1724
  @_inheritsConvenienceInitializers public class Tokenization : PixelPaySDK.ServiceBehaviour {
1723
- public func vaultCard(card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1724
- public func updateCard(token: Swift.String, card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1725
- public func showCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1726
- public func showCards(tokens: [Swift.String], completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1727
- public func deleteCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1725
+ public func vaultCard(card: PixelPaySDK.CardTokenization, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1726
+ public func updateCard(token: Swift.String, card: PixelPaySDK.CardTokenization, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1727
+ public func showCard(token: Swift.String, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1728
+ public func showCards(tokens: [Swift.String], completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1729
+ public func deleteCard(token: Swift.String, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1728
1730
  override public init(settings: PixelPaySDK.Settings)
1729
1731
  @objc deinit
1730
1732
  }
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
3
- // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name PixelPaySDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
3
+ // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name PixelPaySDK
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
5
5
  import CardinalMobile
6
6
  import Combine
7
7
  import CommonCrypto
@@ -763,8 +763,8 @@ public struct HTTPHeader : Swift.Hashable {
763
763
  public let name: Swift.String
764
764
  public let value: Swift.String
765
765
  public init(name: Swift.String, value: Swift.String)
766
- public func hash(into hasher: inout Swift.Hasher)
767
766
  public static func == (a: PixelPaySDK.HTTPHeader, b: PixelPaySDK.HTTPHeader) -> Swift.Bool
767
+ public func hash(into hasher: inout Swift.Hasher)
768
768
  public var hashValue: Swift.Int {
769
769
  get
770
770
  }
@@ -817,11 +817,11 @@ extension Foundation.URLSessionConfiguration {
817
817
  @objc deinit
818
818
  }
819
819
  @_inheritsConvenienceInitializers public class Transaction : PixelPaySDK.ServiceBehaviour {
820
- public func doSale(transaction: PixelPaySDK.SaleTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
821
- public func doAuth(transaction: PixelPaySDK.AuthTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
822
- public func doCapture(transaction: PixelPaySDK.CaptureTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
823
- public func doVoid(transaction: PixelPaySDK.VoidTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
824
- public func getStatus(transaction: PixelPaySDK.StatusTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
820
+ public func doSale(transaction: PixelPaySDK.SaleTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
821
+ public func doAuth(transaction: PixelPaySDK.AuthTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
822
+ public func doCapture(transaction: PixelPaySDK.CaptureTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
823
+ public func doVoid(transaction: PixelPaySDK.VoidTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
824
+ public func getStatus(transaction: PixelPaySDK.StatusTransaction, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
825
825
  public func verifyPaymentHash(hash: Swift.String?, order_id: Swift.String?, secret: Swift.String) -> Swift.Bool
826
826
  public func getCybersourceFingerprint(merchant_id: Swift.String, org_id: Swift.String, on_response: @escaping (Swift.String) -> Swift.Void)
827
827
  override public init(settings: PixelPaySDK.Settings)
@@ -1091,6 +1091,7 @@ public class Settings : Swift.Codable {
1091
1091
  public var lang: Swift.String?
1092
1092
  public var sdk: Swift.String?
1093
1093
  public var sdk_version: Swift.String?
1094
+ public var headers: [Swift.String : Swift.String]?
1094
1095
  public init()
1095
1096
  public func setupEndpoint(endpoint: Swift.String)
1096
1097
  public func setupCredentials(key: Swift.String, hash: Swift.String)
@@ -1098,6 +1099,7 @@ public class Settings : Swift.Codable {
1098
1099
  public func setupEnvironment(env: Swift.String)
1099
1100
  public func setupSandbox()
1100
1101
  public func setupLanguage(lang: Swift.String)
1102
+ public func setupHeaders(headers: [Swift.String : Swift.String])
1101
1103
  @objc deinit
1102
1104
  public func encode(to encoder: any Swift.Encoder) throws
1103
1105
  required public init(from decoder: any Swift.Decoder) throws
@@ -1720,11 +1722,11 @@ public class AuthenticationInterceptor<AuthenticatorType> : PixelPaySDK.RequestI
1720
1722
  @objc deinit
1721
1723
  }
1722
1724
  @_inheritsConvenienceInitializers public class Tokenization : PixelPaySDK.ServiceBehaviour {
1723
- public func vaultCard(card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1724
- public func updateCard(token: Swift.String, card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1725
- public func showCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1726
- public func showCards(tokens: [Swift.String], completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1727
- public func deleteCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1725
+ public func vaultCard(card: PixelPaySDK.CardTokenization, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1726
+ public func updateCard(token: Swift.String, card: PixelPaySDK.CardTokenization, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1727
+ public func showCard(token: Swift.String, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1728
+ public func showCards(tokens: [Swift.String], completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1729
+ public func deleteCard(token: Swift.String, completion: @escaping (PixelPaySDK.Response) -> Swift.Void) throws
1728
1730
  override public init(settings: PixelPaySDK.Settings)
1729
1731
  @objc deinit
1730
1732
  }