Skip to content

Commit 22353c0

Browse files
PlayFab SDK TeamPlayFab SDK Team
authored andcommitted
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#221010
2 parents 3f0b94f + 312a568 commit 22353c0

37 files changed

+145
-137
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.129.220926",
3+
"version": "1.130.221010",
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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js

Lines changed: 11 additions & 5 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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";
@@ -242,7 +242,13 @@ PlayFab.AuthenticationApi = {
242242
},
243243

244244
AuthenticateGameServerWithCustomId: function (request, callback, customData, extraHeaders) {
245-
return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", callback, customData, extraHeaders);
245+
var overloadCallback = function (result, error) {
246+
if (result != null && result.data.EntityToken != null && result.data.EntityToken.EntityToken != null)
247+
PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
248+
if (callback != null && typeof (callback) === "function")
249+
callback(result, error);
250+
};
251+
return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", overloadCallback, customData, extraHeaders);
246252
},
247253

248254
Delete: function (request, callback, customData, extraHeaders) {

PlayFabSdk/src/PlayFab/PlayFabClientApi.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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
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.129.220926",
17+
sdkVersion: "1.130.221010",
1818
requestGetParams: {
19-
sdk: "JavaScriptSDK-1.129.220926"
19+
sdk: "JavaScriptSDK-1.130.221010"
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_115";
227-
PlayFab.sdkVersion = "1.129.220926";
226+
PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
227+
PlayFab.sdkVersion = "1.130.221010";
228228
PlayFab.GenerateErrorReport = function (error) {
229229
if (error == null)
230230
return "";

0 commit comments

Comments
 (0)