autotel-drizzle 0.0.50 → 0.0.51

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.
@@ -1,6 +1,12 @@
1
1
  //#region src/drizzle/index.d.ts
2
2
  declare const INSTRUMENTED_FLAG: "__autotelDrizzleInstrumented";
3
3
  type QueryFunction = (...args: any[]) => any;
4
+ /**
5
+ * Drizzle's driver objects, as this instrumentation reaches into them. The
6
+ * `any` is deliberate and confined to this one declaration: the methods being
7
+ * wrapped belong to a dozen dialect-specific classes that drizzle does not
8
+ * export types for, and every read below is guarded before it is used.
9
+ */
4
10
  interface InstrumentableObject {
5
11
  [key: string]: any;
6
12
  [INSTRUMENTED_FLAG]?: true;
package/dist/drizzle.d.ts CHANGED
@@ -1,6 +1,12 @@
1
1
  //#region src/drizzle/index.d.ts
2
2
  declare const INSTRUMENTED_FLAG: "__autotelDrizzleInstrumented";
3
3
  type QueryFunction = (...args: any[]) => any;
4
+ /**
5
+ * Drizzle's driver objects, as this instrumentation reaches into them. The
6
+ * `any` is deliberate and confined to this one declaration: the methods being
7
+ * wrapped belong to a dozen dialect-specific classes that drizzle does not
8
+ * export types for, and every read below is guarded before it is used.
9
+ */
4
10
  interface InstrumentableObject {
5
11
  [key: string]: any;
6
12
  [INSTRUMENTED_FLAG]?: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel-drizzle",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "description": "OpenTelemetry instrumentation for Drizzle ORM",
5
5
  "type": "module",
6
6
  "main": "./dist/drizzle.js",
@@ -35,7 +35,7 @@
35
35
  "@opentelemetry/api": "^1.9.1",
36
36
  "@opentelemetry/instrumentation": "^0.221.0",
37
37
  "@opentelemetry/semantic-conventions": "^1.43.0",
38
- "autotel": "6.5.0"
38
+ "autotel": "7.0.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "drizzle-orm": ">=0.45.2"