@sketch-hq/sketch-assistant-types
Advanced tools
Comparing version 5.0.0-next.17 to 5.0.0-next.18
# @sketch-hq/sketch-assistant-types | ||
## 5.0.0-next.18 | ||
### Major Changes | ||
- 2f6f82b: Changed the `RunOutput` type so its shape is more consistent when an Assistant outputs an | ||
error or a result. This is so that it plays nicely with Swift Codable, which has trouble decoding | ||
JSON derived from TypeScript discriminated unions. | ||
## 5.0.0-next.17 | ||
@@ -4,0 +12,0 @@ |
@@ -190,3 +190,3 @@ import { FileFormat3 } from '@sketch-hq/sketch-file-format-ts'; | ||
code: 'error'; | ||
result: AssistantErrorResult; | ||
error: AssistantErrorResult; | ||
} | { | ||
@@ -193,0 +193,0 @@ code: 'success'; |
{ | ||
"name": "@sketch-hq/sketch-assistant-types", | ||
"version": "5.0.0-next.17", | ||
"version": "5.0.0-next.18", | ||
"main": "dist/types", | ||
@@ -5,0 +5,0 @@ "types": "dist/types", |
Sorry, the diff of this file is not supported yet
39089