tf-checkout-react-native 1.0.32 → 1.0.33

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 (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.tsx +0 -126
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "tf-checkout-react-native",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "TheTicketFairy ReactNative Checkout library",
5
5
  "homepage": "https://github.com/theticketfairy/tf-checkout-react-native",
6
- "main": "src/index.tsx",
6
+ "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "author": "TheTicketFairy <dev.jorgtz@gmail.com>",
9
9
  "license": "MIT",
package/src/index.tsx DELETED
@@ -1,126 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import * as React from 'react' //Needed to render
3
- import { LogBox, NativeModules } from 'react-native'
4
-
5
- import {
6
- IMyOrderDetailsData,
7
- IMyOrdersOrder,
8
- MyOrderRequestFromType,
9
- } from './api/types'
10
- import { LoggedIn, Login } from './components'
11
- import {
12
- BillingInfo,
13
- Checkout,
14
- MyOrderDetails,
15
- MyOrders,
16
- PurchaseConfirmation,
17
- ResaleTickets,
18
- ResetPassword,
19
- Tickets,
20
- } from './containers'
21
- import {
22
- IBillingProps,
23
- IOnCheckoutSuccess,
24
- SkippingStatusType,
25
- } from './containers/billingInfo/types'
26
- import { ICheckoutProps } from './containers/checkout/types'
27
- import { IMyOrderDetailsProps } from './containers/myOrderDetails/types'
28
- import { IMyOrdersProps } from './containers/myOrders/types'
29
- import { IPurchaseConfirmationProps } from './containers/purchaseConfirmation/types'
30
- import { IResaleTicketsProps } from './containers/resaleTickets/types'
31
- import { ITicketsProps } from './containers/tickets/types'
32
- import {
33
- BillingCore,
34
- BillingCoreHandle,
35
- CheckoutCore,
36
- CheckoutCoreHandle,
37
- LoginCore,
38
- LoginCoreHandle,
39
- MyOrdersCore,
40
- MyOrdersCoreHandle,
41
- OrderDetailsCore,
42
- OrderDetailsCoreHandle,
43
- PurchaseConfirmationCore,
44
- PurchaseConfirmationCoreHandle,
45
- ResetPasswordCore,
46
- ResetPasswordCoreHandle,
47
- SessionCoreHandleType,
48
- SessionHandleType,
49
- TicketsCore,
50
- TicketsCoreHandle,
51
- WaitingListCore,
52
- WaitingListCoreHandle,
53
- } from './core'
54
- import { setConfig } from './helpers/Config'
55
- import { deleteAllData } from './helpers/LocalStorage'
56
- import { refreshAccessToken } from './helpers/RefreshAccessToken'
57
- import {
58
- IAccountOrdersPurchasedEvent,
59
- IAccountOrdersTicket,
60
- IAccountTicketsAttributes,
61
- IAccountTicketsData,
62
- IAccountTicketsResponse,
63
- ITicketsResponseData,
64
- IUserProfile,
65
- } from './types'
66
-
67
- LogBox.ignoreAllLogs()
68
- // @ts-ignore
69
- console.reportErrorsAsExceptions = false
70
-
71
- export {
72
- BillingCore,
73
- BillingCoreHandle,
74
- BillingInfo,
75
- Checkout,
76
- CheckoutCore,
77
- CheckoutCoreHandle,
78
- deleteAllData,
79
- IAccountOrdersPurchasedEvent,
80
- IAccountOrdersTicket,
81
- IAccountTicketsAttributes,
82
- IAccountTicketsData,
83
- IAccountTicketsResponse,
84
- IBillingProps,
85
- ICheckoutProps,
86
- IMyOrderDetailsData,
87
- IMyOrderDetailsProps,
88
- IMyOrdersOrder,
89
- IMyOrdersProps,
90
- IOnCheckoutSuccess,
91
- IPurchaseConfirmationProps,
92
- IResaleTicketsProps,
93
- ITicketsProps,
94
- ITicketsResponseData,
95
- IUserProfile,
96
- LoggedIn,
97
- Login,
98
- LoginCore,
99
- LoginCoreHandle,
100
- MyOrderDetails,
101
- MyOrderRequestFromType,
102
- MyOrders,
103
- MyOrdersCore,
104
- MyOrdersCoreHandle,
105
- OrderDetailsCore,
106
- OrderDetailsCoreHandle,
107
- PurchaseConfirmation,
108
- PurchaseConfirmationCore,
109
- PurchaseConfirmationCoreHandle,
110
- refreshAccessToken,
111
- ResaleTickets,
112
- ResetPassword,
113
- ResetPasswordCore,
114
- ResetPasswordCoreHandle,
115
- SessionCoreHandleType,
116
- SessionHandleType,
117
- setConfig,
118
- SkippingStatusType,
119
- Tickets,
120
- TicketsCore,
121
- TicketsCoreHandle,
122
- WaitingListCore,
123
- WaitingListCoreHandle,
124
- }
125
-
126
- export default NativeModules.TFCheckoutRNModule