@vicinae/api 0.16.7 → 0.16.8

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/api/image.js CHANGED
@@ -66,7 +66,11 @@ const serializeProtoImage = (image) => {
66
66
  }
67
67
  const proto = ui.Image.create();
68
68
  const img = image;
69
- proto.source = serializeSource(img.source);
69
+ // img.source should technically not be null, but it somehow still happens at times with some
70
+ // raycast extensions
71
+ if (img.source) {
72
+ proto.source = serializeSource(img.source);
73
+ }
70
74
  if (img.fallback) {
71
75
  proto.fallback = serializeSource(img.fallback);
72
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vicinae/api",
3
- "version": "0.16.7",
3
+ "version": "0.16.8",
4
4
  "description": "TypeScript SDK to build Vicinae extensions",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",