ti2 1.0.82 → 1.0.84

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.
@@ -99,6 +99,9 @@ const $bookingsProductSearch = plugins => async ({
99
99
  }) => {
100
100
  const app = plugins.find(({ name }) => name === appKey);
101
101
  // const app = load(appKey);
102
+ assert(userId, 'userId is required');
103
+ assert(appKey, 'appKey is required');
104
+ assert(app.searchProducts || app.searchProductsForItinerary, `searchProducts or searchProductsForItinerary is not available for ${appKey}`);
102
105
  const userAppKeys = (await UserAppKey.findOne({
103
106
  where: {
104
107
  userId,
@@ -1,7 +1,7 @@
1
1
  const typeDefs = `
2
2
  type Passenger {
3
- firstName: String!
4
- lastName: String!
3
+ firstName: String
4
+ lastName: String
5
5
  passengerType: String!
6
6
  age: Int
7
7
  dob: String
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ti2",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
4
4
  "description": "Tourist Industry Exchange (TI2)",
5
5
  "main": "index.js",
6
6
  "scripts": {