@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
1414if ( ! PlayFab . _internalSettings ) {
1515 PlayFab . _internalSettings = {
1616 entityToken : null ,
17- sdkVersion : "1.79.201217 " ,
17+ sdkVersion : "1.96.211108 " ,
1818 requestGetParams : {
19- sdk : "JavaScriptSDK-1.79.201217 "
19+ sdk : "JavaScriptSDK-1.96.211108 "
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 = "jbuild_javascriptsdk_sdk-generic-2_0 " ;
227- PlayFab . sdkVersion = "1.79.201217 " ;
226+ PlayFab . buildIdentifier = "adobuild_javascriptsdk_115 " ;
227+ PlayFab . sdkVersion = "1.96.211108 " ;
228228PlayFab . GenerateErrorReport = function ( error ) {
229229 if ( error == null )
230230 return "" ;
@@ -297,6 +297,10 @@ PlayFab.ClientApi = {
297297 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/ConsumeMicrosoftStoreEntitlements" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
298298 } ,
299299
300+ ConsumePS5Entitlements : function ( request , callback , customData , extraHeaders ) {
301+ return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/ConsumePS5Entitlements" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
302+ } ,
303+
300304 ConsumePSNEntitlements : function ( request , callback , customData , extraHeaders ) {
301305 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/ConsumePSNEntitlements" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
302306 } ,
@@ -525,10 +529,6 @@ PlayFab.ClientApi = {
525529 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/GetUserReadOnlyData" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
526530 } ,
527531
528- GetWindowsHelloChallenge : function ( request , callback , customData , extraHeaders ) {
529- return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/GetWindowsHelloChallenge" , request , null , callback , customData , extraHeaders ) ;
530- } ,
531-
532532 GrantCharacterToUser : function ( request , callback , customData , extraHeaders ) {
533533 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/GrantCharacterToUser" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
534534 } ,
@@ -593,10 +593,6 @@ PlayFab.ClientApi = {
593593 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LinkTwitch" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
594594 } ,
595595
596- LinkWindowsHello : function ( request , callback , customData , extraHeaders ) {
597- return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LinkWindowsHello" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
598- } ,
599-
600596 LinkXboxAccount : function ( request , callback , customData , extraHeaders ) {
601597 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LinkXboxAccount" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
602598 } ,
@@ -1009,30 +1005,6 @@ PlayFab.ClientApi = {
10091005 return new Promise ( function ( resolve ) { resolve ( authenticationContext ) ; } ) ;
10101006 } ,
10111007
1012- LoginWithWindowsHello : function ( request , callback , customData , extraHeaders ) {
1013- request . TitleId = PlayFab . settings . titleId ? PlayFab . settings . titleId : request . TitleId ; if ( ! request . TitleId ) throw PlayFab . _internalSettings . errorTitleId ;
1014- // PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
1015- // Deep-copy the authenticationContext here to safely update it
1016- var authenticationContext = JSON . parse ( JSON . stringify ( PlayFab . _internalSettings . authenticationContext ) ) ;
1017- var overloadCallback = function ( result , error ) {
1018- if ( result != null ) {
1019- if ( result . data . SessionTicket != null ) {
1020- PlayFab . _internalSettings . sessionTicket = result . data . SessionTicket ;
1021- }
1022- if ( result . data . EntityToken != null ) {
1023- PlayFab . _internalSettings . entityToken = result . data . EntityToken . EntityToken ;
1024- }
1025- // Apply the updates for the AuthenticationContext returned to the client
1026- authenticationContext = PlayFab . _internalSettings . UpdateAuthenticationContext ( authenticationContext , result ) ;
1027- }
1028- if ( callback != null && typeof ( callback ) === "function" )
1029- callback ( result , error ) ;
1030- } ;
1031- PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LoginWithWindowsHello" , request , null , overloadCallback , customData , extraHeaders ) ;
1032- // Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
1033- return new Promise ( function ( resolve ) { resolve ( authenticationContext ) ; } ) ;
1034- } ,
1035-
10361008 LoginWithXbox : function ( request , callback , customData , extraHeaders ) {
10371009 request . TitleId = PlayFab . settings . titleId ? PlayFab . settings . titleId : request . TitleId ; if ( ! request . TitleId ) throw PlayFab . _internalSettings . errorTitleId ;
10381010 // PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
@@ -1100,30 +1072,6 @@ PlayFab.ClientApi = {
11001072 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/RegisterPlayFabUser" , request , null , overloadCallback , customData , extraHeaders ) ;
11011073 } ,
11021074
1103- RegisterWithWindowsHello : function ( request , callback , customData , extraHeaders ) {
1104- request . TitleId = PlayFab . settings . titleId ? PlayFab . settings . titleId : request . TitleId ; if ( ! request . TitleId ) throw PlayFab . _internalSettings . errorTitleId ;
1105- // PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
1106- // Deep-copy the authenticationContext here to safely update it
1107- var authenticationContext = JSON . parse ( JSON . stringify ( PlayFab . _internalSettings . authenticationContext ) ) ;
1108- var overloadCallback = function ( result , error ) {
1109- if ( result != null ) {
1110- if ( result . data . SessionTicket != null ) {
1111- PlayFab . _internalSettings . sessionTicket = result . data . SessionTicket ;
1112- }
1113- if ( result . data . EntityToken != null ) {
1114- PlayFab . _internalSettings . entityToken = result . data . EntityToken . EntityToken ;
1115- }
1116- // Apply the updates for the AuthenticationContext returned to the client
1117- authenticationContext = PlayFab . _internalSettings . UpdateAuthenticationContext ( authenticationContext , result ) ;
1118- }
1119- if ( callback != null && typeof ( callback ) === "function" )
1120- callback ( result , error ) ;
1121- } ;
1122- PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/RegisterWithWindowsHello" , request , null , overloadCallback , customData , extraHeaders ) ;
1123- // Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
1124- return new Promise ( function ( resolve ) { resolve ( authenticationContext ) ; } ) ;
1125- } ,
1126-
11271075 RemoveContactEmail : function ( request , callback , customData , extraHeaders ) {
11281076 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/RemoveContactEmail" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
11291077 } ,
@@ -1172,6 +1120,9 @@ PlayFab.ClientApi = {
11721120 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/SetPlayerSecret" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
11731121 } ,
11741122
1123+ /**
1124+ * @deprecated Do not use
1125+ */
11751126 StartGame : function ( request , callback , customData , extraHeaders ) {
11761127 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/StartGame" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
11771128 } ,
@@ -1244,10 +1195,6 @@ PlayFab.ClientApi = {
12441195 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/UnlinkTwitch" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
12451196 } ,
12461197
1247- UnlinkWindowsHello : function ( request , callback , customData , extraHeaders ) {
1248- return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/UnlinkWindowsHello" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
1249- } ,
1250-
12511198 UnlinkXboxAccount : function ( request , callback , customData , extraHeaders ) {
12521199 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/UnlinkXboxAccount" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
12531200 } ,
0 commit comments