sunpeak 0.20.18 → 0.20.19

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.
@@ -1,2 +1,13 @@
1
1
  import { ClassValue } from 'clsx';
2
2
  export declare function cn(...inputs: ClassValue[]): string;
3
+ /**
4
+ * Returns true when `icon` is safe to use as the `src` of an `<img>` rendered
5
+ * inside the inspector chrome. Accepts http(s) URLs and `data:image/*` URIs
6
+ * for raster image types only. SVG data URIs are rejected because they can
7
+ * include `<script>`/event handlers that execute when the document parses
8
+ * the inline document (the `<img>` tag itself does not run scripts in modern
9
+ * browsers, but adjacent <object>/<embed>/<iframe> renders would). Anything
10
+ * else (emoji, plain text, javascript:, file:, etc.) falls through to the
11
+ * text-rendering path that already handles emoji icons.
12
+ */
13
+ export declare function isAllowedIconUrl(icon: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sunpeak",
3
- "version": "0.20.18",
3
+ "version": "0.20.19",
4
4
  "description": "App framework, testing framework, and inspector for MCP Apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -12,5 +12,5 @@
12
12
  }
13
13
  },
14
14
  "name": "albums",
15
- "uri": "ui://albums-moulf6ph"
15
+ "uri": "ui://albums-movyulvx"
16
16
  }
@@ -12,5 +12,5 @@
12
12
  }
13
13
  },
14
14
  "name": "carousel",
15
- "uri": "ui://carousel-moulf6ph"
15
+ "uri": "ui://carousel-movyulvx"
16
16
  }
@@ -18,5 +18,5 @@
18
18
  }
19
19
  },
20
20
  "name": "map",
21
- "uri": "ui://map-moulf6ph"
21
+ "uri": "ui://map-movyulvx"
22
22
  }
@@ -12,5 +12,5 @@
12
12
  }
13
13
  },
14
14
  "name": "review",
15
- "uri": "ui://review-moulf6ph"
15
+ "uri": "ui://review-movyulvx"
16
16
  }