@monkvision/network 4.0.3 → 4.0.6

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.
Files changed (42) hide show
  1. package/lib/package.json +18 -10
  2. package/lib/src/api/api.js +0 -1
  3. package/lib/src/api/config.js +0 -1
  4. package/lib/src/api/error.js +0 -1
  5. package/lib/src/api/hooks/index.js +0 -1
  6. package/lib/src/api/hooks/useInspectionPoll.js +0 -1
  7. package/lib/src/api/image/index.js +0 -1
  8. package/lib/src/api/image/mappers.js +0 -1
  9. package/lib/src/api/image/requests.js +0 -1
  10. package/lib/src/api/index.js +0 -1
  11. package/lib/src/api/inspection/index.js +0 -1
  12. package/lib/src/api/inspection/mappers.js +0 -1
  13. package/lib/src/api/inspection/requests.js +0 -1
  14. package/lib/src/api/liveConfigs/index.js +0 -1
  15. package/lib/src/api/liveConfigs/requests.js +0 -1
  16. package/lib/src/api/models/common.js +0 -1
  17. package/lib/src/api/models/compliance.js +0 -1
  18. package/lib/src/api/models/damage.js +0 -1
  19. package/lib/src/api/models/image.js +0 -1
  20. package/lib/src/api/models/index.js +0 -1
  21. package/lib/src/api/models/inspection.js +0 -1
  22. package/lib/src/api/models/part.js +0 -1
  23. package/lib/src/api/models/pricingV2.js +0 -1
  24. package/lib/src/api/models/renderedOutput.js +0 -1
  25. package/lib/src/api/models/severityResult.js +0 -1
  26. package/lib/src/api/models/task.js +0 -1
  27. package/lib/src/api/models/vehicle.js +0 -1
  28. package/lib/src/api/models/view.js +0 -1
  29. package/lib/src/api/models/wheelAnalysis.js +0 -1
  30. package/lib/src/api/react.js +0 -1
  31. package/lib/src/api/task/index.js +0 -1
  32. package/lib/src/api/task/requests.js +0 -1
  33. package/lib/src/api/types.js +0 -1
  34. package/lib/src/api/utils.js +0 -1
  35. package/lib/src/api/vehicle/index.js +0 -1
  36. package/lib/src/api/vehicle/mappers.js +0 -1
  37. package/lib/src/api/vehicle/requests.js +0 -1
  38. package/lib/src/auth/hooks.js +0 -1
  39. package/lib/src/auth/index.js +0 -1
  40. package/lib/src/auth/token.js +0 -1
  41. package/lib/src/index.js +0 -1
  42. package/package.json +19 -11
package/lib/package.json CHANGED
@@ -1,15 +1,23 @@
1
1
  {
2
2
  "name": "@monkvision/network",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
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",
7
7
  "author": "monkvision",
8
8
  "main": "lib/src/index.js",
9
9
  "types": "lib/src/index.d.ts",
10
+ "files": [
11
+ "package.json",
12
+ "LICENSE",
13
+ "README.md",
14
+ "lib"
15
+ ],
10
16
  "scripts": {
11
17
  "clean": "rimraf lib && mkdirp lib",
12
- "build": "yarn run clean && tsc -p tsconfig.build.json",
18
+ "build": "yarn run build:development",
19
+ "build:development": "yarn run clean && tsc -p tsconfig.build.development.json",
20
+ "build:production": "yarn run clean && tsc -p tsconfig.build.production.json",
13
21
  "test": "jest",
14
22
  "test:coverage": "jest --coverage",
15
23
  "prettier": "prettier --check ./src ./test",
@@ -20,8 +28,8 @@
20
28
  "lint:fix": "yarn run prettier:fix && yarn run eslint:fix"
21
29
  },
22
30
  "dependencies": {
23
- "@monkvision/common": "4.0.2",
24
- "@monkvision/sights": "4.0.2",
31
+ "@monkvision/common": "4.0.4",
32
+ "@monkvision/sights": "4.0.4",
25
33
  "jsonwebtoken": "^9.0.2",
26
34
  "jwt-decode": "^4.0.0",
27
35
  "ky": "^1.2.0",
@@ -34,12 +42,12 @@
34
42
  "react-router-dom": "^6.22.3"
35
43
  },
36
44
  "devDependencies": {
37
- "@monkvision/eslint-config-base": "4.0.0",
38
- "@monkvision/eslint-config-typescript": "4.0.0",
39
- "@monkvision/jest-config": "4.0.0",
40
- "@monkvision/prettier-config": "4.0.0",
41
- "@monkvision/types": "4.0.2",
42
- "@monkvision/typescript-config": "4.0.0",
45
+ "@monkvision/eslint-config-base": "4.0.4",
46
+ "@monkvision/eslint-config-typescript": "4.0.4",
47
+ "@monkvision/jest-config": "4.0.4",
48
+ "@monkvision/prettier-config": "4.0.4",
49
+ "@monkvision/types": "4.0.4",
50
+ "@monkvision/typescript-config": "4.0.4",
43
51
  "@types/jest": "^29.2.2",
44
52
  "@types/jsonwebtoken": "^9.0.5",
45
53
  "@types/node": "^18.11.9",
@@ -19,4 +19,3 @@ exports.MonkApi = {
19
19
  getLiveConfig: liveConfigs_1.getLiveConfig,
20
20
  updateInspectionVehicle: vehicle_1.updateInspectionVehicle,
21
21
  };
22
- //# sourceMappingURL=api.js.map
@@ -38,4 +38,3 @@ function getDefaultOptions(config) {
38
38
  };
39
39
  }
40
40
  exports.getDefaultOptions = getDefaultOptions;
41
- //# sourceMappingURL=config.js.map
@@ -115,4 +115,3 @@ var beforeError = function (error) { return __awaiter(void 0, void 0, void 0, fu
115
115
  });
116
116
  }); };
117
117
  exports.beforeError = beforeError;
118
- //# sourceMappingURL=error.js.map
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./useInspectionPoll"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -18,4 +18,3 @@ function useInspectionPoll(_a) {
18
18
  });
19
19
  }
20
20
  exports.useInspectionPoll = useInspectionPoll;
21
- //# sourceMappingURL=useInspectionPoll.js.map
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./requests"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -163,4 +163,3 @@ function mapApiImage(image, inspectionId, thumbnailDomain, complianceOptions) {
163
163
  };
164
164
  }
165
165
  exports.mapApiImage = mapApiImage;
166
- //# sourceMappingURL=mappers.js.map
@@ -309,4 +309,3 @@ function addImage(options, config, dispatch) {
309
309
  });
310
310
  }
311
311
  exports.addImage = addImage;
312
- //# sourceMappingURL=requests.js.map
@@ -24,4 +24,3 @@ Object.defineProperty(exports, "MonkApi", { enumerable: true, get: function () {
24
24
  __exportStar(require("./hooks"), exports);
25
25
  var image_1 = require("./image");
26
26
  Object.defineProperty(exports, "ImageUploadType", { enumerable: true, get: function () { return image_1.ImageUploadType; } });
27
- //# sourceMappingURL=index.js.map
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./requests"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -389,4 +389,3 @@ function mapApiInspectionPost(options) {
389
389
  };
390
390
  }
391
391
  exports.mapApiInspectionPost = mapApiInspectionPost;
392
- //# sourceMappingURL=mappers.js.map
@@ -119,4 +119,3 @@ function createInspection(options, config, _dispatch) {
119
119
  });
120
120
  }
121
121
  exports.createInspection = createInspection;
122
- //# sourceMappingURL=requests.js.map
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./requests"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -63,4 +63,3 @@ function getLiveConfig(id) {
63
63
  });
64
64
  }
65
65
  exports.getLiveConfig = getLiveConfig;
66
- //# sourceMappingURL=requests.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=common.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=compliance.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=damage.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=image.js.map
@@ -27,4 +27,3 @@ __exportStar(require("./task"), exports);
27
27
  __exportStar(require("./vehicle"), exports);
28
28
  __exportStar(require("./view"), exports);
29
29
  __exportStar(require("./wheelAnalysis"), exports);
30
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=inspection.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=part.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=pricingV2.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=renderedOutput.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=severityResult.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=task.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=vehicle.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=view.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=wheelAnalysis.js.map
@@ -102,4 +102,3 @@ function useMonkApi(config) {
102
102
  };
103
103
  }
104
104
  exports.useMonkApi = useMonkApi;
105
- //# sourceMappingURL=react.js.map
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./requests"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -132,4 +132,3 @@ function startInspectionTasks(options, config, dispatch) {
132
132
  });
133
133
  }
134
134
  exports.startInspectionTasks = startInspectionTasks;
135
- //# sourceMappingURL=requests.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -19,4 +19,3 @@ function getThumbnailUrl(thumbnailDomain, path, dimensions) {
19
19
  return "".concat(baseThumbnailUrl, "?").concat(imageUrlParam, "&").concat(widthUrlParam, "&").concat(heightUrlParam);
20
20
  }
21
21
  exports.getThumbnailUrl = getThumbnailUrl;
22
- //# sourceMappingURL=utils.js.map
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./requests"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -30,4 +30,3 @@ function mapApiVehiclePatch(options) {
30
30
  };
31
31
  }
32
32
  exports.mapApiVehiclePatch = mapApiVehiclePatch;
33
- //# sourceMappingURL=mappers.js.map
@@ -85,4 +85,3 @@ function updateInspectionVehicle(options, config, _dispatch) {
85
85
  });
86
86
  }
87
87
  exports.updateInspectionVehicle = updateInspectionVehicle;
88
- //# sourceMappingURL=requests.js.map
@@ -109,4 +109,3 @@ function useAuth(params) {
109
109
  });
110
110
  }
111
111
  exports.useAuth = useAuth;
112
- //# sourceMappingURL=hooks.js.map
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./token"), exports);
18
18
  __exportStar(require("./hooks"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -33,4 +33,3 @@ function isTokenExpired(tokenOrPayload) {
33
33
  return !payload.exp || Math.round(Date.now() / 1000) >= payload.exp;
34
34
  }
35
35
  exports.isTokenExpired = isTokenExpired;
36
- //# sourceMappingURL=token.js.map
package/lib/src/index.js CHANGED
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./api"), exports);
18
18
  __exportStar(require("./auth"), exports);
19
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,15 +1,23 @@
1
1
  {
2
2
  "name": "@monkvision/network",
3
- "version": "4.0.3",
3
+ "version": "4.0.6",
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",
7
7
  "author": "monkvision",
8
8
  "main": "lib/src/index.js",
9
9
  "types": "lib/src/index.d.ts",
10
+ "files": [
11
+ "package.json",
12
+ "LICENSE",
13
+ "README.md",
14
+ "lib"
15
+ ],
10
16
  "scripts": {
11
17
  "clean": "rimraf lib && mkdirp lib",
12
- "build": "yarn run clean && tsc -p tsconfig.build.json",
18
+ "build": "yarn run build:development",
19
+ "build:development": "yarn run clean && tsc -p tsconfig.build.development.json",
20
+ "build:production": "yarn run clean && tsc -p tsconfig.build.production.json",
13
21
  "test": "jest",
14
22
  "test:coverage": "jest --coverage",
15
23
  "prettier": "prettier --check ./src ./test",
@@ -20,8 +28,8 @@
20
28
  "lint:fix": "yarn run prettier:fix && yarn run eslint:fix"
21
29
  },
22
30
  "dependencies": {
23
- "@monkvision/common": "4.0.3",
24
- "@monkvision/sights": "4.0.3",
31
+ "@monkvision/common": "4.0.6",
32
+ "@monkvision/sights": "4.0.6",
25
33
  "jsonwebtoken": "^9.0.2",
26
34
  "jwt-decode": "^4.0.0",
27
35
  "ky": "^1.2.0",
@@ -34,12 +42,12 @@
34
42
  "react-router-dom": "^6.22.3"
35
43
  },
36
44
  "devDependencies": {
37
- "@monkvision/eslint-config-base": "4.0.0",
38
- "@monkvision/eslint-config-typescript": "4.0.0",
39
- "@monkvision/jest-config": "4.0.0",
40
- "@monkvision/prettier-config": "4.0.0",
41
- "@monkvision/types": "4.0.3",
42
- "@monkvision/typescript-config": "4.0.0",
45
+ "@monkvision/eslint-config-base": "4.0.6",
46
+ "@monkvision/eslint-config-typescript": "4.0.6",
47
+ "@monkvision/jest-config": "4.0.6",
48
+ "@monkvision/prettier-config": "4.0.6",
49
+ "@monkvision/types": "4.0.6",
50
+ "@monkvision/typescript-config": "4.0.6",
43
51
  "@types/jest": "^29.2.2",
44
52
  "@types/jsonwebtoken": "^9.0.5",
45
53
  "@types/node": "^18.11.9",
@@ -76,5 +84,5 @@
76
84
  "url": "https://github.com/monkvision/monkjs/issues"
77
85
  },
78
86
  "homepage": "https://github.com/monkvision/monkjs",
79
- "gitHead": "dda7eb20e437220eca7749a8131b6088099e7d22"
87
+ "gitHead": "58246b49b0381fd201b1078c72d0edbe929b9308"
80
88
  }