@strapi/email 5.50.1 → 5.50.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/dist/admin/index.js +1 -1
- package/dist/admin/translations/ko.json.js +29 -2
- package/dist/admin/translations/ko.json.js.map +1 -1
- package/dist/admin/translations/ko.json.mjs +26 -2
- package/dist/admin/translations/ko.json.mjs.map +1 -1
- package/dist/server/bootstrap.js +3 -3
- package/dist/server/bootstrap.js.map +1 -1
- package/dist/server/bootstrap.mjs +3 -3
- package/dist/server/bootstrap.mjs.map +1 -1
- package/dist/server/src/index.d.ts +3 -3
- package/dist/server/src/middlewares/index.d.ts +1 -1
- package/dist/server/src/routes/index.d.ts +1 -1
- package/package.json +14 -8
package/dist/admin/index.js
CHANGED
|
@@ -17,7 +17,7 @@ function __variableDynamicImportRuntime1__(path) {
|
|
|
17
17
|
case './translations/id.json': return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./translations/id.json.js')); });
|
|
18
18
|
case './translations/it.json': return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./translations/it.json.js')); });
|
|
19
19
|
case './translations/ja.json': return Promise.resolve().then(function () { return require('./translations/ja.json.js'); });
|
|
20
|
-
case './translations/ko.json': return Promise.resolve().then(function () { return
|
|
20
|
+
case './translations/ko.json': return Promise.resolve().then(function () { return require('./translations/ko.json.js'); });
|
|
21
21
|
case './translations/ms.json': return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./translations/ms.json.js')); });
|
|
22
22
|
case './translations/nl.json': return Promise.resolve().then(function () { return require('./translations/nl.json.js'); });
|
|
23
23
|
case './translations/pl.json': return Promise.resolve().then(function () { return require('./translations/pl.json.js'); });
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var link = "링크";
|
|
3
6
|
var ko = {
|
|
4
7
|
"Settings.email.plugin.button.test-email": "테스트 발송",
|
|
5
8
|
"Settings.email.plugin.label.defaultFrom": "기본 발송자 이메일",
|
|
@@ -20,8 +23,32 @@ var ko = {
|
|
|
20
23
|
"Settings.email.plugin.title.test": "테스트 이메일 발송",
|
|
21
24
|
"SettingsNav.link.settings": "설정",
|
|
22
25
|
"SettingsNav.section-label": "이메일 플러그인",
|
|
23
|
-
"components.Input.error.validation.email": "유효하지 않은 이메일입니다."
|
|
26
|
+
"components.Input.error.validation.email": "유효하지 않은 이메일입니다.",
|
|
27
|
+
link: link,
|
|
28
|
+
"Settings.email.plugin.button.verify": "연결 테스트",
|
|
29
|
+
"Settings.email.plugin.label.replyToName": "기본 회신 이름",
|
|
30
|
+
"Settings.email.plugin.label.senderName": "기본 발송자 이름",
|
|
31
|
+
"Settings.email.plugin.label.verifyConnection": "연결 상태",
|
|
32
|
+
"Settings.email.plugin.notification.verify.error": "연결 확인에 실패했습니다.",
|
|
33
|
+
"Settings.email.plugin.notification.verify.success": "연결이 확인되었습니다.",
|
|
34
|
+
"Settings.email.plugin.status.connected": "연결됨",
|
|
35
|
+
"Settings.email.plugin.status.error": "오류",
|
|
36
|
+
"Settings.capabilities.title": "서비스 제공자 기능",
|
|
37
|
+
"Settings.capabilities.subtitle": "현재 SMTP 설정 및 활성화된 기능",
|
|
38
|
+
"Settings.capabilities.label.smtpServer": "SMTP 서버",
|
|
39
|
+
"Settings.capabilities.label.encryption": "암호화",
|
|
40
|
+
"Settings.capabilities.label.authType": "인증",
|
|
41
|
+
"Settings.capabilities.label.poolStatus": "풀 상태",
|
|
42
|
+
"Settings.capabilities.label.features": "활성화된 기능",
|
|
43
|
+
"Settings.capabilities.poolStatus.idle": "대기 중",
|
|
44
|
+
"Settings.capabilities.poolStatus.active": "활성",
|
|
45
|
+
"Settings.capabilities.feature.dkim": "DKIM",
|
|
46
|
+
"Settings.capabilities.feature.pool": "연결 풀",
|
|
47
|
+
"Settings.capabilities.feature.rateLimiting": "속도 제한",
|
|
48
|
+
"Settings.capabilities.feature.oauth2": "OAuth2",
|
|
49
|
+
"Settings.capabilities.feature.requireTLS": "TLS 필수"
|
|
24
50
|
};
|
|
25
51
|
|
|
26
|
-
|
|
52
|
+
exports.default = ko;
|
|
53
|
+
exports.link = link;
|
|
27
54
|
//# sourceMappingURL=ko.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ko.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ko.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
var link = "링크";
|
|
1
2
|
var ko = {
|
|
2
3
|
"Settings.email.plugin.button.test-email": "테스트 발송",
|
|
3
4
|
"Settings.email.plugin.label.defaultFrom": "기본 발송자 이메일",
|
|
@@ -18,8 +19,31 @@ var ko = {
|
|
|
18
19
|
"Settings.email.plugin.title.test": "테스트 이메일 발송",
|
|
19
20
|
"SettingsNav.link.settings": "설정",
|
|
20
21
|
"SettingsNav.section-label": "이메일 플러그인",
|
|
21
|
-
"components.Input.error.validation.email": "유효하지 않은 이메일입니다."
|
|
22
|
+
"components.Input.error.validation.email": "유효하지 않은 이메일입니다.",
|
|
23
|
+
link: link,
|
|
24
|
+
"Settings.email.plugin.button.verify": "연결 테스트",
|
|
25
|
+
"Settings.email.plugin.label.replyToName": "기본 회신 이름",
|
|
26
|
+
"Settings.email.plugin.label.senderName": "기본 발송자 이름",
|
|
27
|
+
"Settings.email.plugin.label.verifyConnection": "연결 상태",
|
|
28
|
+
"Settings.email.plugin.notification.verify.error": "연결 확인에 실패했습니다.",
|
|
29
|
+
"Settings.email.plugin.notification.verify.success": "연결이 확인되었습니다.",
|
|
30
|
+
"Settings.email.plugin.status.connected": "연결됨",
|
|
31
|
+
"Settings.email.plugin.status.error": "오류",
|
|
32
|
+
"Settings.capabilities.title": "서비스 제공자 기능",
|
|
33
|
+
"Settings.capabilities.subtitle": "현재 SMTP 설정 및 활성화된 기능",
|
|
34
|
+
"Settings.capabilities.label.smtpServer": "SMTP 서버",
|
|
35
|
+
"Settings.capabilities.label.encryption": "암호화",
|
|
36
|
+
"Settings.capabilities.label.authType": "인증",
|
|
37
|
+
"Settings.capabilities.label.poolStatus": "풀 상태",
|
|
38
|
+
"Settings.capabilities.label.features": "활성화된 기능",
|
|
39
|
+
"Settings.capabilities.poolStatus.idle": "대기 중",
|
|
40
|
+
"Settings.capabilities.poolStatus.active": "활성",
|
|
41
|
+
"Settings.capabilities.feature.dkim": "DKIM",
|
|
42
|
+
"Settings.capabilities.feature.pool": "연결 풀",
|
|
43
|
+
"Settings.capabilities.feature.rateLimiting": "속도 제한",
|
|
44
|
+
"Settings.capabilities.feature.oauth2": "OAuth2",
|
|
45
|
+
"Settings.capabilities.feature.requireTLS": "TLS 필수"
|
|
22
46
|
};
|
|
23
47
|
|
|
24
|
-
export { ko as default };
|
|
48
|
+
export { ko as default, link };
|
|
25
49
|
//# sourceMappingURL=ko.json.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ko.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ko.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/server/bootstrap.js
CHANGED
|
@@ -27,9 +27,9 @@ const createProvider = (emailConfig)=>{
|
|
|
27
27
|
const bootstrap = async ({ strapi })=>{
|
|
28
28
|
const emailConfig = strapi.config.get('plugin::email');
|
|
29
29
|
const providerName = emailConfig.provider.toLowerCase();
|
|
30
|
-
const
|
|
31
|
-
if (providerName === 'sendmail' &&
|
|
32
|
-
strapi.log.warn('[email]: The "sendmail" email provider is still supported, but for most production setups that use a dedicated SMTP relay, consider switching to @strapi/provider-email-nodemailer (set `provider` to `"nodemailer"` in your email plugin config). This message is only shown in
|
|
30
|
+
const isDevelopment = process.env.NODE_ENV === 'development';
|
|
31
|
+
if (providerName === 'sendmail' && isDevelopment) {
|
|
32
|
+
strapi.log.warn('[email]: The "sendmail" email provider is still supported, but for most production setups that use a dedicated SMTP relay, consider switching to @strapi/provider-email-nodemailer (set `provider` to `"nodemailer"` in your email plugin config). This message is only shown in development.');
|
|
33
33
|
}
|
|
34
34
|
strapi.plugin('email').provider = createProvider(emailConfig);
|
|
35
35
|
// Add permissions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.js","sources":["../../server/src/bootstrap.ts"],"sourcesContent":["import type { Core } from '@strapi/types';\nimport type { ProviderCapabilities } from '../../shared/types';\nimport type { EmailConfig, SendOptions } from './types';\n\ninterface EmailProvider {\n send: (options: SendOptions) => Promise<any>;\n verify?: () => Promise<boolean>;\n isIdle?: () => boolean;\n close?: () => void;\n getCapabilities?: () => ProviderCapabilities;\n}\n\ninterface EmailProviderModule {\n init: (\n options: EmailConfig['providerOptions'],\n settings: EmailConfig['settings']\n ) => EmailProvider;\n name?: string;\n provider?: string;\n}\n\nconst createProvider = (emailConfig: EmailConfig) => {\n const providerName = emailConfig.provider.toLowerCase();\n let provider: EmailProviderModule;\n\n let modulePath: string;\n try {\n modulePath = require.resolve(`@strapi/provider-email-${providerName}`);\n } catch (error) {\n if (\n error !== null &&\n typeof error === 'object' &&\n 'code' in error &&\n error.code === 'MODULE_NOT_FOUND'\n ) {\n modulePath = providerName;\n } else {\n throw error;\n }\n }\n\n try {\n provider = require(modulePath);\n } catch (err) {\n const newError = new Error(`Could not load email provider \"${providerName}\".`);\n if (err instanceof Error) {\n newError.stack = err.stack;\n }\n throw newError;\n }\n\n return provider.init(emailConfig.providerOptions, emailConfig.settings);\n};\n\nexport const bootstrap = async ({ strapi }: { strapi: Core.Strapi }) => {\n const emailConfig: EmailConfig = strapi.config.get('plugin::email');\n\n const providerName = emailConfig.provider.toLowerCase();\n const
|
|
1
|
+
{"version":3,"file":"bootstrap.js","sources":["../../server/src/bootstrap.ts"],"sourcesContent":["import type { Core } from '@strapi/types';\nimport type { ProviderCapabilities } from '../../shared/types';\nimport type { EmailConfig, SendOptions } from './types';\n\ninterface EmailProvider {\n send: (options: SendOptions) => Promise<any>;\n verify?: () => Promise<boolean>;\n isIdle?: () => boolean;\n close?: () => void;\n getCapabilities?: () => ProviderCapabilities;\n}\n\ninterface EmailProviderModule {\n init: (\n options: EmailConfig['providerOptions'],\n settings: EmailConfig['settings']\n ) => EmailProvider;\n name?: string;\n provider?: string;\n}\n\nconst createProvider = (emailConfig: EmailConfig) => {\n const providerName = emailConfig.provider.toLowerCase();\n let provider: EmailProviderModule;\n\n let modulePath: string;\n try {\n modulePath = require.resolve(`@strapi/provider-email-${providerName}`);\n } catch (error) {\n if (\n error !== null &&\n typeof error === 'object' &&\n 'code' in error &&\n error.code === 'MODULE_NOT_FOUND'\n ) {\n modulePath = providerName;\n } else {\n throw error;\n }\n }\n\n try {\n provider = require(modulePath);\n } catch (err) {\n const newError = new Error(`Could not load email provider \"${providerName}\".`);\n if (err instanceof Error) {\n newError.stack = err.stack;\n }\n throw newError;\n }\n\n return provider.init(emailConfig.providerOptions, emailConfig.settings);\n};\n\nexport const bootstrap = async ({ strapi }: { strapi: Core.Strapi }) => {\n const emailConfig: EmailConfig = strapi.config.get('plugin::email');\n\n const providerName = emailConfig.provider.toLowerCase();\n const isDevelopment = process.env.NODE_ENV === 'development';\n if (providerName === 'sendmail' && isDevelopment) {\n strapi.log.warn(\n '[email]: The \"sendmail\" email provider is still supported, but for most production setups that use a dedicated SMTP relay, consider switching to @strapi/provider-email-nodemailer (set `provider` to `\"nodemailer\"` in your email plugin config). This message is only shown in development.'\n );\n }\n\n strapi.plugin('email').provider = createProvider(emailConfig);\n\n // Add permissions\n const actions = [\n {\n section: 'settings',\n category: 'email',\n displayName: 'Access the Email Settings page',\n uid: 'settings.read',\n pluginName: 'email',\n },\n ];\n\n await strapi.service('admin::permission').actionProvider.registerMany(actions);\n};\n"],"names":["createProvider","emailConfig","providerName","provider","toLowerCase","modulePath","require","resolve","error","code","err","newError","Error","stack","init","providerOptions","settings","bootstrap","strapi","config","get","isDevelopment","process","env","NODE_ENV","log","warn","plugin","actions","section","category","displayName","uid","pluginName","service","actionProvider","registerMany"],"mappings":";;AAqBA,MAAMA,iBAAiB,CAACC,WAAAA,GAAAA;AACtB,IAAA,MAAMC,YAAAA,GAAeD,WAAAA,CAAYE,QAAQ,CAACC,WAAW,EAAA;IACrD,IAAID,QAAAA;IAEJ,IAAIE,UAAAA;IACJ,IAAI;AACFA,QAAAA,UAAAA,GAAaC,QAAQC,OAAO,CAAC,CAAC,uBAAuB,EAAEL,YAAAA,CAAAA,CAAc,CAAA;AACvE,IAAA,CAAA,CAAE,OAAOM,KAAAA,EAAO;QACd,IACEA,KAAAA,KAAU,IAAA,IACV,OAAOA,KAAAA,KAAU,QAAA,IACjB,UAAUA,KAAAA,IACVA,KAAAA,CAAMC,IAAI,KAAK,kBAAA,EACf;YACAJ,UAAAA,GAAaH,YAAAA;QACf,CAAA,MAAO;YACL,MAAMM,KAAAA;AACR,QAAA;AACF,IAAA;IAEA,IAAI;AACFL,QAAAA,QAAAA,GAAWG,OAAAA,CAAQD,UAAAA,CAAAA;AACrB,IAAA,CAAA,CAAE,OAAOK,GAAAA,EAAK;QACZ,MAAMC,QAAAA,GAAW,IAAIC,KAAAA,CAAM,CAAC,+BAA+B,EAAEV,YAAAA,CAAa,EAAE,CAAC,CAAA;AAC7E,QAAA,IAAIQ,eAAeE,KAAAA,EAAO;YACxBD,QAAAA,CAASE,KAAK,GAAGH,GAAAA,CAAIG,KAAK;AAC5B,QAAA;QACA,MAAMF,QAAAA;AACR,IAAA;AAEA,IAAA,OAAOR,SAASW,IAAI,CAACb,YAAYc,eAAe,EAAEd,YAAYe,QAAQ,CAAA;AACxE,CAAA;AAEO,MAAMC,SAAAA,GAAY,OAAO,EAAEC,MAAM,EAA2B,GAAA;AACjE,IAAA,MAAMjB,WAAAA,GAA2BiB,MAAAA,CAAOC,MAAM,CAACC,GAAG,CAAC,eAAA,CAAA;AAEnD,IAAA,MAAMlB,YAAAA,GAAeD,WAAAA,CAAYE,QAAQ,CAACC,WAAW,EAAA;AACrD,IAAA,MAAMiB,aAAAA,GAAgBC,OAAAA,CAAQC,GAAG,CAACC,QAAQ,KAAK,aAAA;IAC/C,IAAItB,YAAAA,KAAiB,cAAcmB,aAAAA,EAAe;QAChDH,MAAAA,CAAOO,GAAG,CAACC,IAAI,CACb,+RAAA,CAAA;AAEJ,IAAA;AAEAR,IAAAA,MAAAA,CAAOS,MAAM,CAAC,OAAA,CAAA,CAASxB,QAAQ,GAAGH,cAAAA,CAAeC,WAAAA,CAAAA;;AAGjD,IAAA,MAAM2B,OAAAA,GAAU;AACd,QAAA;YACEC,OAAAA,EAAS,UAAA;YACTC,QAAAA,EAAU,OAAA;YACVC,WAAAA,EAAa,gCAAA;YACbC,GAAAA,EAAK,eAAA;YACLC,UAAAA,EAAY;AACd;AACD,KAAA;AAED,IAAA,MAAMf,OAAOgB,OAAO,CAAC,qBAAqBC,cAAc,CAACC,YAAY,CAACR,OAAAA,CAAAA;AACxE;;;;"}
|
|
@@ -25,9 +25,9 @@ const createProvider = (emailConfig)=>{
|
|
|
25
25
|
const bootstrap = async ({ strapi })=>{
|
|
26
26
|
const emailConfig = strapi.config.get('plugin::email');
|
|
27
27
|
const providerName = emailConfig.provider.toLowerCase();
|
|
28
|
-
const
|
|
29
|
-
if (providerName === 'sendmail' &&
|
|
30
|
-
strapi.log.warn('[email]: The "sendmail" email provider is still supported, but for most production setups that use a dedicated SMTP relay, consider switching to @strapi/provider-email-nodemailer (set `provider` to `"nodemailer"` in your email plugin config). This message is only shown in
|
|
28
|
+
const isDevelopment = process.env.NODE_ENV === 'development';
|
|
29
|
+
if (providerName === 'sendmail' && isDevelopment) {
|
|
30
|
+
strapi.log.warn('[email]: The "sendmail" email provider is still supported, but for most production setups that use a dedicated SMTP relay, consider switching to @strapi/provider-email-nodemailer (set `provider` to `"nodemailer"` in your email plugin config). This message is only shown in development.');
|
|
31
31
|
}
|
|
32
32
|
strapi.plugin('email').provider = createProvider(emailConfig);
|
|
33
33
|
// Add permissions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.mjs","sources":["../../server/src/bootstrap.ts"],"sourcesContent":["import type { Core } from '@strapi/types';\nimport type { ProviderCapabilities } from '../../shared/types';\nimport type { EmailConfig, SendOptions } from './types';\n\ninterface EmailProvider {\n send: (options: SendOptions) => Promise<any>;\n verify?: () => Promise<boolean>;\n isIdle?: () => boolean;\n close?: () => void;\n getCapabilities?: () => ProviderCapabilities;\n}\n\ninterface EmailProviderModule {\n init: (\n options: EmailConfig['providerOptions'],\n settings: EmailConfig['settings']\n ) => EmailProvider;\n name?: string;\n provider?: string;\n}\n\nconst createProvider = (emailConfig: EmailConfig) => {\n const providerName = emailConfig.provider.toLowerCase();\n let provider: EmailProviderModule;\n\n let modulePath: string;\n try {\n modulePath = require.resolve(`@strapi/provider-email-${providerName}`);\n } catch (error) {\n if (\n error !== null &&\n typeof error === 'object' &&\n 'code' in error &&\n error.code === 'MODULE_NOT_FOUND'\n ) {\n modulePath = providerName;\n } else {\n throw error;\n }\n }\n\n try {\n provider = require(modulePath);\n } catch (err) {\n const newError = new Error(`Could not load email provider \"${providerName}\".`);\n if (err instanceof Error) {\n newError.stack = err.stack;\n }\n throw newError;\n }\n\n return provider.init(emailConfig.providerOptions, emailConfig.settings);\n};\n\nexport const bootstrap = async ({ strapi }: { strapi: Core.Strapi }) => {\n const emailConfig: EmailConfig = strapi.config.get('plugin::email');\n\n const providerName = emailConfig.provider.toLowerCase();\n const
|
|
1
|
+
{"version":3,"file":"bootstrap.mjs","sources":["../../server/src/bootstrap.ts"],"sourcesContent":["import type { Core } from '@strapi/types';\nimport type { ProviderCapabilities } from '../../shared/types';\nimport type { EmailConfig, SendOptions } from './types';\n\ninterface EmailProvider {\n send: (options: SendOptions) => Promise<any>;\n verify?: () => Promise<boolean>;\n isIdle?: () => boolean;\n close?: () => void;\n getCapabilities?: () => ProviderCapabilities;\n}\n\ninterface EmailProviderModule {\n init: (\n options: EmailConfig['providerOptions'],\n settings: EmailConfig['settings']\n ) => EmailProvider;\n name?: string;\n provider?: string;\n}\n\nconst createProvider = (emailConfig: EmailConfig) => {\n const providerName = emailConfig.provider.toLowerCase();\n let provider: EmailProviderModule;\n\n let modulePath: string;\n try {\n modulePath = require.resolve(`@strapi/provider-email-${providerName}`);\n } catch (error) {\n if (\n error !== null &&\n typeof error === 'object' &&\n 'code' in error &&\n error.code === 'MODULE_NOT_FOUND'\n ) {\n modulePath = providerName;\n } else {\n throw error;\n }\n }\n\n try {\n provider = require(modulePath);\n } catch (err) {\n const newError = new Error(`Could not load email provider \"${providerName}\".`);\n if (err instanceof Error) {\n newError.stack = err.stack;\n }\n throw newError;\n }\n\n return provider.init(emailConfig.providerOptions, emailConfig.settings);\n};\n\nexport const bootstrap = async ({ strapi }: { strapi: Core.Strapi }) => {\n const emailConfig: EmailConfig = strapi.config.get('plugin::email');\n\n const providerName = emailConfig.provider.toLowerCase();\n const isDevelopment = process.env.NODE_ENV === 'development';\n if (providerName === 'sendmail' && isDevelopment) {\n strapi.log.warn(\n '[email]: The \"sendmail\" email provider is still supported, but for most production setups that use a dedicated SMTP relay, consider switching to @strapi/provider-email-nodemailer (set `provider` to `\"nodemailer\"` in your email plugin config). This message is only shown in development.'\n );\n }\n\n strapi.plugin('email').provider = createProvider(emailConfig);\n\n // Add permissions\n const actions = [\n {\n section: 'settings',\n category: 'email',\n displayName: 'Access the Email Settings page',\n uid: 'settings.read',\n pluginName: 'email',\n },\n ];\n\n await strapi.service('admin::permission').actionProvider.registerMany(actions);\n};\n"],"names":["createProvider","emailConfig","providerName","provider","toLowerCase","modulePath","require","resolve","error","code","err","newError","Error","stack","init","providerOptions","settings","bootstrap","strapi","config","get","isDevelopment","process","env","NODE_ENV","log","warn","plugin","actions","section","category","displayName","uid","pluginName","service","actionProvider","registerMany"],"mappings":"AAqBA,MAAMA,iBAAiB,CAACC,WAAAA,GAAAA;AACtB,IAAA,MAAMC,YAAAA,GAAeD,WAAAA,CAAYE,QAAQ,CAACC,WAAW,EAAA;IACrD,IAAID,QAAAA;IAEJ,IAAIE,UAAAA;IACJ,IAAI;AACFA,QAAAA,UAAAA,GAAaC,QAAQC,OAAO,CAAC,CAAC,uBAAuB,EAAEL,YAAAA,CAAAA,CAAc,CAAA;AACvE,IAAA,CAAA,CAAE,OAAOM,KAAAA,EAAO;QACd,IACEA,KAAAA,KAAU,IAAA,IACV,OAAOA,KAAAA,KAAU,QAAA,IACjB,UAAUA,KAAAA,IACVA,KAAAA,CAAMC,IAAI,KAAK,kBAAA,EACf;YACAJ,UAAAA,GAAaH,YAAAA;QACf,CAAA,MAAO;YACL,MAAMM,KAAAA;AACR,QAAA;AACF,IAAA;IAEA,IAAI;AACFL,QAAAA,QAAAA,GAAWG,OAAAA,CAAQD,UAAAA,CAAAA;AACrB,IAAA,CAAA,CAAE,OAAOK,GAAAA,EAAK;QACZ,MAAMC,QAAAA,GAAW,IAAIC,KAAAA,CAAM,CAAC,+BAA+B,EAAEV,YAAAA,CAAa,EAAE,CAAC,CAAA;AAC7E,QAAA,IAAIQ,eAAeE,KAAAA,EAAO;YACxBD,QAAAA,CAASE,KAAK,GAAGH,GAAAA,CAAIG,KAAK;AAC5B,QAAA;QACA,MAAMF,QAAAA;AACR,IAAA;AAEA,IAAA,OAAOR,SAASW,IAAI,CAACb,YAAYc,eAAe,EAAEd,YAAYe,QAAQ,CAAA;AACxE,CAAA;AAEO,MAAMC,SAAAA,GAAY,OAAO,EAAEC,MAAM,EAA2B,GAAA;AACjE,IAAA,MAAMjB,WAAAA,GAA2BiB,MAAAA,CAAOC,MAAM,CAACC,GAAG,CAAC,eAAA,CAAA;AAEnD,IAAA,MAAMlB,YAAAA,GAAeD,WAAAA,CAAYE,QAAQ,CAACC,WAAW,EAAA;AACrD,IAAA,MAAMiB,aAAAA,GAAgBC,OAAAA,CAAQC,GAAG,CAACC,QAAQ,KAAK,aAAA;IAC/C,IAAItB,YAAAA,KAAiB,cAAcmB,aAAAA,EAAe;QAChDH,MAAAA,CAAOO,GAAG,CAACC,IAAI,CACb,+RAAA,CAAA;AAEJ,IAAA;AAEAR,IAAAA,MAAAA,CAAOS,MAAM,CAAC,OAAA,CAAA,CAASxB,QAAQ,GAAGH,cAAAA,CAAeC,WAAAA,CAAAA;;AAGjD,IAAA,MAAM2B,OAAAA,GAAU;AACd,QAAA;YACEC,OAAAA,EAAS,UAAA;YACTC,QAAAA,EAAU,OAAA;YACVC,WAAAA,EAAa,gCAAA;YACbC,GAAAA,EAAK,eAAA;YACLC,UAAAA,EAAY;AACd;AACD,KAAA;AAED,IAAA,MAAMf,OAAOgB,OAAO,CAAC,qBAAqBC,cAAc,CAACC,YAAY,CAACR,OAAAA,CAAAA;AACxE;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
bootstrap: ({ strapi }: {
|
|
3
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
3
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
4
4
|
}) => Promise<void>;
|
|
5
5
|
services: {
|
|
6
6
|
email: () => {
|
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
};
|
|
29
29
|
'content-api': () => {
|
|
30
30
|
type: "content-api";
|
|
31
|
-
routes: import("@strapi/types/dist/core").RouteInput[];
|
|
31
|
+
routes: import("@strapi/types/dist/core/route.js").RouteInput[];
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
controllers: {
|
|
@@ -42,7 +42,7 @@ declare const _default: {
|
|
|
42
42
|
config: import("./types").StrapiConfig;
|
|
43
43
|
middlewares: {
|
|
44
44
|
rateLimit: (config: any, { strapi }: {
|
|
45
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
45
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
46
46
|
}) => (ctx: import("koa").Context, next: import("koa").Next) => Promise<any>;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as rateLimit } from './rateLimit';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
rateLimit: (config: any, { strapi }: {
|
|
4
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
4
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
5
5
|
}) => (ctx: import("koa").Context, next: import("koa").Next) => Promise<any>;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -17,7 +17,7 @@ export declare const routes: {
|
|
|
17
17
|
};
|
|
18
18
|
'content-api': () => {
|
|
19
19
|
type: "content-api";
|
|
20
|
-
routes: import("@strapi/types/dist/core").RouteInput[];
|
|
20
|
+
routes: import("@strapi/types/dist/core/route.js").RouteInput[];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/email",
|
|
3
|
-
"version": "5.50.
|
|
3
|
+
"version": "5.50.2",
|
|
4
4
|
"description": "Easily configure your Strapi application to send emails.",
|
|
5
5
|
"homepage": "https://strapi.io",
|
|
6
6
|
"bugs": {
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
"build:types:server": "run -T tsc -p server/tsconfig.build.json --emitDeclarationOnly",
|
|
53
53
|
"build:types:admin": "run -T tsc -p admin/tsconfig.build.json --emitDeclarationOnly",
|
|
54
54
|
"clean": "run -T rimraf ./dist",
|
|
55
|
-
"lint": "run -T eslint .",
|
|
55
|
+
"lint": "run -T eslint . --max-warnings=0",
|
|
56
|
+
"test:unit": "run -T jest",
|
|
56
57
|
"test:front": "run -T cross-env IS_EE=true jest --config ./jest.config.front.js",
|
|
57
58
|
"test:front:ce": "run -T cross-env IS_EE=false jest --config ./jest.config.front.js",
|
|
58
59
|
"test:front:watch": "run -T cross-env IS_EE=true jest --config ./jest.config.front.js --watchAll",
|
|
@@ -61,10 +62,10 @@
|
|
|
61
62
|
"watch": "run -T rollup -c -w"
|
|
62
63
|
},
|
|
63
64
|
"dependencies": {
|
|
64
|
-
"@strapi/design-system": "2.2.
|
|
65
|
-
"@strapi/icons": "2.2.
|
|
66
|
-
"@strapi/provider-email-sendmail": "5.50.
|
|
67
|
-
"@strapi/utils": "5.50.
|
|
65
|
+
"@strapi/design-system": "2.2.3",
|
|
66
|
+
"@strapi/icons": "2.2.3",
|
|
67
|
+
"@strapi/provider-email-sendmail": "5.50.2",
|
|
68
|
+
"@strapi/utils": "5.50.2",
|
|
68
69
|
"koa2-ratelimit": "^1.1.3",
|
|
69
70
|
"lodash": "4.18.1",
|
|
70
71
|
"react-intl": "6.6.2",
|
|
@@ -73,11 +74,16 @@
|
|
|
73
74
|
"zod": "3.25.67"
|
|
74
75
|
},
|
|
75
76
|
"devDependencies": {
|
|
76
|
-
"@strapi/admin": "5.50.
|
|
77
|
-
"@strapi/types": "5.50.
|
|
77
|
+
"@strapi/admin": "5.50.2",
|
|
78
|
+
"@strapi/types": "5.50.2",
|
|
79
|
+
"@testing-library/dom": "10.4.1",
|
|
80
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
78
81
|
"@testing-library/react": "16.3.2",
|
|
82
|
+
"@types/jest": "29.5.2",
|
|
79
83
|
"@types/koa": "2.15.2",
|
|
80
84
|
"@types/lodash": "^4.14.191",
|
|
85
|
+
"@types/node": "20.19.41",
|
|
86
|
+
"jest": "29.6.0",
|
|
81
87
|
"koa": "2.16.4",
|
|
82
88
|
"koa-body": "6.0.1",
|
|
83
89
|
"react": "18.3.1",
|