Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#211108
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Nov 9, 2021
2 parents 9b401fd + 833ce06 commit b7810d8
Show file tree
Hide file tree
Showing 56 changed files with 3,679 additions and 656 deletions.
2 changes: 1 addition & 1 deletion PlayFabSdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playfab-web-sdk",
"version": "1.79.201217",
"version": "1.96.211108",
"description": "Playfab SDK for JS client applications",
"license": "Apache-2.0",
"repository": {
Expand Down
25 changes: 21 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabAdminApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.79.201217",
sdkVersion: "1.96.211108",
requestGetParams: {
sdk: "JavaScriptSDK-1.79.201217"
sdk: "JavaScriptSDK-1.96.211108"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
Expand Down Expand Up @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0";
PlayFab.sdkVersion = "1.79.201217";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_115";
PlayFab.sdkVersion = "1.96.211108";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down Expand Up @@ -257,6 +257,9 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders);
},

/**
* @deprecated Do not use
*/
AddServerBuild: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -313,6 +316,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},

DeleteMembershipSubscription: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMembershipSubscription", request, "X-SecretKey", callback, customData, extraHeaders);
},

DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -449,6 +456,9 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders);
},

/**
* @deprecated Do not use
*/
GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -533,6 +543,9 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders);
},

/**
* @deprecated Do not use
*/
ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -601,6 +614,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders);
},

SetMembershipOverride: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetMembershipOverride", request, "X-SecretKey", callback, customData, extraHeaders);
},

SetPlayerSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.79.201217",
sdkVersion: "1.96.211108",
requestGetParams: {
sdk: "JavaScriptSDK-1.79.201217"
sdk: "JavaScriptSDK-1.96.211108"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
Expand Down Expand Up @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0";
PlayFab.sdkVersion = "1.79.201217";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_115";
PlayFab.sdkVersion = "1.96.211108";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
75 changes: 11 additions & 64 deletions PlayFabSdk/src/PlayFab/PlayFabClientApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.79.201217",
sdkVersion: "1.96.211108",
requestGetParams: {
sdk: "JavaScriptSDK-1.79.201217"
sdk: "JavaScriptSDK-1.96.211108"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
Expand Down Expand Up @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0";
PlayFab.sdkVersion = "1.79.201217";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_115";
PlayFab.sdkVersion = "1.96.211108";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down Expand Up @@ -297,6 +297,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders);
},

ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders);
},

ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -525,10 +529,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders);
},

GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders);
},

GrantCharacterToUser: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -593,10 +593,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders);
},

LinkWindowsHello: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders);
},

LinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -1009,30 +1005,6 @@ PlayFab.ClientApi = {
return new Promise(function(resolve){resolve(authenticationContext);});
},

LoginWithWindowsHello: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
var authenticationContext = JSON.parse(JSON.stringify(PlayFab._internalSettings.authenticationContext));
var overloadCallback = function (result, error) {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithWindowsHello", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},

LoginWithXbox: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
Expand Down Expand Up @@ -1100,30 +1072,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders);
},

RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
// Deep-copy the authenticationContext here to safely update it
var authenticationContext = JSON.parse(JSON.stringify(PlayFab._internalSettings.authenticationContext));
var overloadCallback = function (result, error) {
if (result != null) {
if(result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
}
if (result.data.EntityToken != null) {
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
}
// Apply the updates for the AuthenticationContext returned to the client
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
};
PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterWithWindowsHello", request, null, overloadCallback, customData, extraHeaders);
// Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
return new Promise(function(resolve){resolve(authenticationContext);});
},

RemoveContactEmail: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -1172,6 +1120,9 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders);
},

/**
* @deprecated Do not use
*/
StartGame: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders);
},
Expand Down Expand Up @@ -1244,10 +1195,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders);
},

UnlinkWindowsHello: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders);
},

UnlinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders);
},
Expand Down
16 changes: 10 additions & 6 deletions PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.79.201217",
sdkVersion: "1.96.211108",
requestGetParams: {
sdk: "JavaScriptSDK-1.79.201217"
sdk: "JavaScriptSDK-1.96.211108"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
Expand Down Expand Up @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0";
PlayFab.sdkVersion = "1.79.201217";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_115";
PlayFab.sdkVersion = "1.96.211108";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand All @@ -242,11 +242,15 @@ PlayFab.CloudScriptApi = {
},

ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders);
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders);
},

ExecuteFunction: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders);
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders);
},

GetFunction: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/GetFunction", request, "X-EntityToken", callback, customData, extraHeaders);
},

ListFunctions: function (request, callback, customData, extraHeaders) {
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabDataApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
sdkVersion: "1.79.201217",
sdkVersion: "1.96.211108",
requestGetParams: {
sdk: "JavaScriptSDK-1.79.201217"
sdk: "JavaScriptSDK-1.96.211108"
},
sessionTicket: null,
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
Expand Down Expand Up @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
}
}

PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0";
PlayFab.sdkVersion = "1.79.201217";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_115";
PlayFab.sdkVersion = "1.96.211108";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
Loading

0 comments on commit b7810d8

Please sign in to comment.