Unverified Commit 2b249ce3 authored by Simon Esposito's avatar Simon Esposito Committed by GitHub
Browse files

Add runtimes satori integration (#993)

parent 478fa5fa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
### Added
- Add tournament record delete runtime functions and API.
- Add insecure flag to runtime http functions to optionally skip TLS checks.
- Add Satori API integration to all runtimes.

### Changed
- Improve graceful shutdown of Google IAP receipt processor.
+17 −17
Original line number Diff line number Diff line
@@ -3678,12 +3678,12 @@
        "verifyTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user's email was verified."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified."
        },
        "disableTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user's account was disabled/banned."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned."
        }
      },
      "description": "A user with additional account details. Always the current user."
@@ -3897,12 +3897,12 @@
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the message was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created."
        },
        "updateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the message was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated."
        },
        "persistent": {
          "type": "boolean",
@@ -4125,12 +4125,12 @@
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the group was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was created."
        },
        "updateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the group was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was last updated."
        }
      },
      "description": "A group in the server."
@@ -4206,17 +4206,17 @@
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the leaderboard record was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was created."
        },
        "updateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the leaderboard record was updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was updated."
        },
        "expiryTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the leaderboard record expires."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record expires."
        },
        "rank": {
          "type": "string",
@@ -4360,7 +4360,7 @@
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the notification was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created."
        },
        "persistent": {
          "type": "boolean",
@@ -4532,12 +4532,12 @@
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the object was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created."
        },
        "updateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the object was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated."
        }
      },
      "description": "An object within the storage engine."
@@ -4711,17 +4711,17 @@
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the tournament was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created."
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the tournament will start."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start."
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the tournament will be stopped."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped."
        },
        "duration": {
          "type": "integer",
@@ -4887,12 +4887,12 @@
        "createTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was created."
        },
        "updateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was last updated."
        },
        "facebookInstantGameId": {
          "type": "string",
+14 −14
Original line number Diff line number Diff line
@@ -2589,12 +2589,12 @@
        "create_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the message was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created."
        },
        "update_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the message was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated."
        },
        "persistent": {
          "type": "boolean",
@@ -2729,12 +2729,12 @@
        "create_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the group was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was created."
        },
        "update_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the group was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was last updated."
        }
      },
      "description": "A group in the server."
@@ -2793,17 +2793,17 @@
        "create_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the leaderboard record was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was created."
        },
        "update_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the leaderboard record was updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was updated."
        },
        "expiry_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the leaderboard record expires."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record expires."
        },
        "rank": {
          "type": "string",
@@ -2873,7 +2873,7 @@
        "create_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the notification was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created."
        },
        "persistent": {
          "type": "boolean",
@@ -2939,12 +2939,12 @@
        "create_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the object was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created."
        },
        "update_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the object was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated."
        }
      },
      "description": "An object within the storage engine."
@@ -3729,12 +3729,12 @@
        "verify_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user's email was verified."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified."
        },
        "disable_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user's account was disabled/banned."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned."
        }
      },
      "description": "A user with additional account details. Always the current user."
@@ -3834,12 +3834,12 @@
        "create_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user was created."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was created."
        },
        "update_time": {
          "type": "string",
          "format": "date-time",
          "description": "The UNIX time when the user was last updated."
          "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was last updated."
        },
        "facebook_instant_game_id": {
          "type": "string",
+14 −14
Original line number Diff line number Diff line
@@ -437,13 +437,13 @@ export interface ApiAccount {
	custom_id?:string
  // The devices which belong to the user's account.
	devices?:Array<ApiAccountDevice>
  // The UNIX time when the user's account was disabled/banned.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's account was disabled/banned.
	disable_time?:string
  // The email address of the user.
	email?:string
  // The user object.
	user?:ApiUser
  // The UNIX time when the user's email was verified.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user's email was verified.
	verify_time?:string
  // The user's wallet data.
	wallet?:string
@@ -465,7 +465,7 @@ export interface ApiChannelMessage {
	code?:number
  // The content payload.
	content?:string
  // The UNIX time when the message was created.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
	create_time?:string
  // The ID of the group, or an empty string if this message was not sent through a group channel.
	group_id?:string
@@ -477,7 +477,7 @@ export interface ApiChannelMessage {
	room_name?:string
  // Message sender, usually a user ID.
	sender_id?:string
  // The UNIX time when the message was last updated.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
	update_time?:string
  // The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
	user_id_one?:string
@@ -521,7 +521,7 @@ export interface ApiFriendList {
export interface ApiGroup {
  // A URL for an avatar image.
	avatar_url?:string
  // The UNIX time when the group was created.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was created.
	create_time?:string
  // The id of the user who created the group.
	creator_id?:string
@@ -541,7 +541,7 @@ export interface ApiGroup {
	name?:string
  // Anyone can join open groups, otherwise only admins can accept members.
	open?:boolean
  // The UNIX time when the group was last updated.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was last updated.
	update_time?:string
}

@@ -555,9 +555,9 @@ export interface ApiGroupUserList {

/** Represents a complete leaderboard record with all scores and associated metadata. */
export interface ApiLeaderboardRecord {
  // The UNIX time when the leaderboard record was created.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was created.
	create_time?:string
  // The UNIX time when the leaderboard record expires.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record expires.
	expiry_time?:string
  // The ID of the leaderboard this score belongs to.
	leaderboard_id?:string
@@ -575,7 +575,7 @@ export interface ApiLeaderboardRecord {
	score?:string
  // An optional subscore value.
	subscore?:string
  // The UNIX time when the leaderboard record was updated.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was updated.
	update_time?:string
  // The username of the score owner, if the owner is a user.
	username?:string
@@ -615,7 +615,7 @@ export interface ApiNotification {
	code?:number
  // Content of the notification in JSON.
	content?:string
  // The UNIX time when the notification was created.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created.
	create_time?:string
  // ID of the Notification.
	id?:string
@@ -641,7 +641,7 @@ export interface ApiPurchaseList {
export interface ApiStorageObject {
  // The collection which stores the object.
	collection?:string
  // The UNIX time when the object was created.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
	create_time?:string
  // The key of the object within the collection.
	key?:string
@@ -649,7 +649,7 @@ export interface ApiStorageObject {
	permission_read?:number
  // The write access permissions for the object.
	permission_write?:number
  // The UNIX time when the object was last updated.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.
	update_time?:string
  // The user owner of the object.
	user_id?:string
@@ -701,7 +701,7 @@ export interface ApiUser {
	apple_id?:string
  // A URL for an avatar image.
	avatar_url?:string
  // The UNIX time when the user was created.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was created.
	create_time?:string
  // The display name of the user.
	display_name?:string
@@ -729,7 +729,7 @@ export interface ApiUser {
	steam_id?:string
  // The timezone set by the user.
	timezone?:string
  // The UNIX time when the user was last updated.
  // The UNIX time (for gRPC clients) or ISO string (for REST clients) when the user was last updated.
	update_time?:string
  // The username of the user's account.
	username?:string
+6 −6
Original line number Diff line number Diff line
module github.com/heroiclabs/nakama/v3

go 1.18
go 1.20

require (
	github.com/blugelabs/bluge v0.2.2
@@ -13,7 +13,7 @@ require (
	github.com/gorilla/mux v1.8.0
	github.com/gorilla/websocket v1.5.0
	github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3
	github.com/heroiclabs/nakama-common v1.26.1-0.20230315184120-05f3d089030f
	github.com/heroiclabs/nakama-common v1.26.1-0.20230321170403-7becee7153cf
	github.com/jackc/pgconn v1.13.0
	github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa
	github.com/jackc/pgtype v1.12.0
@@ -45,7 +45,7 @@ require (
	github.com/blugelabs/ice v1.0.0 // indirect
	github.com/blugelabs/ice/v2 v2.0.1 // indirect
	github.com/caio/go-tdigest v3.1.0+incompatible // indirect
	github.com/cespare/xxhash/v2 v2.1.2 // indirect
	github.com/cespare/xxhash/v2 v2.1.1 // indirect
	github.com/davecgh/go-spew v1.1.1 // indirect
	github.com/dgryski/go-metro v0.0.0-20180109044635-280f6062b5bc // indirect
	github.com/dlclark/regexp2 v1.7.0 // indirect
@@ -65,11 +65,11 @@ require (
	github.com/mschoch/smat v0.2.0 // indirect
	github.com/pkg/errors v0.9.1 // indirect
	github.com/pmezard/go-difflib v1.0.0 // indirect
	github.com/prometheus/client_golang v1.11.1-0.20211129121811-6d5cf25fcc34 // indirect
	github.com/prometheus/client_golang v1.11.0 // indirect
	github.com/prometheus/client_model v0.2.0 // indirect
	github.com/prometheus/common v0.29.0 // indirect
	github.com/prometheus/common v0.26.0 // indirect
	github.com/prometheus/procfs v0.6.0 // indirect
	github.com/twmb/murmur3 v1.1.6 // indirect
	github.com/twmb/murmur3 v1.1.5 // indirect
	go.uber.org/multierr v1.6.0 // indirect
	golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect
	golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d // indirect
Loading