You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added
-----
- Compile an ESM version of this codebase for Node.JS v18.
- Add `MermaidChart#getDiagram(diagramID)` function to get a diagram.
- Add `MermaidChart#createDocument(projectID)` function to create a
diagram in a project.
- Add `MermaidChart#setDocument(document)` function to update a diagram.
- Add `MermaidChart#deleteDocument(documentID)` function to delete a
diagram.
Fixed
-----
- **BREAKING**: Fix `MCDocument` `major`/`minor` type to `number`.
- Add `code` field to `MCDocument` type.
- `MermaidChart#getAuthorizationData()` now correctly sets `state` in
the URL by default.
- `MermaidChart#handleAuthorizationResponse()` now supports relative URLs.
0 commit comments