Releases: colyseus/colyseus-defold
Releases · colyseus/colyseus-defold
0.11.6
0.11.5
0.11.4
Allow to perform custom-made authenticated requests:
local query_params = {}
local callback = function(err, response)
-- ...
end
local post_body = "" -- optional
local custom_headers = {} -- optional
client.auth:request("POST", "/route", query_params, callback, post_body, custom_headers)
client.auth:request("POST", "/route", query_params, callback) -- omit optional params
0.11.3
0.11.2
0.11.1
0.11.0
Version 0.11 is finally here! 🎉
See migration guide: https://docs.colyseus.io/migrating/0.11/
0.10.5
0.10.4
0.10.3
Support for new experimental @colyseus/social
API.
See documentation: https://docs.colyseus.io/authentication/
Now available in the client:
client.auth:login()
client.auth:get_friends()
client.auth:get_online_friends()
client.auth:get_friend_requests()
client.auth:send_friend_request(user_id)
client.auth:accept_friend_request(user_id)
client.auth:decline_friend_request(user_id)
client.auth:send_friend_request(user_id)
client.auth:block_user(user_id)
client.auth:unblock_user(user_id)
client.push:register()