@creator.co/wapi 1.7.10-alpha.2 → 1.7.11-alpha.1

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/.eslintignore CHANGED
@@ -1,3 +1,5 @@
1
1
  node_modules
2
2
  dist
3
- smoke-tests
3
+ smoke-tests
4
+ docs
5
+ coverage
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  **WAPI** is a powerful API wrapper designed to streamline web application development. It offers opinionated abstractions, simplifying common web development tasks. At its core, WAPI revolves around the concept of **transactions**, which can be applied in diverse scenarios, including handling async events, managing message queues, running AWS Lambda functions, and creating hybrid HTTP servers that seamlessly blend serverless and container-based approaches.
4
4
 
5
+ [Documentation available here](https://creator-co.github.io/Wapi)
6
+
5
7
  - ![npm](https://img.shields.io/npm/dy/@creator.co/wapi) ![npm](https://img.shields.io/npm/v/@creator.co/wapi) ![npm (tag)](https://img.shields.io/npm/v/@creator.co/wapi/latest) ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@creator.co/wapi)
6
8
  - ![GitHub commit activity](http://badges.dev.creator.co/github/commit-activity/m/Creator-co/Wapi)
7
9
  - ![GitHub last commit](http://badges.dev.creator.co/github/last-commit/Creator-co/Wapi)
package/dist/index.d.ts CHANGED
@@ -14,29 +14,31 @@ import Router, { Route } from './src/Server/Router.js';
14
14
  import AsyncSingleton from './src/Util/AsyncSingleton.js';
15
15
  import Utils from './src/Util/Utils.js';
16
16
  /**
17
- * This module exports various classes and utilities for handling transactions, processes,
18
- * event processing, DynamoDB transactions, routing, mailing, cryptography, JWT handling,
19
- * configuration management, Redis operations, response handling, utility functions,
20
- * asynchronous singleton pattern, route definitions, transaction configurations,
21
- * response error types, HTTP methods, and database operations.
22
- * @exports {
23
- * Transaction,
24
- * Process,
25
- * EventProcessor,
26
- * DynamoTransaction,
27
- * Router,
28
- * Mailer,
29
- * Crypto,
30
- * JWT,
31
- * Configuration,
32
- * Redis,
33
- * Response,
34
- * Utils,
35
- * AsyncSingleton,
36
- * Route,
37
- * TransactionConfig,
38
- * ResponseErrorType,
39
- * HttpMethod,
17
+ * This module exports various classes and utilities for handling transactions, processes, events,
18
+ * DynamoDB transactions, routing, mailing, cryptography, JWT, configuration, Redis, responses,
19
+ * utilities, asynchronous singletons, routes, transaction configurations, response error types,
20
+ * HTTP methods, and database operations.
40
21
  *
22
+ * Classes:
23
+ * - Transaction
24
+ * - Process
25
+ * - EventProcessor
26
+ * - DynamoTransaction
27
+ * - Router
28
+ * - Mailer
29
+ * - Crypto
30
+ * - JWT
31
+ * - Configuration
32
+ * - Redis
33
+ * - Response
34
+ * - Utils
35
+ * - AsyncSingleton
36
+ * - Route
37
+ * - TransactionConfig
38
+ * - Database
39
+ *
40
+ * Enums:
41
+ * - ResponseErrorType
42
+ * -
41
43
  */
42
44
  export { Transaction, Process, EventProcessor, DynamoTransaction, Router, Mailer, Crypto, JWT, Configuration, Redis, Response, Utils, AsyncSingleton, Route, TransactionConfig, ResponseErrorType, HttpMethod, Database, };
package/dist/index.js CHANGED
@@ -14,30 +14,32 @@ import Router from './src/Server/Router.js';
14
14
  import AsyncSingleton from './src/Util/AsyncSingleton.js';
15
15
  import Utils from './src/Util/Utils.js';
16
16
  /**
17
- * This module exports various classes and utilities for handling transactions, processes,
18
- * event processing, DynamoDB transactions, routing, mailing, cryptography, JWT handling,
19
- * configuration management, Redis operations, response handling, utility functions,
20
- * asynchronous singleton pattern, route definitions, transaction configurations,
21
- * response error types, HTTP methods, and database operations.
22
- * @exports {
23
- * Transaction,
24
- * Process,
25
- * EventProcessor,
26
- * DynamoTransaction,
27
- * Router,
28
- * Mailer,
29
- * Crypto,
30
- * JWT,
31
- * Configuration,
32
- * Redis,
33
- * Response,
34
- * Utils,
35
- * AsyncSingleton,
36
- * Route,
37
- * TransactionConfig,
38
- * ResponseErrorType,
39
- * HttpMethod,
17
+ * This module exports various classes and utilities for handling transactions, processes, events,
18
+ * DynamoDB transactions, routing, mailing, cryptography, JWT, configuration, Redis, responses,
19
+ * utilities, asynchronous singletons, routes, transaction configurations, response error types,
20
+ * HTTP methods, and database operations.
40
21
  *
22
+ * Classes:
23
+ * - Transaction
24
+ * - Process
25
+ * - EventProcessor
26
+ * - DynamoTransaction
27
+ * - Router
28
+ * - Mailer
29
+ * - Crypto
30
+ * - JWT
31
+ * - Configuration
32
+ * - Redis
33
+ * - Response
34
+ * - Utils
35
+ * - AsyncSingleton
36
+ * - Route
37
+ * - TransactionConfig
38
+ * - Database
39
+ *
40
+ * Enums:
41
+ * - ResponseErrorType
42
+ * -
41
43
  */
42
44
  export {
43
45
  // Base Events
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAA+B,MAAM,uBAAuB,CAAA;AACnE,OAAO,iBAAiB,MAAM,sCAAsC,CAAA;AACpE,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,OAAO,MAAM,4BAA4B,CAAA;AAChD,OAAO,WAAkC,MAAM,gCAAgC,CAAA;AAC/E,OAAO,KAAK,MAAM,sBAAsB,CAAA;AACxC,OAAO,aAAa,MAAM,+BAA+B,CAAA;AACzD,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAC3C,OAAO,GAAG,MAAM,qBAAqB,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAA;AACnD,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAC3C,OAAO,MAAiB,MAAM,wBAAwB,CAAA;AACtD,OAAO,cAAc,MAAM,8BAA8B,CAAA;AACzD,OAAO,KAAK,MAAM,qBAAqB,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO;AACL,cAAc;AACd,WAAW,EACX,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,MAAM;AACN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