raindrop-ai 0.1.4 → 0.1.5

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 CHANGED
@@ -18,6 +18,19 @@ const raindrop = new Raindrop({
18
18
  });
19
19
  ```
20
20
 
21
+ ## Projects
22
+
23
+ If your org has multiple projects, route events to a specific one by passing its slug as `projectId`:
24
+
25
+ ```ts
26
+ const raindrop = new Raindrop({
27
+ writeKey: process.env.RAINDROP_WRITE_KEY!,
28
+ projectId: "support-prod",
29
+ });
30
+ ```
31
+
32
+ This sets the `X-Raindrop-Project-Id` header on every event and trace. Omit it (or pass `"default"`) to use your org's default **Production** project — the existing behavior. Single-project orgs need nothing new.
33
+
21
34
  ## Payload size limits
22
35
 
23
36
  Text fields (ai input/output, tool span I/O, span content) are capped at
@@ -377,7 +377,7 @@ globalThis.RAINDROP_ASYNC_LOCAL_STORAGE = AsyncLocalStorage;
377
377
  // package.json
378
378
  var package_default = {
379
379
  name: "raindrop-ai",
380
- version: "0.1.4",
380
+ version: "0.1.5",
381
381
  main: "dist/index.js",
382
382
  module: "dist/index.mjs",
383
383
  types: "dist/index.d.ts",
package/dist/index.js CHANGED
@@ -10255,7 +10255,7 @@ var SignalEventSchema = external_exports.object({
10255
10255
  // package.json
10256
10256
  var package_default = {
10257
10257
  name: "raindrop-ai",
10258
- version: "0.1.4",
10258
+ version: "0.1.5",
10259
10259
  main: "dist/index.js",
10260
10260
  module: "dist/index.mjs",
10261
10261
  types: "dist/index.d.ts",
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  setDefaultMaxTextFieldChars,
17
17
  stringifyBounded,
18
18
  tracing
19
- } from "./chunk-TV22N6IU.mjs";
19
+ } from "./chunk-5TO4YOAA.mjs";
20
20
  import {
21
21
  __commonJS,
22
22
  __toESM
@@ -542,7 +542,7 @@ function base64ToHex(base64) {
542
542
  // package.json
543
543
  var package_default = {
544
544
  name: "raindrop-ai",
545
- version: "0.1.4",
545
+ version: "0.1.5",
546
546
  main: "dist/index.js",
547
547
  module: "dist/index.mjs",
548
548
  types: "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tracing
3
- } from "../chunk-TV22N6IU.mjs";
3
+ } from "../chunk-5TO4YOAA.mjs";
4
4
  import "../chunk-UJCSKKID.mjs";
5
5
 
6
6
  // src/tracing/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raindrop-ai",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",