hoa 0.3.1 → 0.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/CHANGELOG.md +4 -0
- package/dist/cjs/hoa.js +9 -2
- package/dist/esm/hoa.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/hoa.js
CHANGED
|
@@ -33,11 +33,15 @@ __export(hoa_exports, {
|
|
|
33
33
|
HoaResponse: () => import_response.default,
|
|
34
34
|
HttpError: () => import_http_error.default,
|
|
35
35
|
compose: () => import_compose.default,
|
|
36
|
-
default: () => Hoa
|
|
36
|
+
default: () => Hoa,
|
|
37
|
+
statusEmptyMapping: () => import_utils.statusEmptyMapping,
|
|
38
|
+
statusRedirectMapping: () => import_utils.statusRedirectMapping,
|
|
39
|
+
statusTextMapping: () => import_utils.statusTextMapping
|
|
37
40
|
});
|
|
38
41
|
module.exports = __toCommonJS(hoa_exports);
|
|
39
42
|
var import_compose = __toESM(require("./lib/compose.js"), 1);
|
|
40
43
|
var import_http_error = __toESM(require("./lib/http-error.js"), 1);
|
|
44
|
+
var import_utils = require("./lib/utils.js");
|
|
41
45
|
var import_context = __toESM(require("./context.js"), 1);
|
|
42
46
|
var import_request = __toESM(require("./request.js"), 1);
|
|
43
47
|
var import_response = __toESM(require("./response.js"), 1);
|
|
@@ -181,5 +185,8 @@ class Hoa {
|
|
|
181
185
|
HoaRequest,
|
|
182
186
|
HoaResponse,
|
|
183
187
|
HttpError,
|
|
184
|
-
compose
|
|
188
|
+
compose,
|
|
189
|
+
statusEmptyMapping,
|
|
190
|
+
statusRedirectMapping,
|
|
191
|
+
statusTextMapping
|
|
185
192
|
});
|
package/dist/esm/hoa.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import compose from "./lib/compose.js";
|
|
2
2
|
import HttpError from "./lib/http-error.js";
|
|
3
|
+
import { statusTextMapping, statusRedirectMapping, statusEmptyMapping } from "./lib/utils.js";
|
|
3
4
|
import HoaContext from "./context.js";
|
|
4
5
|
import HoaRequest from "./request.js";
|
|
5
6
|
import HoaResponse from "./response.js";
|
|
@@ -143,5 +144,8 @@ export {
|
|
|
143
144
|
HoaResponse,
|
|
144
145
|
HttpError,
|
|
145
146
|
compose,
|
|
146
|
-
Hoa as default
|
|
147
|
+
Hoa as default,
|
|
148
|
+
statusEmptyMapping,
|
|
149
|
+
statusRedirectMapping,
|
|
150
|
+
statusTextMapping
|
|
147
151
|
};
|