@upyo/jmap 0.6.0-dev.338 → 0.6.0-dev.342

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/index.cjs CHANGED
@@ -359,7 +359,7 @@ function buildBodyStructure(message, uploadedBlobs) {
359
359
  type: "text/plain; charset=utf-8"
360
360
  });
361
361
  }
362
- if ("html" in message.content) {
362
+ if ("html" in message.content && message.content.html !== void 0) {
363
363
  bodyValues["html"] = { value: message.content.html };
364
364
  parts.push({
365
365
  partId: "html",
package/dist/index.js CHANGED
@@ -336,7 +336,7 @@ function buildBodyStructure(message, uploadedBlobs) {
336
336
  type: "text/plain; charset=utf-8"
337
337
  });
338
338
  }
339
- if ("html" in message.content) {
339
+ if ("html" in message.content && message.content.html !== void 0) {
340
340
  bodyValues["html"] = { value: message.content.html };
341
341
  parts.push({
342
342
  partId: "html",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upyo/jmap",
3
- "version": "0.6.0-dev.338",
3
+ "version": "0.6.0-dev.342",
4
4
  "description": "JMAP transport for Upyo email library",
5
5
  "keywords": [
6
6
  "email",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "sideEffects": false,
55
55
  "peerDependencies": {
56
- "@upyo/core": "0.6.0-dev.338+cae9af76"
56
+ "@upyo/core": "0.6.0-dev.342+5cfc6ed8"
57
57
  },
58
58
  "devDependencies": {
59
59
  "jmap-rfc-types": "^0.1.2",