react-native-payengine 2.0.18-alpha.4 → 2.0.18-alpha.6

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 (42) hide show
  1. package/android/build.gradle +2 -2
  2. package/ios/PayEngineSDK.xcframework/Info.plist +4 -0
  3. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +31 -29
  4. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Info.plist +0 -0
  5. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.abi.json +1236 -60
  6. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +20 -4
  7. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface-e +20 -4
  8. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface +20 -4
  10. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface-e +20 -4
  11. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/PayEngineSDK +0 -0
  12. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
  13. package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
  14. package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +20 -0
  15. package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
  16. package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3304 -0
  17. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +62 -58
  18. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Info.plist +0 -0
  19. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1236 -60
  20. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +20 -4
  21. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e +20 -4
  22. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  23. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +20 -4
  24. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e +20 -4
  25. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1236 -60
  26. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +20 -4
  27. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e +20 -4
  28. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  29. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +20 -4
  30. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e +20 -4
  31. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/PayEngineSDK +0 -0
  32. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
  33. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
  34. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +20 -0
  35. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
  36. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3300 -0
  37. package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/PayEngineSDK.yml +3278 -0
  38. package/lib/commonjs/components/v2/SecureFields/PECard.js.map +1 -1
  39. package/lib/module/components/v2/SecureFields/PECard.js.map +1 -1
  40. package/lib/typescript/components/v2/SecureFields/PECard.d.ts +65 -1
  41. package/package.json +1 -1
  42. package/src/components/v2/SecureFields/PECard.ts +82 -2
@@ -171,8 +171,8 @@ dependencies {
171
171
  // implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
172
172
  // implementation "com.google.android.gms:play-services-wallet:19.2.1"
173
173
 
174
- debugApi("com.payengine.sdk:payment-sdk-debug:1.1.1-alpha.4")
175
- releaseApi("com.payengine.sdk:payment-sdk-release:1.1.1-alpha.4")
174
+ debugApi("com.payengine.sdk:payment-sdk-debug:1.1.1-alpha.5")
175
+ releaseApi("com.payengine.sdk:payment-sdk-release:1.1.1-alpha.5")
176
176
  implementation("com.google.android.gms:play-services-wallet:19.2.1")
177
177
 
178
178
  // From node_modules
@@ -7,6 +7,8 @@
7
7
  <dict>
8
8
  <key>BinaryPath</key>
9
9
  <string>PayEngineSDK.framework/PayEngineSDK</string>
10
+ <key>DebugSymbolsPath</key>
11
+ <string>dSYMs</string>
10
12
  <key>LibraryIdentifier</key>
11
13
  <string>ios-arm64_x86_64-simulator</string>
12
14
  <key>LibraryPath</key>
@@ -24,6 +26,8 @@
24
26
  <dict>
25
27
  <key>BinaryPath</key>
26
28
  <string>PayEngineSDK.framework/PayEngineSDK</string>
29
+ <key>DebugSymbolsPath</key>
30
+ <string>dSYMs</string>
27
31
  <key>LibraryIdentifier</key>
28
32
  <string>ios-arm64</string>
29
33
  <key>LibraryPath</key>
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
3
+ // Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
4
4
  #ifndef PAYENGINESDK_SWIFT_H
5
5
  #define PAYENGINESDK_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -65,6 +65,7 @@
65
65
  # if __has_include(<uchar.h>)
66
66
  # include <uchar.h>
67
67
  # elif !defined(__cplusplus)
68
+ typedef unsigned char char8_t;
68
69
  typedef uint_least16_t char16_t;
69
70
  typedef uint_least32_t char32_t;
70
71
  # endif
@@ -306,6 +307,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
306
307
  #endif
307
308
 
308
309
  #if defined(__OBJC__)
310
+
309
311
  /// Represents the supported Apple Pay payment networks.
310
312
  typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
311
313
  /// Supported Apple Pay payment networks.
@@ -331,7 +333,6 @@ typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
331
333
  @class PKPaymentSummaryItem;
332
334
  @class NSString;
333
335
  @class PKShippingMethod;
334
-
335
336
  /// A class that represents an Apple Pay payment request.
336
337
  SWIFT_CLASS("_TtC12PayEngineSDK22ApplePayPaymentRequest")
337
338
  @interface ApplePayPaymentRequest : NSObject
@@ -364,7 +365,6 @@ typedef SWIFT_ENUM(NSInteger, ApplePayStatus, open) {
364
365
  ApplePayStatusNotEligible = 2,
365
366
  };
366
367
 
367
-
368
368
  /// Represents the details of a bank account.
369
369
  /// This class stores essential bank account information such as routing number,
370
370
  /// last four digits of the account number, and the account holder’s name.
@@ -382,14 +382,15 @@ SWIFT_CLASS("_TtC12PayEngineSDK15BankAccountData")
382
382
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
383
383
  @end
384
384
 
385
-
386
385
  /// Represents the details of a payment card.
387
386
  /// This class stores essential card information such as brand, last four digits,
388
- /// expiration date, and the cardholder’s name.
387
+ /// expiration date, cardholder’s name, contact information, and billing address.
389
388
  SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
390
389
  @interface CardData : NSObject
391
390
  /// The unique identifier for the card.
392
391
  @property (nonatomic, readonly, copy) NSString * _Nonnull id;
392
+ /// The merchant identifier associated with the card.
393
+ @property (nonatomic, readonly, copy) NSString * _Nullable merchantId;
393
394
  /// The brand of the card (e.g., Visa, MasterCard).
394
395
  @property (nonatomic, readonly, copy) NSString * _Nonnull brand;
395
396
  /// The last four digits of the card number.
@@ -400,16 +401,34 @@ SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
400
401
  @property (nonatomic, readonly) NSInteger expYear;
401
402
  /// The name of the cardholder.
402
403
  @property (nonatomic, readonly, copy) NSString * _Nonnull name;
403
- /// The ZIP code associated with the card’s billing address (optional).
404
+ /// The email address associated with the cardholder.
405
+ @property (nonatomic, readonly, copy) NSString * _Nullable email;
406
+ /// The phone number associated with the cardholder.
407
+ @property (nonatomic, readonly, copy) NSString * _Nullable phoneNumber;
408
+ /// The ZIP code associated with the card’s billing address.
404
409
  @property (nonatomic, readonly, copy) NSString * _Nullable addressZip;
410
+ /// The first line of the billing address.
411
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressLine1;
412
+ /// The second line of the billing address.
413
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressLine2;
414
+ /// The country of the billing address.
415
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressCountry;
416
+ /// The city of the billing address.
417
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressCity;
418
+ /// The state or region of the billing address.
419
+ @property (nonatomic, readonly, copy) NSString * _Nullable addressState;
420
+ /// The expiration date of the card token, if applicable.
421
+ @property (nonatomic, readonly, copy) NSString * _Nullable expiresAt;
422
+ /// The country of origin for the card.
423
+ @property (nonatomic, readonly, copy) NSString * _Nullable country;
424
+ /// The type of the card (e.g., Credit, Debit).
425
+ @property (nonatomic, readonly, copy) NSString * _Nullable type;
405
426
  - (nonnull instancetype)init SWIFT_UNAVAILABLE;
406
427
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
407
428
  @end
408
429
 
409
-
410
430
  @class PEBankAccount;
411
431
  @class NSCoder;
412
-
413
432
  /// A secure view for entering a customer’s bank account information safely.
414
433
  /// This view displays input fields required to securely collect bank account details.
415
434
  /// It also provides methods to validate the provided information and saving a customer’s bank acount by securely storing the information in PayEngine’s system.
@@ -480,7 +499,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK16IBankAccountView")
480
499
  @end
481
500
 
482
501
  @class PECard;
483
-
484
502
  /// A secure view for entering a customer’s payment card information safely.
485
503
  /// This view displays input fields required to securely collect payment card details.
486
504
  /// It also provides methods to validate the provided information and saving a customer’s card by securely storing the information in PayEngine’s system.
@@ -567,7 +585,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK15ICardNumberView")
567
585
 
568
586
  @protocol PEApplePayDelegate;
569
587
  @class UIButton;
570
-
571
588
  /// A class that facilitates Apple Pay transactions.
572
589
  /// <blockquote>
573
590
  /// Important: Making the object for this class is not allowed. The shared instance of this class provides methods to configure and initiate Apple Pay payments. The shared instance is managed internally and you don’t need to access it directly.
@@ -635,7 +652,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
635
652
  @class PKPaymentRequestShippingContactUpdate;
636
653
  @class PKPaymentRequestShippingMethodUpdate;
637
654
  @class PKPayment;
638
-
639
655
  @interface PEApplePay (SWIFT_EXTENSION(PayEngineSDK)) <PKPaymentAuthorizationViewControllerDelegate>
640
656
  - (void)paymentAuthorizationViewControllerDidFinish:(PKPaymentAuthorizationViewController * _Nonnull)controller;
641
657
  - (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController * _Nonnull)controller didSelectPaymentMethod:(PKPaymentMethod * _Nonnull)paymentMethod handler:(void (^ _Nonnull)(PKPaymentRequestPaymentMethodUpdate * _Nonnull))completion;
@@ -645,7 +661,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
645
661
  @end
646
662
 
647
663
  enum PEApplePayResult : NSInteger;
648
-
649
664
  /// A delegate protocol that provides callbacks for various events during the Apple Pay transaction process.
650
665
  /// This protocol notifies the conforming delegate about errors, UI status updates, payment token retrieval,
651
666
  /// and optional user interactions such as selecting shipping or payment methods.
@@ -703,7 +718,6 @@ typedef SWIFT_ENUM(NSInteger, PEApplePayResult, open) {
703
718
  PEApplePayResultFailure = 1,
704
719
  };
705
720
 
706
-
707
721
  /// A PayEngine bank account object.
708
722
  /// This class represents a bank account stored within PayEngine, containing a secure token
709
723
  /// and account details.
@@ -717,12 +731,13 @@ SWIFT_CLASS("_TtC12PayEngineSDK13PEBankAccount")
717
731
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
718
732
  @end
719
733
 
720
-
721
734
  /// A PayEngine card object.
722
- /// This class represents a payment card stored with PayEngine, containing a secure token
723
- /// and associated card details.
735
+ /// This class represents a payment card stored with PayEngine, containing a secure token,
736
+ /// the environment context, and associated card details.
724
737
  SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
725
738
  @interface PECard : NSObject
739
+ /// The environment in which the card was created (e.g., “sandbox”, “production”).
740
+ @property (nonatomic, readonly, copy) NSString * _Nullable env;
726
741
  /// A unique token representing the card.
727
742
  @property (nonatomic, readonly, copy) NSString * _Nonnull token;
728
743
  /// The associated card details.
@@ -731,7 +746,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
731
746
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
732
747
  @end
733
748
 
734
-
735
749
  /// A class that is used to configure the <code>PayEngine</code> object.
736
750
  /// This class stores the authentication key that is generated by PayEngine. It also defines the PayEngine’s backend environement which the <code>PayEngine</code> object will interact with.
737
751
  SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
@@ -756,7 +770,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
756
770
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
757
771
  @end
758
772
 
759
-
760
773
  /// A type that represents an input field.
761
774
  /// This class defines an input field with properties that determine its behavior, such as its name, type, placeholder,
762
775
  /// whether it is required, keyboard type, and optional validation pattern.
@@ -788,7 +801,6 @@ typedef SWIFT_ENUM(NSInteger, PEThemeMode, open) {
788
801
 
789
802
  @class UIView;
790
803
  @class ThreeDSResult;
791
-
792
804
  /// <code>PayEngine</code> is the main entry point for integrating PayEngine’s payment processing features.
793
805
  /// This class provides a centralized interface for:
794
806
  /// <ul>
@@ -899,8 +911,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK9PayEngine")
899
911
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
900
912
  @end
901
913
 
902
-
903
-
904
914
  /// Type that represents the result for the ThreeDS process
905
915
  SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
906
916
  @interface ThreeDSResult : NSObject
@@ -914,14 +924,6 @@ SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
914
924
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
915
925
  @end
916
926
 
917
-
918
-
919
-
920
-
921
-
922
-
923
-
924
-
925
927
  #endif
926
928
  #if __has_attribute(external_source_symbol)
927
929
  # pragma clang attribute pop