@creator.co/wapi 1.2.9 → 1.2.10

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/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { HttpMethod } from './src/API/Request';
1
2
  import Response, { ResponseErrorType } from './src/API/Response';
2
3
  import Utils from './src/API/Utils';
3
4
  import EventProcessor from './src/BaseEvent/EventProcessor';
@@ -23,4 +24,4 @@ import Router, { Route } from './src/Server/Router';
23
24
  * - Route: A module for defining routes.
24
25
  * - ResponseErrorType: An enumeration of possible response error types.
25
26
  */
26
- export { Transaction, Process, EventProcessor, Router, Mailer, Crypto, JWT, Configuration, Response, Utils, Route, ResponseErrorType, };
27
+ export { Transaction, Process, EventProcessor, Router, Mailer, Crypto, JWT, Configuration, Response, Utils, Route, ResponseErrorType, HttpMethod, };
package/dist/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Utils = exports.Response = exports.Configuration = exports.JWT = exports.Crypto = exports.Mailer = exports.Router = exports.EventProcessor = exports.Process = exports.Transaction = void 0;
3
+ exports.HttpMethod = exports.Utils = exports.Response = exports.Configuration = exports.JWT = exports.Crypto = exports.Mailer = exports.Router = exports.EventProcessor = exports.Process = exports.Transaction = void 0;
4
+ var Request_1 = require("./src/API/Request");
5
+ Object.defineProperty(exports, "HttpMethod", { enumerable: true, get: function () { return Request_1.HttpMethod; } });
4
6
  var Response_1 = require("./src/API/Response");
5
7
  exports.Response = Response_1.default;
6
8
  var Utils_1 = require("./src/API/Utils");
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,+CAAgE;AAsC9D,mBAtCK,kBAAQ,CAsCL;AArCV,yCAAmC;AAuCjC,gBAvCK,eAAK,CAuCL;AAtCP,iEAA2D;AA4BzD,yBA5BK,wBAAc,CA4BL;AA3BhB,mDAA6C;AA0B3C,kBA1BK,iBAAO,CA0BL;AAzBT,2DAAqD;AAwBnD,sBAxBK,qBAAW,CAwBL;AAvBb,4DAAsD;AA+BpD,wBA/BK,uBAAa,CA+BL;AA9Bf,8CAAwC;AA4BtC,iBA5BK,gBAAM,CA4BL;AA3BR,wCAAkC;AA4BhC,cA5BK,aAAG,CA4BL;AA3BL,8CAAwC;AAyBtC,iBAzBK,gBAAM,CAyBL;AAxBR,8CAAmD;AAsBjD,iBAtBK,gBAAM,CAsBL"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,6CAA8C;AA6C5C,2FA7CO,oBAAU,OA6CP;AA5CZ,+CAAgE;AAsC9D,mBAtCK,kBAAQ,CAsCL;AArCV,yCAAmC;AAuCjC,gBAvCK,eAAK,CAuCL;AAtCP,iEAA2D;AA4BzD,yBA5BK,wBAAc,CA4BL;AA3BhB,mDAA6C;AA0B3C,kBA1BK,iBAAO,CA0BL;AAzBT,2DAAqD;AAwBnD,sBAxBK,qBAAW,CAwBL;AAvBb,4DAAsD;AA+BpD,wBA/BK,uBAAa,CA+BL;AA9Bf,8CAAwC;AA4BtC,iBA5BK,gBAAM,CA4BL;AA3BR,wCAAkC;AA4BhC,cA5BK,aAAG,CA4BL;AA3BL,8CAAwC;AAyBtC,iBAzBK,gBAAM,CAyBL;AAxBR,8CAAmD;AAsBjD,iBAtBK,gBAAM,CAsBL"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/wapi",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { HttpMethod } from './src/API/Request'
1
2
  import Response, { ResponseErrorType } from './src/API/Response'
2
3
  import Utils from './src/API/Utils'
3
4
  import EventProcessor from './src/BaseEvent/EventProcessor'
@@ -35,11 +36,12 @@ export {
35
36
  Crypto,
36
37
  JWT,
37
38
  Configuration,
38
- // Responses
39
+ // API
39
40
  Response,
40
41
  // Helpers
41
42
  Utils,
42
43
  Route,
43
44
  // Misc types
44
45
  ResponseErrorType,
46
+ HttpMethod,
45
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/wapi",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",