From b0a3cb83f59fd03b6e3b74fc39838e9ffb59703b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 19:13:10 +0200 Subject: [PATCH] Bump github.com/bitwarden/sdk-go from 0.1.1 to 1.0.0 (#20) * Bump github.com/bitwarden/sdk-go from 0.1.1 to 1.0.0 Bumps [github.com/bitwarden/sdk-go](https://github.com/bitwarden/sdk-go) from 0.1.1 to 1.0.0. - [Release notes](https://github.com/bitwarden/sdk-go/releases) - [Commits](https://github.com/bitwarden/sdk-go/compare/v0.1.1...v1.0.0) --- updated-dependencies: - dependency-name: github.com/bitwarden/sdk-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * updated the test mock Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- pkg/bitwarden/bitwarden_test.go | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8a12381..651aa76 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/external-secrets/bitwarden-sdk-server go 1.22 require ( - github.com/bitwarden/sdk-go v0.1.1 + github.com/bitwarden/sdk-go v1.0.0 github.com/go-chi/chi/v5 v5.1.0 github.com/spf13/cobra v1.8.1 github.com/stretchr/testify v1.9.0 diff --git a/go.sum b/go.sum index f2fe08f..6cae991 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/bitwarden/sdk-go v0.1.1 h1:Fn7d0SuThIEwaIecg3SRBM6RUbUyQQ7x7Ex+qrcLbMA= -github.com/bitwarden/sdk-go v0.1.1/go.mod h1:Gp2ADXAL0XQ3GO3zxAv503xSlL6ORPf0VZg2J+yQ6jU= +github.com/bitwarden/sdk-go v1.0.0 h1:XupMlyu7CxdtKFi7obSknwICQ2J+WtmzndfVkkiGShI= +github.com/bitwarden/sdk-go v1.0.0/go.mod h1:RuYh+gqffp3h8wNUVWz1bvp2Pho10AFz+WIlI26iWY4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/pkg/bitwarden/bitwarden_test.go b/pkg/bitwarden/bitwarden_test.go index 308d2d2..c97a548 100644 --- a/pkg/bitwarden/bitwarden_test.go +++ b/pkg/bitwarden/bitwarden_test.go @@ -56,6 +56,10 @@ func (t *testClient) Secrets() sdk.SecretsInterface { func (t *testClient) Close() {} +func (t *testClient) Generators() sdk.GeneratorsInterface { + return nil +} + var testBitwardenClient = func(testClient *testClient) func(apiURL, identityURL *string) (sdk.BitwardenClientInterface, error) { return func(apiURL, identityURL *string) (sdk.BitwardenClientInterface, error) { return testClient, nil