@logto/connector-aws-ses 1.0.0-beta.18 → 1.0.0-beta.20
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 +2 -156
- package/lib/index.js +92 -2
- package/logo-dark.svg +3 -3
- package/logo.svg +3 -3
- package/package.json +2 -2
- package/docs/config-template.json +0 -37
package/README.md
CHANGED
|
@@ -2,31 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
The official Logto connector for AWS connector for direct mail service.
|
|
4
4
|
|
|
5
|
-
Amazon SES邮件推送服务 Logto 官方连接器[中文文档](#aws-ses邮件连接器)
|
|
6
|
-
|
|
7
5
|
- [AWS direct mail connector](#aws-direct-mail-connector)
|
|
8
6
|
- [Get started](#get-started)
|
|
9
7
|
- [Configure a mail service in the AWS service console](#configure-a-mail-service-in-the-aws-service-console)
|
|
10
8
|
- [Register AWS account](#register-aws-account)
|
|
11
9
|
- [Create a identity](#create-a-identity)
|
|
12
|
-
- [
|
|
10
|
+
- [Configuration of the connector](#configuration-of-the-connector)
|
|
13
11
|
- [Test the Amazon SES connector](#test-the-amazon-ses-connector)
|
|
14
12
|
- [Configure types](#configure-types)
|
|
15
|
-
- [AWS SES 邮件连接器](#aws-ses-邮件连接器)
|
|
16
|
-
- [开始上手](#开始上手)
|
|
17
|
-
- [在 AWS 服务控制台中配置一个邮件服务](#在-aws-服务控制台中配置一个邮件服务)
|
|
18
|
-
- [注册 AWS 帐号](#注册-aws-帐号)
|
|
19
|
-
- [创建发信身份](#创建发信身份)
|
|
20
|
-
- [编写连接器的 JSON](#编写连接器的-json)
|
|
21
|
-
- [测试 Amazon SES 邮件连接器](#测试-amazon-ses-邮件连接器)
|
|
22
|
-
- [配置类型](#配置类型)
|
|
23
13
|
|
|
24
14
|
## Get started
|
|
25
15
|
Amazon SES is a cloud email service provider that can integrate into any application for bulk email sending.
|
|
26
16
|
|
|
27
17
|
Logto team to call the Amazon Simple Email Service APIs, with the help of which Logto end-users can register and sign in to their Logto account via mail verification code.
|
|
28
18
|
|
|
29
|
-
|
|
30
19
|
## Configure a mail service in the AWS service console
|
|
31
20
|
|
|
32
21
|
> 💡 **Tip**
|
|
@@ -45,7 +34,7 @@ Go to [AWS](https://aws.amazon.com/) and register an account.
|
|
|
45
34
|
- Create an email address
|
|
46
35
|
|
|
47
36
|
|
|
48
|
-
###
|
|
37
|
+
### Configuration of the connector
|
|
49
38
|
|
|
50
39
|
1. Click your username in the upper right corner of the Amazon console to enter `Security Credentials`. If you don't have one, create an `AccessKey` and save it carefully.
|
|
51
40
|
2. Complete the settings of the `Amazon Simple Email Service` connector:
|
|
@@ -59,45 +48,6 @@ the following parameters are optional; parameters description can be found in th
|
|
|
59
48
|
- `feedbackForwardingEmailAddressIdentityArn`
|
|
60
49
|
- `configurationSetName`
|
|
61
50
|
|
|
62
|
-
Here is an example of the JSON of the `Amazon SES` connector:
|
|
63
|
-
|
|
64
|
-
```json
|
|
65
|
-
{
|
|
66
|
-
"accessKeyId": "<access-key-id>",
|
|
67
|
-
"accessKeySecret": "<access-key-secret>",
|
|
68
|
-
"region": "<region>",
|
|
69
|
-
"emailAddress": "<noreply@logto.io>",
|
|
70
|
-
"templates": [
|
|
71
|
-
{
|
|
72
|
-
"usageType": "SignIn",
|
|
73
|
-
"subject": "<sign-in-template-subject>",
|
|
74
|
-
"content": "<sign-in-template-content>"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"usageType": "Register",
|
|
78
|
-
"subject": "<register-template-subject>",
|
|
79
|
-
"content": "<register-template-content>"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"usageType": "ForgotPassword",
|
|
83
|
-
"subject": "<forgot-password-template-subject>",
|
|
84
|
-
"content": "<forgot-password-template-content>"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"usageType": "Generic",
|
|
88
|
-
"subject": "<generic-template-subject>",
|
|
89
|
-
"content": "<generic-template-content>"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"usageType": "Test",
|
|
93
|
-
"subject": "<test-template-subject>",
|
|
94
|
-
"content": "<test-template-content>"
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
|
|
101
51
|
### Test the Amazon SES connector
|
|
102
52
|
|
|
103
53
|
You can type in an email address and click on "Send" to see whether the settings work before "Save and Done".
|
|
@@ -123,107 +73,3 @@ That's it. Don't forget to [Enable connector in sign-in experience](https://docs
|
|
|
123
73
|
| subject | string | N/A |
|
|
124
74
|
| content | string | N/A |
|
|
125
75
|
| usageType | enum string | 'Register' \| 'SignIn' \| 'ForgotPassword' \| 'Generic' \| 'Test' |
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
# AWS SES 邮件连接器
|
|
129
|
-
|
|
130
|
-
## 开始上手
|
|
131
|
-
|
|
132
|
-
Amazon SES 是云电子邮件发送服务,它可以集成到任何应用程序中,用于批量发送电子邮件。
|
|
133
|
-
|
|
134
|
-
本连接器是 Logto 官方提供的 Amazon SES 邮件连接器,帮助终端用户通过邮件验证码进行登录注册。
|
|
135
|
-
|
|
136
|
-
## 在 AWS 服务控制台中配置一个邮件服务
|
|
137
|
-
|
|
138
|
-
> 💡 **Tip**
|
|
139
|
-
>
|
|
140
|
-
> 你可以跳过已经完成的部分。
|
|
141
|
-
|
|
142
|
-
### 注册 AWS 帐号
|
|
143
|
-
|
|
144
|
-
前往 [AWS](https://aws.amazon.com/) 并完成帐号的注册。
|
|
145
|
-
|
|
146
|
-
### 创建发信身份
|
|
147
|
-
|
|
148
|
-
- 进入 `Amazon Simple Email Service` Console
|
|
149
|
-
- 创建发信身份,根据需要,以下任选一种
|
|
150
|
-
- 创建域
|
|
151
|
-
- 电子邮件地址
|
|
152
|
-
|
|
153
|
-
## 编写连接器的 JSON
|
|
154
|
-
|
|
155
|
-
1. 在 Amazon 控制台右上角点击你的用户名,进入`安全凭证`,如果你没有,请创建 `AccessKey`,并妥善保存
|
|
156
|
-
2. 完成 `Amazon Simple Email Service` 连接器的设置:
|
|
157
|
-
- 使用在步骤 1 中拿到的一对「AccessKey ID」和「AccessKey Secret」来分别填入 `accessKeyId` 和 `accessKeySecret`
|
|
158
|
-
- `region`:使用发信身份所在的 region 填入`region` 字段
|
|
159
|
-
- `emailAddress`:发信人邮箱地址,格式:`Logto<noreply@logto.io>`,也可以仅使用 `<noreply@logto.io>`
|
|
160
|
-
|
|
161
|
-
以下参数通常不需要配置,除非你明确知道你需要做什么;参数的含义可以参考 [AWS SES DOC](https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_SendEmail.html)。
|
|
162
|
-
- `feedbackForwardingEmailAddress`
|
|
163
|
-
- `feedbackForwardingEmailAddressIdentityArn`
|
|
164
|
-
- `configurationSetName`
|
|
165
|
-
|
|
166
|
-
这是一个 Amazon SES 邮件服务连接器 JSON 配置的样例。
|
|
167
|
-
|
|
168
|
-
```json
|
|
169
|
-
{
|
|
170
|
-
"accessKeyId": "<access-key-id>",
|
|
171
|
-
"accessKeySecret": "<access-key-secret>",
|
|
172
|
-
"region": "<region>",
|
|
173
|
-
"emailAddress": "<noreply@logto.io>",
|
|
174
|
-
"templates": [
|
|
175
|
-
{
|
|
176
|
-
"usageType": "SignIn",
|
|
177
|
-
"subject": "<sign-in-template-subject>",
|
|
178
|
-
"content": "<sign-in-template-content>"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"usageType": "Register",
|
|
182
|
-
"subject": "<register-template-subject>",
|
|
183
|
-
"content": "<register-template-content>"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"usageType": "ForgotPassword",
|
|
187
|
-
"subject": "<forgot-password-template-subject>",
|
|
188
|
-
"content": "<forgot-password-template-content>"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"usageType": "Generic",
|
|
192
|
-
"subject": "<generic-template-subject>",
|
|
193
|
-
"content": "<generic-template-content>"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"usageType": "Test",
|
|
197
|
-
"subject": "<test-template-subject>",
|
|
198
|
-
"content": "<test-template-content>"
|
|
199
|
-
}
|
|
200
|
-
]
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
### 测试 Amazon SES 邮件连接器
|
|
206
|
-
|
|
207
|
-
你可以在「保存并完成」之前输入一个邮件地址并点按「发送」来测试配置是否可以正常工作。
|
|
208
|
-
|
|
209
|
-
大功告成!快去 [启用短信或邮件验证码登录](https://docs.logto.io/zh-cn/docs/tutorials/get-started/enable-passcode-sign-in/#%E5%9C%A8%E7%99%BB%E5%BD%95%E4%BD%93%E9%AA%8C%E4%B8%AD%E5%90%AF%E7%94%A8%E8%BF%9E%E6%8E%A5%E5%99%A8) 吧。
|
|
210
|
-
|
|
211
|
-
### 配置类型
|
|
212
|
-
|
|
213
|
-
| 名称 | 类型 |
|
|
214
|
-
| ----------------------------------------- | ----------------- |
|
|
215
|
-
| accessKeyId | string |
|
|
216
|
-
| accessKeySecret | string |
|
|
217
|
-
| region | string |
|
|
218
|
-
| emailAddress | string (OPTIONAL) |
|
|
219
|
-
| emailAddressIdentityArn | string (OPTIONAL) |
|
|
220
|
-
| feedbackForwardingEmailAddress | string (OPTIONAL) |
|
|
221
|
-
| feedbackForwardingEmailAddressIdentityArn | string (OPTIONAL) |
|
|
222
|
-
| configurationSetName | string (OPTIONAL) |
|
|
223
|
-
| templates | Template[] |
|
|
224
|
-
|
|
225
|
-
| 模板属性 | 类型 | 枚举值 |
|
|
226
|
-
| --------- | ----------- | -----------------------------------------------------|
|
|
227
|
-
| subject | string | N/A |
|
|
228
|
-
| content | string | N/A |
|
|
229
|
-
| usageType | enum string | 'Register' \| 'SignIn' \| 'ForgotPassword' \| 'Generic' \| 'Test' |
|
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Agent as Agent$1, request as request$1 } from 'https';
|
|
|
11
11
|
import { Readable, Writable } from 'stream';
|
|
12
12
|
import 'http2';
|
|
13
13
|
import { versions, env } from 'process';
|
|
14
|
-
import { ConnectorType, validateConfig, ConnectorError, ConnectorErrorCodes } from '@logto/connector-kit';
|
|
14
|
+
import { ConnectorConfigFormItemType, ConnectorType, validateConfig, ConnectorError, ConnectorErrorCodes } from '@logto/connector-kit';
|
|
15
15
|
import { z } from 'zod';
|
|
16
16
|
|
|
17
17
|
const resolveParamsForS3 = async (endpointParams) => {
|
|
@@ -11654,7 +11654,97 @@ const defaultMetadata = {
|
|
|
11654
11654
|
ko: 'Amazon SES는 모든 애플리케이션에 통합하여 대량으로 이메일을 전송할 수 있는 클라우드 이메일 서비스 공급자입니다.',
|
|
11655
11655
|
},
|
|
11656
11656
|
readme: './README.md',
|
|
11657
|
-
|
|
11657
|
+
formItems: [
|
|
11658
|
+
{
|
|
11659
|
+
key: 'accessKeyId',
|
|
11660
|
+
label: 'Access Key ID',
|
|
11661
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11662
|
+
required: true,
|
|
11663
|
+
placeholder: '<access-key-id>',
|
|
11664
|
+
},
|
|
11665
|
+
{
|
|
11666
|
+
key: 'accessKeySecret',
|
|
11667
|
+
label: 'Access Key Secret',
|
|
11668
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11669
|
+
required: true,
|
|
11670
|
+
placeholder: '<access-key-secret>',
|
|
11671
|
+
},
|
|
11672
|
+
{
|
|
11673
|
+
key: 'region',
|
|
11674
|
+
label: 'Region',
|
|
11675
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11676
|
+
required: true,
|
|
11677
|
+
placeholder: '<region>',
|
|
11678
|
+
},
|
|
11679
|
+
{
|
|
11680
|
+
key: 'emailAddress',
|
|
11681
|
+
label: 'Email Address',
|
|
11682
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11683
|
+
required: false,
|
|
11684
|
+
placeholder: '<email-address>',
|
|
11685
|
+
},
|
|
11686
|
+
{
|
|
11687
|
+
key: 'emailAddressIdentityArn',
|
|
11688
|
+
label: 'Email Address Identity ARN',
|
|
11689
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11690
|
+
required: false,
|
|
11691
|
+
placeholder: '<email-address-identity-arn>',
|
|
11692
|
+
},
|
|
11693
|
+
{
|
|
11694
|
+
key: 'feedbackForwardingEmailAddress',
|
|
11695
|
+
label: 'Feedback Forwarding Email Address',
|
|
11696
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11697
|
+
required: false,
|
|
11698
|
+
placeholder: '<feedback-forwarding-email-address>',
|
|
11699
|
+
},
|
|
11700
|
+
{
|
|
11701
|
+
key: 'feedbackForwardingEmailAddressIdentityArn',
|
|
11702
|
+
label: 'Feedback Forwarding Email Address Identity ARN',
|
|
11703
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11704
|
+
required: false,
|
|
11705
|
+
placeholder: '<feedback-forwarding-email-address-identity-arn>',
|
|
11706
|
+
},
|
|
11707
|
+
{
|
|
11708
|
+
key: 'configurationSetName',
|
|
11709
|
+
label: 'Configuration Set Name',
|
|
11710
|
+
type: ConnectorConfigFormItemType.Text,
|
|
11711
|
+
required: false,
|
|
11712
|
+
placeholder: '<configuration-set-name>',
|
|
11713
|
+
},
|
|
11714
|
+
{
|
|
11715
|
+
key: 'templates',
|
|
11716
|
+
label: 'Templates',
|
|
11717
|
+
type: ConnectorConfigFormItemType.Json,
|
|
11718
|
+
required: true,
|
|
11719
|
+
defaultValue: [
|
|
11720
|
+
{
|
|
11721
|
+
usageType: 'SignIn',
|
|
11722
|
+
subject: '<sign-in-template-subject>',
|
|
11723
|
+
content: '<sign-in-template-content>',
|
|
11724
|
+
},
|
|
11725
|
+
{
|
|
11726
|
+
usageType: 'Register',
|
|
11727
|
+
subject: '<register-template-subject>',
|
|
11728
|
+
content: '<register-template-content>',
|
|
11729
|
+
},
|
|
11730
|
+
{
|
|
11731
|
+
usageType: 'ForgotPassword',
|
|
11732
|
+
subject: '<forgot-password-template-subject>',
|
|
11733
|
+
content: '<forgot-password-template-content>',
|
|
11734
|
+
},
|
|
11735
|
+
{
|
|
11736
|
+
usageType: 'Generic',
|
|
11737
|
+
subject: '<generic-template-subject>',
|
|
11738
|
+
content: '<generic-template-content>',
|
|
11739
|
+
},
|
|
11740
|
+
{
|
|
11741
|
+
usageType: 'Test',
|
|
11742
|
+
subject: '<test-template-subject>',
|
|
11743
|
+
content: '<test-template-content>',
|
|
11744
|
+
},
|
|
11745
|
+
],
|
|
11746
|
+
},
|
|
11747
|
+
],
|
|
11658
11748
|
};
|
|
11659
11749
|
|
|
11660
11750
|
/**
|
package/logo-dark.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
2
|
+
<path d="M6.76255 10.7123C6.76255 11.0077 6.79448 11.2472 6.85036 11.4228C6.91421 11.5984 6.99403 11.7899 7.10578 11.9975C7.1457 12.0613 7.16166 12.1252 7.16166 12.1811C7.16166 12.2609 7.11377 12.3407 7.01 12.4205L6.50712 12.7558C6.43528 12.8037 6.36344 12.8276 6.29959 12.8276C6.21977 12.8276 6.13994 12.7877 6.06012 12.7159C5.94837 12.5961 5.85259 12.4684 5.77277 12.3407C5.69294 12.205 5.61312 12.0533 5.52532 11.8698C4.90271 12.6041 4.12046 12.9713 3.17857 12.9713C2.50806 12.9713 1.97326 12.7797 1.58213 12.3966C1.19101 12.0134 0.991455 11.5026 0.991455 10.864C0.991455 10.1855 1.23092 9.63476 1.71783 9.21968C2.20474 8.80461 2.8513 8.59708 3.67346 8.59708C3.94485 8.59708 4.22423 8.62102 4.51957 8.66093C4.81491 8.70084 5.11823 8.7647 5.43752 8.83654V8.25384C5.43752 7.6472 5.3098 7.22415 5.06235 6.9767C4.80692 6.72925 4.37589 6.60952 3.76126 6.60952C3.48189 6.60952 3.19453 6.64145 2.89919 6.71329C2.60385 6.78513 2.31649 6.87293 2.03712 6.98468C1.9094 7.04056 1.81362 7.07248 1.75774 7.08845C1.70187 7.10441 1.66196 7.1124 1.63003 7.1124C1.51828 7.1124 1.4624 7.03257 1.4624 6.86495V6.47382C1.4624 6.34611 1.47837 6.25032 1.51828 6.19445C1.55819 6.13857 1.63003 6.0827 1.74178 6.02682C2.02115 5.88314 2.3564 5.76341 2.74753 5.66763C3.13865 5.56386 3.55373 5.51596 3.99274 5.51596C4.94262 5.51596 5.63707 5.73148 6.08407 6.16252C6.52309 6.59356 6.74659 7.24809 6.74659 8.12613V10.7123H6.76255ZM3.5218 11.9256C3.78521 11.9256 4.0566 11.8777 4.34396 11.782C4.63132 11.6862 4.88675 11.5106 5.10226 11.2711C5.22998 11.1194 5.32577 10.9518 5.37366 10.7602C5.42155 10.5687 5.45348 10.3372 5.45348 10.0658V9.73054C5.222 9.67467 4.97455 9.62677 4.71912 9.59485C4.46369 9.56292 4.21625 9.54695 3.9688 9.54695C3.43399 9.54695 3.04287 9.65072 2.77946 9.86624C2.51605 10.0818 2.38833 10.3851 2.38833 10.7842C2.38833 11.1593 2.48412 11.4387 2.68367 11.6303C2.87524 11.8298 3.15462 11.9256 3.5218 11.9256ZM9.93147 12.7877C9.78779 12.7877 9.692 12.7638 9.62815 12.7079C9.56429 12.66 9.50841 12.5482 9.46052 12.3966L7.58471 6.22638C7.53682 6.06673 7.51288 5.96297 7.51288 5.90709C7.51288 5.77938 7.57673 5.70754 7.70445 5.70754H8.4867C8.63836 5.70754 8.74213 5.73148 8.798 5.78736C8.86186 5.83525 8.90975 5.947 8.95765 6.09866L10.2986 11.3828L11.5439 6.09866C11.5838 5.93902 11.6317 5.83525 11.6955 5.78736C11.7594 5.73946 11.8711 5.70754 12.0148 5.70754H12.6534C12.805 5.70754 12.9088 5.73148 12.9727 5.78736C13.0365 5.83525 13.0924 5.947 13.1243 6.09866L14.3855 11.4467L15.7664 6.09866C15.8143 5.93902 15.8702 5.83525 15.9261 5.78736C15.9899 5.73946 16.0937 5.70754 16.2374 5.70754H16.9797C17.1074 5.70754 17.1793 5.77139 17.1793 5.90709C17.1793 5.947 17.1713 5.98691 17.1633 6.0348C17.1553 6.0827 17.1394 6.14655 17.1074 6.23436L15.1837 12.4046C15.1358 12.5642 15.08 12.668 15.0161 12.7159C14.9522 12.7638 14.8485 12.7957 14.7128 12.7957H14.0263C13.8747 12.7957 13.7709 12.7717 13.707 12.7159C13.6432 12.66 13.5873 12.5562 13.5554 12.3966L12.3181 7.24809L11.0889 12.3886C11.049 12.5482 11.0011 12.652 10.9372 12.7079C10.8734 12.7638 10.7616 12.7877 10.6179 12.7877H9.93147ZM20.1885 13.0032C19.7735 13.0032 19.3584 12.9553 18.9593 12.8595C18.5602 12.7638 18.2489 12.66 18.0413 12.5403C17.9136 12.4684 17.8258 12.3886 17.7939 12.3168C17.762 12.2449 17.746 12.1651 17.746 12.0933V11.6862C17.746 11.5185 17.8099 11.4387 17.9296 11.4387C17.9775 11.4387 18.0254 11.4467 18.0733 11.4627C18.1212 11.4786 18.193 11.5106 18.2728 11.5425C18.5442 11.6622 18.8396 11.758 19.1509 11.8219C19.4701 11.8857 19.7814 11.9177 20.1007 11.9177C20.6036 11.9177 20.9947 11.8298 21.2661 11.6542C21.5375 11.4786 21.6812 11.2232 21.6812 10.8959C21.6812 10.6724 21.6094 10.4888 21.4657 10.3372C21.322 10.1855 21.0506 10.0498 20.6595 9.92211L19.5021 9.56292C18.9194 9.37933 18.4883 9.10793 18.2249 8.74874C17.9615 8.39752 17.8258 8.0064 17.8258 7.59132C17.8258 7.25607 17.8977 6.96073 18.0413 6.70531C18.185 6.44988 18.3766 6.22638 18.6161 6.05077C18.8555 5.86718 19.1269 5.73148 19.4462 5.6357C19.7655 5.53991 20.1007 5.5 20.4519 5.5C20.6276 5.5 20.8111 5.50798 20.9868 5.53193C21.1703 5.55588 21.338 5.5878 21.5056 5.61973C21.6652 5.65964 21.8169 5.69955 21.9606 5.74745C22.1043 5.79534 22.216 5.84323 22.2958 5.89113C22.4076 5.95498 22.4874 6.01884 22.5353 6.09068C22.5832 6.15454 22.6071 6.24234 22.6071 6.35409V6.72925C22.6071 6.89688 22.5433 6.98468 22.4235 6.98468C22.3597 6.98468 22.2559 6.95275 22.1202 6.8889C21.6652 6.68136 21.1544 6.57759 20.5876 6.57759C20.1327 6.57759 19.7735 6.64943 19.526 6.80109C19.2786 6.95275 19.1509 7.18423 19.1509 7.5115C19.1509 7.735 19.2307 7.92658 19.3903 8.07824C19.55 8.2299 19.8453 8.38156 20.2684 8.51726L21.4018 8.87645C21.9765 9.06004 22.3916 9.31547 22.6391 9.64274C22.8865 9.97001 23.0062 10.3452 23.0062 10.7602C23.0062 11.1035 22.9344 11.4148 22.7987 11.6862C22.655 11.9576 22.4634 12.197 22.216 12.3886C21.9686 12.5882 21.6732 12.7318 21.33 12.8356C20.9708 12.9474 20.5956 13.0032 20.1885 13.0032Z" fill="white"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.6981 16.8824C19.0719 18.8221 15.2565 19.8518 11.9758 19.8518C7.37807 19.8518 3.23533 18.1516 0.106324 15.3259C-0.141123 15.1024 0.0823772 14.7991 0.377717 14.9747C3.76215 16.9383 7.93682 18.1276 12.2552 18.1276C15.1687 18.1276 18.3695 17.521 21.3149 16.2758C21.7539 16.0762 22.1291 16.5631 21.6981 16.8824Z" fill="#FF9900"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.792 15.6372C22.4568 15.2062 20.573 15.4297 19.7189 15.5335C19.4635 15.5654 19.4236 15.3419 19.655 15.1743C21.1557 14.1206 23.6222 14.4239 23.9095 14.7752C24.1969 15.1344 23.8297 17.6008 22.4248 18.7822C22.2093 18.9658 22.0018 18.87 22.0976 18.6305C22.4169 17.8403 23.1273 16.0603 22.792 15.6372Z" fill="#FF9900"/>
|
|
5
5
|
</svg>
|
package/logo.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
2
|
+
<path d="M6.76255 10.7123C6.76255 11.0077 6.79448 11.2472 6.85036 11.4228C6.91421 11.5984 6.99403 11.7899 7.10578 11.9975C7.1457 12.0613 7.16166 12.1252 7.16166 12.1811C7.16166 12.2609 7.11377 12.3407 7.01 12.4205L6.50712 12.7558C6.43528 12.8037 6.36344 12.8276 6.29959 12.8276C6.21977 12.8276 6.13994 12.7877 6.06012 12.7159C5.94837 12.5961 5.85259 12.4684 5.77277 12.3407C5.69294 12.205 5.61312 12.0533 5.52532 11.8698C4.90271 12.6041 4.12046 12.9713 3.17857 12.9713C2.50806 12.9713 1.97326 12.7797 1.58213 12.3966C1.19101 12.0134 0.991455 11.5026 0.991455 10.864C0.991455 10.1855 1.23092 9.63476 1.71783 9.21968C2.20474 8.80461 2.8513 8.59708 3.67346 8.59708C3.94485 8.59708 4.22423 8.62102 4.51957 8.66093C4.81491 8.70084 5.11823 8.7647 5.43752 8.83654V8.25384C5.43752 7.6472 5.3098 7.22415 5.06235 6.9767C4.80692 6.72925 4.37589 6.60952 3.76126 6.60952C3.48189 6.60952 3.19453 6.64145 2.89919 6.71329C2.60385 6.78513 2.31649 6.87293 2.03712 6.98468C1.9094 7.04056 1.81362 7.07248 1.75774 7.08845C1.70187 7.10441 1.66196 7.1124 1.63003 7.1124C1.51828 7.1124 1.4624 7.03257 1.4624 6.86495V6.47382C1.4624 6.34611 1.47837 6.25032 1.51828 6.19445C1.55819 6.13857 1.63003 6.0827 1.74178 6.02682C2.02115 5.88314 2.3564 5.76341 2.74753 5.66763C3.13865 5.56386 3.55373 5.51596 3.99274 5.51596C4.94262 5.51596 5.63707 5.73148 6.08407 6.16252C6.52309 6.59356 6.74659 7.24809 6.74659 8.12613V10.7123H6.76255ZM3.5218 11.9256C3.78521 11.9256 4.0566 11.8777 4.34396 11.782C4.63132 11.6862 4.88675 11.5106 5.10226 11.2711C5.22998 11.1194 5.32577 10.9518 5.37366 10.7602C5.42155 10.5687 5.45348 10.3372 5.45348 10.0658V9.73054C5.222 9.67467 4.97455 9.62677 4.71912 9.59485C4.46369 9.56292 4.21625 9.54695 3.9688 9.54695C3.43399 9.54695 3.04287 9.65072 2.77946 9.86624C2.51605 10.0818 2.38833 10.3851 2.38833 10.7842C2.38833 11.1593 2.48412 11.4387 2.68367 11.6303C2.87524 11.8298 3.15462 11.9256 3.5218 11.9256ZM9.93147 12.7877C9.78779 12.7877 9.692 12.7638 9.62815 12.7079C9.56429 12.66 9.50841 12.5482 9.46052 12.3966L7.58471 6.22638C7.53682 6.06673 7.51288 5.96297 7.51288 5.90709C7.51288 5.77938 7.57673 5.70754 7.70445 5.70754H8.4867C8.63836 5.70754 8.74213 5.73148 8.798 5.78736C8.86186 5.83525 8.90975 5.947 8.95765 6.09866L10.2986 11.3828L11.5439 6.09866C11.5838 5.93902 11.6317 5.83525 11.6955 5.78736C11.7594 5.73946 11.8711 5.70754 12.0148 5.70754H12.6534C12.805 5.70754 12.9088 5.73148 12.9727 5.78736C13.0365 5.83525 13.0924 5.947 13.1243 6.09866L14.3855 11.4467L15.7664 6.09866C15.8143 5.93902 15.8702 5.83525 15.9261 5.78736C15.9899 5.73946 16.0937 5.70754 16.2374 5.70754H16.9797C17.1074 5.70754 17.1793 5.77139 17.1793 5.90709C17.1793 5.947 17.1713 5.98691 17.1633 6.0348C17.1553 6.0827 17.1394 6.14655 17.1074 6.23436L15.1837 12.4046C15.1358 12.5642 15.08 12.668 15.0161 12.7159C14.9522 12.7638 14.8485 12.7957 14.7128 12.7957H14.0263C13.8747 12.7957 13.7709 12.7717 13.707 12.7159C13.6432 12.66 13.5873 12.5562 13.5554 12.3966L12.3181 7.24809L11.0889 12.3886C11.049 12.5482 11.0011 12.652 10.9372 12.7079C10.8734 12.7638 10.7616 12.7877 10.6179 12.7877H9.93147ZM20.1885 13.0032C19.7735 13.0032 19.3584 12.9553 18.9593 12.8595C18.5602 12.7638 18.2489 12.66 18.0413 12.5403C17.9136 12.4684 17.8258 12.3886 17.7939 12.3168C17.762 12.2449 17.746 12.1651 17.746 12.0933V11.6862C17.746 11.5185 17.8099 11.4387 17.9296 11.4387C17.9775 11.4387 18.0254 11.4467 18.0733 11.4627C18.1212 11.4786 18.193 11.5106 18.2728 11.5425C18.5442 11.6622 18.8396 11.758 19.1509 11.8219C19.4701 11.8857 19.7814 11.9177 20.1007 11.9177C20.6036 11.9177 20.9947 11.8298 21.2661 11.6542C21.5375 11.4786 21.6812 11.2232 21.6812 10.8959C21.6812 10.6724 21.6094 10.4888 21.4657 10.3372C21.322 10.1855 21.0506 10.0498 20.6595 9.92211L19.5021 9.56292C18.9194 9.37933 18.4883 9.10793 18.2249 8.74874C17.9615 8.39752 17.8258 8.0064 17.8258 7.59132C17.8258 7.25607 17.8977 6.96073 18.0413 6.70531C18.185 6.44988 18.3766 6.22638 18.6161 6.05077C18.8555 5.86718 19.1269 5.73148 19.4462 5.6357C19.7655 5.53991 20.1007 5.5 20.4519 5.5C20.6276 5.5 20.8111 5.50798 20.9868 5.53193C21.1703 5.55588 21.338 5.5878 21.5056 5.61973C21.6652 5.65964 21.8169 5.69955 21.9606 5.74745C22.1043 5.79534 22.216 5.84323 22.2958 5.89113C22.4076 5.95498 22.4874 6.01884 22.5353 6.09068C22.5832 6.15454 22.6071 6.24234 22.6071 6.35409V6.72925C22.6071 6.89688 22.5433 6.98468 22.4235 6.98468C22.3597 6.98468 22.2559 6.95275 22.1202 6.8889C21.6652 6.68136 21.1544 6.57759 20.5876 6.57759C20.1327 6.57759 19.7735 6.64943 19.526 6.80109C19.2786 6.95275 19.1509 7.18423 19.1509 7.5115C19.1509 7.735 19.2307 7.92658 19.3903 8.07824C19.55 8.2299 19.8453 8.38156 20.2684 8.51726L21.4018 8.87645C21.9765 9.06004 22.3916 9.31547 22.6391 9.64274C22.8865 9.97001 23.0062 10.3452 23.0062 10.7602C23.0062 11.1035 22.9344 11.4148 22.7987 11.6862C22.655 11.9576 22.4634 12.197 22.216 12.3886C21.9686 12.5882 21.6732 12.7318 21.33 12.8356C20.9708 12.9474 20.5956 13.0032 20.1885 13.0032Z" fill="#252F3E"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.6981 16.8824C19.0719 18.8221 15.2565 19.8518 11.9758 19.8518C7.37807 19.8518 3.23533 18.1516 0.106324 15.3259C-0.141123 15.1024 0.0823772 14.7991 0.377717 14.9747C3.76215 16.9383 7.93682 18.1276 12.2552 18.1276C15.1687 18.1276 18.3695 17.521 21.3149 16.2758C21.7539 16.0762 22.1291 16.5631 21.6981 16.8824Z" fill="#FF9900"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.792 15.6372C22.4568 15.2062 20.573 15.4297 19.7189 15.5335C19.4635 15.5654 19.4236 15.3419 19.655 15.1743C21.1557 14.1206 23.6222 14.4239 23.9095 14.7752C24.1969 15.1344 23.8297 17.6008 22.4248 18.7822C22.2093 18.9658 22.0018 18.87 22.0976 18.6305C22.4169 17.8403 23.1273 16.0603 22.792 15.6372Z" fill="#FF9900"/>
|
|
5
5
|
</svg>
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"logo-dark.svg"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@logto/connector-kit": "1.0.0-rc.
|
|
14
|
+
"@logto/connector-kit": "1.0.0-rc.2",
|
|
15
15
|
"@silverhand/essentials": "2.1.0",
|
|
16
16
|
"got": "^12.5.3",
|
|
17
17
|
"snakecase-keys": "^5.1.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
55
|
"name": "@logto/connector-aws-ses",
|
|
56
|
-
"version": "1.0.0-beta.
|
|
56
|
+
"version": "1.0.0-beta.20",
|
|
57
57
|
"description": "Logto Connector for Amazon SES",
|
|
58
58
|
"author": "Jeff <admin@breadth.app>",
|
|
59
59
|
"scripts": {
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"accessKeyId": "<access-key-id>",
|
|
3
|
-
"accessKeySecret": "<access-key-secret>",
|
|
4
|
-
"region": "<region>",
|
|
5
|
-
"emailAddress": "<OPTIONAL-verified-email>",
|
|
6
|
-
"emailAddressIdentityArn": "<OPTIONAL-email-arn>",
|
|
7
|
-
"feedbackForwardingEmailAddress": "<OPTIONAL-feedback-email>",
|
|
8
|
-
"feedbackForwardingEmailAddressIdentityArn": "<OPTIONAL-feedback-email-arn>",
|
|
9
|
-
"configurationSetName": "<OPTIONAL-configuration-set>",
|
|
10
|
-
"templates": [
|
|
11
|
-
{
|
|
12
|
-
"usageType": "SignIn",
|
|
13
|
-
"subject": "<sign-in-template-subject>",
|
|
14
|
-
"content": "<sign-in-template-content>"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"usageType": "Register",
|
|
18
|
-
"subject": "<register-template-subject>",
|
|
19
|
-
"content": "<register-template-content>"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"usageType": "ForgotPassword",
|
|
23
|
-
"subject": "<forgot-password-template-subject>",
|
|
24
|
-
"content": "<forgot-password-template-content>"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"usageType": "Generic",
|
|
28
|
-
"subject": "<generic-template-subject>",
|
|
29
|
-
"content": "<generic-template-content>"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"usageType": "Test",
|
|
33
|
-
"subject": "<test-template-subject>",
|
|
34
|
-
"content": "<test-template-content>"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|