mielk-api 1.2.1 → 1.2.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.
@@ -1,15 +1,15 @@
1
1
  const PARENT_FOLDER = 'api/';
2
- const ___API_STATUS___ = `${PARENT_FOLDER}/ApiStatus`;
3
- const ___CONNECTION___ = `${PARENT_FOLDER}/Connection`;
2
+ const ___HTTP_STATUS___ = `${PARENT_FOLDER}/httpStatus`;
3
+ const ___CONNECTION___ = `${PARENT_FOLDER}/connection`;
4
4
  export const Msg = {
5
5
  apiStatus: {
6
- ok: `${___API_STATUS___}:ok`,
7
- created: `${___API_STATUS___}:created`,
8
- unauthorized: `${___API_STATUS___}:unauthorized`,
9
- badRequest: `${___API_STATUS___}:badRequest`,
10
- notFound: `${___API_STATUS___}:notFound`,
11
- conflict: `${___API_STATUS___}:conflict`,
12
- serverError: `${___API_STATUS___}:serverError`,
6
+ ok: `${___HTTP_STATUS___}:ok`,
7
+ created: `${___HTTP_STATUS___}:created`,
8
+ unauthorized: `${___HTTP_STATUS___}:unauthorized`,
9
+ badRequest: `${___HTTP_STATUS___}:badRequest`,
10
+ notFound: `${___HTTP_STATUS___}:notFound`,
11
+ conflict: `${___HTTP_STATUS___}:conflict`,
12
+ serverError: `${___HTTP_STATUS___}:serverError`,
13
13
  },
14
14
  connection: {
15
15
  corsBlocked: `${___CONNECTION___}:corsBlocked`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mielk-api",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "keywords": [],
5
5
  "author": "mielk",
6
6
  "description": "Wrapper for API operations",