dymo-api 1.0.47 → 1.0.49
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.
|
@@ -99,8 +99,10 @@ const sendEmail = async (token, data) => {
|
|
|
99
99
|
data.html = await (0, render_1.render)(data.react);
|
|
100
100
|
delete data.react;
|
|
101
101
|
}
|
|
102
|
-
if (data.options && data.options.composeTailwindClasses)
|
|
102
|
+
if (data.options && data.options.composeTailwindClasses) {
|
|
103
103
|
data.html = convertTailwindToInlineCss(data.html);
|
|
104
|
+
delete data.options.composeTailwindClasses;
|
|
105
|
+
}
|
|
104
106
|
}
|
|
105
107
|
catch (error) {
|
|
106
108
|
throw customError(1500, `An error occurred while rendering your React component. Details: ${error}`);
|
|
@@ -99,8 +99,10 @@ const sendEmail = async (token, data) => {
|
|
|
99
99
|
data.html = await (0, render_1.render)(data.react);
|
|
100
100
|
delete data.react;
|
|
101
101
|
}
|
|
102
|
-
if (data.options && data.options.composeTailwindClasses)
|
|
102
|
+
if (data.options && data.options.composeTailwindClasses) {
|
|
103
103
|
data.html = convertTailwindToInlineCss(data.html);
|
|
104
|
+
delete data.options.composeTailwindClasses;
|
|
105
|
+
}
|
|
104
106
|
}
|
|
105
107
|
catch (error) {
|
|
106
108
|
throw customError(1500, `An error occurred while rendering your React component. Details: ${error}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dymo-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"description": "Flow system for Dymo API.",
|
|
5
5
|
"main": "dist/cjs/dymo-api.js",
|
|
6
6
|
"module": "dist/esm/dymo-api.js",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"require": "./dist/cjs/dymo-api.js",
|
|
11
|
-
"import": "./dist/esm/dymo-api.js"
|
|
11
|
+
"import": "./dist/esm/dymo-api.js",
|
|
12
|
+
"types": "./dist/types/dymo-api.d.ts"
|
|
12
13
|
}
|
|
13
14
|
},
|
|
14
15
|
"files": [
|