@logto/connector-aws-ses 1.0.0-beta.20 → 1.0.0-beta.22
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/index.js +6 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -72,4 +72,4 @@ That's it. Don't forget to [Enable connector in sign-in experience](https://docs
|
|
|
72
72
|
| ------------------- | ----------- | -----------------------------------------------------|
|
|
73
73
|
| subject | string | N/A |
|
|
74
74
|
| content | string | N/A |
|
|
75
|
-
| usageType | enum string | 'Register' \| 'SignIn' \| 'ForgotPassword' \| 'Generic'
|
|
75
|
+
| usageType | enum string | 'Register' \| 'SignIn' \| 'ForgotPassword' \| 'Generic' |
|
package/lib/index.js
CHANGED
|
@@ -11720,27 +11720,22 @@ const defaultMetadata = {
|
|
|
11720
11720
|
{
|
|
11721
11721
|
usageType: 'SignIn',
|
|
11722
11722
|
subject: '<sign-in-template-subject>',
|
|
11723
|
-
content: '
|
|
11723
|
+
content: 'Your Logto sign-in verification code is {{code}}. The code will remain active for 10 minutes.',
|
|
11724
11724
|
},
|
|
11725
11725
|
{
|
|
11726
11726
|
usageType: 'Register',
|
|
11727
11727
|
subject: '<register-template-subject>',
|
|
11728
|
-
content: '
|
|
11728
|
+
content: 'Your Logto sign-up verification code is {{code}}. The code will remain active for 10 minutes.',
|
|
11729
11729
|
},
|
|
11730
11730
|
{
|
|
11731
11731
|
usageType: 'ForgotPassword',
|
|
11732
11732
|
subject: '<forgot-password-template-subject>',
|
|
11733
|
-
content: '
|
|
11733
|
+
content: 'Your Logto password change verification code is {{code}}. The code will remain active for 10 minutes.',
|
|
11734
11734
|
},
|
|
11735
11735
|
{
|
|
11736
11736
|
usageType: 'Generic',
|
|
11737
11737
|
subject: '<generic-template-subject>',
|
|
11738
|
-
content: '
|
|
11739
|
-
},
|
|
11740
|
-
{
|
|
11741
|
-
usageType: 'Test',
|
|
11742
|
-
subject: '<test-template-subject>',
|
|
11743
|
-
content: '<test-template-content>',
|
|
11738
|
+
content: 'Your Logto verification code is {{code}}. The code will remain active for 10 minutes.',
|
|
11744
11739
|
},
|
|
11745
11740
|
],
|
|
11746
11741
|
},
|
|
@@ -11749,9 +11744,9 @@ const defaultMetadata = {
|
|
|
11749
11744
|
|
|
11750
11745
|
/**
|
|
11751
11746
|
* UsageType here is used to specify the use case of the template, can be either
|
|
11752
|
-
* 'Register', 'SignIn', 'ForgotPassword', 'Generic'
|
|
11747
|
+
* 'Register', 'SignIn', 'ForgotPassword', 'Generic'.
|
|
11753
11748
|
*/
|
|
11754
|
-
const requiredTemplateUsageTypes = ['Register', 'SignIn', 'ForgotPassword'];
|
|
11749
|
+
const requiredTemplateUsageTypes = ['Register', 'SignIn', 'ForgotPassword', 'Generic'];
|
|
11755
11750
|
const templateGuard = z.object({
|
|
11756
11751
|
usageType: z.string(),
|
|
11757
11752
|
subject: z.string(),
|
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.3",
|
|
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.22",
|
|
57
57
|
"description": "Logto Connector for Amazon SES",
|
|
58
58
|
"author": "Jeff <admin@breadth.app>",
|
|
59
59
|
"scripts": {
|