react-native-unit-components 2.0.0 → 2.0.2

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 (126) hide show
  1. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +25 -1
  2. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  3. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +2 -0
  4. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -1
  5. package/lib/commonjs/nativeComponents/UNBaseView/UNBaseView.js +3 -3
  6. package/lib/commonjs/nativeComponents/UNBaseView/UNBaseView.js.map +1 -1
  7. package/lib/commonjs/nativeComponents/UNSecureView/{UNSecureViewNativeComponent.js → UNSecureViewNativeComponent.android.js} +1 -1
  8. package/lib/commonjs/nativeComponents/UNSecureView/{UNSecureViewNativeComponent.js.map → UNSecureViewNativeComponent.android.js.map} +1 -1
  9. package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
  10. package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
  11. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +25 -1
  12. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  13. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +2 -0
  14. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -1
  15. package/lib/module/nativeComponents/UNBaseView/UNBaseView.js +2 -1
  16. package/lib/module/nativeComponents/UNBaseView/UNBaseView.js.map +1 -1
  17. package/lib/module/nativeComponents/UNSecureView/{UNSecureViewNativeComponent.js → UNSecureViewNativeComponent.android.js} +1 -1
  18. package/lib/module/nativeComponents/UNSecureView/UNSecureViewNativeComponent.android.js.map +1 -0
  19. package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
  20. package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
  21. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -1
  22. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts +2 -0
  23. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts.map +1 -1
  24. package/lib/typescript/src/nativeComponents/UNBaseView/UNBaseView.d.ts.map +1 -1
  25. package/lib/typescript/src/nativeComponents/UNSecureView/{UNSecureViewNativeComponent.d.ts → UNSecureViewNativeComponent.android.d.ts} +1 -1
  26. package/lib/typescript/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.android.d.ts.map +1 -0
  27. package/lib/typescript/src/types/shared/account.types.d.ts +3 -3
  28. package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -1
  29. package/lib/typescript/src/types/shared/authorization.types.d.ts +1 -1
  30. package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -1
  31. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +8 -5
  32. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -1
  33. package/lib/typescript/src/types/shared/counterparty.types.d.ts +2 -2
  34. package/lib/typescript/src/types/shared/payment/bookPayment.types.d.ts +2 -2
  35. package/lib/typescript/src/types/shared/payment/payments.types.d.ts +3 -3
  36. package/lib/typescript/src/types/shared/payment/wirePayment.types.d.ts +1 -1
  37. package/lib/typescript/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.d.ts +4 -4
  38. package/lib/typescript/src/types/shared/transaction/UNAdjustmentTransaction.d.ts +4 -4
  39. package/lib/typescript/src/types/shared/transaction/UNAtmTransaction.d.ts +4 -4
  40. package/lib/typescript/src/types/shared/transaction/UNBankRepaymentTransaction.d.ts +5 -5
  41. package/lib/typescript/src/types/shared/transaction/UNBillPayTransaction.d.ts +4 -4
  42. package/lib/typescript/src/types/shared/transaction/UNBookTransaction.d.ts +4 -4
  43. package/lib/typescript/src/types/shared/transaction/UNCardReversalTransaction.d.ts +5 -5
  44. package/lib/typescript/src/types/shared/transaction/UNCardTransaction.d.ts +4 -4
  45. package/lib/typescript/src/types/shared/transaction/UNCashDepositTransaction.d.ts +3 -3
  46. package/lib/typescript/src/types/shared/transaction/UNChargebackTransaction.d.ts +6 -6
  47. package/lib/typescript/src/types/shared/transaction/UNCheckDepositTransaction.d.ts +2 -2
  48. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.d.ts +5 -5
  49. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentTransaction.d.ts +5 -5
  50. package/lib/typescript/src/types/shared/transaction/UNDishonoredAchTransaction.d.ts +4 -4
  51. package/lib/typescript/src/types/shared/transaction/UNDisputeSettlementTransaction.d.ts +4 -4
  52. package/lib/typescript/src/types/shared/transaction/UNDisputeTransaction.d.ts +4 -4
  53. package/lib/typescript/src/types/shared/transaction/UNFeeReversalTransaction.d.ts +5 -5
  54. package/lib/typescript/src/types/shared/transaction/UNFeeTransaction.d.ts +5 -5
  55. package/lib/typescript/src/types/shared/transaction/UNInterchangeShareTransaction.d.ts +4 -4
  56. package/lib/typescript/src/types/shared/transaction/UNInterestShareTransaction.d.ts +4 -4
  57. package/lib/typescript/src/types/shared/transaction/UNInterestTransaction.d.ts +4 -4
  58. package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts +4 -4
  59. package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts.map +1 -1
  60. package/lib/typescript/src/types/shared/transaction/UNOriginatedAchTransaction.d.ts +3 -3
  61. package/lib/typescript/src/types/shared/transaction/UNPaymentAdvanceTransaction.d.ts +5 -5
  62. package/lib/typescript/src/types/shared/transaction/UNPaymentCanceledTransaction.d.ts +4 -4
  63. package/lib/typescript/src/types/shared/transaction/UNPurchaseTransaction.d.ts +4 -4
  64. package/lib/typescript/src/types/shared/transaction/UNReceivedAchTransaction.d.ts +5 -5
  65. package/lib/typescript/src/types/shared/transaction/UNReleaseTransaction.d.ts +4 -4
  66. package/lib/typescript/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.d.ts +6 -6
  67. package/lib/typescript/src/types/shared/transaction/UNReturnedAchTransaction.d.ts +4 -4
  68. package/lib/typescript/src/types/shared/transaction/UNReturnedCheckDepositTransaction.d.ts +4 -4
  69. package/lib/typescript/src/types/shared/transaction/UNReturnedReceivedAchTransaction.d.ts +5 -5
  70. package/lib/typescript/src/types/shared/transaction/UNRewardTransaction.d.ts +5 -5
  71. package/lib/typescript/src/types/shared/transaction/UNSettlementTransaction.d.ts +4 -4
  72. package/lib/typescript/src/types/shared/transaction/UNSponsoredInterestTransaction.d.ts +4 -4
  73. package/lib/typescript/src/types/shared/transaction/UNWireTransaction.d.ts +4 -4
  74. package/lib/typescript/src/types/shared/transaction/transactions.types.d.ts +1 -1
  75. package/package.json +1 -1
  76. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +24 -0
  77. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +6 -0
  78. package/src/nativeComponents/UNBaseView/UNBaseView.tsx +2 -1
  79. package/src/types/shared/account.types.ts +3 -3
  80. package/src/types/shared/authorization.types.ts +1 -1
  81. package/src/types/shared/checkDeposit.types.ts +8 -5
  82. package/src/types/shared/counterparty.types.ts +2 -2
  83. package/src/types/shared/payment/bookPayment.types.ts +2 -2
  84. package/src/types/shared/payment/payments.types.ts +3 -3
  85. package/src/types/shared/payment/wirePayment.types.ts +1 -1
  86. package/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.ts +4 -4
  87. package/src/types/shared/transaction/UNAdjustmentTransaction.ts +4 -4
  88. package/src/types/shared/transaction/UNAtmTransaction.ts +4 -4
  89. package/src/types/shared/transaction/UNBankRepaymentTransaction.ts +5 -5
  90. package/src/types/shared/transaction/UNBillPayTransaction.ts +4 -4
  91. package/src/types/shared/transaction/UNBookTransaction.ts +4 -4
  92. package/src/types/shared/transaction/UNCardReversalTransaction.ts +5 -5
  93. package/src/types/shared/transaction/UNCardTransaction.ts +4 -4
  94. package/src/types/shared/transaction/UNCashDepositTransaction.ts +3 -3
  95. package/src/types/shared/transaction/UNChargebackTransaction.ts +6 -6
  96. package/src/types/shared/transaction/UNCheckDepositTransaction.ts +2 -2
  97. package/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.ts +5 -5
  98. package/src/types/shared/transaction/UNCustomerRepaymentTransaction.ts +5 -5
  99. package/src/types/shared/transaction/UNDishonoredAchTransaction.ts +4 -4
  100. package/src/types/shared/transaction/UNDisputeSettlementTransaction.ts +4 -4
  101. package/src/types/shared/transaction/UNDisputeTransaction.ts +4 -4
  102. package/src/types/shared/transaction/UNFeeReversalTransaction.ts +5 -5
  103. package/src/types/shared/transaction/UNFeeTransaction.ts +5 -5
  104. package/src/types/shared/transaction/UNInterchangeShareTransaction.ts +4 -4
  105. package/src/types/shared/transaction/UNInterestShareTransaction.ts +4 -4
  106. package/src/types/shared/transaction/UNInterestTransaction.ts +4 -4
  107. package/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.ts +5 -5
  108. package/src/types/shared/transaction/UNOriginatedAchTransaction.ts +3 -3
  109. package/src/types/shared/transaction/UNPaymentAdvanceTransaction.ts +5 -5
  110. package/src/types/shared/transaction/UNPaymentCanceledTransaction.ts +4 -4
  111. package/src/types/shared/transaction/UNPurchaseTransaction.ts +4 -4
  112. package/src/types/shared/transaction/UNReceivedAchTransaction.ts +5 -5
  113. package/src/types/shared/transaction/UNReleaseTransaction.ts +4 -4
  114. package/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.ts +6 -6
  115. package/src/types/shared/transaction/UNReturnedAchTransaction.ts +4 -4
  116. package/src/types/shared/transaction/UNReturnedCheckDepositTransaction.ts +4 -4
  117. package/src/types/shared/transaction/UNReturnedReceivedAchTransaction.ts +5 -5
  118. package/src/types/shared/transaction/UNRewardTransaction.ts +5 -5
  119. package/src/types/shared/transaction/UNSettlementTransaction.ts +4 -4
  120. package/src/types/shared/transaction/UNSponsoredInterestTransaction.ts +4 -4
  121. package/src/types/shared/transaction/UNWireTransaction.ts +4 -4
  122. package/src/types/shared/transaction/transactions.types.ts +1 -1
  123. package/src/unitComponentsSdkManager/UnitComponentsSdkManager.ts +1 -1
  124. package/lib/module/nativeComponents/UNSecureView/UNSecureViewNativeComponent.js.map +0 -1
  125. package/lib/typescript/src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.d.ts.map +0 -1
  126. /package/src/nativeComponents/UNSecureView/{UNSecureViewNativeComponent.ts → UNSecureViewNativeComponent.android.ts} +0 -0
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNPaymentCanceledTransaction = {
6
6
  type: UNTransactionTypes.PaymentCanceled
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNPaymentCanceledTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNPaymentCanceledTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -5,7 +5,7 @@ import { UNTransactionTypes } from './transactions.types';
5
5
 
6
6
  export type UNPurchaseTransaction = {
7
7
  type: UNTransactionTypes.Purchase
8
- id: number
8
+ id: string
9
9
  attributes: {
10
10
  cardNetwork: string
11
11
  cardLast4Digits: string
@@ -25,13 +25,13 @@ export type UNPurchaseTransaction = {
25
25
  account: {
26
26
  data: {
27
27
  type: string
28
- id: number
28
+ id: string
29
29
  }
30
30
  }
31
31
  customer?: {
32
32
  data: {
33
33
  type: string
34
- id: number
34
+ id: string
35
35
  }
36
36
  }
37
37
  customers?: {
@@ -45,7 +45,7 @@ export type UNPurchaseTransaction = {
45
45
  org?: {
46
46
  data: {
47
47
  type: string
48
- id: number
48
+ id: string
49
49
  }
50
50
  }
51
51
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNReceivedAchTransaction = {
6
6
  type: UNTransactionTypes.ReceivedACH
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -21,13 +21,13 @@ export type UNReceivedAchTransaction = {
21
21
  account: {
22
22
  data: {
23
23
  type: string
24
- id: number
24
+ id: string
25
25
  }
26
26
  }
27
27
  customer?: {
28
28
  data: {
29
29
  type: string
30
- id: number
30
+ id: string
31
31
  }
32
32
  }
33
33
  customers?: {
@@ -41,13 +41,13 @@ export type UNReceivedAchTransaction = {
41
41
  org?: {
42
42
  data: {
43
43
  type: string
44
- id: number
44
+ id: string
45
45
  }
46
46
  }
47
47
  incomingAch?: {
48
48
  data: {
49
49
  type: string
50
- id: number
50
+ id: string
51
51
  }
52
52
  }
53
53
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNReleaseTransaction = {
6
6
  type: UNTransactionTypes.Release
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNReleaseTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNReleaseTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNRepaidPaymentAdvanceTransaction = {
6
6
  type: UNTransactionTypes.RepaidPaymentAdvance
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -17,13 +17,13 @@ export type UNRepaidPaymentAdvanceTransaction = {
17
17
  account: {
18
18
  data: {
19
19
  type: string
20
- id: number
20
+ id: string
21
21
  }
22
22
  }
23
23
  customer?: {
24
24
  data: {
25
25
  type: string
26
- id: number
26
+ id: string
27
27
  }
28
28
  }
29
29
  customers?: {
@@ -37,19 +37,19 @@ export type UNRepaidPaymentAdvanceTransaction = {
37
37
  org?: {
38
38
  data: {
39
39
  type: string
40
- id: number
40
+ id: string
41
41
  }
42
42
  }
43
43
  receivedPayment?: {
44
44
  data: {
45
45
  type: 'receivedPayment'
46
- id: number
46
+ id: string
47
47
  }
48
48
  }
49
49
  paymentAdvanceTransaction?: {
50
50
  data: {
51
51
  type: 'paymentAdvanceTransaction'
52
- id: number
52
+ id: string
53
53
  }
54
54
  }
55
55
  }
@@ -4,7 +4,7 @@ import { UNTransactionTypes } from './transactions.types';
4
4
 
5
5
  export type UNReturnedAchTransaction = {
6
6
  type: UNTransactionTypes.ReturnedACH
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -20,13 +20,13 @@ export type UNReturnedAchTransaction = {
20
20
  account: {
21
21
  data: {
22
22
  type: string
23
- id: number
23
+ id: string
24
24
  }
25
25
  }
26
26
  customer?: {
27
27
  data: {
28
28
  type: string
29
- id: number
29
+ id: string
30
30
  }
31
31
  }
32
32
  customers?: {
@@ -40,7 +40,7 @@ export type UNReturnedAchTransaction = {
40
40
  org?: {
41
41
  data: {
42
42
  type: string
43
- id: number
43
+ id: string
44
44
  }
45
45
  }
46
46
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNReturnedCheckDepositTransaction = {
6
6
  type: UNTransactionTypes.ReturnedCheckDeposit
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNReturnedCheckDepositTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNReturnedCheckDepositTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNReturnedReceivedAchTransaction = {
6
6
  type: UNTransactionTypes.ReturnedReceivedACH
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -20,13 +20,13 @@ export type UNReturnedReceivedAchTransaction = {
20
20
  account: {
21
21
  data: {
22
22
  type: string
23
- id: number
23
+ id: string
24
24
  }
25
25
  }
26
26
  customer?: {
27
27
  data: {
28
28
  type: string
29
- id: number
29
+ id: string
30
30
  }
31
31
  }
32
32
  customers?: {
@@ -40,13 +40,13 @@ export type UNReturnedReceivedAchTransaction = {
40
40
  org?: {
41
41
  data: {
42
42
  type: string
43
- id: number
43
+ id: string
44
44
  }
45
45
  }
46
46
  returned: {
47
47
  data: {
48
48
  type: string
49
- id: number
49
+ id: string
50
50
  }
51
51
  }
52
52
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNRewardTransaction = {
6
6
  type: UNTransactionTypes.Reward
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -18,13 +18,13 @@ export type UNRewardTransaction = {
18
18
  account: {
19
19
  data: {
20
20
  type: string
21
- id: number
21
+ id: string
22
22
  }
23
23
  }
24
24
  customer?: {
25
25
  data: {
26
26
  type: string
27
- id: number
27
+ id: string
28
28
  }
29
29
  }
30
30
  customers?: {
@@ -38,13 +38,13 @@ export type UNRewardTransaction = {
38
38
  org?: {
39
39
  data: {
40
40
  type: string
41
- id: number
41
+ id: string
42
42
  }
43
43
  }
44
44
  reward: {
45
45
  data: {
46
46
  type: string
47
- id: number
47
+ id: string
48
48
  }
49
49
  }
50
50
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNSettlementTransaction = {
6
6
  type: UNTransactionTypes.Settlement
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNSettlementTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNSettlementTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNSponsoredInterestTransaction = {
6
6
  type: UNTransactionTypes.SponsoredInterest
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNSponsoredInterestTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNSponsoredInterestTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNWireTransaction = {
6
6
  type: UNTransactionTypes.Wire
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -17,13 +17,13 @@ export type UNWireTransaction = {
17
17
  account: {
18
18
  data: {
19
19
  type: string
20
- id: number
20
+ id: string
21
21
  }
22
22
  }
23
23
  customer?: {
24
24
  data: {
25
25
  type: string
26
- id: number
26
+ id: string
27
27
  }
28
28
  }
29
29
  customers?: {
@@ -37,7 +37,7 @@ export type UNWireTransaction = {
37
37
  org?: {
38
38
  data: {
39
39
  type: string
40
- id: number
40
+ id: string
41
41
  }
42
42
  }
43
43
  }
@@ -152,7 +152,7 @@ export enum UNTransactionType {
152
152
 
153
153
  export type UNMerchant = {
154
154
  name?: string
155
- type?: string
155
+ type?: number
156
156
  category?: string
157
157
  location?: string
158
158
  }
@@ -25,7 +25,7 @@ export class UnitComponentsSDK {
25
25
  protected static fonts?: UNFonts;
26
26
  protected static signedNonce?: string;
27
27
  protected static pushProvisionModule?: typeof NativeModules;
28
- protected static sdkVersion = '2.0.0';
28
+ protected static sdkVersion = '2.0.2';
29
29
 
30
30
  public static init = async (
31
31
  env: UNComponentsEnvironment,
@@ -1 +0,0 @@
1
- {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../../src","sources":["nativeComponents/UNSecureView/UNSecureViewNativeComponent.ts"],"mappings":"AACA,OAAOA,sBAAsB,MAAM,yDAAyD;AAM5F,eAAeA,sBAAsB,CACnC,oBACF,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UNSecureViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/nativeComponents/UNSecureView/UNSecureViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,yBAAyB,EAAE,OAAO,CAAC;CACpC;;AAED,wBAEgC"}