From 272d5c6f2ae8c75b1e46633a1d39a67486e786fc Mon Sep 17 00:00:00 2001 From: Chris Molozian Date: Tue, 28 Sep 2021 13:17:32 +0100 Subject: [PATCH] Update to Nakama common 1.18.0 release. --- go.mod | 2 +- go.sum | 8 ++------ .../heroiclabs/nakama-common/runtime/runtime.go | 2 +- vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 602b927dd..bedddc0a5 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/gorilla/mux v1.8.0 github.com/gorilla/websocket v1.4.2 github.com/grpc-ecosystem/grpc-gateway/v2 v2.3.0 - github.com/heroiclabs/nakama-common v0.0.0-20210927193149-32e907f95d02 + github.com/heroiclabs/nakama-common v1.18.0 github.com/jackc/pgconn v1.8.1 github.com/jackc/pgerrcode v0.0.0-20201024163028-a0d42d470451 github.com/jackc/pgtype v1.7.0 diff --git a/go.sum b/go.sum index af88a4220..dcf2d2d0d 100644 --- a/go.sum +++ b/go.sum @@ -310,12 +310,8 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/heroiclabs/nakama-common v0.0.0-20210907132825-508fa27d8eeb h1:HDNmqExiGhrIZSEeYqi0gSyOd9xPE+0Vw4NUhG5/N44= -github.com/heroiclabs/nakama-common v0.0.0-20210907132825-508fa27d8eeb/go.mod h1:jzIGV5bI45ALRQFzHPkJn4Z0tV+xhtho1+pZhOXVAsk= -github.com/heroiclabs/nakama-common v0.0.0-20210927193149-32e907f95d02 h1:5mtyOeLIGrVl4+fRC7aFWQM+E2M2/gUjiOgRWC2RuI4= -github.com/heroiclabs/nakama-common v0.0.0-20210927193149-32e907f95d02/go.mod h1:jzIGV5bI45ALRQFzHPkJn4Z0tV+xhtho1+pZhOXVAsk= -github.com/heroiclabs/nakama-common v1.17.0 h1:DkL5HALtf9LJCAI/lgYddCyZ6PJjWxphOpwz746jiN0= -github.com/heroiclabs/nakama-common v1.17.0/go.mod h1:jzIGV5bI45ALRQFzHPkJn4Z0tV+xhtho1+pZhOXVAsk= +github.com/heroiclabs/nakama-common v1.18.0 h1:afrtYzS9M73j5d02SX4h9ylFpgO0qKxLewgkc16l1jA= +github.com/heroiclabs/nakama-common v1.18.0/go.mod h1:jzIGV5bI45ALRQFzHPkJn4Z0tV+xhtho1+pZhOXVAsk= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= diff --git a/vendor/github.com/heroiclabs/nakama-common/runtime/runtime.go b/vendor/github.com/heroiclabs/nakama-common/runtime/runtime.go index 30f52e0b2..0af6f05f2 100644 --- a/vendor/github.com/heroiclabs/nakama-common/runtime/runtime.go +++ b/vendor/github.com/heroiclabs/nakama-common/runtime/runtime.go @@ -955,7 +955,7 @@ type NakamaModule interface { TournamentJoin(ctx context.Context, id, ownerID, username string) error TournamentsGetId(ctx context.Context, tournamentIDs []string) ([]*api.Tournament, error) TournamentList(ctx context.Context, categoryStart, categoryEnd, startTime, endTime, limit int, cursor string) (*api.TournamentList, error) - TournamentRecordsList(ctx context.Context, tournamentId string, ownerIDs []string, limit int, cursor string, overrideExpiry int64) (records []*api.LeaderboardRecord, ownerRecords []*api.LeaderboardRecord, nextCursor string, prevCursor string, err error) + TournamentRecordsList(ctx context.Context, tournamentId string, ownerIDs []string, limit int, cursor string, overrideExpiry int64) (records []*api.LeaderboardRecord, ownerRecords []*api.LeaderboardRecord, prevCursor string, nextCursor string, err error) TournamentRecordWrite(ctx context.Context, id, ownerID, username string, score, subscore int64, metadata map[string]interface{}, operatorOverride *int) (*api.LeaderboardRecord, error) TournamentRecordsHaystack(ctx context.Context, id, ownerID string, limit int, expiry int64) ([]*api.LeaderboardRecord, error) diff --git a/vendor/modules.txt b/vendor/modules.txt index 9ea198bbd..e6e26459b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -139,7 +139,7 @@ github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/internal/genopena github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options github.com/grpc-ecosystem/grpc-gateway/v2/runtime github.com/grpc-ecosystem/grpc-gateway/v2/utilities -# github.com/heroiclabs/nakama-common v0.0.0-20210927193149-32e907f95d02 +# github.com/heroiclabs/nakama-common v1.18.0 ## explicit github.com/heroiclabs/nakama-common/api github.com/heroiclabs/nakama-common/rtapi -- GitLab