@logto/connector-aws-ses 1.1.0 → 1.1.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/README.md +1 -1
- package/lib/date-utils-vaX2R5qo.js +102 -0
- package/lib/defaultRoleAssumers-DMJuO6rb.js +3220 -0
- package/lib/index-BjiMjUem.js +290 -0
- package/lib/index-BoQzAHHB.js +355 -0
- package/lib/index-CMob0Rvo.js +40 -0
- package/lib/index-Cq0GQt9c.js +58 -0
- package/lib/index-DIAzYdwQ.js +77 -0
- package/lib/index-DIymHkFl.js +218 -0
- package/lib/index-DaduCA7X.js +160 -0
- package/lib/index-Dh6q8yRM.js +14 -0
- package/lib/index-s7VGoewj.js +5778 -0
- package/lib/index.js +13 -11327
- package/lib/loadSso-ChzknlEd.js +592 -0
- package/lib/loadSsoOidc-RJkBDJ78.js +890 -0
- package/lib/loadSts-CqVZgkwk.js +17 -0
- package/lib/loadSts-_S-bg8by.js +17 -0
- package/lib/noAuth-NfiqQHEa.js +9 -0
- package/lib/parseKnownFiles-DjQIrDWV.js +23 -0
- package/package.json +30 -7
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { g as getDefaultRoleAssumer } from './defaultRoleAssumers-DMJuO6rb.js';
|
|
2
|
+
import 'os';
|
|
3
|
+
import 'path';
|
|
4
|
+
import 'crypto';
|
|
5
|
+
import 'fs';
|
|
6
|
+
import './index-s7VGoewj.js';
|
|
7
|
+
import '@logto/connector-kit';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import 'buffer';
|
|
10
|
+
import 'stream';
|
|
11
|
+
import 'http';
|
|
12
|
+
import 'https';
|
|
13
|
+
import 'http2';
|
|
14
|
+
import 'util';
|
|
15
|
+
import 'process';
|
|
16
|
+
import './noAuth-NfiqQHEa.js';
|
|
17
|
+
import './date-utils-vaX2R5qo.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { a as getDefaultRoleAssumerWithWebIdentity } from './defaultRoleAssumers-DMJuO6rb.js';
|
|
2
|
+
import 'os';
|
|
3
|
+
import 'path';
|
|
4
|
+
import 'crypto';
|
|
5
|
+
import 'fs';
|
|
6
|
+
import './index-s7VGoewj.js';
|
|
7
|
+
import '@logto/connector-kit';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import 'buffer';
|
|
10
|
+
import 'stream';
|
|
11
|
+
import 'http';
|
|
12
|
+
import 'https';
|
|
13
|
+
import 'http2';
|
|
14
|
+
import 'util';
|
|
15
|
+
import 'process';
|
|
16
|
+
import './noAuth-NfiqQHEa.js';
|
|
17
|
+
import './date-utils-vaX2R5qo.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { l as loadSharedConfigFiles } from './index-s7VGoewj.js';
|
|
2
|
+
|
|
3
|
+
const mergeConfigFiles = (...files) => {
|
|
4
|
+
const merged = {};
|
|
5
|
+
for (const file of files) {
|
|
6
|
+
for (const [key, values] of Object.entries(file)) {
|
|
7
|
+
if (merged[key] !== undefined) {
|
|
8
|
+
Object.assign(merged[key], values);
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
merged[key] = values;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return merged;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const parseKnownFiles = async (init) => {
|
|
19
|
+
const parsedFiles = await loadSharedConfigFiles(init);
|
|
20
|
+
return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { parseKnownFiles as p };
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/connector-aws-ses",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Logto Connector for Amazon SES",
|
|
5
5
|
"author": "Jeff <admin@breadth.app>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@
|
|
8
|
-
"@aws-sdk/
|
|
9
|
-
"@
|
|
7
|
+
"@aws-sdk/client-sesv2": "^3.556.0",
|
|
8
|
+
"@aws-sdk/types": "^3.535.0",
|
|
9
|
+
"@logto/connector-kit": "^4.0.0",
|
|
10
|
+
"@silverhand/essentials": "^2.9.1",
|
|
11
|
+
"got": "^14.0.0",
|
|
12
|
+
"snakecase-keys": "^8.0.0",
|
|
13
|
+
"zod": "^3.22.4"
|
|
10
14
|
},
|
|
11
15
|
"main": "./lib/index.js",
|
|
12
16
|
"module": "./lib/index.js",
|
|
@@ -38,6 +42,26 @@
|
|
|
38
42
|
"publishConfig": {
|
|
39
43
|
"access": "public"
|
|
40
44
|
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@rollup/plugin-commonjs": "^26.0.0",
|
|
47
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
48
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
49
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
50
|
+
"@silverhand/eslint-config": "6.0.1",
|
|
51
|
+
"@silverhand/ts-config": "6.0.0",
|
|
52
|
+
"@types/node": "^20.11.20",
|
|
53
|
+
"@types/supertest": "^6.0.2",
|
|
54
|
+
"@vitest/coverage-v8": "^1.4.0",
|
|
55
|
+
"eslint": "^8.56.0",
|
|
56
|
+
"lint-staged": "^15.0.2",
|
|
57
|
+
"nock": "^13.3.1",
|
|
58
|
+
"prettier": "^3.0.0",
|
|
59
|
+
"rollup": "^4.12.0",
|
|
60
|
+
"rollup-plugin-output-size": "^1.3.0",
|
|
61
|
+
"supertest": "^7.0.0",
|
|
62
|
+
"typescript": "^5.3.3",
|
|
63
|
+
"vitest": "^1.4.0"
|
|
64
|
+
},
|
|
41
65
|
"scripts": {
|
|
42
66
|
"precommit": "lint-staged",
|
|
43
67
|
"build:test": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
|
@@ -45,8 +69,7 @@
|
|
|
45
69
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
46
70
|
"lint": "eslint --ext .ts src",
|
|
47
71
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
48
|
-
"test
|
|
49
|
-
"test": "pnpm
|
|
50
|
-
"test:ci": "pnpm test:only --silent --coverage"
|
|
72
|
+
"test": "vitest src",
|
|
73
|
+
"test:ci": "pnpm run test --silent --coverage"
|
|
51
74
|
}
|
|
52
75
|
}
|