@brizz/sdk 0.1.33 → 0.1.34

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/preload.cjs CHANGED
@@ -1,15 +1,15 @@
1
1
  "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
3
 
4
- var _chunkWXHBHJRJcjs = require('./chunk-WXHBHJRJ.cjs');
4
+ var _chunk3LR22M4Ecjs = require('./chunk-3LR22M4E.cjs');
5
5
  require('./chunk-UNLNNKZ7.cjs');
6
- require('./chunk-3ITCDKTJ.cjs');
6
+ require('./chunk-VU5YDLUD.cjs');
7
7
 
8
8
 
9
9
 
10
10
  var _chunkWC573FCIcjs = require('./chunk-WC573FCI.cjs');
11
- require('./chunk-LFLYWZ6D.cjs');
12
- require('./chunk-LIFLVFK6.cjs');
11
+ require('./chunk-M3UGFLH7.cjs');
12
+ require('./chunk-NEF2O7HF.cjs');
13
13
  require('./chunk-OBGZSXTJ.cjs');
14
14
 
15
15
  // src/node/loader.ts
@@ -96,16 +96,16 @@ if (globalThis[LOADER_REGISTERED_KEY] !== true) {
96
96
  }
97
97
 
98
98
  // src/preload.ts
99
- var runtime = _chunkWXHBHJRJcjs.detectRuntime.call(void 0, );
99
+ var runtime = _chunk3LR22M4Ecjs.detectRuntime.call(void 0, );
100
100
  if (runtime.isESM && runtime.supportsLoaderAPI) {
101
101
  maybeRegisterESMLoader();
102
102
  }
103
103
  try {
104
104
  const logLevel = process.env["BRIZZ_LOG_LEVEL"] || _chunkWC573FCIcjs.DEFAULT_LOG_LEVEL.toString();
105
105
  if (process.env["BRIZZ_DSN"]) {
106
- _chunkWXHBHJRJcjs.Brizz.initialize({ logLevel, disableNodeSdk: false });
106
+ _chunk3LR22M4Ecjs.Brizz.initialize({ logLevel, disableNodeSdk: false });
107
107
  } else {
108
- _chunkWXHBHJRJcjs.Brizz.initialize({
108
+ _chunk3LR22M4Ecjs.Brizz.initialize({
109
109
  apiKey: process.env["BRIZZ_API_KEY"],
110
110
  baseUrl: process.env["BRIZZ_BASE_URL"],
111
111
  appName: process.env["BRIZZ_APP_NAME"] || process.env["OTEL_SERVICE_NAME"],
package/dist/preload.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Brizz,
3
3
  detectRuntime
4
- } from "./chunk-KDFV63CU.js";
4
+ } from "./chunk-F3O3MTQ4.js";
5
5
  import "./chunk-7SUF4VVI.js";
6
- import "./chunk-PY6FJBVY.js";
6
+ import "./chunk-64STNQKL.js";
7
7
  import {
8
8
  DEFAULT_LOG_LEVEL,
9
9
  logger
10
10
  } from "./chunk-Y4HNUX3Q.js";
11
- import "./chunk-N4X2B6BC.js";
12
- import "./chunk-GRRKMMG6.js";
11
+ import "./chunk-24CEDVD2.js";
12
+ import "./chunk-QY4VADPP.js";
13
13
  import "./chunk-3RG5ZIWI.js";
14
14
 
15
15
  // src/node/loader.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brizz/sdk",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "type": "module",
5
5
  "description": "OpenTelemetry-based observability SDK for AI applications",
6
6
  "keywords": [
@@ -44,6 +44,7 @@
44
44
  "format": "prettier --write .",
45
45
  "format:check": "prettier --check .",
46
46
  "type-check": "tsc --noEmit",
47
+ "type-check:ts7": "node ./node_modules/typescript-7/bin/tsc --noEmit",
47
48
  "prepublishOnly": "pnpm run build",
48
49
  "clean": "rm -rf dist coverage *.tsbuildinfo .cache",
49
50
  "clean:all": "pnpm run clean && rm -rf node_modules pnpm-lock.yaml",
@@ -95,9 +96,9 @@
95
96
  "registry": "https://registry.npmjs.org/"
96
97
  },
97
98
  "devDependencies": {
98
- "@ai-sdk/anthropic": "^4.0.9",
99
- "@ai-sdk/openai": "^4.0.8",
100
- "@ai-sdk/otel": "^1.0.17",
99
+ "@ai-sdk/anthropic": "^4.0.12",
100
+ "@ai-sdk/openai": "^4.0.11",
101
+ "@ai-sdk/otel": "^1.0.22",
101
102
  "@arizeai/openinference-instrumentation-mcp": "^0.2.20",
102
103
  "@changesets/changelog-github": "^0.7.0",
103
104
  "@changesets/cli": "^2.30.0",
@@ -105,22 +106,23 @@
105
106
  "@modelcontextprotocol/sdk": "^1.29.0",
106
107
  "@traceloop/instrumentation-vertexai": "^0.27.0",
107
108
  "@types/jest": "^30.0.0",
108
- "@types/node": "^26.1.0",
109
+ "@types/node": "^26.1.1",
109
110
  "@typescript-eslint/eslint-plugin": "^8.63.0",
110
111
  "@typescript-eslint/parser": "^8.63.0",
111
- "ai": "^7.0.17",
112
- "eslint": "^10.6.0",
112
+ "ai": "^7.0.22",
113
+ "eslint": "^10.7.0",
113
114
  "eslint-config-prettier": "^10.1.8",
114
115
  "eslint-plugin-import": "^2.32.0",
115
116
  "eslint-plugin-promise": "^7.3.0",
116
117
  "eslint-plugin-unicorn": "^71.1.0",
117
118
  "jest": "^30.4.2",
118
119
  "jest-environment-jsdom": "^30.4.1",
119
- "openai": "^6.45.0",
120
- "prettier": "^3.9.4",
120
+ "openai": "^6.46.0",
121
+ "prettier": "^3.9.5",
121
122
  "ts-jest": "^29.4.11",
122
123
  "tsup": "^8.5.1",
123
124
  "typescript": "^6.0.3",
125
+ "typescript-7": "npm:typescript@^7.0.2",
124
126
  "vitest": "^4.1.10",
125
127
  "zod": "^4.4.3"
126
128
  },
@@ -171,7 +173,7 @@
171
173
  "@opentelemetry/sdk-metrics": "^2.9.0",
172
174
  "@opentelemetry/sdk-trace-base": "^2.9.0",
173
175
  "@opentelemetry/sdk-trace-node": "^2.9.0",
174
- "@opentelemetry/semantic-conventions": "^1.42.0",
176
+ "@opentelemetry/semantic-conventions": "^1.43.0",
175
177
  "@traceloop/ai-semantic-conventions": "^0.27.0",
176
178
  "@traceloop/instrumentation-anthropic": "^0.27.0",
177
179
  "@traceloop/instrumentation-bedrock": "^0.27.0",
@@ -1,12 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
- var _chunkLFLYWZ6Dcjs = require('./chunk-LFLYWZ6D.cjs');
6
- require('./chunk-LIFLVFK6.cjs');
7
- require('./chunk-OBGZSXTJ.cjs');
8
-
9
-
10
-
11
-
12
- exports.InterruptPropagator = _chunkLFLYWZ6Dcjs.InterruptPropagator; exports._resetInterruptState = _chunkLFLYWZ6Dcjs._resetInterruptState; exports.createInterruptIntegration = _chunkLFLYWZ6Dcjs.createInterruptIntegration;