Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/social-icons-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/service-utils": patch
---

[service-utils] fix usageV2 caller
6 changes: 3 additions & 3 deletions packages/service-utils/src/node/usageV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export class UsageV2Producer {
*/
producerName: string;
/**
* The environment the service is running in.
* A comma-separated list of `host[:port]` Kafka servers.
*/
environment: "development" | "production";
kafkaServers: "development" | "production";
/**
* The product where usage is coming from.
*/
Expand All @@ -41,7 +41,7 @@ export class UsageV2Producer {
}) {
this.kafkaProducer = new KafkaProducer({
producerName: config.producerName,
environment: config.environment,
kafkaServers: config.kafkaServers,
username: config.username,
password: config.password,
});
Expand Down
Loading