Skip to content

Commit

Permalink
fix: update pubnub package to v7.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
narendrens committed May 18, 2023
1 parent d823ec5 commit 859b7c8
Show file tree
Hide file tree
Showing 7 changed files with 266 additions and 68 deletions.
13 changes: 2 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,18 @@ require (
github.com/armon/go-metrics v0.3.6 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
github.com/brianolson/cbor_go v1.0.0 // indirect
github.com/customerio/gospec v0.0.0-20130710230057-a5cc0e48aa39 // indirect
github.com/garyburd/redigo v1.6.2 // indirect
github.com/go-mangos/mangos v1.4.0
github.com/go-redis/redis v6.15.9+incompatible
github.com/google/uuid v1.2.0 // indirect
github.com/gopherjs/gopherjs v0.0.0-20210202160940-bed99a852dfe // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/google/uuid v1.3.0
github.com/jrallison/go-workers v0.0.0-20180112190529-dbf81d0b75bb
github.com/lib/pq v1.10.0 // indirect
github.com/nats-io/gnatsd v1.4.0 // indirect
github.com/nats-io/go-nats v1.5.0
github.com/nats-io/go-nats-streaming v0.4.0
github.com/nats-io/nats-streaming-server v0.21.1 // indirect
github.com/onsi/gomega v1.11.0 // indirect
github.com/orfjackal/nanospec.go v0.0.0-20120727230329-de4694c1d701 // indirect
github.com/pubnub/go v4.10.0+incompatible
github.com/smartystreets/assertions v1.2.0 // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/pubnub/go/v7 v7.1.2
github.com/streadway/amqp v1.0.0
github.com/stretchr/testify v1.7.0
nanomsg.org/go-mangos v1.4.0
Expand Down
311 changes: 259 additions & 52 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion message/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
gredis "github.com/go-redis/redis"
nats "github.com/nats-io/go-nats"
natsStream "github.com/nats-io/go-nats-streaming"
pubnub "github.com/pubnub/go"
pubnub "github.com/pubnub/go/v7"
"github.com/streadway/amqp"
mangos "nanomsg.org/go-mangos"
)
Expand Down
2 changes: 1 addition & 1 deletion message/mocks/PubnubRawClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protocols/pub/pubnub/pubnub.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pubnub
import (
judoConfig "github.com/amagimedia/judo/v3/config"
"github.com/amagimedia/judo/v3/publisher"
pubnub "github.com/pubnub/go"
pubnub "github.com/pubnub/go/v7"
)

type Config struct {
Expand Down
2 changes: 1 addition & 1 deletion protocols/sub/pubnub.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
jmsg "github.com/amagimedia/judo/v3/message"
"github.com/amagimedia/judo/v3/service"
gredis "github.com/go-redis/redis"
pubnub "github.com/pubnub/go"
pubnub "github.com/pubnub/go/v7"
)

type pubnubConnector func(pubnubConfig) (jmsg.RawPubnubClient, error)
Expand Down
2 changes: 1 addition & 1 deletion protocols/sub/pubnub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/amagimedia/judo/v3/message"
"github.com/amagimedia/judo/v3/message/mocks"
pubnub "github.com/pubnub/go"
pubnub "github.com/pubnub/go/v7"
"github.com/stretchr/testify/mock"
)

Expand Down

0 comments on commit 859b7c8

Please sign in to comment.