Releases: monkvision/monkjs
Releases · monkvision/monkjs
v4.6.0
✨ New Features
- Video Capture
The newVideoCapture
simplifies the process of capturing vehicle inspection images by guiding users to record a walkaround video of their vehicle:
Highlights:
• Supports automatic frame selection for optimal image quality.
• Includes warnings for fast walking and phone shaking, enhancing video stability.
• Configurable minimum recording duration and retry logic for failed uploads.
• Easy integration with a single-pageVideoCapture
component.
Usage:
import { VideoCapture } from '@monkvision/inspection-capture-web';
const apiDomain = 'api.preview.monk.ai/v1';
export function MonkVideoCapturePage({ authToken }) {
return (
<VideoCapture
inspectionId={inspectionId}
apiConfig={{ apiDomain, authToken }}
onComplete={() => { /* Navigate to another page */ }}
/>
);
}
- Damage Disclosure
The DamageDisclosure is designed to guide users in documenting vehicle damages through detailed close-up images. This feature supports two sub-workflows:
• Part-selection: Users select a damaged part on a vehicle wireframe before capturing close-up photos.
• Two-shot: Users capture a wide shot of the vehicle followed by a close-up image of the damage.
Highlights:
• Easy integration with the DamageDisclosure component.
• Configurable image quality, resolution, and compliance settings.
• Supports callbacks for picture-taking and workflow completion.
Usage:
import { DamageDisclosure } from '@monkvision/inspection-capture-web';
const apiDomain = 'api.preview.monk.ai/v1';
export function MonkDamageDisclosurePage({ authToken }) {
return (
<DamageDisclosure
inspectionId={inspectionId}
apiConfig={{ apiDomain, authToken }}
onComplete={() => { /* Navigate to another page */ }}
/>
);
}
❗ Breaking Changes
- The
enableAddDamage
boolean property inPhotoCaptureConfigApp
has been replaced by theaddDamage
property.
The newaddDamage
property accepts values from theAddDamage
enum, providing more flexibility for specifying the damage capture workflow.
// Before:
<PhotoCapture
enableAddDamage={true}
// After:
import { AddDamage } from '@monkvision/inspection-capture-web';
<PhotoCapture
addDamage={AddDamage.PART_SELECT}
/>
v4.5.6
v4.5.5
🔧 Adjustements
- Added
wheel_analysis
in default tasks for the following sights :
fesc20-r_UeXQRO
fesc20-P470Q-jm
haccord-sorgeRJ7
haccord-Qel0qUky
fesc20-Wzdtgqqz
fesc20-LTe3X2bg
haccord-Z84erkMb
haccord-hsCc_Nct
v4.5.4
v4.5.3
v4.5.2
🐞 Bug Fixes
- Fixed a bug causing the vehicle ID of the inspection to be undefined when using the get inspection API request
v4.5.1
v4.5.0
❗ Breaking Changes
- Removed
BusinessClients
from types in the SDK
v4.4.5
✨ New Features
- Added
methodology
parameter when creating an inspection with Pricing V2