diff --git a/.changeset/ai-credits-api.md b/.changeset/ai-credits-api.md deleted file mode 100644 index 800dca6..0000000 --- a/.changeset/ai-credits-api.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@mermaidchart/sdk': patch ---- - -feat: expose AI credit remaining API in SDK - -Add `getAICredits` method to the SDK for fetching user's AI credits from `/rest-api/users/me/ai-credit-usage` endpoint - -pr: 37 diff --git a/.changeset/chubby-experts-warn.md b/.changeset/chubby-experts-warn.md deleted file mode 100644 index 32e82c3..0000000 --- a/.changeset/chubby-experts-warn.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@mermaidchart/sdk': patch ---- - -fix: correct request timeout initialization order in MermaidChart constructor so the Axios instance uses the configured timeout before making requests - -pr: 36 diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index cc56846..bd84866 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.2.3 + +### Patch Changes + +- [#37](https://github.com/Mermaid-Chart/plugins/pull/37) [`4a0c04c`](https://github.com/Mermaid-Chart/plugins/commit/4a0c04cddf223d9c1814233c2d7aa5f49faf1315) Thanks [@Prashant-7718](https://github.com/Prashant-7718)! - feat: expose AI credit remaining API in SDK + + Add `getAICredits` method to the SDK for fetching user's AI credits from `/rest-api/users/me/ai-credit-usage` endpoint + +- [#36](https://github.com/Mermaid-Chart/plugins/pull/36) [`0f832dc`](https://github.com/Mermaid-Chart/plugins/commit/0f832dceef3ced1a7886aa3c94c8982cd6a7ae39) Thanks [@Prashant-7718](https://github.com/Prashant-7718)! - fix: correct request timeout initialization order in MermaidChart constructor so the Axios instance uses the configured timeout before making requests + The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 638a663..8f7efbf 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@mermaidchart/sdk", - "version": "0.2.2", + "version": "0.2.3", "description": "Access the MermaidChart services with OAuth and type safety.", "browser": "dist/bundle.iife.js", "types": "dist/index.d.ts",