@aptos-scp/scp-component-rn-device-services 0.5.2 → 0.5.3

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.
@@ -55,6 +55,8 @@ typedef enum {
55
55
  EventEnterPIN, // Notify when Pin prompt appears on Swiper device
56
56
  EventEnterZIP, // Notify when Zip prompt appears on Swiper device
57
57
  EventEnterSSN, // Notify when SSN prompt appears on Swiper device
58
+ EventEnterDOB,
59
+ EventEnterAnnualIncome,
58
60
  EventEnterExpiryDate, // Notify when ExpiryDate prompt appears on Swiper device
59
61
  EventEnterCVV, // Notify when CVV prompt appears on Swiper device
60
62
  EventEnterTIP, // Notify when TIP prompt appears on Swiper device
@@ -73,15 +75,24 @@ typedef enum {
73
75
  EventFileDownloadProgress, // Notify when File downloading is in progress.
74
76
  EventFileDownloadFailed, // Notify when File downloading Failed.
75
77
  EventFileDownloadRetry, // Notify when File download retrying.
78
+ EventFileUploadProgress, // Notify when File uploading is in progress.
79
+ EventFileUploadFailed, // Notify when File uploading Failed.
80
+ EventFileUploadRetry, // Notify when File upload retrying.
76
81
  EventPEDFileUpgrade, // Notify when File upgrade process running on PED device.
77
82
  EventPEDFileUpgradeFailed, // Notify when File upgrades/pushed failed.
78
83
  EventPEDFileUpgradeCompleted, // Notify when File upgrades/pushed Completed.
79
84
  EventPEDFileTransferInfo, // Notify with transfer details.
80
85
  EventPEDFileTransferProgress, // Notify with file transfer progress
81
86
 
82
- EventTakeSignatureOnPOS,
87
+ EventCaptureSignatureOnPOS,
83
88
  EventNone = 0
84
89
 
85
90
  }NotificationEvent;
86
91
 
87
- @end
92
+
93
+ typedef enum {
94
+ POSEventSignatureDetails = 401
95
+
96
+ }POSNotificationEvent;
97
+
98
+ @end
@@ -47,19 +47,21 @@ RCT_EXPORT_MODULE();
47
47
  @"EnterPIN" : @(EventEnterPIN),
48
48
  @"EnterZIP" : @(EventEnterZIP),
49
49
  @"EnterSSN" : @(EventEnterSSN),
50
+ @"EnterDOB" : @(EventEnterDOB),
51
+ @"EnterAnnualIncome" : @(EventEnterAnnualIncome),
50
52
  @"EnterExpiryDate" : @(EventEnterExpiryDate),
51
53
  @"EnterCVV" : @(EventEnterCVV),
52
54
  @"EnterTIP" : @(EventEnterTIP),
53
55
  @"Confirmation" : @(EventConfirmation),
54
56
  @"ProcessingTransaction" : @(EventProcessingTransaction),
55
- @"BarcodeInformation" : @(EventBarcodeInformation), //512
56
- @"DeviceNotConnected" : @(EventDeviceNotConnected), //513
57
- @"DeviceConnecting" : @(EventDeviceConnecting), //514
58
- @"DeviceConnected" : @(EventDeviceConnected), //515
59
- @"DeviceConfigurationStarted" : @(EventDeviceConfigurationStarted), //516
60
- @"DeviceConfigurationCompleted" : @(EventDeviceConfigurationCompleted), //517
61
- @"DeviceConfigurationFailed" : @(EventDeviceConfigurationFailed), //518
62
- @"DeviceAlreadyConfigured" : @(EventDeviceAlreadyConfigured), //519
57
+ @"BarcodeInformation" : @(EventBarcodeInformation), //514
58
+ @"DeviceNotConnected" : @(EventDeviceNotConnected), //515
59
+ @"DeviceConnecting" : @(EventDeviceConnecting), //516
60
+ @"DeviceConnected" : @(EventDeviceConnected), //517
61
+ @"DeviceConfigurationStarted" : @(EventDeviceConfigurationStarted), //518
62
+ @"DeviceConfigurationCompleted" : @(EventDeviceConfigurationCompleted), //519
63
+ @"DeviceConfigurationFailed" : @(EventDeviceConfigurationFailed), //520
64
+ @"DeviceAlreadyConfigured" : @(EventDeviceAlreadyConfigured), //521
63
65
  @"FileDownloadProgress" : @(EventFileDownloadProgress),
64
66
  @"FileDownloadFailed" : @(EventFileDownloadFailed),
65
67
  @"FileDownloadRetry" : @(EventFileDownloadRetry),
@@ -68,6 +70,7 @@ RCT_EXPORT_MODULE();
68
70
  @"PEDFileUpgradeCompleted" : @(EventPEDFileUpgradeCompleted),
69
71
  @"PEDFileTransferInfo" : @(EventPEDFileTransferInfo),
70
72
  @"PEDFileTransferProgress" : @(EventPEDFileTransferProgress),
73
+ @"CaptureSignatureOnPOS" : @(EventCaptureSignatureOnPOS),
71
74
  @"None" : @(EventNone)
72
75
  }
73
76
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-scp/scp-component-rn-device-services",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "A react-native component for integrating with devices.",
5
5
  "private": false,
6
6
  "repository": {