@brizz/sdk 0.2.1 → 0.2.3
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/CHANGELOG.md +13 -0
- package/dist/{chunk-KJSZPKSN.js → chunk-2XK75HRB.js} +1 -1
- package/dist/{chunk-6OYS2GR3.js → chunk-DIOULRY4.js} +2 -1
- package/dist/{chunk-QXHGMS5A.cjs → chunk-DY3UL5K7.cjs} +1 -1
- package/dist/{chunk-P5OONZTF.cjs → chunk-PUOXH4CD.cjs} +3 -2
- package/dist/google-genai-KDEYFHTK.cjs +12 -0
- package/dist/{google-genai-H6TMOKRX.js → google-genai-ZKKWSBVY.js} +3 -1
- package/dist/google-genai.cjs +2 -2
- package/dist/google-genai.js +1 -1
- package/dist/index.cjs +242 -207
- package/dist/index.js +226 -191
- package/dist/{mcp-YTBE75NP.js → mcp-5N37RUW3.js} +1 -1
- package/dist/{mcp-6LNVYVJQ.cjs → mcp-QPMPVJZD.cjs} +11 -11
- package/dist/types/cjs/internal/instrumentation/google-genai.d.ts +1 -0
- package/dist/types/cjs/internal/masking/utils.d.ts +1 -1
- package/dist/types/esm/internal/instrumentation/google-genai.d.ts +1 -0
- package/dist/types/esm/internal/masking/utils.d.ts +1 -1
- package/package.json +21 -19
- package/dist/google-genai-6S5E7GZ4.cjs +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @brizz/sdk
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Supports `@google/genai` 3.x.
|
|
8
|
+
- AI SDK approval pauses are reported when Brizz runs inside your own tracer provider.
|
|
9
|
+
|
|
10
|
+
## 0.2.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- More precise PII masking: decimal numbers are left intact.
|
|
15
|
+
|
|
3
16
|
## 0.2.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import { InstrumentationNodeModuleDefinition } from "@opentelemetry/instrumentation";
|
|
10
10
|
import { GenAIInstrumentation } from "@traceloop/instrumentation-google-generativeai";
|
|
11
11
|
var MODULE_NAME = "@google/genai";
|
|
12
|
-
var SUPPORTED_VERSIONS = [">=1.0.0 <
|
|
12
|
+
var SUPPORTED_VERSIONS = [">=1.0.0 <4.0.0"];
|
|
13
13
|
var GoogleGenAIInstrumentation = class extends GenAIInstrumentation {
|
|
14
14
|
constructor(config) {
|
|
15
15
|
super(config);
|
|
@@ -65,6 +65,7 @@ function instrumentGoogleGenAI(module) {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export {
|
|
68
|
+
SUPPORTED_VERSIONS,
|
|
68
69
|
GoogleGenAIInstrumentation,
|
|
69
70
|
instrumentGoogleGenAI
|
|
70
71
|
};
|
|
@@ -9,7 +9,7 @@ var _chunkC5OT6GAQcjs = require('./chunk-C5OT6GAQ.cjs');
|
|
|
9
9
|
var _instrumentation = require('@opentelemetry/instrumentation');
|
|
10
10
|
var _instrumentationgooglegenerativeai = require('@traceloop/instrumentation-google-generativeai');
|
|
11
11
|
var MODULE_NAME = "@google/genai";
|
|
12
|
-
var SUPPORTED_VERSIONS = [">=1.0.0 <
|
|
12
|
+
var SUPPORTED_VERSIONS = [">=1.0.0 <4.0.0"];
|
|
13
13
|
var GoogleGenAIInstrumentation = class extends _instrumentationgooglegenerativeai.GenAIInstrumentation {
|
|
14
14
|
constructor(config) {
|
|
15
15
|
super(config);
|
|
@@ -67,4 +67,5 @@ function instrumentGoogleGenAI(module) {
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
|
|
71
|
+
exports.SUPPORTED_VERSIONS = SUPPORTED_VERSIONS; exports.GoogleGenAIInstrumentation = GoogleGenAIInstrumentation; exports.instrumentGoogleGenAI = instrumentGoogleGenAI;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkPUOXH4CDcjs = require('./chunk-PUOXH4CD.cjs');
|
|
6
|
+
require('./chunk-DC2MFO65.cjs');
|
|
7
|
+
require('./chunk-C5OT6GAQ.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.GoogleGenAIInstrumentation = _chunkPUOXH4CDcjs.GoogleGenAIInstrumentation; exports.SUPPORTED_VERSIONS = _chunkPUOXH4CDcjs.SUPPORTED_VERSIONS; exports.instrumentGoogleGenAI = _chunkPUOXH4CDcjs.instrumentGoogleGenAI;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GoogleGenAIInstrumentation,
|
|
3
|
+
SUPPORTED_VERSIONS,
|
|
3
4
|
instrumentGoogleGenAI
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DIOULRY4.js";
|
|
5
6
|
import "./chunk-TDPQDITP.js";
|
|
6
7
|
import "./chunk-CZDPIJTO.js";
|
|
7
8
|
export {
|
|
8
9
|
GoogleGenAIInstrumentation,
|
|
10
|
+
SUPPORTED_VERSIONS,
|
|
9
11
|
instrumentGoogleGenAI
|
|
10
12
|
};
|
package/dist/google-genai.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPUOXH4CDcjs = require('./chunk-PUOXH4CD.cjs');
|
|
4
4
|
require('./chunk-DC2MFO65.cjs');
|
|
5
5
|
require('./chunk-C5OT6GAQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.instrumentGoogleGenAI =
|
|
8
|
+
exports.instrumentGoogleGenAI = _chunkPUOXH4CDcjs.instrumentGoogleGenAI;
|