diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 5a7bce2ca4..fa41738079 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "instill-sdk", - "version": "0.10.0", + "version": "0.11.0-rc.0", "description": "Instill AI's Typescript SDK", "repository": "https://github.com/instill-ai/typescript-sdk.git", "bugs": "https://github.com/instill-ai/community/issues", diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index 477099b98e..b9d301a990 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@instill-ai/toolkit", - "version": "0.109.0", + "version": "0.110.0-rc.1", "description": "Instill AI's frontend toolkit", "repository": "https://github.com/instill-ai/design-system.git", "bugs": "https://github.com/instill-ai/design-system/issues", diff --git a/packages/toolkit/src/lib/sdk-helper/getInstillApiErrorMessage.tsx b/packages/toolkit/src/lib/sdk-helper/getInstillApiErrorMessage.ts similarity index 100% rename from packages/toolkit/src/lib/sdk-helper/getInstillApiErrorMessage.tsx rename to packages/toolkit/src/lib/sdk-helper/getInstillApiErrorMessage.ts diff --git a/packages/toolkit/src/lib/sdk-helper/index.ts b/packages/toolkit/src/lib/sdk-helper/index.ts index d9a97ae388..bd116b2dda 100644 --- a/packages/toolkit/src/lib/sdk-helper/index.ts +++ b/packages/toolkit/src/lib/sdk-helper/index.ts @@ -4,6 +4,7 @@ import { env } from "../../server"; export * from "./checkIsDefinition"; export * from "./createInstillAxiosClient"; +export * from "./getInstillApiErrorMessage"; export * from "./getInstillAPIClient"; export * from "./getInstillApplicationAPIClient"; export * from "./getInstillModelAPIClient"; diff --git a/packages/toolkit/src/view/catalog/components/FileDetailsOverlay.tsx b/packages/toolkit/src/view/catalog/components/FileDetailsOverlay.tsx index 379b70a8df..b69aa3e68f 100644 --- a/packages/toolkit/src/view/catalog/components/FileDetailsOverlay.tsx +++ b/packages/toolkit/src/view/catalog/components/FileDetailsOverlay.tsx @@ -1,6 +1,7 @@ "use client"; import * as React from "react"; +import Markdown from "markdown-to-jsx"; import sanitizeHtml from "sanitize-html"; import { Dialog, ScrollArea, Skeleton } from "@instill-ai/design-system"; @@ -138,8 +139,8 @@ const FileDetailsOverlay = ({ ) : ( -
-
+
+ {sanitizedHtmlText}
)}