Skip to content

Commit 702a8be

Browse files
PlayFab SDK TeamPlayFab SDK Team
authored andcommitted
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230929
2 parents 677b190 + 1036d76 commit 702a8be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+535
-134
lines changed

PlayFabSdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playfab-web-sdk",
3-
"version": "1.154.230915",
3+
"version": "1.156.230929",
44
"description": "Playfab SDK for JS client applications",
55
"license": "Apache-2.0",
66
"repository": {

PlayFabSdk/src/PlayFab/PlayFabAdminApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabClientApi.js

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";
@@ -1087,8 +1087,15 @@ PlayFab.ClientApi = {
10871087
// Deep-copy the authenticationContext here to safely update it
10881088
var authenticationContext = JSON.parse(JSON.stringify(PlayFab._internalSettings.authenticationContext));
10891089
var overloadCallback = function (result, error) {
1090-
if (result != null && result.data.SessionTicket != null) {
1091-
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
1090+
if (result != null) {
1091+
if(result.data.SessionTicket != null) {
1092+
PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
1093+
}
1094+
if (result.data.EntityToken != null) {
1095+
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
1096+
}
1097+
// Apply the updates for the AuthenticationContext returned to the client
1098+
authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
10921099
}
10931100
if (callback != null && typeof (callback) === "function")
10941101
callback(result, error);

PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabDataApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabEventsApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414
if(!PlayFab._internalSettings) {
1515
PlayFab._internalSettings = {
1616
entityToken: null,
17-
sdkVersion: "1.154.230915",
17+
sdkVersion: "1.156.230929",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.154.230915"
19+
sdk: "JavaScriptSDK-1.156.230929"
2020
},
2121
sessionTicket: null,
2222
verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) {
223223
}
224224
}
225225

226-
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227-
PlayFab.sdkVersion = "1.154.230915";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_8";
227+
PlayFab.sdkVersion = "1.156.230929";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

0 commit comments

Comments
 (0)