@ikonintegration/ikapi 5.0.15 → 5.1.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/.github/workflows/npmpublish.yml +3 -3
- package/.github/workflows/prs.yml +1 -1
- package/README.md +1 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/package-lock.json +3647 -3029
- package/dist/package.json +48 -48
- package/dist/src/Cache/Redis.js +18 -9
- package/dist/src/Cache/Redis.js.map +1 -1
- package/dist/src/Mailer/Mailer.d.ts +8 -0
- package/dist/src/Mailer/Mailer.js +28 -7
- package/dist/src/Mailer/Mailer.js.map +1 -1
- package/eslint.config.cjs +97 -0
- package/index.ts +3 -1
- package/package.json +48 -48
- package/src/Cache/Redis.ts +18 -9
- package/src/Config/Configuration.ts +1 -1
- package/src/Mailer/Mailer.ts +37 -7
- package/tsconfig.json +12 -7
- package/tsconfig.smoke.json +2 -6
- package/.eslintrc.cjs +0 -82
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
name: NPM Publish
|
|
2
2
|
on:
|
|
3
|
-
push:
|
|
4
|
-
branches: [
|
|
3
|
+
push:
|
|
4
|
+
branches: ['master']
|
|
5
5
|
|
|
6
6
|
jobs:
|
|
7
7
|
Publish:
|
|
8
8
|
uses: ikon-integration/tools-github-workflows/.github/workflows/npm-publish.yml@master
|
|
9
9
|
secrets: inherit
|
|
10
10
|
with:
|
|
11
|
-
NODE_VERSION:
|
|
11
|
+
NODE_VERSION: '20.x'
|
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# IKApi 
|
|
2
|
+
|
|
2
3
|
Ikon nodejs API foundation
|
|
3
4
|
|
|
4
5
|
[Docs](https://ikon-integration.github.io/ikapi/)
|
|
@@ -9,7 +10,6 @@ Ikon nodejs API foundation
|
|
|
9
10
|
- 
|
|
10
11
|
- 
|
|
11
12
|
|
|
12
|
-
|
|
13
13
|
#### Samples
|
|
14
14
|
|
|
15
15
|
- Router
|
|
@@ -60,7 +60,6 @@ export default class HealthCheck implements GetHealthRoute {
|
|
|
60
60
|
}
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
|
|
64
63
|
- Transaction
|
|
65
64
|
|
|
66
65
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import Redis from './src/Cache/Redis.js';
|
|
|
10
10
|
import Configuration from './src/Config/Configuration.js';
|
|
11
11
|
import Crypto from './src/Crypto/Crypto.js';
|
|
12
12
|
import * as Database from './src/Database/index.js';
|
|
13
|
-
import Mailer from './src/Mailer/Mailer.js';
|
|
13
|
+
import Mailer, { MailerRenderError, MailerSendError } from './src/Mailer/Mailer.js';
|
|
14
14
|
import Router, { Route } from './src/Server/Router.js';
|
|
15
15
|
import AsyncSingleton from './src/Util/AsyncSingleton.js';
|
|
16
16
|
import Utils from './src/Util/Utils.js';
|
|
17
|
-
export { Transaction, Process, EventProcessor, DynamoTransaction, StepTransaction, Launchable, Router, Route, HttpMethod, Mailer, Crypto, Configuration, Redis, Database, Response, ResponseErrorType, Utils, AsyncSingleton, TransactionConfig, };
|
|
17
|
+
export { Transaction, Process, EventProcessor, DynamoTransaction, StepTransaction, Launchable, Router, Route, HttpMethod, Mailer, MailerRenderError, MailerSendError, Crypto, Configuration, Redis, Database, Response, ResponseErrorType, Utils, AsyncSingleton, TransactionConfig, };
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import Redis from './src/Cache/Redis.js';
|
|
|
10
10
|
import Configuration from './src/Config/Configuration.js';
|
|
11
11
|
import Crypto from './src/Crypto/Crypto.js';
|
|
12
12
|
import * as Database from './src/Database/index.js';
|
|
13
|
-
import Mailer from './src/Mailer/Mailer.js';
|
|
13
|
+
import Mailer, { MailerRenderError, MailerSendError } from './src/Mailer/Mailer.js';
|
|
14
14
|
import Router from './src/Server/Router.js';
|
|
15
15
|
import AsyncSingleton from './src/Util/AsyncSingleton.js';
|
|
16
16
|
import Utils from './src/Util/Utils.js';
|
|
@@ -20,7 +20,7 @@ Transaction, Process, EventProcessor, DynamoTransaction, StepTransaction, Launch
|
|
|
20
20
|
// Http
|
|
21
21
|
Router, HttpMethod,
|
|
22
22
|
// Modules
|
|
23
|
-
Mailer, Crypto, Configuration, Redis, Database,
|
|
23
|
+
Mailer, MailerRenderError, MailerSendError, Crypto, Configuration, Redis, Database,
|
|
24
24
|
// API
|
|
25
25
|
Response,
|
|
26
26
|
// Helpers
|
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,UAAU,MAAM,qCAAqC,CAAA;AAC5D,OAAO,OAAO,MAAM,4BAA4B,CAAA;AAChD,OAAO,eAAe,MAAM,oCAAoC,CAAA;AAChE,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,KAAK,QAAQ,MAAM,yBAAyB,CAAA;AACnD,OAAO,MAAM,MAAM,wBAAwB,CAAA;
|
|
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,UAAU,MAAM,qCAAqC,CAAA;AAC5D,OA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