@runnerpro/backend 1.0.24 → 1.0.25
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.
|
@@ -244,6 +244,7 @@ const markReadMessage = ({ isClient, query, idCliente }) => __awaiter(void 0, vo
|
|
|
244
244
|
const resizeImage = (data, filePath, mimetype) => __awaiter(void 0, void 0, void 0, function* () {
|
|
245
245
|
if (mimetype.includes('webp'))
|
|
246
246
|
return data;
|
|
247
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
247
248
|
const sizeOf = (0, util_1.promisify)(require('image-size'));
|
|
248
249
|
const dimensions = yield sizeOf(filePath);
|
|
249
250
|
const imageWidth = dimensions.width;
|
|
@@ -59,12 +59,12 @@ function getBodyHTML(title, body, link) {
|
|
|
59
59
|
.button {
|
|
60
60
|
display: inline-block;
|
|
61
61
|
padding: 12px 26px;
|
|
62
|
-
font-size:
|
|
62
|
+
font-size: 17px;
|
|
63
63
|
text-align: center;
|
|
64
64
|
text-decoration: none;
|
|
65
65
|
background-color: #ea5b1b;
|
|
66
66
|
color: #ffffff !important;
|
|
67
|
-
margin:
|
|
67
|
+
margin: 40px 0 20px 0;
|
|
68
68
|
font-family: 'Sofia Sans', 'Roboto', sans-serif;
|
|
69
69
|
font-weight: bold;
|
|
70
70
|
border-radius: 4px;
|
|
@@ -72,22 +72,22 @@ function getBodyHTML(title, body, link) {
|
|
|
72
72
|
}
|
|
73
73
|
</style>
|
|
74
74
|
</head>
|
|
75
|
-
<body style="background: #f0f0f0;">
|
|
76
|
-
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#f0f0f0
|
|
75
|
+
<body style="background: #f0f0f0; padding: 0 0 40px 0">
|
|
76
|
+
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#f0f0f0">
|
|
77
77
|
<tr>
|
|
78
78
|
<td align="center" style="padding:0;">
|
|
79
79
|
<table role="presentation" style="width:100%;border-collapse:collapse;border-spacing:0;text-align:left;">
|
|
80
80
|
<tr>
|
|
81
|
-
<td align="center" style="padding:0;background:#ea5b1b;">
|
|
82
|
-
<img src="cid:logo" alt="" width="
|
|
81
|
+
<td align="center" style="padding:5px 0 0 0;background:#ea5b1b;">
|
|
82
|
+
<img src="cid:logo" alt="" width="220" style="height:auto;display:block;">
|
|
83
83
|
</td>
|
|
84
84
|
</tr>
|
|
85
85
|
<tr>
|
|
86
|
-
<td style="padding:20px
|
|
87
|
-
<h1 style="font-size:
|
|
86
|
+
<td style="padding:20px 24px 0px 24px; max-width: 600px" align="center">
|
|
87
|
+
<h1 style="font-size:22px;text-align:center;margin:16px 0 6px 0;font-family:'Sofia Sans', 'Roboto', sans-serif;font-style: italic">
|
|
88
88
|
${title || ''}
|
|
89
89
|
</h1>
|
|
90
|
-
<p style="margin:0 0 12px 0;font-size:
|
|
90
|
+
<p style="text-align:left;margin:0 0 12px 0;font-size:15px;line-height:24px;font-family:'Sofia Sans', 'Roboto', sans-serif;">
|
|
91
91
|
${body.split('\n').join('<br>')}
|
|
92
92
|
</p>
|
|
93
93
|
${link
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAWA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAiBpD,CAAC;
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAWA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAiBpD,CAAC;AAmQF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|