fix(httpauth-firebase)!: rename package httpauthfirebase, bump httpauth and rbac to v1.0.0
Rename package from httpauth to httpauthfirebase to follow ecosystem convention (repo name = package name, hyphens removed). Bump httpauth dependency from v0.1.0 to v1.0.0 and rbac indirect dependency from v0.9.0 to v1.0.0. BREAKING CHANGE: import path unchanged (code.nochebuena.dev/go/httpauth-firebase) but package identifier changes from httpauth to httpauthfirebase — remove any import alias previously used to disambiguate from code.nochebuena.dev/go/httpauth.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package httpauth_test
|
||||
package httpauthfirebase_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"firebase.google.com/go/v4/auth"
|
||||
|
||||
httpauth "code.nochebuena.dev/go/httpauth-firebase"
|
||||
httpauthfirebase "code.nochebuena.dev/go/httpauth-firebase"
|
||||
)
|
||||
|
||||
type mockVerifier struct{}
|
||||
@@ -15,4 +15,4 @@ func (m *mockVerifier) VerifyIDTokenAndCheckRevoked(_ context.Context, _ string)
|
||||
}
|
||||
|
||||
// Compile-time interface satisfaction check.
|
||||
var _ httpauth.TokenVerifier = (*mockVerifier)(nil)
|
||||
var _ httpauthfirebase.TokenVerifier = (*mockVerifier)(nil)
|
||||
|
||||
Reference in New Issue
Block a user