diff --git a/client/client.go b/client/client.go index b835800..46b0167 100644 --- a/client/client.go +++ b/client/client.go @@ -5,7 +5,7 @@ import ( "github.com/instill-ai/usage-client/reporter" - usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha" + usagePB "github.com/instill-ai/protogen-go/core/usage/v1beta" ) // InitReporter creates a usage reporter diff --git a/go.mod b/go.mod index 89777dc..34f935e 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ retract v0.2.0-alpha require ( github.com/catalinc/hashcash v0.0.0-20220723060415-5e3ec3e24f67 - github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e + github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e google.golang.org/protobuf v1.30.0 ) diff --git a/go.sum b/go.sum index 4bda2af..54b96bd 100644 --- a/go.sum +++ b/go.sum @@ -15,8 +15,8 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= -github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e h1:LxRhHQb0dWRWUKYwNTE/wLnV0Bd/pRasg5J0XILBoJw= -github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e/go.mod h1:z/L84htamlJ4QOR4jtJOaa+y3Hihu7WEqOipW0LEkmc= +github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e h1:n9hR63xsrYQ104bj397LwYr3hpu51nAJRYQLdy/S/I0= +github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e/go.mod h1:q/YL5TZXD9nvmJ7Rih4gY3/B2HT2+GiFdxeZp9D+yE4= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/reporter/reporter.go b/reporter/reporter.go index 2ba8791..04f5ed5 100644 --- a/reporter/reporter.go +++ b/reporter/reporter.go @@ -13,7 +13,7 @@ import ( "github.com/instill-ai/usage-client/internal/logger" "github.com/instill-ai/usage-client/session" - usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha" + usagePB "github.com/instill-ai/protogen-go/core/usage/v1beta" ) const ( diff --git a/session/session.go b/session/session.go index 649a96d..cdbf077 100644 --- a/session/session.go +++ b/session/session.go @@ -7,7 +7,7 @@ import ( "encoding/json" "time" - usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha" + usagePB "github.com/instill-ai/protogen-go/core/usage/v1beta" ) // Session is a new type of usagePB.session