@vulog/aima-booking 1.1.54 → 1.1.56

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/dist/index.js CHANGED
@@ -235,14 +235,14 @@ var getStations = async (client, includes = []) => {
235
235
  }
236
236
  acc[service.station.id].services.push({
237
237
  id: service.serviceId,
238
- models: service.models
238
+ models: service.station.models
239
239
  });
240
240
  return acc;
241
241
  }, {})
242
242
  );
243
243
  stations.forEach((station) => {
244
244
  if (services[station.id]) {
245
- Object.assign(station, services[station.poiId]);
245
+ Object.assign(station, services[station.id]);
246
246
  }
247
247
  });
248
248
  }
package/dist/index.mjs CHANGED
@@ -203,14 +203,14 @@ var getStations = async (client, includes = []) => {
203
203
  }
204
204
  acc[service.station.id].services.push({
205
205
  id: service.serviceId,
206
- models: service.models
206
+ models: service.station.models
207
207
  });
208
208
  return acc;
209
209
  }, {})
210
210
  );
211
211
  stations.forEach((station) => {
212
212
  if (services[station.id]) {
213
- Object.assign(station, services[station.poiId]);
213
+ Object.assign(station, services[station.id]);
214
214
  }
215
215
  });
216
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-booking",
3
- "version": "1.1.54",
3
+ "version": "1.1.56",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -19,8 +19,8 @@
19
19
  "author": "Vulog",
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
- "@vulog/aima-client": "1.1.54",
23
- "@vulog/aima-core": "1.1.54"
22
+ "@vulog/aima-client": "1.1.56",
23
+ "@vulog/aima-core": "1.1.56"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "es-toolkit": "^1.33.0",
@@ -149,7 +149,7 @@ export const getStations = async (client: Client, includes: Include[] = []): Pro
149
149
  }
150
150
  acc[service.station.id].services.push({
151
151
  id: service.serviceId,
152
- models: service.models,
152
+ models: service.station.models,
153
153
  });
154
154
  return acc;
155
155
  }, {})
@@ -157,7 +157,7 @@ export const getStations = async (client: Client, includes: Include[] = []): Pro
157
157
 
158
158
  stations.forEach((station) => {
159
159
  if (services[station.id]) {
160
- Object.assign(station, services[station.poiId]);
160
+ Object.assign(station, services[station.id]);
161
161
  }
162
162
  });
163
163
  }