@ject-5-fe/figma-plugin 0.1.3 → 0.1.4

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.
@@ -105,11 +105,12 @@ server.tool(
105
105
  async () => {
106
106
  try {
107
107
  const result = await sendCommandToFigma("get_selection");
108
+ const compressed = compressData(result);
108
109
  return {
109
110
  content: [
110
111
  {
111
112
  type: "text",
112
- text: JSON.stringify(result)
113
+ text: compressed
113
114
  }
114
115
  ]
115
116
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ject-5-fe/figma-plugin",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "plugma dev",