@logto/connector-aws-ses 1.0.0 → 1.0.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/lib/types.d.ts CHANGED
@@ -44,11 +44,6 @@ export declare const awsSesConfigGuard: z.ZodObject<{
44
44
  feedbackForwardingEmailAddressIdentityArn: z.ZodOptional<z.ZodString>;
45
45
  configurationSetName: z.ZodOptional<z.ZodString>;
46
46
  }, "strip", z.ZodTypeAny, {
47
- emailAddress?: string | undefined;
48
- emailAddressIdentityArn?: string | undefined;
49
- feedbackForwardingEmailAddress?: string | undefined;
50
- feedbackForwardingEmailAddressIdentityArn?: string | undefined;
51
- configurationSetName?: string | undefined;
52
47
  accessKeyId: string;
53
48
  accessKeySecret: string;
54
49
  region: string;
@@ -57,12 +52,12 @@ export declare const awsSesConfigGuard: z.ZodObject<{
57
52
  subject: string;
58
53
  content: string;
59
54
  }[];
60
- }, {
61
55
  emailAddress?: string | undefined;
62
56
  emailAddressIdentityArn?: string | undefined;
63
57
  feedbackForwardingEmailAddress?: string | undefined;
64
58
  feedbackForwardingEmailAddressIdentityArn?: string | undefined;
65
59
  configurationSetName?: string | undefined;
60
+ }, {
66
61
  accessKeyId: string;
67
62
  accessKeySecret: string;
68
63
  region: string;
@@ -71,6 +66,11 @@ export declare const awsSesConfigGuard: z.ZodObject<{
71
66
  subject: string;
72
67
  content: string;
73
68
  }[];
69
+ emailAddress?: string | undefined;
70
+ emailAddressIdentityArn?: string | undefined;
71
+ feedbackForwardingEmailAddress?: string | undefined;
72
+ feedbackForwardingEmailAddressIdentityArn?: string | undefined;
73
+ configurationSetName?: string | undefined;
74
74
  }>;
75
75
  export type AwsSesConfig = z.infer<typeof awsSesConfigGuard>;
76
76
  export type Payload = {
package/package.json CHANGED
@@ -1,4 +1,13 @@
1
1
  {
2
+ "name": "@logto/connector-aws-ses",
3
+ "version": "1.0.2",
4
+ "description": "Logto Connector for Amazon SES",
5
+ "author": "Jeff <admin@breadth.app>",
6
+ "dependencies": {
7
+ "@logto/connector-kit": "^2.0.0",
8
+ "@aws-sdk/client-sesv2": "^3.224.0",
9
+ "@aws-sdk/types": "^3.226.0"
10
+ },
2
11
  "main": "./lib/index.js",
3
12
  "module": "./lib/index.js",
4
13
  "exports": "./lib/index.js",
@@ -10,62 +19,34 @@
10
19
  "logo.svg",
11
20
  "logo-dark.svg"
12
21
  ],
13
- "dependencies": {
14
- "@logto/connector-kit": "^1.0.0",
15
- "@silverhand/essentials": "2.1.0",
16
- "got": "^12.5.3",
17
- "snakecase-keys": "^5.1.0",
18
- "zod": "^3.20.2",
19
- "@aws-sdk/client-sesv2": "^3.224.0",
20
- "@aws-sdk/types": "^3.226.0"
21
- },
22
- "devDependencies": {
23
- "@jest/types": "^29.3.1",
24
- "@rollup/plugin-commonjs": "^24.0.0",
25
- "@rollup/plugin-json": "^6.0.0",
26
- "@rollup/plugin-node-resolve": "^15.0.1",
27
- "@rollup/plugin-typescript": "^10.0.1",
28
- "@silverhand/eslint-config": "1.3.0",
29
- "@silverhand/ts-config": "1.2.1",
30
- "@silverhand/jest-config": "1.2.2",
31
- "@types/jest": "^29.2.4",
32
- "@types/node": "^16.3.1",
33
- "@types/supertest": "^2.0.11",
34
- "eslint": "^8.21.0",
35
- "jest": "^29.3.1",
36
- "jest-matcher-specific-error": "^1.0.0",
37
- "lint-staged": "^13.0.0",
38
- "nock": "^13.2.2",
39
- "prettier": "^2.8.1",
40
- "rollup": "^3.8.0",
41
- "rollup-plugin-summary": "^2.0.0",
42
- "supertest": "^6.2.2",
43
- "typescript": "^4.9.4"
44
- },
45
22
  "engines": {
46
- "node": "^16.13.0 || ^18.12.0"
23
+ "node": "^18.12.0"
47
24
  },
48
25
  "eslintConfig": {
49
- "extends": "@silverhand"
26
+ "extends": "@silverhand",
27
+ "settings": {
28
+ "import/core-modules": [
29
+ "@silverhand/essentials",
30
+ "got",
31
+ "nock",
32
+ "snakecase-keys",
33
+ "zod"
34
+ ]
35
+ }
50
36
  },
51
37
  "prettier": "@silverhand/eslint-config/.prettierrc",
52
38
  "publishConfig": {
53
39
  "access": "public"
54
40
  },
55
- "name": "@logto/connector-aws-ses",
56
- "version": "1.0.0",
57
- "description": "Logto Connector for Amazon SES",
58
- "author": "Jeff <admin@breadth.app>",
59
41
  "scripts": {
60
- "package:sync": "cd ../../ && pnpm package:sync",
61
- "package:update": "cd ../../ && pnpm package:update",
62
42
  "precommit": "lint-staged",
63
- "build:test": "rm -rf lib/ && tsc -p tsconfig.test.json",
43
+ "build:test": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
64
44
  "build": "rm -rf lib/ && tsc -p tsconfig.build.json --noEmit && rollup -c",
65
45
  "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
66
46
  "lint": "eslint --ext .ts src",
67
47
  "lint:report": "pnpm lint --format json --output-file report.json",
68
- "test": "pnpm build:test && NODE_OPTIONS=--experimental-vm-modules jest",
69
- "test:coverage": "pnpm run test --coverage --silent"
48
+ "test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
49
+ "test": "pnpm build:test && pnpm test:only",
50
+ "test:ci": "pnpm test:only --silent --coverage"
70
51
  }
71
52
  }