express-sweet 1.0.38 → 1.0.39
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/CHANGELOG.md +73 -1
- package/dist/build.common.js +6 -6
- package/dist/build.esm.js +2 -2
- package/docs/index.html +1 -1
- package/package.json +1 -1
- package/types/exceptions/FaceCollectionCreateFailed.d.ts +25 -0
- package/types/exceptions/FaceCollectionDeleteFailed.d.ts +25 -0
- package/types/exceptions/FaceIndexFailed.d.ts +20 -0
- package/types/exceptions/FaceMissingInPhoto.d.ts +11 -0
- package/types/exceptions/FacesMultipleInPhoto.d.ts +11 -0
- package/types/exceptions/index.d.ts +6 -6
- package/types/exceptions/CollectionCreationError.d.ts +0 -13
- package/types/exceptions/CollectionDeletionError.d.ts +0 -13
- package/types/exceptions/FaceIndexError.d.ts +0 -13
- package/types/exceptions/MissingFaceInImageError.d.ts +0 -13
- package/types/exceptions/MultipleFacesInImageError.d.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,77 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [1.0.39] - 2023/7/24
|
|
5
|
+
### Changed
|
|
6
|
+
- Changed exception class name.
|
|
7
|
+
<table>
|
|
8
|
+
<thead>
|
|
9
|
+
<tr>
|
|
10
|
+
<th>Before Class Name</th>
|
|
11
|
+
<th>After class name</th>
|
|
12
|
+
<th>Instance member</th>
|
|
13
|
+
<th>Description</th>
|
|
14
|
+
</tr>
|
|
15
|
+
</thead>
|
|
16
|
+
<tbody>
|
|
17
|
+
<tr>
|
|
18
|
+
<td>CollectionCreationError</td>
|
|
19
|
+
<td>FaceCollectionCreateFailed</td>
|
|
20
|
+
<td>
|
|
21
|
+
<ul>
|
|
22
|
+
<li>name: Error Name.</li>
|
|
23
|
+
<li>collectionId: Collection ID.</li>
|
|
24
|
+
<li>httpStatusCode: HTTP status code.</li>
|
|
25
|
+
</ul>
|
|
26
|
+
</td>
|
|
27
|
+
<td>Thrown when face collection creation (<code>AWSRekognitionClient.createCollection()</code>) fails.</td>
|
|
28
|
+
</tr>
|
|
29
|
+
<tr>
|
|
30
|
+
<td>CollectionDeletionError</td>
|
|
31
|
+
<td>FaceCollectionDeleteFailed</td>
|
|
32
|
+
<td>
|
|
33
|
+
<ul>
|
|
34
|
+
<li>name: Error Name.</li>
|
|
35
|
+
<li>collectionId: Collection ID.</li>
|
|
36
|
+
<li>httpStatusCode: HTTP status code.</li>
|
|
37
|
+
</ul>
|
|
38
|
+
</td>
|
|
39
|
+
<td>Thrown when deleting a face collection (<code>AWSRekognitionClient.deleteCollection()</code>) fails.</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr>
|
|
42
|
+
<td>FaceIndexError</td>
|
|
43
|
+
<td>FaceIndexFailed</td>
|
|
44
|
+
<td>
|
|
45
|
+
<ul>
|
|
46
|
+
<li>name: Error Name.</li>
|
|
47
|
+
<li>collectionId: Collection ID.</li>
|
|
48
|
+
</ul>
|
|
49
|
+
</td>
|
|
50
|
+
<td>Thrown when face indexing (<code>AWSRekognitionClient.indexFace()</code>) fails.</td>
|
|
51
|
+
</tr>
|
|
52
|
+
<tr>
|
|
53
|
+
<td>MissingFaceInImageError</td>
|
|
54
|
+
<td>FaceMissingInPhoto</td>
|
|
55
|
+
<td>
|
|
56
|
+
<ul>
|
|
57
|
+
<li>name: Error Name.</li>
|
|
58
|
+
</ul>
|
|
59
|
+
</td>
|
|
60
|
+
<td>Thrown if the face to index (<code>AWSRekognitionClient.indexFace()</code>) is not in the photo.</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>MultipleFacesInImageError</td>
|
|
64
|
+
<td>FacesMultipleInPhoto</td>
|
|
65
|
+
<td>
|
|
66
|
+
<ul>
|
|
67
|
+
<li>name: Error Name.</li>
|
|
68
|
+
</ul>
|
|
69
|
+
</td>
|
|
70
|
+
<td>Thrown when there are multiple faces to index (<code>AWSRekognitionClient.indexFace()</code>) in a photo.</td>
|
|
71
|
+
</tr>
|
|
72
|
+
</tbody>
|
|
73
|
+
</table>
|
|
74
|
+
|
|
4
75
|
## [1.0.38] - 2023/7/17
|
|
5
76
|
### Fixed
|
|
6
77
|
- Fixed a bug that login user data (req.user) could not be referenced in the function called just before view rendering (config/view.js#beforeRender).
|
|
@@ -696,4 +767,5 @@ All notable changes to this project will be documented in this file.
|
|
|
696
767
|
[1.0.35]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.34...v1.0.35
|
|
697
768
|
[1.0.36]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.35...v1.0.36
|
|
698
769
|
[1.0.37]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.36...v1.0.37
|
|
699
|
-
[1.0.38]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.37...v1.0.38
|
|
770
|
+
[1.0.38]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.37...v1.0.38
|
|
771
|
+
[1.0.39]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.38...v1.0.39
|