Skip to content

Commit 66bdff0

Browse files
Merge pull request #39 from Mermaid-Chart/test-changeset-release
chore: add changeset for SDK patch release
2 parents f6f5aac + 7a41030 commit 66bdff0

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.changeset/ai-credits-api.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@mermaidchart/sdk': patch
3+
---
4+
5+
feat: expose AI credit remaining API in SDK
6+
7+
Add `getAICredits` method to the SDK for fetching user's AI credits from `/rest-api/users/me/ai-credit-usage` endpoint
8+
9+
pr: 37

.changeset/chubby-experts-warn.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@mermaidchart/sdk': patch
3+
---
4+
5+
fix: correct request timeout initialization order in MermaidChart constructor so the Axios instance uses the configured timeout before making requests
6+
7+
pr: 36

0 commit comments

Comments
 (0)