Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230929
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Oct 2, 2023
2 parents 677b190 + 1036d76 commit 702a8be
Show file tree
Hide file tree
Showing 41 changed files with 535 additions and 134 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.154.230915",
"version": "1.156.230929",
"description": "Playfab SDK for JS client applications",
"license": "Apache-2.0",
"repository": {
Expand Down
8 changes: 4 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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
19 changes: 13 additions & 6 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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down Expand Up @@ -1087,8 +1087,15 @@ PlayFab.ClientApi = {
// 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 && result.data.SessionTicket != null) {
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
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);
Expand Down
8 changes: 4 additions & 4 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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabEconomyApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabEventsApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabGroupsApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabInsightsApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
12 changes: 8 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down Expand Up @@ -505,6 +505,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders);
},

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

RolloverContainerRegistryCredentials: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders);
},
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabProfilesApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
8 changes: 4 additions & 4 deletions PlayFabSdk/src/PlayFab/PlayFabServerApi.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.154.230915",
sdkVersion: "1.156.230929",
requestGetParams: {
sdk: "JavaScriptSDK-1.154.230915"
sdk: "JavaScriptSDK-1.156.230929"
},
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 = "adobuild_javascriptsdk_114";
PlayFab.sdkVersion = "1.154.230915";
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
PlayFab.sdkVersion = "1.156.230929";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
Expand Down
Loading

0 comments on commit 702a8be

Please sign in to comment.