New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@monkvision/network

Package Overview
Dependencies
Maintainers
0
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monkvision/network - npm Package Compare versions

Comparing version 4.3.16 to 4.4.0

18

lib/package.json
{
"name": "@monkvision/network",
"version": "4.3.15",
"version": "4.3.16",
"license": "BSD-3-Clause-Clear",

@@ -31,4 +31,4 @@ "packageManager": "yarn@3.2.4",

"dependencies": {
"@monkvision/common": "4.3.15",
"@monkvision/sights": "4.3.15",
"@monkvision/common": "4.3.16",
"@monkvision/sights": "4.3.16",
"jsonwebtoken": "^9.0.2",

@@ -46,8 +46,8 @@ "jwt-decode": "^4.0.0",

"devDependencies": {
"@monkvision/eslint-config-base": "4.3.15",
"@monkvision/eslint-config-typescript": "4.3.15",
"@monkvision/jest-config": "4.3.15",
"@monkvision/prettier-config": "4.3.15",
"@monkvision/types": "4.3.15",
"@monkvision/typescript-config": "4.3.15",
"@monkvision/eslint-config-base": "4.3.16",
"@monkvision/eslint-config-typescript": "4.3.16",
"@monkvision/jest-config": "4.3.16",
"@monkvision/prettier-config": "4.3.16",
"@monkvision/types": "4.3.16",
"@monkvision/typescript-config": "4.3.16",
"@types/jest": "^29.2.2",

@@ -54,0 +54,0 @@ "@types/jsonwebtoken": "^9.0.5",

@@ -1,2 +0,2 @@

import { getInspection, createInspection, updateAdditionalData, getInspections, getInspectionsCount } from './inspection';
import { getInspection, createInspection, updateAdditionalData, getAllInspections, getAllInspectionsCount } from './inspection';
import { addImage } from './image';

@@ -14,4 +14,4 @@ import { startInspectionTasks, updateTaskStatus } from './task';

getInspection: typeof getInspection;
getInspections: typeof getInspections;
getInspectionsCount: typeof getInspectionsCount;
getAllInspections: typeof getAllInspections;
getAllInspectionsCount: typeof getAllInspectionsCount;
createInspection: typeof createInspection;

@@ -18,0 +18,0 @@ addImage: typeof addImage;

@@ -17,4 +17,4 @@ "use strict";

getInspection: inspection_1.getInspection,
getInspections: inspection_1.getInspections,
getInspectionsCount: inspection_1.getInspectionsCount,
getAllInspections: inspection_1.getAllInspections,
getAllInspectionsCount: inspection_1.getAllInspectionsCount,
createInspection: inspection_1.createInspection,

@@ -21,0 +21,0 @@ addImage: image_1.addImage,

@@ -7,5 +7,5 @@ export { type MonkApiConfig } from './config';

export * from './hooks';
export { type GetInspectionOptions, type GetInspectionResponse } from './inspection';
export { type GetInspectionOptions, type GetInspectionResponse, type GetAllInspectionsCountResponse, type UpdateAdditionalDataOptions, type GetAllInspectionsResponse, } from './inspection';
export { type AddImageResponse, type AddBeautyShotImageOptions, type Add2ShotCloseUpImageOptions, type AddImageOptions, type AddVideoFrameOptions, ImageUploadType, } from './image';
export { type UpdateProgressStatus, type UpdateTaskStatusOptions, type StartInspectionTasksOptions, } from './task';
export { type UpdateInspectionVehicleOptions } from './vehicle';
import { MonkState } from '@monkvision/common';
import { ComplianceOptions, CreateInspectionOptions, SortOrder } from '@monkvision/types';
import { ApiInspectionGet, ApiInspectionPost, ApiInspectionsGet } from '../models';
export declare function mapApiInspectionsGet(response: ApiInspectionsGet, thumbnailDomain: string): MonkState;
import { ApiAllInspectionsVerboseGet, ApiInspectionGet, ApiInspectionPost } from '../models';
export declare function mapApiAllInspectionsVerboseGet(data: ApiAllInspectionsVerboseGet[], thumbnailDomain: string): MonkState;
export declare function mapApiInspectionGet(response: ApiInspectionGet, thumbnailDomain: string, complianceOptions?: ComplianceOptions): MonkState;

@@ -42,5 +42,5 @@ export declare function mapApiInspectionPost(options: CreateInspectionOptions): ApiInspectionPost;

/**
* Options passed to the `getInspections` or `getInspectionsCount` API request.
* Options passed to the `getAllInspections` or `getAllInspectionsCount` API request.
*/
export interface GetInspectionsOptions {
export interface GetAllInspectionsOptions {
/**

@@ -59,2 +59,2 @@ * The filter request parameters.

}
export declare function mapApiInspectionsUrlParamsGet(options: GetInspectionsOptions): string;
export declare function mapApiAllInspectionsUrlParamsGet(options: GetAllInspectionsOptions, verbose: boolean): string;

@@ -14,3 +14,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.mapApiInspectionsUrlParamsGet = exports.mapApiInspectionPost = exports.mapApiInspectionGet = exports.mapApiInspectionsGet = void 0;
exports.mapApiAllInspectionsUrlParamsGet = exports.mapApiInspectionPost = exports.mapApiInspectionGet = exports.mapApiAllInspectionsVerboseGet = void 0;
var types_1 = require("@monkvision/types");

@@ -32,3 +32,5 @@ var mappers_1 = require("../image/mappers");

parts: (_a = damage.part_ids) !== null && _a !== void 0 ? _a : [],
relatedImages: (_c = (_b = damage.related_images) === null || _b === void 0 ? void 0 : _b.map(function (relatedImage) { return relatedImage.base_image_id; })) !== null && _c !== void 0 ? _c : [],
relatedImages: (_c = ('related_images' in damage
? (_b = damage.related_images) === null || _b === void 0 ? void 0 : _b.map(function (relatedImage) { return relatedImage.base_image_id; })
: [])) !== null && _c !== void 0 ? _c : [],
});

@@ -95,15 +97,19 @@ damageIds.push(damage.id);

var imageViews = [];
(_a = image.rendered_outputs) === null || _a === void 0 ? void 0 : _a.forEach(function (renderedOutput) {
renderedOutputIds.push(renderedOutput.id);
imageRenderedOutputs.push(renderedOutput.id);
renderedOutputs.push(mapRenderedOutput(renderedOutput));
});
(_b = image.views) === null || _b === void 0 ? void 0 : _b.forEach(function (apiView) {
var _a = mapView(apiView), view = _a.view, viewRenderedOutputs = _a.renderedOutputs;
viewIds.push(view.id);
imageViews.push(view.id);
views.push(view);
renderedOutputs.push.apply(renderedOutputs, viewRenderedOutputs);
renderedOutputIds.push.apply(renderedOutputIds, view.renderedOutputs);
});
if ('rendered_outputs' in image) {
(_a = image.rendered_outputs) === null || _a === void 0 ? void 0 : _a.forEach(function (renderedOutput) {
renderedOutputIds.push(renderedOutput.id);
imageRenderedOutputs.push(renderedOutput.id);
renderedOutputs.push(mapRenderedOutput(renderedOutput));
});
}
if ('views' in image) {
(_b = image.views) === null || _b === void 0 ? void 0 : _b.forEach(function (apiView) {
var _a = mapView(apiView), view = _a.view, viewRenderedOutputs = _a.renderedOutputs;
viewIds.push(view.id);
imageViews.push(view.id);
views.push(view);
renderedOutputs.push.apply(renderedOutputs, viewRenderedOutputs);
renderedOutputIds.push.apply(renderedOutputIds, view.renderedOutputs);
});
}
imageIds.push(image.id);

@@ -133,4 +139,6 @@ images.push(__assign(__assign({}, (0, mappers_1.mapApiImage)(image, response.id, thumbnailDomain, complianceOptions)), { renderedOutputs: imageRenderedOutputs, views: imageViews }));

type: part.part_type,
damages: (_a = part.damage_ids) !== null && _a !== void 0 ? _a : [],
relatedImages: (_c = (_b = part.related_images) === null || _b === void 0 ? void 0 : _b.map(function (relatedImage) { return relatedImage.base_image_id; })) !== null && _c !== void 0 ? _c : [],
damages: (_a = ('damage_ids' in part ? part.damage_ids : [])) !== null && _a !== void 0 ? _a : [],
relatedImages: (_c = ('related_images' in part
? (_b = part.related_images) === null || _b === void 0 ? void 0 : _b.map(function (relatedImage) { return relatedImage.base_image_id; })
: [])) !== null && _c !== void 0 ? _c : [],
});

@@ -260,13 +268,15 @@ });

var _a, _b;
return ((_b = (_a = response.wheel_analysis) === null || _a === void 0 ? void 0 : _a.map(function (wheelAnalysis) { return ({
inspectionId: response.id,
rimCondition: wheelAnalysis.rim_condition,
rimMaterial: wheelAnalysis.rim_material,
rimVisualAspect: wheelAnalysis.rim_visual_aspect,
hubcapOverRim: wheelAnalysis.hubcap_over_rim,
hubcapCondition: wheelAnalysis.hubcap_condition,
hubcapVisualAspect: wheelAnalysis.hubcap_visual_aspect,
imageId: wheelAnalysis.image_id,
wheelName: wheelAnalysis.wheel_name,
}); })) !== null && _b !== void 0 ? _b : []);
return ((_b = ('wheel_analysis' in response
? (_a = response.wheel_analysis) === null || _a === void 0 ? void 0 : _a.map(function (wheelAnalysis) { return ({
inspectionId: response.id,
rimCondition: wheelAnalysis.rim_condition,
rimMaterial: wheelAnalysis.rim_material,
rimVisualAspect: wheelAnalysis.rim_visual_aspect,
hubcapOverRim: wheelAnalysis.hubcap_over_rim,
hubcapCondition: wheelAnalysis.hubcap_condition,
hubcapVisualAspect: wheelAnalysis.hubcap_visual_aspect,
imageId: wheelAnalysis.image_id,
wheelName: wheelAnalysis.wheel_name,
}); })
: [])) !== null && _b !== void 0 ? _b : []);
}

@@ -288,3 +298,3 @@ function mapInspection(response, ids) {

}
function mapApiInspectionsGet(response, thumbnailDomain) {
function mapApiAllInspectionsVerboseGet(data, thumbnailDomain) {
var state = {

@@ -303,6 +313,3 @@ damages: [],

};
if (!response.data) {
return state;
}
return response.data.reduce(function (acc, inspection) {
return data.reduce(function (acc, inspection) {
var _a, _b, _c, _d, _e;

@@ -337,3 +344,3 @@ var _f = mapImages(inspection, thumbnailDomain), images = _f.images, renderedOutputs = _f.renderedOutputs, imageIds = _f.imageIds, renderedOutputIds = _f.renderedOutputIds, viewIds = _f.viewIds;

}
exports.mapApiInspectionsGet = mapApiInspectionsGet;
exports.mapApiAllInspectionsVerboseGet = mapApiAllInspectionsVerboseGet;
function mapApiInspectionGet(response, thumbnailDomain, complianceOptions) {

@@ -495,10 +502,13 @@ var _a = mapImages(response, thumbnailDomain, complianceOptions), images = _a.images, renderedOutputs = _a.renderedOutputs, views = _a.views, imageIds = _a.imageIds, renderedOutputIds = _a.renderedOutputIds, viewIds = _a.viewIds;

exports.mapApiInspectionPost = mapApiInspectionPost;
function mapApiInspectionsUrlParamsGet(options) {
function mapApiAllInspectionsUrlParamsGet(options, verbose) {
var _a, _b;
var params = new URLSearchParams();
var url = options.filters || options.pagination ? '?' : '';
params.append('verbose', verbose ? '1' : '0');
var ignoredFilters = ['verbose'];
if (options.filters) {
Object.entries(options.filters).forEach(function (_a) {
var key = _a[0], value = _a[1];
params.append(key, value.toString());
if (!ignoredFilters.includes(key)) {
params.append(key, value.toString());
}
});

@@ -518,4 +528,4 @@ }

}
return "".concat(url).concat(params.toString());
return "?".concat(params.toString());
}
exports.mapApiInspectionsUrlParamsGet = mapApiInspectionsUrlParamsGet;
exports.mapApiAllInspectionsUrlParamsGet = mapApiAllInspectionsUrlParamsGet;

@@ -5,5 +5,5 @@ import { MonkAction, MonkGotOneInspectionAction, MonkState, MonkUpdatedOneInspectionAdditionalDataAction } from '@monkvision/common';

import { MonkApiConfig } from '../config';
import { ApiInspectionGet, ApiInspectionsCountGet, ApiInspectionsGet } from '../models';
import { GetInspectionsOptions } from './mappers';
import { MonkApiResponse } from '../types';
import { ApiAllInspectionsVerboseGet, ApiInspectionGet, ApiInspectionsCountGet, ApiPaginatedResponse } from '../models';
import { GetAllInspectionsOptions } from './mappers';
import { MonkApiResponse, PaginationResponse } from '../types';
/**

@@ -32,5 +32,5 @@ * Options passed to the `getInspection` API request.

/**
* Type definition for the result of the `getInspectionsCount` API request.
* Type definition for the result of the `getAllInspectionsCount` API request.
*/
export interface GetInspectionsCountResponse {
export interface GetAllInspectionsCountResponse {
/**

@@ -85,2 +85,15 @@ * The total number of inspections that match the given filters.

/**
* Type definition for the result of the `getAllInspection` API request.
*/
export interface GetAllInspectionsResponse {
/**
* The normalized entities related to the inspections that have been fetched from the API.
*/
entities: MonkState;
/**
* The pagination details.
*/
pagination: PaginationResponse;
}
/**
* Fetch the details of multiple inspections.

@@ -93,3 +106,3 @@ *

*/
export declare function getInspections(options: GetInspectionsOptions, config: MonkApiConfig, dispatch?: Dispatch<MonkGotOneInspectionAction>): Promise<MonkApiResponse<GetInspectionResponse, ApiInspectionsGet>>;
export declare function getAllInspections(options: GetAllInspectionsOptions, config: MonkApiConfig, dispatch?: Dispatch<MonkGotOneInspectionAction>): Promise<MonkApiResponse<GetAllInspectionsResponse, ApiPaginatedResponse<ApiAllInspectionsVerboseGet>>>;
/**

@@ -100,5 +113,5 @@ * Gets the count of inspections that match the given filters.

* @param config The API config.
* @param [dispatch] Optional MonkState dispatch function that you can pass if you want this request to handle React
* @param [_dispatch] Optional MonkState dispatch function that you can pass if you want this request to handle React
* state management for you.
*/
export declare function getInspectionsCount(options: GetInspectionsOptions, config: MonkApiConfig, _dispatch?: Dispatch<MonkAction>): Promise<MonkApiResponse<GetInspectionsCountResponse, ApiInspectionsCountGet>>;
export declare function getAllInspectionsCount(options: GetAllInspectionsOptions, config: MonkApiConfig, _dispatch?: Dispatch<MonkAction>): Promise<MonkApiResponse<GetAllInspectionsCountResponse, ApiInspectionsCountGet>>;

@@ -53,3 +53,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getInspectionsCount = exports.getInspections = exports.updateAdditionalData = exports.createInspection = exports.getInspection = void 0;
exports.getAllInspectionsCount = exports.getAllInspections = exports.updateAdditionalData = exports.createInspection = exports.getInspection = void 0;
var ky_1 = __importDefault(require("ky"));

@@ -178,5 +178,5 @@ var common_1 = require("@monkvision/common");

*/
function getInspections(options, config, dispatch) {
function getAllInspections(options, config, dispatch) {
return __awaiter(this, void 0, void 0, function () {
var kyOptions, response, body, entities;
var kyOptions, response, body, entities, pagination;
return __generator(this, function (_a) {

@@ -186,3 +186,3 @@ switch (_a.label) {

kyOptions = (0, config_1.getDefaultOptions)(config);
return [4 /*yield*/, ky_1.default.get("inspections".concat((0, mappers_1.mapApiInspectionsUrlParamsGet)(options)), kyOptions)];
return [4 /*yield*/, ky_1.default.get("inspections".concat((0, mappers_1.mapApiAllInspectionsUrlParamsGet)(options, true)), kyOptions)];
case 1:

@@ -193,3 +193,7 @@ response = _a.sent();

body = _a.sent();
entities = (0, mappers_1.mapApiInspectionsGet)(body, config.thumbnailDomain);
entities = (0, mappers_1.mapApiAllInspectionsVerboseGet)(body.data, config.thumbnailDomain);
pagination = {
before: body.paging.cursors.before,
after: body.paging.cursors.after,
};
dispatch === null || dispatch === void 0 ? void 0 : dispatch({

@@ -199,3 +203,3 @@ type: common_1.MonkActionType.GOT_ONE_INSPECTION,

});
return [2 /*return*/, { entities: entities, response: response, body: body }];
return [2 /*return*/, { entities: entities, pagination: pagination, response: response, body: body }];
}

@@ -205,3 +209,3 @@ });

}
exports.getInspections = getInspections;
exports.getAllInspections = getAllInspections;
/**

@@ -212,6 +216,6 @@ * Gets the count of inspections that match the given filters.

* @param config The API config.
* @param [dispatch] Optional MonkState dispatch function that you can pass if you want this request to handle React
* @param [_dispatch] Optional MonkState dispatch function that you can pass if you want this request to handle React
* state management for you.
*/
function getInspectionsCount(options, config, _dispatch) {
function getAllInspectionsCount(options, config, _dispatch) {
return __awaiter(this, void 0, void 0, function () {

@@ -223,3 +227,3 @@ var kyOptions, response, body;

kyOptions = (0, config_1.getDefaultOptions)(config);
return [4 /*yield*/, ky_1.default.get("inspections/count".concat((0, mappers_1.mapApiInspectionsUrlParamsGet)(options)), kyOptions)];
return [4 /*yield*/, ky_1.default.get("inspections/count".concat((0, mappers_1.mapApiAllInspectionsUrlParamsGet)(options, false)), kyOptions)];
case 1:

@@ -235,2 +239,2 @@ response = _a.sent();

}
exports.getInspectionsCount = getInspectionsCount;
exports.getAllInspectionsCount = getAllInspectionsCount;

@@ -11,2 +11,8 @@ import { DamageType, VehiclePart } from '@monkvision/types';

}
export interface ApiDamageSimplifiedGet {
damage_type: string;
id: string;
part_ids: ApiPartIds;
damage_size_cm?: number;
}
export type ApiDamages = ApiDamage[];

@@ -13,0 +19,0 @@ export type ApiDamageIds = string[];

@@ -1,13 +0,12 @@

import { SortOrder } from '@monkvision/types';
import type { ApiAdditionalData } from './common';
import type { ApiDamages } from './damage';
import type { ApiImagePost, ApiImages } from './image';
import type { ApiParts } from './part';
import { ApiDamages, ApiDamageSimplifiedGet } from './damage';
import { ApiImage, ApiImagePost, ApiImages } from './image';
import { ApiParts, ApiPartSimplifiedGet } from './part';
import type { ApiPricingV2 } from './pricingV2';
import type { ApiSeverityResults } from './severityResult';
import type { ApiBusinessClients, ApiTasks } from './task';
import { ApiTasksComponent } from './task';
import type { ApiVehicleComponent } from './vehicle';
import { ApiVehiclePostPatch } from './vehicle';
import type { ApiWheelAnalysis } from './wheelAnalysis';
import { ApiVehiclePostPatch } from './vehicle';
import { ApiTasksComponent } from './task';
export interface ApiInspectioAdditionalData extends ApiAdditionalData {

@@ -30,26 +29,42 @@ is_video_capture?: boolean;

}
interface ApiData extends Pick<ApiInspectionGet, 'id' | 'additional_data' | 'images' | 'damages' | 'pricing' | 'parts' | 'vehicle'> {
pdf_url?: string;
}
interface ApiPaginationParams {
export type ApiPaginationOrder = 'asc' | 'desc';
export interface ApiPaginationParameters {
limit?: number;
before?: string;
after?: string;
pagination_order?: SortOrder;
pagination_order?: ApiPaginationOrder;
}
interface ApiCursors {
export interface ApiCursors {
after?: string;
before?: string;
after?: string;
next?: ApiPaginationParams;
previous?: ApiPaginationParams;
next?: ApiPaginationParameters;
previous?: ApiPaginationParameters;
}
interface ApiPagination {
cursors: ApiCursors;
export interface ApiPagination {
cursors: ApiPaginationParameters;
}
export interface ApiInspectionsGet {
data: ApiData[];
export interface ApiPaginatedResponse<T> {
data: T[];
paging: ApiPagination;
}
export interface ApiAllInspectionsGet {
id: string;
images: ApiImage[];
owner_id: string;
creator_id: string;
created_at: string;
deleted_at?: string;
additional_data?: ApiInspectioAdditionalData;
}
export interface ApiAllInspectionsVerboseGet extends ApiAllInspectionsGet {
pricing?: ApiPricingV2;
pdf_url?: string;
plate?: string;
damages: ApiDamageSimplifiedGet[];
parts: ApiPartSimplifiedGet[];
vehicle?: ApiVehicleComponent;
}
export interface ApiInspectionsCountGet {
total: number;
sub_count?: Record<string, number>;
}

@@ -66,2 +81,1 @@ export interface ApiDamageSeverity {

}
export {};

@@ -9,3 +9,7 @@ import type { ApiDamageIds } from './damage';

}
export interface ApiPartSimplifiedGet {
id: string;
part_type: string;
}
export type ApiParts = ApiPart[];
export type ApiPartIds = string[];

@@ -23,3 +23,3 @@ import { MonkApiConfig } from './config';

*/
getInspections: (options: import("./inspection/mappers").GetInspectionsOptions) => Promise<import("./types").MonkApiResponse<import("./inspection").GetInspectionResponse, import("./models").ApiInspectionsGet>>;
getAllInspections: (options: import("./inspection/mappers").GetAllInspectionsOptions) => Promise<import("./types").MonkApiResponse<import("./inspection").GetAllInspectionsResponse, import("./models").ApiPaginatedResponse<import("./models").ApiAllInspectionsVerboseGet>>>;
/**

@@ -30,3 +30,3 @@ * Gets the count of inspections that match the given filters.

*/
getInspectionsCount: (options: import("./inspection/mappers").GetInspectionsOptions) => Promise<import("./types").MonkApiResponse<import("./inspection").GetInspectionsCountResponse, import("./models").ApiInspectionsCountGet>>;
getAllInspectionsCount: (options: import("./inspection/mappers").GetAllInspectionsOptions) => Promise<import("./types").MonkApiResponse<import("./inspection").GetAllInspectionsCountResponse, import("./models").ApiInspectionsCountGet>>;
/**

@@ -33,0 +33,0 @@ * Create a new inspection with the given options. See the `CreateInspectionOptions` interface for more details.

@@ -60,3 +60,3 @@ "use strict";

*/
getInspections: reactify(api_1.MonkApi.getInspections, config, dispatch, handleError),
getAllInspections: reactify(api_1.MonkApi.getAllInspections, config, dispatch, handleError),
/**

@@ -67,3 +67,3 @@ * Gets the count of inspections that match the given filters.

*/
getInspectionsCount: reactify(api_1.MonkApi.getInspectionsCount, config, dispatch, handleError),
getAllInspectionsCount: reactify(api_1.MonkApi.getAllInspectionsCount, config, dispatch, handleError),
/**

@@ -70,0 +70,0 @@ * Create a new inspection with the given options. See the `CreateInspectionOptions` interface for more details.

@@ -25,1 +25,5 @@ import { KyResponse } from 'ky';

};
export interface PaginationResponse {
before?: string;
after?: string;
}
{
"name": "@monkvision/network",
"version": "4.3.16",
"version": "4.4.0",
"license": "BSD-3-Clause-Clear",

@@ -31,4 +31,4 @@ "packageManager": "yarn@3.2.4",

"dependencies": {
"@monkvision/common": "4.3.16",
"@monkvision/sights": "4.3.16",
"@monkvision/common": "4.4.0",
"@monkvision/sights": "4.4.0",
"jsonwebtoken": "^9.0.2",

@@ -46,8 +46,8 @@ "jwt-decode": "^4.0.0",

"devDependencies": {
"@monkvision/eslint-config-base": "4.3.16",
"@monkvision/eslint-config-typescript": "4.3.16",
"@monkvision/jest-config": "4.3.16",
"@monkvision/prettier-config": "4.3.16",
"@monkvision/types": "4.3.16",
"@monkvision/typescript-config": "4.3.16",
"@monkvision/eslint-config-base": "4.4.0",
"@monkvision/eslint-config-typescript": "4.4.0",
"@monkvision/jest-config": "4.4.0",
"@monkvision/prettier-config": "4.4.0",
"@monkvision/types": "4.4.0",
"@monkvision/typescript-config": "4.4.0",
"@types/jest": "^29.2.2",

@@ -89,3 +89,3 @@ "@types/jsonwebtoken": "^9.0.5",

"homepage": "https://github.com/monkvision/monkjs",
"gitHead": "11cefd6d5fb34890088ecaf4ddf77d3af34cc3ef"
"gitHead": "8dbfbe2fd8b27ba6918c4901de90d32458efb691"
}

@@ -213,7 +213,7 @@ # @monkvision/network

### getInspections
### getAllInspections
```typescript
import { MonkApi } from '@monkvision/network';
MonkApi.getInspections(options, apiConfig, dispatch);
MonkApi.getAllInspections(options, apiConfig, dispatch);
```

@@ -224,12 +224,12 @@

| Parameter | Type | Description | Required |
|-----------|-----------------------|-----------------------------|----------|
| options | getInspectionsOptions | The options of the request. | ✔️ |
| Parameter | Type | Description | Required |
|-----------|--------------------------|-----------------------------|----------|
| options | GetAllInspectionsOptions | The options of the request. | ✔️ |
### getInspectionsCount
### getAllInspectionsCount
```typescript
import { MonkApi } from '@monkvision/network';
MonkApi.getInspectionsCount(options, apiConfig, dispatch);
MonkApi.getAllInspectionsCount(options, apiConfig, dispatch);
```

@@ -239,5 +239,5 @@

| Parameter | Type | Description | Required |
|-----------|-----------------------|-----------------------------|----------|
| options | getInspectionsOptions | The options of the request. | ✔️ |
| Parameter | Type | Description | Required |
|-----------|--------------------------|-----------------------------|----------|
| options | GetAllInspectionsOptions | The options of the request. | ✔️ |

@@ -244,0 +244,0 @@ # React Tools

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc