ordering-ui-react-native 0.17.79 → 0.17.80

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.17.79",
3
+ "version": "0.17.80",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -96,10 +96,15 @@ const NewOrderNotificationUI = (props: any) => {
96
96
  events.on('message_added_notification', (o: any) => handleEventNotification(1, o))
97
97
  events.on('order_added_notification', (o: any) => handleEventNotification(2, o))
98
98
  events.on('order_updated_notification', (o: any) => handleEventNotification(3, o))
99
+ events.on('request_register_notification', (o: any) => handleEventNotification(2, o))
100
+ events.on('request_update_notification', (o: any) => handleEventNotification(3, o))
101
+
99
102
  return () => {
100
103
  events.off('message_added_notification', (o: any) => handleEventNotification(1, o))
101
104
  events.off('order_added_notification', (o: any) => handleEventNotification(2, o))
102
105
  events.off('order_updated_notification', (o: any) => handleEventNotification(3, o))
106
+ events.off('request_register_notification', (o: any) => handleEventNotification(2, o))
107
+ events.off('request_update_notification', (o: any) => handleEventNotification(3, o))
103
108
  }
104
109
  }, [])
105
110