@monkvision/network 4.3.0 → 4.3.2
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/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monkvision/network",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"license": "BSD-3-Clause-Clear",
|
|
5
5
|
"packageManager": "yarn@3.2.4",
|
|
6
6
|
"description": "MonkJs core package used to communicate with the API",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"lint:fix": "yarn run prettier:fix && yarn run eslint:fix"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@monkvision/common": "4.
|
|
32
|
-
"@monkvision/sights": "4.
|
|
31
|
+
"@monkvision/common": "4.3.1",
|
|
32
|
+
"@monkvision/sights": "4.3.1",
|
|
33
33
|
"jsonwebtoken": "^9.0.2",
|
|
34
34
|
"jwt-decode": "^4.0.0",
|
|
35
35
|
"ky": "^1.2.0",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"react-router-dom": "^6.22.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@monkvision/eslint-config-base": "4.
|
|
46
|
-
"@monkvision/eslint-config-typescript": "4.
|
|
47
|
-
"@monkvision/jest-config": "4.
|
|
48
|
-
"@monkvision/prettier-config": "4.
|
|
49
|
-
"@monkvision/types": "4.
|
|
50
|
-
"@monkvision/typescript-config": "4.
|
|
45
|
+
"@monkvision/eslint-config-base": "4.3.1",
|
|
46
|
+
"@monkvision/eslint-config-typescript": "4.3.1",
|
|
47
|
+
"@monkvision/jest-config": "4.3.1",
|
|
48
|
+
"@monkvision/prettier-config": "4.3.1",
|
|
49
|
+
"@monkvision/types": "4.3.1",
|
|
50
|
+
"@monkvision/typescript-config": "4.3.1",
|
|
51
51
|
"@types/jest": "^29.2.2",
|
|
52
52
|
"@types/jsonwebtoken": "^9.0.5",
|
|
53
53
|
"@types/node": "^18.11.9",
|
|
@@ -380,6 +380,7 @@ function getPricingOptions(options) {
|
|
|
380
380
|
? {
|
|
381
381
|
status: types_1.ProgressStatus.TODO,
|
|
382
382
|
output_format: (_a = taskOptions.outputFormat) !== null && _a !== void 0 ? _a : 'default',
|
|
383
|
+
config: taskOptions.config,
|
|
383
384
|
}
|
|
384
385
|
: undefined;
|
|
385
386
|
}
|
|
@@ -429,7 +430,7 @@ function mapApiInspectionPost(options) {
|
|
|
429
430
|
additional_data: options.vehicle.additionalData,
|
|
430
431
|
}
|
|
431
432
|
: undefined,
|
|
432
|
-
damage_severity: { output_format: 'toyota' },
|
|
433
|
+
damage_severity: options.enablePricingV1 === false ? undefined : { output_format: 'toyota' },
|
|
433
434
|
additional_data: __assign({ user_agent: navigator.userAgent, connection: navigator.connection, monk_sdk_version: config_1.sdkVersion, damage_detection_version: 'v2', use_dynamic_crops: (_a = options.useDynamicCrops) !== null && _a !== void 0 ? _a : true, is_video_capture: (_b = options.isVideoCapture) !== null && _b !== void 0 ? _b : false }, options.additionalData),
|
|
434
435
|
};
|
|
435
436
|
}
|
|
@@ -73,6 +73,7 @@ export interface ApiPricingTaskPostComponent {
|
|
|
73
73
|
status?: ApiTaskPostProgressStatus;
|
|
74
74
|
callbacks?: ApiCallbacks;
|
|
75
75
|
output_format?: ApiBusinessClients;
|
|
76
|
+
config?: string;
|
|
76
77
|
}
|
|
77
78
|
export interface ApiTasksComponent {
|
|
78
79
|
damage_detection?: ApiDamageDetectionTaskPostComponent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monkvision/network",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"license": "BSD-3-Clause-Clear",
|
|
5
5
|
"packageManager": "yarn@3.2.4",
|
|
6
6
|
"description": "MonkJs core package used to communicate with the API",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"lint:fix": "yarn run prettier:fix && yarn run eslint:fix"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@monkvision/common": "4.3.
|
|
32
|
-
"@monkvision/sights": "4.3.
|
|
31
|
+
"@monkvision/common": "4.3.2",
|
|
32
|
+
"@monkvision/sights": "4.3.2",
|
|
33
33
|
"jsonwebtoken": "^9.0.2",
|
|
34
34
|
"jwt-decode": "^4.0.0",
|
|
35
35
|
"ky": "^1.2.0",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"react-router-dom": "^6.22.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@monkvision/eslint-config-base": "4.3.
|
|
46
|
-
"@monkvision/eslint-config-typescript": "4.3.
|
|
47
|
-
"@monkvision/jest-config": "4.3.
|
|
48
|
-
"@monkvision/prettier-config": "4.3.
|
|
49
|
-
"@monkvision/types": "4.3.
|
|
50
|
-
"@monkvision/typescript-config": "4.3.
|
|
45
|
+
"@monkvision/eslint-config-base": "4.3.2",
|
|
46
|
+
"@monkvision/eslint-config-typescript": "4.3.2",
|
|
47
|
+
"@monkvision/jest-config": "4.3.2",
|
|
48
|
+
"@monkvision/prettier-config": "4.3.2",
|
|
49
|
+
"@monkvision/types": "4.3.2",
|
|
50
|
+
"@monkvision/typescript-config": "4.3.2",
|
|
51
51
|
"@types/jest": "^29.2.2",
|
|
52
52
|
"@types/jsonwebtoken": "^9.0.5",
|
|
53
53
|
"@types/node": "^18.11.9",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"url": "https://github.com/monkvision/monkjs/issues"
|
|
85
85
|
},
|
|
86
86
|
"homepage": "https://github.com/monkvision/monkjs",
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "79cad6f0e22de9347582794b822d7843847e0d82"
|
|
88
88
|
}
|