@travetto/email 5.0.10 → 5.0.12
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/package.json +4 -4
- package/src/resource.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/email",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.12",
|
|
4
4
|
"description": "Email transmission module.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"directory": "module/email"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@travetto/config": "^5.0.
|
|
27
|
-
"@travetto/di": "^5.0.
|
|
28
|
-
"@travetto/runtime": "^5.0.
|
|
26
|
+
"@travetto/config": "^5.0.12",
|
|
27
|
+
"@travetto/di": "^5.0.12",
|
|
28
|
+
"@travetto/runtime": "^5.0.12",
|
|
29
29
|
"@types/mustache": "^4.2.5",
|
|
30
30
|
"mustache": "^4.2.0"
|
|
31
31
|
},
|
package/src/resource.ts
CHANGED
|
@@ -5,7 +5,7 @@ export class EmailResourceLoader extends FileLoader {
|
|
|
5
5
|
constructor(module: string, globalResources?: string[]) {
|
|
6
6
|
const mod = RuntimeIndex.getModule(module);
|
|
7
7
|
if (!mod) {
|
|
8
|
-
throw new AppError(`Unknown module - ${module}`, 'notfound', { module });
|
|
8
|
+
throw new AppError(`Unknown module - ${module}`, { category: 'notfound', details: { module } });
|
|
9
9
|
}
|
|
10
10
|
super([
|
|
11
11
|
...Env.TRV_RESOURCES.list ?? [],
|