Skip to content

Commit 5e1629e

Browse files
authored
Merge branch 'develop' into sig/hono-e2e-cf
2 parents 02d982e + 2fd74e9 commit 5e1629e

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

.size-limit.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ module.exports = [
221221
name: 'CDN Bundle (incl. Tracing, Replay, Logs, Metrics)',
222222
path: createCDNPath('bundle.tracing.replay.logs.metrics.min.js'),
223223
gzip: true,
224-
limit: '83 KB',
224+
limit: '84 KB',
225225
},
226226
{
227227
name: 'CDN Bundle (incl. Tracing, Replay, Feedback)',
@@ -283,7 +283,7 @@ module.exports = [
283283
path: createCDNPath('bundle.tracing.replay.logs.metrics.min.js'),
284284
gzip: false,
285285
brotli: false,
286-
limit: '255 KB',
286+
limit: '256 KB',
287287
},
288288
{
289289
name: 'CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed',
@@ -297,7 +297,7 @@ module.exports = [
297297
path: createCDNPath('bundle.tracing.replay.feedback.logs.metrics.min.js'),
298298
gzip: false,
299299
brotli: false,
300-
limit: '268 KB',
300+
limit: '269 KB',
301301
},
302302
// Next.js SDK (ESM)
303303
{

packages/core/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,10 @@ export type {
192192
GoogleGenAIClient,
193193
GoogleGenAIChat,
194194
GoogleGenAIOptions,
195-
GoogleGenAIIstrumentedMethod,
195+
GoogleGenAIInstrumentedMethod,
196196
} from './tracing/google-genai/types';
197+
// eslint-disable-next-line deprecation/deprecation
198+
export type { GoogleGenAIIstrumentedMethod } from './tracing/google-genai/types';
197199

198200
export { SpanBuffer } from './tracing/spans/spanBuffer';
199201
export { hasSpanStreamingEnabled } from './tracing/spans/hasSpanStreamingEnabled';

packages/core/src/tracing/google-genai/types.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,14 @@ export interface GoogleGenAIChat {
186186
sendMessageStream: (...args: unknown[]) => Promise<AsyncGenerator<GenerateContentResponse, any, unknown>>;
187187
}
188188

189+
export type GoogleGenAIInstrumentedMethod = keyof typeof GOOGLE_GENAI_METHOD_REGISTRY;
190+
189191
/**
190-
* @deprecated This type is no longer used and will be removed in the next major version.
192+
* @deprecated Use {@link GoogleGenAIInstrumentedMethod} instead. This alias
193+
* preserves backwards compatibility with the misspelled name and will be
194+
* removed in the next major version.
191195
*/
192-
export type GoogleGenAIIstrumentedMethod = keyof typeof GOOGLE_GENAI_METHOD_REGISTRY;
196+
export type GoogleGenAIIstrumentedMethod = GoogleGenAIInstrumentedMethod;
193197

194198
// Export the response type for use in instrumentation
195199
export type GoogleGenAIResponse = GenerateContentResponse;

0 commit comments

Comments
 (0)