tf-checkout-react-native 1.0.19 → 1.0.20

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 -78
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "tf-checkout-react-native",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
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,78 +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 { IMyOrderDetailsData, IMyOrdersOrder } from './api/types'
6
- import { LoggedIn, Login } from './components'
7
- import {
8
- BillingInfo,
9
- Checkout,
10
- MyOrderDetails,
11
- MyOrders,
12
- PurchaseConfirmation,
13
- Tickets,
14
- } from './containers'
15
- import {
16
- IOnCheckoutSuccess,
17
- SkippingStatusType,
18
- } from './containers/billingInfo/types'
19
- import { ITicketsProps } from './containers/tickets/types'
20
- import {
21
- BillingCore,
22
- BillingCoreHandle,
23
- CheckoutCore,
24
- CheckoutCoreHandle,
25
- LoginCore,
26
- LoginCoreHandle,
27
- MyOrdersCore,
28
- MyOrdersCoreHandle,
29
- PurchaseConfirmationCore,
30
- PurchaseConfirmationCoreHandle,
31
- TicketsCore,
32
- TicketsCoreHandle,
33
- WaitingListCore,
34
- WaitingListCoreHandle,
35
- } from './core'
36
- import { setConfig } from './helpers/Config'
37
- import { deleteAllData } from './helpers/LocalStorage'
38
- import { ITicketsResponseData, IUserProfile } from './types'
39
-
40
- LogBox.ignoreAllLogs()
41
- // @ts-ignore
42
- console.reportErrorsAsExceptions = false
43
-
44
- export {
45
- BillingCore,
46
- BillingCoreHandle,
47
- BillingInfo,
48
- Checkout,
49
- CheckoutCore,
50
- CheckoutCoreHandle,
51
- deleteAllData,
52
- IMyOrderDetailsData,
53
- IMyOrdersOrder,
54
- IOnCheckoutSuccess,
55
- ITicketsProps,
56
- ITicketsResponseData,
57
- IUserProfile,
58
- LoggedIn,
59
- Login,
60
- LoginCore,
61
- LoginCoreHandle,
62
- MyOrderDetails,
63
- MyOrders,
64
- MyOrdersCore,
65
- MyOrdersCoreHandle,
66
- PurchaseConfirmation,
67
- PurchaseConfirmationCore,
68
- PurchaseConfirmationCoreHandle,
69
- setConfig,
70
- SkippingStatusType,
71
- Tickets,
72
- TicketsCore,
73
- TicketsCoreHandle,
74
- WaitingListCore,
75
- WaitingListCoreHandle,
76
- }
77
-
78
- export default NativeModules.TFCheckoutRNModule