react-native-cashfree-pg-sdk 2.1.20 → 2.1.22
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.
- package/android/.gradle/7.2/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/8.10.2/checksums/checksums.lock +0 -0
- package/android/.gradle/{7.6 → 8.10.2}/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.10.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.10.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.10.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.10.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/{7.6 → 8.10.2}/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/8.12/checksums/checksums.lock +0 -0
- package/android/.gradle/{8.1 → 8.12}/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.12/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.12/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.12/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.7/checksums/checksums.lock +0 -0
- package/android/.gradle/8.7/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.7/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.7/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.7/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.7/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.7/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.7/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/8.7/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.idea/caches/deviceStreaming.xml +412 -14
- package/android/.idea/gradle.xml +1 -0
- package/android/.idea/kotlinc.xml +6 -0
- package/android/.idea/other.xml +306 -20
- package/android/.idea/sonarlint.xml +6 -0
- package/ios/CashfreePgApi.xcodeproj/project.xcworkspace/xcuserdata/kishankumarmaurya.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/lib/commonjs/Card/CFCardComponent.js +56 -28
- package/lib/commonjs/Card/CFCardComponent.js.map +1 -1
- package/lib/commonjs/Card/index.js +1 -1
- package/lib/commonjs/Card/index.js.map +1 -1
- package/lib/commonjs/index.js +15 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/Card/CFCardComponent.js +66 -31
- package/lib/module/Card/CFCardComponent.js.map +1 -1
- package/lib/module/Card/index.js.map +1 -1
- package/lib/module/index.js +14 -2
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/package.json +2 -2
- package/src/Card/CFCardComponent.js +45 -25
- package/src/Card/CFCardComponent.tsx +56 -25
- package/src/index.js +13 -1
- package/src/index.ts +15 -1
- package/android/.gradle/7.6/checksums/checksums.lock +0 -0
- package/android/.gradle/7.6/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.6/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.6/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.6/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.6/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.6/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.1/checksums/checksums.lock +0 -0
- package/android/.gradle/8.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/8.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- /package/android/.gradle/{7.6 → 8.10.2}/dependencies-accessors/gc.properties +0 -0
- /package/android/.gradle/{7.6 → 8.10.2}/fileChanges/last-build.bin +0 -0
- /package/android/.gradle/{7.6 → 8.10.2}/gc.properties +0 -0
- /package/android/.gradle/{8.1 → 8.12}/fileChanges/last-build.bin +0 -0
- /package/android/.gradle/{8.1/dependencies-accessors → 8.12}/gc.properties +0 -0
- /package/android/.gradle/{8.1 → 8.7/dependencies-accessors}/gc.properties +0 -0
package/android/.idea/other.xml
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
<component name="direct_access_persist.xml">
|
|
4
4
|
<option name="deviceSelectionList">
|
|
5
5
|
<list>
|
|
6
|
+
<PersistentDeviceSelectionData>
|
|
7
|
+
<option name="api" value="34" />
|
|
8
|
+
<option name="brand" value="Sony" />
|
|
9
|
+
<option name="codename" value="A402SO" />
|
|
10
|
+
<option name="id" value="A402SO" />
|
|
11
|
+
<option name="manufacturer" value="Sony" />
|
|
12
|
+
<option name="name" value="Xperia 10" />
|
|
13
|
+
<option name="screenDensity" value="450" />
|
|
14
|
+
<option name="screenX" value="1080" />
|
|
15
|
+
<option name="screenY" value="2520" />
|
|
16
|
+
</PersistentDeviceSelectionData>
|
|
6
17
|
<PersistentDeviceSelectionData>
|
|
7
18
|
<option name="api" value="27" />
|
|
8
19
|
<option name="brand" value="DOCOMO" />
|
|
@@ -14,6 +25,28 @@
|
|
|
14
25
|
<option name="screenX" value="720" />
|
|
15
26
|
<option name="screenY" value="1280" />
|
|
16
27
|
</PersistentDeviceSelectionData>
|
|
28
|
+
<PersistentDeviceSelectionData>
|
|
29
|
+
<option name="api" value="34" />
|
|
30
|
+
<option name="brand" value="OnePlus" />
|
|
31
|
+
<option name="codename" value="OP535DL1" />
|
|
32
|
+
<option name="id" value="OP535DL1" />
|
|
33
|
+
<option name="manufacturer" value="OnePlus" />
|
|
34
|
+
<option name="name" value="CPH2409" />
|
|
35
|
+
<option name="screenDensity" value="401" />
|
|
36
|
+
<option name="screenX" value="1080" />
|
|
37
|
+
<option name="screenY" value="2412" />
|
|
38
|
+
</PersistentDeviceSelectionData>
|
|
39
|
+
<PersistentDeviceSelectionData>
|
|
40
|
+
<option name="api" value="34" />
|
|
41
|
+
<option name="brand" value="OnePlus" />
|
|
42
|
+
<option name="codename" value="OP5552L1" />
|
|
43
|
+
<option name="id" value="OP5552L1" />
|
|
44
|
+
<option name="manufacturer" value="OnePlus" />
|
|
45
|
+
<option name="name" value="CPH2415" />
|
|
46
|
+
<option name="screenDensity" value="480" />
|
|
47
|
+
<option name="screenX" value="1080" />
|
|
48
|
+
<option name="screenY" value="2412" />
|
|
49
|
+
</PersistentDeviceSelectionData>
|
|
17
50
|
<PersistentDeviceSelectionData>
|
|
18
51
|
<option name="api" value="34" />
|
|
19
52
|
<option name="brand" value="OPPO" />
|
|
@@ -38,14 +71,14 @@
|
|
|
38
71
|
</PersistentDeviceSelectionData>
|
|
39
72
|
<PersistentDeviceSelectionData>
|
|
40
73
|
<option name="api" value="34" />
|
|
41
|
-
<option name="brand" value="
|
|
42
|
-
<option name="codename" value="
|
|
43
|
-
<option name="id" value="
|
|
44
|
-
<option name="manufacturer" value="
|
|
45
|
-
<option name="name" value="
|
|
46
|
-
<option name="screenDensity" value="
|
|
47
|
-
<option name="screenX" value="
|
|
48
|
-
<option name="screenY" value="
|
|
74
|
+
<option name="brand" value="samsung" />
|
|
75
|
+
<option name="codename" value="a14m" />
|
|
76
|
+
<option name="id" value="a14m" />
|
|
77
|
+
<option name="manufacturer" value="Samsung" />
|
|
78
|
+
<option name="name" value="SM-A145R" />
|
|
79
|
+
<option name="screenDensity" value="450" />
|
|
80
|
+
<option name="screenX" value="1080" />
|
|
81
|
+
<option name="screenY" value="2408" />
|
|
49
82
|
</PersistentDeviceSelectionData>
|
|
50
83
|
<PersistentDeviceSelectionData>
|
|
51
84
|
<option name="api" value="34" />
|
|
@@ -59,15 +92,37 @@
|
|
|
59
92
|
<option name="screenY" value="2340" />
|
|
60
93
|
</PersistentDeviceSelectionData>
|
|
61
94
|
<PersistentDeviceSelectionData>
|
|
62
|
-
<option name="api" value="
|
|
95
|
+
<option name="api" value="34" />
|
|
63
96
|
<option name="brand" value="samsung" />
|
|
64
|
-
<option name="codename" value="
|
|
65
|
-
<option name="id" value="
|
|
97
|
+
<option name="codename" value="a15x" />
|
|
98
|
+
<option name="id" value="a15x" />
|
|
66
99
|
<option name="manufacturer" value="Samsung" />
|
|
67
|
-
<option name="name" value="
|
|
68
|
-
<option name="screenDensity" value="
|
|
100
|
+
<option name="name" value="A15 5G" />
|
|
101
|
+
<option name="screenDensity" value="450" />
|
|
69
102
|
<option name="screenX" value="1080" />
|
|
70
|
-
<option name="screenY" value="
|
|
103
|
+
<option name="screenY" value="2340" />
|
|
104
|
+
</PersistentDeviceSelectionData>
|
|
105
|
+
<PersistentDeviceSelectionData>
|
|
106
|
+
<option name="api" value="34" />
|
|
107
|
+
<option name="brand" value="samsung" />
|
|
108
|
+
<option name="codename" value="a16x" />
|
|
109
|
+
<option name="id" value="a16x" />
|
|
110
|
+
<option name="manufacturer" value="Samsung" />
|
|
111
|
+
<option name="name" value="A16 5G" />
|
|
112
|
+
<option name="screenDensity" value="450" />
|
|
113
|
+
<option name="screenX" value="1080" />
|
|
114
|
+
<option name="screenY" value="2340" />
|
|
115
|
+
</PersistentDeviceSelectionData>
|
|
116
|
+
<PersistentDeviceSelectionData>
|
|
117
|
+
<option name="api" value="34" />
|
|
118
|
+
<option name="brand" value="samsung" />
|
|
119
|
+
<option name="codename" value="a35x" />
|
|
120
|
+
<option name="id" value="a35x" />
|
|
121
|
+
<option name="manufacturer" value="Samsung" />
|
|
122
|
+
<option name="name" value="A35" />
|
|
123
|
+
<option name="screenDensity" value="450" />
|
|
124
|
+
<option name="screenX" value="1080" />
|
|
125
|
+
<option name="screenY" value="2340" />
|
|
71
126
|
</PersistentDeviceSelectionData>
|
|
72
127
|
<PersistentDeviceSelectionData>
|
|
73
128
|
<option name="api" value="34" />
|
|
@@ -91,6 +146,17 @@
|
|
|
91
146
|
<option name="screenX" value="1080" />
|
|
92
147
|
<option name="screenY" value="1272" />
|
|
93
148
|
</PersistentDeviceSelectionData>
|
|
149
|
+
<PersistentDeviceSelectionData>
|
|
150
|
+
<option name="api" value="33" />
|
|
151
|
+
<option name="brand" value="motorola" />
|
|
152
|
+
<option name="codename" value="austin" />
|
|
153
|
+
<option name="id" value="austin" />
|
|
154
|
+
<option name="manufacturer" value="Motorola" />
|
|
155
|
+
<option name="name" value="moto g 5G (2022)" />
|
|
156
|
+
<option name="screenDensity" value="280" />
|
|
157
|
+
<option name="screenX" value="720" />
|
|
158
|
+
<option name="screenY" value="1600" />
|
|
159
|
+
</PersistentDeviceSelectionData>
|
|
94
160
|
<PersistentDeviceSelectionData>
|
|
95
161
|
<option name="api" value="33" />
|
|
96
162
|
<option name="brand" value="samsung" />
|
|
@@ -102,6 +168,17 @@
|
|
|
102
168
|
<option name="screenX" value="1440" />
|
|
103
169
|
<option name="screenY" value="3088" />
|
|
104
170
|
</PersistentDeviceSelectionData>
|
|
171
|
+
<PersistentDeviceSelectionData>
|
|
172
|
+
<option name="api" value="34" />
|
|
173
|
+
<option name="brand" value="samsung" />
|
|
174
|
+
<option name="codename" value="b6q" />
|
|
175
|
+
<option name="id" value="b6q" />
|
|
176
|
+
<option name="manufacturer" value="Samsung" />
|
|
177
|
+
<option name="name" value="Flip 6" />
|
|
178
|
+
<option name="screenDensity" value="340" />
|
|
179
|
+
<option name="screenX" value="1080" />
|
|
180
|
+
<option name="screenY" value="2640" />
|
|
181
|
+
</PersistentDeviceSelectionData>
|
|
105
182
|
<PersistentDeviceSelectionData>
|
|
106
183
|
<option name="api" value="32" />
|
|
107
184
|
<option name="brand" value="google" />
|
|
@@ -124,6 +201,17 @@
|
|
|
124
201
|
<option name="screenX" value="960" />
|
|
125
202
|
<option name="screenY" value="2142" />
|
|
126
203
|
</PersistentDeviceSelectionData>
|
|
204
|
+
<PersistentDeviceSelectionData>
|
|
205
|
+
<option name="api" value="35" />
|
|
206
|
+
<option name="brand" value="google" />
|
|
207
|
+
<option name="codename" value="caiman" />
|
|
208
|
+
<option name="id" value="caiman" />
|
|
209
|
+
<option name="manufacturer" value="Google" />
|
|
210
|
+
<option name="name" value="Pixel 9 Pro" />
|
|
211
|
+
<option name="screenDensity" value="360" />
|
|
212
|
+
<option name="screenX" value="960" />
|
|
213
|
+
<option name="screenY" value="2142" />
|
|
214
|
+
</PersistentDeviceSelectionData>
|
|
127
215
|
<PersistentDeviceSelectionData>
|
|
128
216
|
<option name="api" value="34" />
|
|
129
217
|
<option name="brand" value="google" />
|
|
@@ -135,6 +223,17 @@
|
|
|
135
223
|
<option name="screenX" value="2076" />
|
|
136
224
|
<option name="screenY" value="2152" />
|
|
137
225
|
</PersistentDeviceSelectionData>
|
|
226
|
+
<PersistentDeviceSelectionData>
|
|
227
|
+
<option name="api" value="35" />
|
|
228
|
+
<option name="brand" value="google" />
|
|
229
|
+
<option name="codename" value="comet" />
|
|
230
|
+
<option name="id" value="comet" />
|
|
231
|
+
<option name="manufacturer" value="Google" />
|
|
232
|
+
<option name="name" value="Pixel 9 Pro Fold" />
|
|
233
|
+
<option name="screenDensity" value="390" />
|
|
234
|
+
<option name="screenX" value="2076" />
|
|
235
|
+
<option name="screenY" value="2152" />
|
|
236
|
+
</PersistentDeviceSelectionData>
|
|
138
237
|
<PersistentDeviceSelectionData>
|
|
139
238
|
<option name="api" value="29" />
|
|
140
239
|
<option name="brand" value="samsung" />
|
|
@@ -168,6 +267,17 @@
|
|
|
168
267
|
<option name="screenX" value="1440" />
|
|
169
268
|
<option name="screenY" value="3088" />
|
|
170
269
|
</PersistentDeviceSelectionData>
|
|
270
|
+
<PersistentDeviceSelectionData>
|
|
271
|
+
<option name="api" value="34" />
|
|
272
|
+
<option name="brand" value="motorola" />
|
|
273
|
+
<option name="codename" value="dubai" />
|
|
274
|
+
<option name="id" value="dubai" />
|
|
275
|
+
<option name="manufacturer" value="Motorola" />
|
|
276
|
+
<option name="name" value="edge 30" />
|
|
277
|
+
<option name="screenDensity" value="405" />
|
|
278
|
+
<option name="screenX" value="1080" />
|
|
279
|
+
<option name="screenY" value="2400" />
|
|
280
|
+
</PersistentDeviceSelectionData>
|
|
171
281
|
<PersistentDeviceSelectionData>
|
|
172
282
|
<option name="api" value="34" />
|
|
173
283
|
<option name="brand" value="samsung" />
|
|
@@ -201,6 +311,17 @@
|
|
|
201
311
|
<option name="screenX" value="384" />
|
|
202
312
|
<option name="screenY" value="384" />
|
|
203
313
|
</PersistentDeviceSelectionData>
|
|
314
|
+
<PersistentDeviceSelectionData>
|
|
315
|
+
<option name="api" value="35" />
|
|
316
|
+
<option name="brand" value="motorola" />
|
|
317
|
+
<option name="codename" value="eqe" />
|
|
318
|
+
<option name="id" value="eqe" />
|
|
319
|
+
<option name="manufacturer" value="Motorola" />
|
|
320
|
+
<option name="name" value="edge 50 pro" />
|
|
321
|
+
<option name="screenDensity" value="450" />
|
|
322
|
+
<option name="screenX" value="1220" />
|
|
323
|
+
<option name="screenY" value="2712" />
|
|
324
|
+
</PersistentDeviceSelectionData>
|
|
204
325
|
<PersistentDeviceSelectionData>
|
|
205
326
|
<option name="api" value="33" />
|
|
206
327
|
<option name="brand" value="google" />
|
|
@@ -245,6 +366,17 @@
|
|
|
245
366
|
<option name="screenX" value="720" />
|
|
246
367
|
<option name="screenY" value="1600" />
|
|
247
368
|
</PersistentDeviceSelectionData>
|
|
369
|
+
<PersistentDeviceSelectionData>
|
|
370
|
+
<option name="api" value="34" />
|
|
371
|
+
<option name="brand" value="motorola" />
|
|
372
|
+
<option name="codename" value="fogos" />
|
|
373
|
+
<option name="id" value="fogos" />
|
|
374
|
+
<option name="manufacturer" value="Motorola" />
|
|
375
|
+
<option name="name" value="moto g34 5G" />
|
|
376
|
+
<option name="screenDensity" value="280" />
|
|
377
|
+
<option name="screenX" value="720" />
|
|
378
|
+
<option name="screenY" value="1600" />
|
|
379
|
+
</PersistentDeviceSelectionData>
|
|
248
380
|
<PersistentDeviceSelectionData>
|
|
249
381
|
<option name="api" value="34" />
|
|
250
382
|
<option name="brand" value="samsung" />
|
|
@@ -259,13 +391,35 @@
|
|
|
259
391
|
<PersistentDeviceSelectionData>
|
|
260
392
|
<option name="api" value="34" />
|
|
261
393
|
<option name="brand" value="samsung" />
|
|
262
|
-
<option name="codename" value="
|
|
263
|
-
<option name="id" value="
|
|
394
|
+
<option name="codename" value="gta9pwifi" />
|
|
395
|
+
<option name="id" value="gta9pwifi" />
|
|
264
396
|
<option name="manufacturer" value="Samsung" />
|
|
265
|
-
<option name="name" value="
|
|
266
|
-
<option name="screenDensity" value="
|
|
267
|
-
<option name="screenX" value="
|
|
268
|
-
<option name="screenY" value="
|
|
397
|
+
<option name="name" value="SM-X210" />
|
|
398
|
+
<option name="screenDensity" value="240" />
|
|
399
|
+
<option name="screenX" value="1200" />
|
|
400
|
+
<option name="screenY" value="1920" />
|
|
401
|
+
</PersistentDeviceSelectionData>
|
|
402
|
+
<PersistentDeviceSelectionData>
|
|
403
|
+
<option name="api" value="33" />
|
|
404
|
+
<option name="brand" value="samsung" />
|
|
405
|
+
<option name="codename" value="gts7lwifi" />
|
|
406
|
+
<option name="id" value="gts7lwifi" />
|
|
407
|
+
<option name="manufacturer" value="Samsung" />
|
|
408
|
+
<option name="name" value="SM-T870" />
|
|
409
|
+
<option name="screenDensity" value="340" />
|
|
410
|
+
<option name="screenX" value="1600" />
|
|
411
|
+
<option name="screenY" value="2560" />
|
|
412
|
+
</PersistentDeviceSelectionData>
|
|
413
|
+
<PersistentDeviceSelectionData>
|
|
414
|
+
<option name="api" value="34" />
|
|
415
|
+
<option name="brand" value="samsung" />
|
|
416
|
+
<option name="codename" value="gts7xllite" />
|
|
417
|
+
<option name="id" value="gts7xllite" />
|
|
418
|
+
<option name="manufacturer" value="Samsung" />
|
|
419
|
+
<option name="name" value="SM-T738U" />
|
|
420
|
+
<option name="screenDensity" value="340" />
|
|
421
|
+
<option name="screenX" value="1600" />
|
|
422
|
+
<option name="screenY" value="2560" />
|
|
269
423
|
</PersistentDeviceSelectionData>
|
|
270
424
|
<PersistentDeviceSelectionData>
|
|
271
425
|
<option name="api" value="33" />
|
|
@@ -278,6 +432,39 @@
|
|
|
278
432
|
<option name="screenX" value="1848" />
|
|
279
433
|
<option name="screenY" value="2960" />
|
|
280
434
|
</PersistentDeviceSelectionData>
|
|
435
|
+
<PersistentDeviceSelectionData>
|
|
436
|
+
<option name="api" value="34" />
|
|
437
|
+
<option name="brand" value="samsung" />
|
|
438
|
+
<option name="codename" value="gts8wifi" />
|
|
439
|
+
<option name="id" value="gts8wifi" />
|
|
440
|
+
<option name="manufacturer" value="Samsung" />
|
|
441
|
+
<option name="name" value="Galaxy Tab S8" />
|
|
442
|
+
<option name="screenDensity" value="274" />
|
|
443
|
+
<option name="screenX" value="1600" />
|
|
444
|
+
<option name="screenY" value="2560" />
|
|
445
|
+
</PersistentDeviceSelectionData>
|
|
446
|
+
<PersistentDeviceSelectionData>
|
|
447
|
+
<option name="api" value="34" />
|
|
448
|
+
<option name="brand" value="samsung" />
|
|
449
|
+
<option name="codename" value="gts9fe" />
|
|
450
|
+
<option name="id" value="gts9fe" />
|
|
451
|
+
<option name="manufacturer" value="Samsung" />
|
|
452
|
+
<option name="name" value="Galaxy Tab S9 FE 5G" />
|
|
453
|
+
<option name="screenDensity" value="280" />
|
|
454
|
+
<option name="screenX" value="1440" />
|
|
455
|
+
<option name="screenY" value="2304" />
|
|
456
|
+
</PersistentDeviceSelectionData>
|
|
457
|
+
<PersistentDeviceSelectionData>
|
|
458
|
+
<option name="api" value="34" />
|
|
459
|
+
<option name="brand" value="samsung" />
|
|
460
|
+
<option name="codename" value="gts9wifi" />
|
|
461
|
+
<option name="id" value="gts9wifi" />
|
|
462
|
+
<option name="manufacturer" value="Samsung" />
|
|
463
|
+
<option name="name" value="SM-X710" />
|
|
464
|
+
<option name="screenDensity" value="340" />
|
|
465
|
+
<option name="screenX" value="1600" />
|
|
466
|
+
<option name="screenY" value="2560" />
|
|
467
|
+
</PersistentDeviceSelectionData>
|
|
281
468
|
<PersistentDeviceSelectionData>
|
|
282
469
|
<option name="api" value="34" />
|
|
283
470
|
<option name="brand" value="google" />
|
|
@@ -311,6 +498,17 @@
|
|
|
311
498
|
<option name="screenX" value="1008" />
|
|
312
499
|
<option name="screenY" value="2244" />
|
|
313
500
|
</PersistentDeviceSelectionData>
|
|
501
|
+
<PersistentDeviceSelectionData>
|
|
502
|
+
<option name="api" value="35" />
|
|
503
|
+
<option name="brand" value="google" />
|
|
504
|
+
<option name="codename" value="komodo" />
|
|
505
|
+
<option name="id" value="komodo" />
|
|
506
|
+
<option name="manufacturer" value="Google" />
|
|
507
|
+
<option name="name" value="Pixel 9 Pro XL" />
|
|
508
|
+
<option name="screenDensity" value="360" />
|
|
509
|
+
<option name="screenX" value="1008" />
|
|
510
|
+
<option name="screenY" value="2244" />
|
|
511
|
+
</PersistentDeviceSelectionData>
|
|
314
512
|
<PersistentDeviceSelectionData>
|
|
315
513
|
<option name="api" value="33" />
|
|
316
514
|
<option name="brand" value="google" />
|
|
@@ -322,6 +520,28 @@
|
|
|
322
520
|
<option name="screenX" value="1080" />
|
|
323
521
|
<option name="screenY" value="2400" />
|
|
324
522
|
</PersistentDeviceSelectionData>
|
|
523
|
+
<PersistentDeviceSelectionData>
|
|
524
|
+
<option name="api" value="34" />
|
|
525
|
+
<option name="brand" value="motorola" />
|
|
526
|
+
<option name="codename" value="lyriq" />
|
|
527
|
+
<option name="id" value="lyriq" />
|
|
528
|
+
<option name="manufacturer" value="Motorola" />
|
|
529
|
+
<option name="name" value="edge 40" />
|
|
530
|
+
<option name="screenDensity" value="400" />
|
|
531
|
+
<option name="screenX" value="1080" />
|
|
532
|
+
<option name="screenY" value="2400" />
|
|
533
|
+
</PersistentDeviceSelectionData>
|
|
534
|
+
<PersistentDeviceSelectionData>
|
|
535
|
+
<option name="api" value="34" />
|
|
536
|
+
<option name="brand" value="motorola" />
|
|
537
|
+
<option name="codename" value="manaus" />
|
|
538
|
+
<option name="id" value="manaus" />
|
|
539
|
+
<option name="manufacturer" value="Motorola" />
|
|
540
|
+
<option name="name" value="edge 40 neo" />
|
|
541
|
+
<option name="screenDensity" value="400" />
|
|
542
|
+
<option name="screenX" value="1080" />
|
|
543
|
+
<option name="screenY" value="2400" />
|
|
544
|
+
</PersistentDeviceSelectionData>
|
|
325
545
|
<PersistentDeviceSelectionData>
|
|
326
546
|
<option name="api" value="33" />
|
|
327
547
|
<option name="brand" value="motorola" />
|
|
@@ -333,6 +553,17 @@
|
|
|
333
553
|
<option name="screenX" value="720" />
|
|
334
554
|
<option name="screenY" value="1600" />
|
|
335
555
|
</PersistentDeviceSelectionData>
|
|
556
|
+
<PersistentDeviceSelectionData>
|
|
557
|
+
<option name="api" value="34" />
|
|
558
|
+
<option name="brand" value="samsung" />
|
|
559
|
+
<option name="codename" value="o1q" />
|
|
560
|
+
<option name="id" value="o1q" />
|
|
561
|
+
<option name="manufacturer" value="Samsung" />
|
|
562
|
+
<option name="name" value="Galaxy S21" />
|
|
563
|
+
<option name="screenDensity" value="421" />
|
|
564
|
+
<option name="screenX" value="1080" />
|
|
565
|
+
<option name="screenY" value="2400" />
|
|
566
|
+
</PersistentDeviceSelectionData>
|
|
336
567
|
<PersistentDeviceSelectionData>
|
|
337
568
|
<option name="api" value="31" />
|
|
338
569
|
<option name="brand" value="google" />
|
|
@@ -344,6 +575,17 @@
|
|
|
344
575
|
<option name="screenX" value="1080" />
|
|
345
576
|
<option name="screenY" value="2400" />
|
|
346
577
|
</PersistentDeviceSelectionData>
|
|
578
|
+
<PersistentDeviceSelectionData>
|
|
579
|
+
<option name="api" value="35" />
|
|
580
|
+
<option name="brand" value="samsung" />
|
|
581
|
+
<option name="codename" value="pa3q" />
|
|
582
|
+
<option name="id" value="pa3q" />
|
|
583
|
+
<option name="manufacturer" value="Samsung" />
|
|
584
|
+
<option name="name" value="Galaxy S25 Ultra" />
|
|
585
|
+
<option name="screenDensity" value="600" />
|
|
586
|
+
<option name="screenX" value="1440" />
|
|
587
|
+
<option name="screenY" value="3120" />
|
|
588
|
+
</PersistentDeviceSelectionData>
|
|
347
589
|
<PersistentDeviceSelectionData>
|
|
348
590
|
<option name="api" value="33" />
|
|
349
591
|
<option name="brand" value="google" />
|
|
@@ -422,6 +664,17 @@
|
|
|
422
664
|
<option name="screenX" value="1080" />
|
|
423
665
|
<option name="screenY" value="2400" />
|
|
424
666
|
</PersistentDeviceSelectionData>
|
|
667
|
+
<PersistentDeviceSelectionData>
|
|
668
|
+
<option name="api" value="34" />
|
|
669
|
+
<option name="brand" value="samsung" />
|
|
670
|
+
<option name="codename" value="t2q" />
|
|
671
|
+
<option name="id" value="t2q" />
|
|
672
|
+
<option name="manufacturer" value="Samsung" />
|
|
673
|
+
<option name="name" value="Galaxy S21 Plus" />
|
|
674
|
+
<option name="screenDensity" value="394" />
|
|
675
|
+
<option name="screenX" value="1080" />
|
|
676
|
+
<option name="screenY" value="2400" />
|
|
677
|
+
</PersistentDeviceSelectionData>
|
|
425
678
|
<PersistentDeviceSelectionData>
|
|
426
679
|
<option name="api" value="33" />
|
|
427
680
|
<option name="brand" value="google" />
|
|
@@ -433,6 +686,17 @@
|
|
|
433
686
|
<option name="screenX" value="1600" />
|
|
434
687
|
<option name="screenY" value="2560" />
|
|
435
688
|
</PersistentDeviceSelectionData>
|
|
689
|
+
<PersistentDeviceSelectionData>
|
|
690
|
+
<option name="api" value="35" />
|
|
691
|
+
<option name="brand" value="google" />
|
|
692
|
+
<option name="codename" value="tegu" />
|
|
693
|
+
<option name="id" value="tegu" />
|
|
694
|
+
<option name="manufacturer" value="Google" />
|
|
695
|
+
<option name="name" value="Pixel 9a" />
|
|
696
|
+
<option name="screenDensity" value="420" />
|
|
697
|
+
<option name="screenX" value="1080" />
|
|
698
|
+
<option name="screenY" value="2424" />
|
|
699
|
+
</PersistentDeviceSelectionData>
|
|
436
700
|
<PersistentDeviceSelectionData>
|
|
437
701
|
<option name="api" value="34" />
|
|
438
702
|
<option name="brand" value="google" />
|
|
@@ -444,6 +708,28 @@
|
|
|
444
708
|
<option name="screenX" value="1080" />
|
|
445
709
|
<option name="screenY" value="2424" />
|
|
446
710
|
</PersistentDeviceSelectionData>
|
|
711
|
+
<PersistentDeviceSelectionData>
|
|
712
|
+
<option name="api" value="35" />
|
|
713
|
+
<option name="brand" value="google" />
|
|
714
|
+
<option name="codename" value="tokay" />
|
|
715
|
+
<option name="id" value="tokay" />
|
|
716
|
+
<option name="manufacturer" value="Google" />
|
|
717
|
+
<option name="name" value="Pixel 9" />
|
|
718
|
+
<option name="screenDensity" value="420" />
|
|
719
|
+
<option name="screenX" value="1080" />
|
|
720
|
+
<option name="screenY" value="2424" />
|
|
721
|
+
</PersistentDeviceSelectionData>
|
|
722
|
+
<PersistentDeviceSelectionData>
|
|
723
|
+
<option name="api" value="34" />
|
|
724
|
+
<option name="brand" value="samsung" />
|
|
725
|
+
<option name="codename" value="xcover7" />
|
|
726
|
+
<option name="id" value="xcover7" />
|
|
727
|
+
<option name="manufacturer" value="Samsung" />
|
|
728
|
+
<option name="name" value="SM-G556B" />
|
|
729
|
+
<option name="screenDensity" value="450" />
|
|
730
|
+
<option name="screenX" value="1080" />
|
|
731
|
+
<option name="screenY" value="2408" />
|
|
732
|
+
</PersistentDeviceSelectionData>
|
|
447
733
|
</list>
|
|
448
734
|
</option>
|
|
449
735
|
</component>
|
|
Binary file
|
|
@@ -30,6 +30,34 @@ function luhnCheck(cardNumber) {
|
|
|
30
30
|
}
|
|
31
31
|
return sum % 10 === 0;
|
|
32
32
|
}
|
|
33
|
+
function getInputValidationDetails(cardBinResponse) {
|
|
34
|
+
if (!cardBinResponse || !cardBinResponse.scheme) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
let schemeType = cardBinResponse.scheme.toLowerCase();
|
|
38
|
+
let inputValidationDetails;
|
|
39
|
+
switch (schemeType) {
|
|
40
|
+
case 'amex':
|
|
41
|
+
inputValidationDetails = {
|
|
42
|
+
max_input_length: 15,
|
|
43
|
+
cvv_length: 4
|
|
44
|
+
};
|
|
45
|
+
break;
|
|
46
|
+
case 'diners':
|
|
47
|
+
inputValidationDetails = {
|
|
48
|
+
max_input_length: 14,
|
|
49
|
+
cvv_length: 3
|
|
50
|
+
};
|
|
51
|
+
break;
|
|
52
|
+
default:
|
|
53
|
+
// Covers visa, mastercard, rupay, jcb, discover, and unknown schemes
|
|
54
|
+
inputValidationDetails = {
|
|
55
|
+
max_input_length: 16,
|
|
56
|
+
cvv_length: 3
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
return inputValidationDetails;
|
|
60
|
+
}
|
|
33
61
|
/**
|
|
34
62
|
* Fetching Tdr info with card bin data & cfSession object
|
|
35
63
|
* @param session : for payment sessionId & env
|
|
@@ -90,9 +118,9 @@ const CardInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
90
118
|
doPayment,
|
|
91
119
|
doPaymentWithPaymentSessionId
|
|
92
120
|
}));
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
121
|
+
const tdrJsonRef = _react.default.useRef(null);
|
|
122
|
+
const cardBinJsonRef = _react.default.useRef(null);
|
|
123
|
+
const firstEightDigitsRef = _react.default.useRef('');
|
|
96
124
|
const handleChange = _react.default.useCallback(async cardNumber => {
|
|
97
125
|
let completeResponse = {};
|
|
98
126
|
const textWithoutSpaces = cardNumber.replaceAll(' ', '');
|
|
@@ -111,7 +139,7 @@ const CardInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
111
139
|
formattedText += ' ';
|
|
112
140
|
}
|
|
113
141
|
inputNumberRef.current = formattedText;
|
|
114
|
-
setInputNumber(formattedText);
|
|
142
|
+
setInputNumber(prev => prev === formattedText ? prev : formattedText);
|
|
115
143
|
}
|
|
116
144
|
let tdrResponse = null;
|
|
117
145
|
let cardBinResponse = null;
|
|
@@ -121,57 +149,59 @@ const CardInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
121
149
|
async function fetchDataAndSet() {
|
|
122
150
|
await getTDR(cfSession, textWithoutSpaces).then(response => {
|
|
123
151
|
tdrResponse = response;
|
|
152
|
+
firstEightDigitsRef.current = textWithoutSpaces.substring(0, 8);
|
|
124
153
|
}).catch(() => {
|
|
125
154
|
tdrResponse = null;
|
|
126
155
|
});
|
|
127
156
|
await getCardBin(cfSession, textWithoutSpaces).then(response => {
|
|
128
157
|
cardBinResponse = response;
|
|
158
|
+
firstEightDigitsRef.current = textWithoutSpaces.substring(0, 8);
|
|
129
159
|
}).catch(() => {
|
|
130
160
|
cardBinResponse = null;
|
|
131
161
|
});
|
|
132
162
|
if (tdrResponse) {
|
|
133
|
-
|
|
134
|
-
completeResponse
|
|
163
|
+
tdrJsonRef.current = tdrResponse;
|
|
164
|
+
completeResponse.tdr_info = tdrJsonRef.current;
|
|
135
165
|
}
|
|
136
166
|
if (cardBinResponse) {
|
|
137
|
-
|
|
138
|
-
completeResponse
|
|
167
|
+
cardBinJsonRef.current = cardBinResponse;
|
|
168
|
+
completeResponse.card_bin_info = cardBinJsonRef.current;
|
|
169
|
+
completeResponse.input_validation = getInputValidationDetails(cardBinJsonRef.current);
|
|
139
170
|
}
|
|
140
171
|
}
|
|
141
172
|
if (textWithoutSpaces.length === 8) {
|
|
142
|
-
firstEightDigits = textWithoutSpaces;
|
|
143
173
|
await fetchDataAndSet();
|
|
144
174
|
} else if (textWithoutSpaces.length > 8) {
|
|
145
|
-
if (
|
|
146
|
-
completeResponse
|
|
147
|
-
completeResponse
|
|
175
|
+
if (firstEightDigitsRef.current === textWithoutSpaces.substring(0, 8)) {
|
|
176
|
+
completeResponse.tdr_info = tdrJsonRef.current;
|
|
177
|
+
completeResponse.card_bin_info = cardBinJsonRef.current;
|
|
178
|
+
completeResponse.input_validation = getInputValidationDetails(cardBinJsonRef.current);
|
|
148
179
|
} else {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
cardBinJson = null;
|
|
180
|
+
tdrJsonRef.current = null;
|
|
181
|
+
cardBinJsonRef.current = null;
|
|
152
182
|
await fetchDataAndSet();
|
|
153
183
|
}
|
|
154
184
|
}
|
|
155
185
|
if (textWithoutSpaces.length < 8) {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
186
|
+
tdrJsonRef.current = null;
|
|
187
|
+
cardBinJsonRef.current = null;
|
|
188
|
+
firstEightDigitsRef.current = '';
|
|
159
189
|
}
|
|
160
|
-
if (
|
|
161
|
-
completeResponse
|
|
190
|
+
if (cardBinJsonRef.current !== null) {
|
|
191
|
+
completeResponse.card_network = cardBinJsonRef.current.scheme;
|
|
162
192
|
}
|
|
163
193
|
let luhnStatus = luhnCheck(textWithoutSpaces);
|
|
164
194
|
if (luhnStatus) {
|
|
165
|
-
completeResponse
|
|
195
|
+
completeResponse.luhn_check_info = 'SUCCESS';
|
|
166
196
|
if (textWithoutSpaces && textWithoutSpaces.length > 4) {
|
|
167
|
-
completeResponse
|
|
197
|
+
completeResponse.last_four_digit = textWithoutSpaces.substring(textWithoutSpaces.length - 4);
|
|
168
198
|
}
|
|
169
199
|
} else {
|
|
170
|
-
completeResponse
|
|
200
|
+
completeResponse.luhn_check_info = 'FAIL';
|
|
171
201
|
}
|
|
172
|
-
completeResponse
|
|
202
|
+
completeResponse.card_length = textWithoutSpaces.length;
|
|
173
203
|
return cardListener(JSON.stringify(completeResponse));
|
|
174
|
-
}, [cardListener]);
|
|
204
|
+
}, [cfSession, cardListener]);
|
|
175
205
|
const doPayment = cardInfo => {
|
|
176
206
|
try {
|
|
177
207
|
let cfCardNumber = inputNumberRef.current;
|
|
@@ -250,9 +280,7 @@ const CardInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
250
280
|
});
|
|
251
281
|
});
|
|
252
282
|
var _default = exports.default = CardInput;
|
|
253
|
-
//# sourceMappingURL=CFCardComponent.js.
|
|
254
|
-
value: inputNumber,
|
|
255
|
-
onChangeText: handleChange,
|
|
283
|
+
//# sourceMappingURL=CFCardComponent.js.mapeChange,
|
|
256
284
|
onSubmitEditing: handleSubmitEditingEvent,
|
|
257
285
|
onEndEditing: handleEndEditingEvent,
|
|
258
286
|
onFocus: handleFocusEvent,
|