@alertsamurai/sdk-js 0.0.1 → 0.0.3
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 +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,13 +5,14 @@ TypeScript SDK for AlertSamurai metrics and alerting.
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @alertsamurai/sdk
|
|
8
|
+
npm install @alertsamurai/sdk-js
|
|
9
|
+
|
|
9
10
|
```
|
|
10
11
|
|
|
11
12
|
## Quick Start
|
|
12
13
|
|
|
13
14
|
```typescript
|
|
14
|
-
import { AlertSamuraiClient } from "@alertsamurai/sdk";
|
|
15
|
+
import { AlertSamuraiClient } from "@alertsamurai/sdk-js";
|
|
15
16
|
|
|
16
17
|
const client = new AlertSamuraiClient({
|
|
17
18
|
dsn: "your-project-dsn",
|
|
@@ -170,7 +171,7 @@ import type {
|
|
|
170
171
|
SendAlertOptions,
|
|
171
172
|
SendAlertResponse,
|
|
172
173
|
AlertPriority,
|
|
173
|
-
} from "@alertsamurai/sdk";
|
|
174
|
+
} from "@alertsamurai/sdk-js";
|
|
174
175
|
|
|
175
176
|
const options: SendMetricOptions = {
|
|
176
177
|
metricType: "api_latency",
|