Skip to content

Commit a0a6d13

Browse files
authored
Merge pull request #42 from Mermaid-Chart/changeset-release/main
Version Packages
2 parents 2063239 + 2d66532 commit a0a6d13

4 files changed

Lines changed: 11 additions & 17 deletions

File tree

.changeset/ai-credits-api.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/chubby-experts-warn.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/sdk/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 0.2.3
4+
5+
### Patch Changes
6+
7+
- [#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
8+
9+
Add `getAICredits` method to the SDK for fetching user's AI credits from `/rest-api/users/me/ai-credit-usage` endpoint
10+
11+
- [#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
12+
313
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
414
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
515

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mermaidchart/sdk",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "Access the MermaidChart services with OAuth and type safety.",
55
"browser": "dist/bundle.iife.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)