weflayr 0.1.0 → 0.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 +1 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Requires Node.js 18+ and `openai>=4.0.0`.
|
|
|
25
25
|
|
|
26
26
|
### 1. Get your credentials
|
|
27
27
|
|
|
28
|
-
Sign in at [weflayr.com](https://weflayr.com), create a **
|
|
28
|
+
Sign in at [weflayr.com](https://weflayr.com), create a **Flayr**, and copy your `client_id` and `client_secret`.
|
|
29
29
|
|
|
30
30
|
### 2. Set environment variables
|
|
31
31
|
|
|
@@ -121,16 +121,6 @@ By default, message content and prompt text are stripped before sending. Fields
|
|
|
121
121
|
|
|
122
122
|
---
|
|
123
123
|
|
|
124
|
-
## Optional: forward traces to your own collector
|
|
125
|
-
|
|
126
|
-
Set `WEFLAYR_COLLECTOR_ENDPOINT` to also send OTLP traces to a collector of your choice (e.g. Jaeger, Grafana Tempo):
|
|
127
|
-
|
|
128
|
-
```bash
|
|
129
|
-
WEFLAYR_COLLECTOR_ENDPOINT=http://localhost:4318/v1/traces
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
---
|
|
133
|
-
|
|
134
124
|
## Full example
|
|
135
125
|
|
|
136
126
|
```js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weflayr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Drop-in instrumented wrappers for AI clients with zero-overhead telemetry",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"homepage": "https://weflayr.com",
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/WeFlayr/public-mirror-js-sdk"
|
|
33
|
+
"url": "git+https://github.com/WeFlayr/public-mirror-js-sdk.git"
|
|
34
34
|
},
|
|
35
35
|
"bugs": {
|
|
36
36
|
"url": "https://github.com/WeFlayr/public-mirror-js-sdk/issues"
|