@rustrak/client 0.2.0 → 0.2.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 +17 -17
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<a href="https://
|
|
3
|
-
<img src="https://raw.githubusercontent.com/
|
|
2
|
+
<a href="https://rustrak.github.io/rustrak">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/rustrak/rustrak/main/apps/docs/public/logo.svg" alt="Rustrak" width="64" height="64" />
|
|
4
4
|
</a>
|
|
5
5
|
<h1>@rustrak/client</h1>
|
|
6
|
-
<p>Official TypeScript client for the <a href="https://
|
|
6
|
+
<p>Official TypeScript client for the <a href="https://rustrak.github.io/rustrak">Rustrak</a> self-hosted error tracking API</p>
|
|
7
7
|
|
|
8
8
|
<p>
|
|
9
9
|
<a href="https://www.npmjs.com/package/@rustrak/client">
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
<a href="https://bundlephobia.com/package/@rustrak/client">
|
|
16
16
|
<img src="https://img.shields.io/bundlephobia/minzip/@rustrak/client?style=flat-square&label=bundle" alt="bundle size" />
|
|
17
17
|
</a>
|
|
18
|
-
<a href="https://github.com/
|
|
18
|
+
<a href="https://github.com/rustrak/rustrak/blob/main/LICENSE">
|
|
19
19
|
<img src="https://img.shields.io/npm/l/@rustrak/client?style=flat-square" alt="license" />
|
|
20
20
|
</a>
|
|
21
|
-
<a href="https://github.com/
|
|
22
|
-
<img src="https://img.shields.io/github/actions/workflow/status/
|
|
21
|
+
<a href="https://github.com/rustrak/rustrak/actions/workflows/ci.yml">
|
|
22
|
+
<img src="https://img.shields.io/github/actions/workflow/status/rustrak/rustrak/ci.yml?style=flat-square&label=CI" alt="CI" />
|
|
23
23
|
</a>
|
|
24
24
|
</p>
|
|
25
25
|
|
|
26
26
|
<p>
|
|
27
|
-
<a href="https://
|
|
27
|
+
<a href="https://rustrak.github.io/rustrak/sdks/client">Documentation</a>
|
|
28
28
|
·
|
|
29
|
-
<a href="https://github.com/
|
|
29
|
+
<a href="https://github.com/rustrak/rustrak">GitHub</a>
|
|
30
30
|
·
|
|
31
|
-
<a href="https://github.com/
|
|
31
|
+
<a href="https://github.com/rustrak/rustrak/issues">Report a Bug</a>
|
|
32
32
|
</p>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
37
|
-
`@rustrak/client` is the official TypeScript client for [Rustrak](https://
|
|
37
|
+
`@rustrak/client` is the official TypeScript client for [Rustrak](https://rustrak.github.io/rustrak) — an ultra-lightweight, self-hosted error tracking system compatible with any Sentry SDK. This package wraps the Rustrak REST API with full type safety, runtime validation via Zod, built-in retry logic, and structured error handling. Total bundle size: ~28 KB.
|
|
38
38
|
|
|
39
39
|
## Installation
|
|
40
40
|
|
|
@@ -71,7 +71,7 @@ const { items, next_cursor, has_more } = await client.issues.list(1, {
|
|
|
71
71
|
await client.issues.updateState(1, 'issue-id', { is_resolved: true });
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
**[Full documentation →](https://
|
|
74
|
+
**[Full documentation →](https://rustrak.github.io/rustrak/sdks/client)**
|
|
75
75
|
|
|
76
76
|
## Features
|
|
77
77
|
|
|
@@ -231,13 +231,13 @@ import type {
|
|
|
231
231
|
|
|
232
232
|
## What is Rustrak?
|
|
233
233
|
|
|
234
|
-
[Rustrak](https://
|
|
234
|
+
[Rustrak](https://rustrak.github.io/rustrak) is a self-hosted error tracking server written in Rust that is fully compatible with any Sentry SDK. Drop-in replacement for Sentry — no code changes needed. Runs on ~50 MB of memory as a single binary or Docker image.
|
|
235
235
|
|
|
236
|
-
- [Getting Started](https://
|
|
237
|
-
- [Self-Hosting Guide](https://
|
|
238
|
-
- [API Reference](https://
|
|
239
|
-
- [GitHub](https://github.com/
|
|
236
|
+
- [Getting Started](https://rustrak.github.io/rustrak/getting-started/overview)
|
|
237
|
+
- [Self-Hosting Guide](https://rustrak.github.io/rustrak/configuration/production)
|
|
238
|
+
- [API Reference](https://rustrak.github.io/rustrak/api-reference)
|
|
239
|
+
- [GitHub](https://github.com/rustrak/rustrak)
|
|
240
240
|
|
|
241
241
|
## License
|
|
242
242
|
|
|
243
|
-
[GPL-3.0](https://github.com/
|
|
243
|
+
[GPL-3.0](https://github.com/rustrak/rustrak/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rustrak/client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Type-safe TypeScript client for the Rustrak self-hosted error tracking API",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://rustrak.github.io/rustrak/sdks/client",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/rustrak/rustrak.git",
|
|
9
9
|
"directory": "packages/client"
|
|
10
10
|
},
|
|
11
11
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/
|
|
12
|
+
"url": "https://github.com/rustrak/rustrak/issues"
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|