diff --git a/go.mod b/go.mod index 7a104a1b..78a02fb4 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( ) require ( - github.com/ergochat/webpush-go/v2 v2.0.0-rc1 + github.com/ergochat/webpush-go/v2 v2.0.0 github.com/golang-jwt/jwt/v5 v5.2.1 ) diff --git a/go.sum b/go.sum index 4499c210..73d9ed59 100644 --- a/go.sum +++ b/go.sum @@ -14,8 +14,8 @@ github.com/ergochat/irc-go v0.5.0-rc2 h1:VuSQJF5K4hWvYSzGa4b8vgL6kzw8HF6LSOejE+R github.com/ergochat/irc-go v0.5.0-rc2/go.mod h1:2vi7KNpIPWnReB5hmLpl92eMywQvuIeIIGdt/FQCph0= github.com/ergochat/scram v1.0.2-ergo1 h1:2bYXiRFQH636pT0msOG39fmEYl4Eq+OuutcyDsCix/g= github.com/ergochat/scram v1.0.2-ergo1/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= -github.com/ergochat/webpush-go/v2 v2.0.0-rc1 h1:CzSebM2OFM1zkAviYtkrBj5xtQc7Ka+Po607xbmZ+40= -github.com/ergochat/webpush-go/v2 v2.0.0-rc1/go.mod h1:OQlhnq8JeHDzRzAy6bdDObr19uqbHliOV+z7mHbYr4c= +github.com/ergochat/webpush-go/v2 v2.0.0 h1:n6eoJk8RpzJFeBJ6gxvqo/dngnVEmJbzJwzKtCZbByo= +github.com/ergochat/webpush-go/v2 v2.0.0/go.mod h1:OQlhnq8JeHDzRzAy6bdDObr19uqbHliOV+z7mHbYr4c= github.com/ergochat/websocket v1.4.2-oragono1 h1:plMUunFBM6UoSCIYCKKclTdy/TkkHfUslhOfJQzfueM= github.com/ergochat/websocket v1.4.2-oragono1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= diff --git a/vendor/github.com/ergochat/webpush-go/v2/CHANGELOG.md b/vendor/github.com/ergochat/webpush-go/v2/CHANGELOG.md index 3dd34d5a..7ac1a515 100644 --- a/vendor/github.com/ergochat/webpush-go/v2/CHANGELOG.md +++ b/vendor/github.com/ergochat/webpush-go/v2/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog All notable changes to webpush-go will be documented in this file. -## [2.0.0] - 2025-01-01 +## [2.0.0] - 2025-01-16 * Update the `Keys` struct definition to store `Auth` as `[16]byte` and `P256dh` as `*ecdh.PublicKey` * `Keys` can no longer be compared with `==`; use `(*Keys.Equal)` instead diff --git a/vendor/github.com/ergochat/webpush-go/v2/README.md b/vendor/github.com/ergochat/webpush-go/v2/README.md index 461b4c84..80c5e876 100644 --- a/vendor/github.com/ergochat/webpush-go/v2/README.md +++ b/vendor/github.com/ergochat/webpush-go/v2/README.md @@ -4,7 +4,7 @@ Web Push API Encryption with VAPID support. -This library is a fork of [SherClockHolmes/webpush-go](https://github.com/SherClockHolmes/webpush-go). +This library is a fork of [SherClockHolmes/webpush-go](https://github.com/SherClockHolmes/webpush-go). See CHANGELOG.md for details on migrating from the upstream library. ```bash go get -u github.com/ergochat/webpush-go/v2 diff --git a/vendor/github.com/ergochat/webpush-go/v2/webpush.go b/vendor/github.com/ergochat/webpush-go/v2/webpush.go index abdc9b17..a20d67f0 100644 --- a/vendor/github.com/ergochat/webpush-go/v2/webpush.go +++ b/vendor/github.com/ergochat/webpush-go/v2/webpush.go @@ -29,7 +29,7 @@ var ( invalidAuthKeyLength = errors.New("invalid auth key length (must be 16)") - defaultHTTPClient = &http.Client{} + defaultHTTPClient HTTPClient = &http.Client{} ) // HTTPClient is an interface for sending the notification HTTP request / testing diff --git a/vendor/modules.txt b/vendor/modules.txt index d123950f..a57d753e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -22,7 +22,7 @@ github.com/ergochat/irc-go/ircfmt github.com/ergochat/irc-go/ircmsg github.com/ergochat/irc-go/ircreader github.com/ergochat/irc-go/ircutils -# github.com/ergochat/webpush-go/v2 v2.0.0-rc1 +# github.com/ergochat/webpush-go/v2 v2.0.0 ## explicit; go 1.20 github.com/ergochat/webpush-go/v2 # github.com/go-sql-driver/mysql v1.7.0