raindrop-ai 0.0.37 → 0.0.38
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/tracing/index.js +10 -0
- package/dist/tracing/index.mjs +10 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -107,7 +107,7 @@ var CategorizationRequestSchema = import_zod.z.object({
|
|
|
107
107
|
// package.json
|
|
108
108
|
var package_default = {
|
|
109
109
|
name: "raindrop-ai",
|
|
110
|
-
version: "0.0.
|
|
110
|
+
version: "0.0.38",
|
|
111
111
|
main: "dist/index.js",
|
|
112
112
|
module: "dist/index.mjs",
|
|
113
113
|
types: "dist/index.d.ts",
|
package/dist/index.mjs
CHANGED
package/dist/tracing/index.js
CHANGED
|
@@ -315,6 +315,16 @@ var tracing = (analytics, apiUrl, writeKey, options, isDebug = false) => {
|
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
};
|
|
318
|
+
try {
|
|
319
|
+
_setImplementation(tracing);
|
|
320
|
+
if (typeof process !== "undefined" && process.env.RAINDROP_DEBUG === "true") {
|
|
321
|
+
console.log("Raindrop: Auto-initialized tracing");
|
|
322
|
+
}
|
|
323
|
+
} catch (e) {
|
|
324
|
+
if (typeof process !== "undefined" && process.env.RAINDROP_DEBUG === "true") {
|
|
325
|
+
console.error("Raindrop: Failed to auto-initialize tracing:", e);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
318
328
|
function initTracing() {
|
|
319
329
|
_setImplementation(tracing);
|
|
320
330
|
}
|
package/dist/tracing/index.mjs
CHANGED
|
@@ -156,6 +156,16 @@ var tracing = (analytics, apiUrl, writeKey, options, isDebug = false) => {
|
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
|
+
try {
|
|
160
|
+
_setImplementation(tracing);
|
|
161
|
+
if (typeof process !== "undefined" && process.env.RAINDROP_DEBUG === "true") {
|
|
162
|
+
console.log("Raindrop: Auto-initialized tracing");
|
|
163
|
+
}
|
|
164
|
+
} catch (e) {
|
|
165
|
+
if (typeof process !== "undefined" && process.env.RAINDROP_DEBUG === "true") {
|
|
166
|
+
console.error("Raindrop: Failed to auto-initialize tracing:", e);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
159
169
|
function initTracing() {
|
|
160
170
|
_setImplementation(tracing);
|
|
161
171
|
}
|