From ce286de8c4620931fd535898b10660359d1372da Mon Sep 17 00:00:00 2001 From: lukasIO Date: Thu, 16 Apr 2026 10:25:05 +0200 Subject: [PATCH 1/4] Export analytics proto from JS package --- packages/javascript/src/index.d.ts | 1 + packages/javascript/src/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/javascript/src/index.d.ts b/packages/javascript/src/index.d.ts index feafff998..4a726958c 100644 --- a/packages/javascript/src/index.d.ts +++ b/packages/javascript/src/index.d.ts @@ -2,6 +2,7 @@ export { protoInt64 } from "@bufbuild/protobuf"; export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js"; export * from "./gen/livekit_agent_dispatch_pb.js"; export * from "./gen/livekit_agent_pb.js"; +export * from "./gen/livekit_analytics_pb.js"; export * from "./gen/livekit_connector_pb.js"; export * from "./gen/livekit_connector_twilio_pb.js"; export * from "./gen/livekit_connector_whatsapp_pb.js"; diff --git a/packages/javascript/src/index.js b/packages/javascript/src/index.js index cd5dfd0b8..8f3342405 100644 --- a/packages/javascript/src/index.js +++ b/packages/javascript/src/index.js @@ -3,6 +3,7 @@ export { protoInt64 } from "@bufbuild/protobuf"; export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js"; export * from "./gen/livekit_agent_dispatch_pb.js"; export * from "./gen/livekit_agent_pb.js"; +export * from "./gen/livekit_analytics_pb.js"; export * from "./gen/livekit_connector_pb.js"; export * from "./gen/livekit_connector_twilio_pb.js"; export * from "./gen/livekit_connector_whatsapp_pb.js"; From a35ae9e61fb320381a65ef70f6293286084dd137 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Thu, 16 Apr 2026 10:26:12 +0200 Subject: [PATCH 2/4] changeset --- .changeset/loud-birds-wear.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/loud-birds-wear.md diff --git a/.changeset/loud-birds-wear.md b/.changeset/loud-birds-wear.md new file mode 100644 index 000000000..29b94572a --- /dev/null +++ b/.changeset/loud-birds-wear.md @@ -0,0 +1,5 @@ +--- +"@livekit/protocol": patch +--- + +Export analytics proto From 921fc017d7c35acbd922e687f70e2b76943e77c7 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Thu, 16 Apr 2026 12:27:40 +0200 Subject: [PATCH 3/4] also export timestamp --- packages/javascript/src/index.d.ts | 2 +- packages/javascript/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/javascript/src/index.d.ts b/packages/javascript/src/index.d.ts index 4a726958c..71088df0b 100644 --- a/packages/javascript/src/index.d.ts +++ b/packages/javascript/src/index.d.ts @@ -1,4 +1,4 @@ -export { protoInt64 } from "@bufbuild/protobuf"; +export { protoInt64, Timestamp } from "@bufbuild/protobuf"; export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js"; export * from "./gen/livekit_agent_dispatch_pb.js"; export * from "./gen/livekit_agent_pb.js"; diff --git a/packages/javascript/src/index.js b/packages/javascript/src/index.js index 8f3342405..a68990afc 100644 --- a/packages/javascript/src/index.js +++ b/packages/javascript/src/index.js @@ -1,5 +1,5 @@ // @ts-check -export { protoInt64 } from "@bufbuild/protobuf"; +export { protoInt64, Timestamp } from "@bufbuild/protobuf"; export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js"; export * from "./gen/livekit_agent_dispatch_pb.js"; export * from "./gen/livekit_agent_pb.js"; From dbf9ebb66a0dbd372e7de8646cc48630e37e19e0 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Thu, 16 Apr 2026 12:34:12 +0200 Subject: [PATCH 4/4] explicit import --- packages/javascript/src/index.d.ts | 3 ++- packages/javascript/src/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/javascript/src/index.d.ts b/packages/javascript/src/index.d.ts index 71088df0b..ff590392d 100644 --- a/packages/javascript/src/index.d.ts +++ b/packages/javascript/src/index.d.ts @@ -1,4 +1,5 @@ -export { protoInt64, Timestamp } from "@bufbuild/protobuf"; +import { protoInt64, Timestamp } from "@bufbuild/protobuf"; +export { protoInt64, Timestamp }; export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js"; export * from "./gen/livekit_agent_dispatch_pb.js"; export * from "./gen/livekit_agent_pb.js"; diff --git a/packages/javascript/src/index.js b/packages/javascript/src/index.js index a68990afc..e0191cd9b 100644 --- a/packages/javascript/src/index.js +++ b/packages/javascript/src/index.js @@ -1,5 +1,6 @@ // @ts-check -export { protoInt64, Timestamp } from "@bufbuild/protobuf"; +import { protoInt64, Timestamp } from "@bufbuild/protobuf"; +export { protoInt64, Timestamp }; export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js"; export * from "./gen/livekit_agent_dispatch_pb.js"; export * from "./gen/livekit_agent_pb.js";