@creator.co/wapi 1.7.10-alpha.1 → 1.7.10-alpha.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/dist/index.d.ts +11 -6
- package/dist/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/index.ts +11 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpMethod } from './src/API/Request.js';
|
|
2
2
|
import Response, { ResponseErrorType } from './src/API/Response.js';
|
|
3
|
+
import DynamoTransaction from './src/BaseEvent/DynamoTransaction.js';
|
|
3
4
|
import EventProcessor from './src/BaseEvent/EventProcessor.js';
|
|
4
5
|
import Process from './src/BaseEvent/Process.js';
|
|
5
6
|
import Transaction, { TransactionConfig } from './src/BaseEvent/Transaction.js';
|
|
@@ -13,13 +14,16 @@ import Router, { Route } from './src/Server/Router.js';
|
|
|
13
14
|
import AsyncSingleton from './src/Util/AsyncSingleton.js';
|
|
14
15
|
import Utils from './src/Util/Utils.js';
|
|
15
16
|
/**
|
|
16
|
-
* This module exports various classes and utilities for handling transactions, processes,
|
|
17
|
-
*
|
|
18
|
-
*
|
|
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.
|
|
19
22
|
* @exports {
|
|
20
23
|
* Transaction,
|
|
21
24
|
* Process,
|
|
22
25
|
* EventProcessor,
|
|
26
|
+
* DynamoTransaction,
|
|
23
27
|
* Router,
|
|
24
28
|
* Mailer,
|
|
25
29
|
* Crypto,
|
|
@@ -28,10 +32,11 @@ import Utils from './src/Util/Utils.js';
|
|
|
28
32
|
* Redis,
|
|
29
33
|
* Response,
|
|
30
34
|
* Utils,
|
|
35
|
+
* AsyncSingleton,
|
|
31
36
|
* Route,
|
|
37
|
+
* TransactionConfig,
|
|
32
38
|
* ResponseErrorType,
|
|
33
39
|
* HttpMethod,
|
|
34
|
-
*
|
|
35
|
-
* }
|
|
40
|
+
*
|
|
36
41
|
*/
|
|
37
|
-
export { Transaction, Process, EventProcessor, Router, Mailer, Crypto, JWT, Configuration, Redis, Response, Utils, AsyncSingleton, Route, TransactionConfig, ResponseErrorType, HttpMethod, Database, };
|
|
42
|
+
export { Transaction, Process, EventProcessor, DynamoTransaction, Router, Mailer, Crypto, JWT, Configuration, Redis, Response, Utils, AsyncSingleton, Route, TransactionConfig, ResponseErrorType, HttpMethod, Database, };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpMethod } from './src/API/Request.js';
|
|
2
2
|
import Response from './src/API/Response.js';
|
|
3
|
+
import DynamoTransaction from './src/BaseEvent/DynamoTransaction.js';
|
|
3
4
|
import EventProcessor from './src/BaseEvent/EventProcessor.js';
|
|
4
5
|
import Process from './src/BaseEvent/Process.js';
|
|
5
6
|
import Transaction from './src/BaseEvent/Transaction.js';
|
|
@@ -13,13 +14,16 @@ import Router from './src/Server/Router.js';
|
|
|
13
14
|
import AsyncSingleton from './src/Util/AsyncSingleton.js';
|
|
14
15
|
import Utils from './src/Util/Utils.js';
|
|
15
16
|
/**
|
|
16
|
-
* This module exports various classes and utilities for handling transactions, processes,
|
|
17
|
-
*
|
|
18
|
-
*
|
|
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.
|
|
19
22
|
* @exports {
|
|
20
23
|
* Transaction,
|
|
21
24
|
* Process,
|
|
22
25
|
* EventProcessor,
|
|
26
|
+
* DynamoTransaction,
|
|
23
27
|
* Router,
|
|
24
28
|
* Mailer,
|
|
25
29
|
* Crypto,
|
|
@@ -28,15 +32,16 @@ import Utils from './src/Util/Utils.js';
|
|
|
28
32
|
* Redis,
|
|
29
33
|
* Response,
|
|
30
34
|
* Utils,
|
|
35
|
+
* AsyncSingleton,
|
|
31
36
|
* Route,
|
|
37
|
+
* TransactionConfig,
|
|
32
38
|
* ResponseErrorType,
|
|
33
39
|
* HttpMethod,
|
|
34
|
-
*
|
|
35
|
-
* }
|
|
40
|
+
*
|
|
36
41
|
*/
|
|
37
42
|
export {
|
|
38
43
|
// Base Events
|
|
39
|
-
Transaction, Process, EventProcessor, Router,
|
|
44
|
+
Transaction, Process, EventProcessor, DynamoTransaction, Router,
|
|
40
45
|
// Externally initialized clients
|
|
41
46
|
Mailer, Crypto, JWT, Configuration, Redis,
|
|
42
47
|
// API
|
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,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
|
|
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,iCAAiC;AACjC,MAAM,EACN,MAAM,EACN,GAAG,EACH,aAAa,EACb,KAAK;AACL,MAAM;AACN,QAAQ;AACR,UAAU;AACV,KAAK,EACL,cAAc,EAKd,UAAU,EACV,QAAQ,GACT,CAAA"}
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creator.co/wapi",
|
|
3
|
-
"version": "1.7.10-alpha.
|
|
3
|
+
"version": "1.7.10-alpha.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@creator.co/wapi",
|
|
9
|
-
"version": "1.7.10-alpha.
|
|
9
|
+
"version": "1.7.10-alpha.2",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@aws-sdk/client-dynamodb": "^3.574.0",
|
package/dist/package.json
CHANGED
package/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpMethod } from './src/API/Request.js'
|
|
2
2
|
import Response, { ResponseErrorType } from './src/API/Response.js'
|
|
3
|
+
import DynamoTransaction from './src/BaseEvent/DynamoTransaction.js'
|
|
3
4
|
import EventProcessor from './src/BaseEvent/EventProcessor.js'
|
|
4
5
|
import Process from './src/BaseEvent/Process.js'
|
|
5
6
|
import Transaction, { TransactionConfig } from './src/BaseEvent/Transaction.js'
|
|
@@ -14,13 +15,16 @@ import AsyncSingleton from './src/Util/AsyncSingleton.js'
|
|
|
14
15
|
import Utils from './src/Util/Utils.js'
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
|
-
* This module exports various classes and utilities for handling transactions, processes,
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* This module exports various classes and utilities for handling transactions, processes,
|
|
19
|
+
* event processing, DynamoDB transactions, routing, mailing, cryptography, JWT handling,
|
|
20
|
+
* configuration management, Redis operations, response handling, utility functions,
|
|
21
|
+
* asynchronous singleton pattern, route definitions, transaction configurations,
|
|
22
|
+
* response error types, HTTP methods, and database operations.
|
|
20
23
|
* @exports {
|
|
21
24
|
* Transaction,
|
|
22
25
|
* Process,
|
|
23
26
|
* EventProcessor,
|
|
27
|
+
* DynamoTransaction,
|
|
24
28
|
* Router,
|
|
25
29
|
* Mailer,
|
|
26
30
|
* Crypto,
|
|
@@ -29,17 +33,19 @@ import Utils from './src/Util/Utils.js'
|
|
|
29
33
|
* Redis,
|
|
30
34
|
* Response,
|
|
31
35
|
* Utils,
|
|
36
|
+
* AsyncSingleton,
|
|
32
37
|
* Route,
|
|
38
|
+
* TransactionConfig,
|
|
33
39
|
* ResponseErrorType,
|
|
34
40
|
* HttpMethod,
|
|
35
|
-
*
|
|
36
|
-
* }
|
|
41
|
+
*
|
|
37
42
|
*/
|
|
38
43
|
export {
|
|
39
44
|
// Base Events
|
|
40
45
|
Transaction,
|
|
41
46
|
Process,
|
|
42
47
|
EventProcessor,
|
|
48
|
+
DynamoTransaction,
|
|
43
49
|
Router,
|
|
44
50
|
// Externally initialized clients
|
|
45
51
|
Mailer,
|