express-sweet 1.0.33 → 1.0.34

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/docs/index.html CHANGED
@@ -81,7 +81,7 @@
81
81
  <!--begin::Title-->
82
82
  <h1 class="page-heading d-flex text-dark fw-bold fs-3 justify-content-center align-items-baseline my-0">
83
83
  <!-- <h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0"> -->
84
- DevDocs<a href="#changelog" class="badge fw-semibold fs-7 px-2 ms-2 bg-body text-dark text-hover-primary shadow-sm">v1.0.33</a>
84
+ DevDocs<a href="#changelog" class="badge fw-semibold fs-7 px-2 ms-2 bg-body text-dark text-hover-primary shadow-sm">v1.0.34</a>
85
85
  </h1>
86
86
  <!--end::Title-->
87
87
  </div>
@@ -5653,7 +5653,7 @@ await BookModel.query(&quot;SELECT * FROM book&quot;, {type: BookModel.QueryType
5653
5653
  <!--begin::Description-->
5654
5654
  <div class="text-gray-700 fw-bold fs-6">
5655
5655
  If an unauthenticated user makes a request to a URL that allows access only if authenticated, the user will be redirected to the page specified by <code>failure_redirect</code>.<br>
5656
- If that access is asynchronous, a <code>403</code> error is returned.
5656
+ If that access is asynchronous, a <code>401</code> error is returned.
5657
5657
  </div>
5658
5658
  <!--end::Description-->
5659
5659
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-sweet",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Express framework extension.",
5
5
  "main": "dist/build.common.js",
6
6
  "module": "dist/build.esm.js",
@@ -2,7 +2,7 @@ import express from 'express';
2
2
  /**
3
3
  * Incorporate user authentication into your application.
4
4
  * If an unauthenticated user makes a request to a URL that allows access only if authenticated, the user will be redirected to the page specified by "failure_redirect".
5
- * If that access is asynchronous, a 403 error is returned.
5
+ * If that access is asynchronous, a 401 error is returned.
6
6
  */
7
7
  export default class {
8
8
  #private;