@brizz/sdk 0.1.34 → 0.1.36

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 _chunk3LR22M4Ecjs = require('./chunk-3LR22M4E.cjs');
4
+ var _chunkCQDWK43Acjs = require('./chunk-CQDWK43A.cjs');
5
5
  require('./chunk-UNLNNKZ7.cjs');
6
- require('./chunk-VU5YDLUD.cjs');
6
+ require('./chunk-PXIW2K27.cjs');
7
7
 
8
8
 
9
9
 
10
10
  var _chunkWC573FCIcjs = require('./chunk-WC573FCI.cjs');
11
- require('./chunk-M3UGFLH7.cjs');
12
- require('./chunk-NEF2O7HF.cjs');
11
+ require('./chunk-EVRCHF74.cjs');
12
+ require('./chunk-77UGZGMP.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 = _chunk3LR22M4Ecjs.detectRuntime.call(void 0, );
99
+ var runtime = _chunkCQDWK43Acjs.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
- _chunk3LR22M4Ecjs.Brizz.initialize({ logLevel, disableNodeSdk: false });
106
+ _chunkCQDWK43Acjs.Brizz.initialize({ logLevel, disableNodeSdk: false });
107
107
  } else {
108
- _chunk3LR22M4Ecjs.Brizz.initialize({
108
+ _chunkCQDWK43Acjs.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-F3O3MTQ4.js";
4
+ } from "./chunk-YNCBWOHM.js";
5
5
  import "./chunk-7SUF4VVI.js";
6
- import "./chunk-64STNQKL.js";
6
+ import "./chunk-6OGRVH77.js";
7
7
  import {
8
8
  DEFAULT_LOG_LEVEL,
9
9
  logger
10
10
  } from "./chunk-Y4HNUX3Q.js";
11
- import "./chunk-24CEDVD2.js";
12
- import "./chunk-QY4VADPP.js";
11
+ import "./chunk-EC3MYSRM.js";
12
+ import "./chunk-WII4R5RE.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.34",
3
+ "version": "0.1.36",
4
4
  "type": "module",
5
5
  "description": "OpenTelemetry-based observability SDK for AI applications",
6
6
  "keywords": [
@@ -79,6 +79,16 @@
79
79
  "default": "./dist/eve.cjs"
80
80
  }
81
81
  },
82
+ "./google-genai": {
83
+ "import": {
84
+ "types": "./dist/google-genai.d.ts",
85
+ "default": "./dist/google-genai.js"
86
+ },
87
+ "require": {
88
+ "types": "./dist/google-genai.d.cts",
89
+ "default": "./dist/google-genai.cjs"
90
+ }
91
+ },
82
92
  "./preload": {
83
93
  "import": "./dist/preload.js",
84
94
  "require": "./dist/preload.cjs"
@@ -96,20 +106,22 @@
96
106
  "registry": "https://registry.npmjs.org/"
97
107
  },
98
108
  "devDependencies": {
99
- "@ai-sdk/anthropic": "^4.0.12",
100
- "@ai-sdk/openai": "^4.0.11",
101
- "@ai-sdk/otel": "^1.0.22",
109
+ "@ai-sdk/anthropic": "^4.0.16",
110
+ "@ai-sdk/openai": "^4.0.16",
111
+ "@ai-sdk/otel": "^1.0.31",
102
112
  "@arizeai/openinference-instrumentation-mcp": "^0.2.20",
103
113
  "@changesets/changelog-github": "^0.7.0",
104
- "@changesets/cli": "^2.30.0",
114
+ "@changesets/cli": "^2.31.1",
105
115
  "@eslint/js": "^10.0.1",
116
+ "@google/genai": "^2.12.0",
106
117
  "@modelcontextprotocol/sdk": "^1.29.0",
118
+ "@traceloop/instrumentation-google-generativeai": "^0.27.0",
107
119
  "@traceloop/instrumentation-vertexai": "^0.27.0",
108
120
  "@types/jest": "^30.0.0",
109
121
  "@types/node": "^26.1.1",
110
- "@typescript-eslint/eslint-plugin": "^8.63.0",
111
- "@typescript-eslint/parser": "^8.63.0",
112
- "ai": "^7.0.22",
122
+ "@typescript-eslint/eslint-plugin": "^8.64.0",
123
+ "@typescript-eslint/parser": "^8.64.0",
124
+ "ai": "^7.0.31",
113
125
  "eslint": "^10.7.0",
114
126
  "eslint-config-prettier": "^10.1.8",
115
127
  "eslint-plugin-import": "^2.32.0",
@@ -117,7 +129,7 @@
117
129
  "eslint-plugin-unicorn": "^71.1.0",
118
130
  "jest": "^30.4.2",
119
131
  "jest-environment-jsdom": "^30.4.1",
120
- "openai": "^6.46.0",
132
+ "openai": "^6.48.0",
121
133
  "prettier": "^3.9.5",
122
134
  "ts-jest": "^29.4.11",
123
135
  "tsup": "^8.5.1",
@@ -131,6 +143,7 @@
131
143
  "@arizeai/openinference-instrumentation-mcp": "^0.2.19",
132
144
  "@langchain/core": "^0.3.0 || ^1.0.0",
133
145
  "@modelcontextprotocol/sdk": "^1.29.0",
146
+ "@traceloop/instrumentation-google-generativeai": "^0.27.0",
134
147
  "@traceloop/instrumentation-vertexai": "^0.27.0",
135
148
  "ai": "*",
136
149
  "typescript": ">=5.0.0"
@@ -148,6 +161,9 @@
148
161
  "@modelcontextprotocol/sdk": {
149
162
  "optional": true
150
163
  },
164
+ "@traceloop/instrumentation-google-generativeai": {
165
+ "optional": true
166
+ },
151
167
  "@traceloop/instrumentation-vertexai": {
152
168
  "optional": true
153
169
  },
@@ -1,12 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
- var _chunkM3UGFLH7cjs = require('./chunk-M3UGFLH7.cjs');
6
- require('./chunk-NEF2O7HF.cjs');
7
- require('./chunk-OBGZSXTJ.cjs');
8
-
9
-
10
-
11
-
12
- exports.InterruptPropagator = _chunkM3UGFLH7cjs.InterruptPropagator; exports._resetInterruptState = _chunkM3UGFLH7cjs._resetInterruptState; exports.createInterruptIntegration = _chunkM3UGFLH7cjs.createInterruptIntegration;