medos-sdk 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -10
- package/package.json +13 -2
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Medos SDK
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/medos-sdk)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
|
|
3
7
|
A JavaScript/TypeScript SDK for integrating healthcare appointment booking into your applications. Built for clinics, hospitals, and healthcare platforms.
|
|
4
8
|
|
|
5
9
|
## ✨ Features
|
|
@@ -17,7 +21,19 @@ A JavaScript/TypeScript SDK for integrating healthcare appointment booking into
|
|
|
17
21
|
npm install medos-sdk
|
|
18
22
|
```
|
|
19
23
|
|
|
20
|
-
##
|
|
24
|
+
## Table of Contents
|
|
25
|
+
|
|
26
|
+
- [Quick Start](#quick-start)
|
|
27
|
+
- [Getting Started](#getting-started)
|
|
28
|
+
- [Usage](#usage)
|
|
29
|
+
- [React Integration](#react-integration)
|
|
30
|
+
- [Vanilla JavaScript](#vanilla-javascript--html-integration)
|
|
31
|
+
- [TypeScript](#typescript)
|
|
32
|
+
- [API Reference](#api-reference)
|
|
33
|
+
- [Error Handling](#error-handling)
|
|
34
|
+
- [Requirements](#requirements)
|
|
35
|
+
|
|
36
|
+
## Quick Start
|
|
21
37
|
|
|
22
38
|
### React
|
|
23
39
|
|
|
@@ -45,7 +61,26 @@ initAppointmentCalendar({
|
|
|
45
61
|
});
|
|
46
62
|
```
|
|
47
63
|
|
|
48
|
-
|
|
64
|
+
### HTML/CSS/JS
|
|
65
|
+
|
|
66
|
+
```html
|
|
67
|
+
<!DOCTYPE html>
|
|
68
|
+
<html>
|
|
69
|
+
<head>
|
|
70
|
+
<link rel="stylesheet" href="path/to/widget.css" />
|
|
71
|
+
</head>
|
|
72
|
+
<body>
|
|
73
|
+
<div id="appointment-calendar"></div>
|
|
74
|
+
<script src="path/to/widget.js"></script>
|
|
75
|
+
<script>
|
|
76
|
+
window.MedosAppointmentCalendar.init({
|
|
77
|
+
containerId: "appointment-calendar",
|
|
78
|
+
apiKey: "your-api-key",
|
|
79
|
+
});
|
|
80
|
+
</script>
|
|
81
|
+
</body>
|
|
82
|
+
</html>
|
|
83
|
+
```
|
|
49
84
|
|
|
50
85
|
## Getting Started
|
|
51
86
|
|
|
@@ -433,7 +468,7 @@ See `dist/vanilla/widget.css` for all available classes.
|
|
|
433
468
|
|
|
434
469
|
### Package Exports
|
|
435
470
|
|
|
436
|
-
The SDK provides multiple entry points:
|
|
471
|
+
The SDK provides multiple entry points for different use cases:
|
|
437
472
|
|
|
438
473
|
- `medos-sdk` - Default export (includes React components)
|
|
439
474
|
- `medos-sdk/react` - React-specific exports
|
|
@@ -441,8 +476,6 @@ The SDK provides multiple entry points:
|
|
|
441
476
|
- `medos-sdk/core` - Core services only (no framework dependencies)
|
|
442
477
|
- `medos-sdk/widget` - Widget bundle with CSS
|
|
443
478
|
|
|
444
|
-
For more details, see [Vanilla Widget Documentation](./docs/VANILLA_WIDGET.md).
|
|
445
|
-
|
|
446
479
|
## API Reference
|
|
447
480
|
|
|
448
481
|
### MedosClient
|
|
@@ -590,18 +623,18 @@ try {
|
|
|
590
623
|
- **React:** v19 or higher (only required for React components, not for vanilla widget)
|
|
591
624
|
- **TypeScript:** v5 or higher (optional)
|
|
592
625
|
|
|
593
|
-
## License
|
|
594
|
-
|
|
595
|
-
UNLICENSED
|
|
596
|
-
|
|
597
626
|
## Support
|
|
598
627
|
|
|
599
628
|
For bug reports and feature requests, please visit our [GitHub Issues](https://github.com/MediLaunch/medos-sdk-react/issues).
|
|
600
629
|
|
|
630
|
+
## License
|
|
631
|
+
|
|
632
|
+
UNLICENSED
|
|
633
|
+
|
|
601
634
|
## Author
|
|
602
635
|
|
|
603
636
|
Pooranjoy Bhattacharya
|
|
604
637
|
|
|
605
638
|
---
|
|
606
639
|
|
|
607
|
-
|
|
640
|
+
**Built for healthcare providers worldwide.**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "medos-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Medos SDK for managing appointments, meetings, and calendars in apps",
|
|
5
5
|
"homepage": "https://github.com/MediLaunch/medos-sdk-react#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -74,6 +74,17 @@
|
|
|
74
74
|
"vitest": "^4.0.14"
|
|
75
75
|
},
|
|
76
76
|
"keywords": [
|
|
77
|
-
"medos"
|
|
77
|
+
"medos",
|
|
78
|
+
"healthcare",
|
|
79
|
+
"appointment",
|
|
80
|
+
"booking",
|
|
81
|
+
"calendar",
|
|
82
|
+
"clinic",
|
|
83
|
+
"hospital",
|
|
84
|
+
"medical",
|
|
85
|
+
"react",
|
|
86
|
+
"typescript",
|
|
87
|
+
"sdk",
|
|
88
|
+
"widget"
|
|
78
89
|
]
|
|
79
90
|
}
|