Skip to content

Releases: monkvision/monkjs

v4.3.0

14 Nov 10:26
Compare
Choose a tag to compare

❗ Breaking Changes

  • Enable pricing via tasks: if you are using the pricingV2 feature, you must update your @monk dependencies

✨ New Features

  • Created useForm hook

👀 Other Changes

  • Change damage_severity output format back to 'toyota'

v4.2.9

06 Nov 10:54
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Changed "toyota" to "default" in output_format when creating a inspection.
  • Fixed sentry DSN

v4.2.8

24 Oct 19:53
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Fixed parts entities not updated properly when adding a damage

v4.2.7

24 Oct 19:12
Compare
Choose a tag to compare

✨ New Features

  • MonkState is now updated before getting the response from the pricing and damage API request. (Then updated again when getting the response from the API)

v4.2.6

24 Oct 08:51
Compare
Choose a tag to compare

✨ New Features

  • Added onPictureTaken callback to the PhotoCapture component

v4.2.5

21 Oct 21:32
Compare
Choose a tag to compare

👀 Other Changes

  • Added damageIds to parts entities when createdOneDamage or deletedOneDamage

v4.2.4

21 Oct 09:13
Compare
Choose a tag to compare

✨ New Featureys

Added API create / delete damage routes
State management for create / delete damage

v4.2.2

18 Oct 10:02
Compare
Choose a tag to compare

✨ New Features

  • Added the serie field to the Vehicle interface

v4.2.1

18 Oct 09:24
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Removed invalid properties from the vehicle field in the CreateInspectionOptions interface

v4.2.0

18 Oct 09:04
Compare
Choose a tag to compare

✨ New Features

  • Allow users to specify vehicle details and additional data when creating a new inspection using the createInspection request

❗ Breaking Changes

  • CreateInspectionOptions interface update
    The vehicleType field is now moved to vehicle.type :
// OLD
interface CreateInspectionOptions {
  ...
  vehicleType?: VehicleType;
  ...
};

// NEW
interface CreateInspectionOptions {
  ...
  vehicle?: Omit<Vehicle, 'id' | 'entityType' | 'inspectionId'>;
  ...
};