@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121if ( ! PlayFab . _internalSettings ) {
2222 PlayFab . _internalSettings = {
2323 entityToken : null ,
24- sdkVersion : "1.65.200518 " ,
24+ sdkVersion : "1.66.200602 " ,
2525 requestGetParams : {
26- sdk : "JavaScriptSDK-1.65.200518 "
26+ sdk : "JavaScriptSDK-1.66.200602 "
2727 } ,
2828 sessionTicket : null ,
2929 verticalName : null , // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this
@@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) {
231231 }
232232}
233233
234- PlayFab . buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2 " ;
235- PlayFab . sdkVersion = "1.65.200518 " ;
234+ PlayFab . buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1 " ;
235+ PlayFab . sdkVersion = "1.66.200602 " ;
236236PlayFab . GenerateErrorReport = function ( error ) {
237237 if ( error == null )
238238 return "" ;
@@ -580,8 +580,8 @@ PlayFab.ClientApi = {
580580 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LinkKongregate" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
581581 } ,
582582
583- LinkNintendoSwitchAccount : function ( request , callback , customData , extraHeaders ) {
584- return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LinkNintendoSwitchAccount " , request , "X-Authorization" , callback , customData , extraHeaders ) ;
583+ LinkNintendoAccount : function ( request , callback , customData , extraHeaders ) {
584+ return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LinkNintendoAccount " , request , "X-Authorization" , callback , customData , extraHeaders ) ;
585585 } ,
586586
587587 LinkNintendoSwitchDeviceId : function ( request , callback , customData , extraHeaders ) {
@@ -862,7 +862,7 @@ PlayFab.ClientApi = {
862862 return new Promise ( function ( resolve ) { resolve ( authenticationContext ) ; } ) ;
863863 } ,
864864
865- LoginWithNintendoSwitchAccount : function ( request , callback , customData , extraHeaders ) {
865+ LoginWithNintendoAccount : function ( request , callback , customData , extraHeaders ) {
866866 request . TitleId = PlayFab . settings . titleId ? PlayFab . settings . titleId : request . TitleId ; if ( ! request . TitleId ) throw PlayFab . _internalSettings . errorTitleId ;
867867 // PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
868868 // Deep-copy the authenticationContext here to safely update it
@@ -882,7 +882,7 @@ PlayFab.ClientApi = {
882882 if ( callback != null && typeof ( callback ) === "function" )
883883 callback ( result , error ) ;
884884 } ;
885- PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LoginWithNintendoSwitchAccount " , request , null , overloadCallback , customData , extraHeaders ) ;
885+ PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/LoginWithNintendoAccount " , request , null , overloadCallback , customData , extraHeaders ) ;
886886 // Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
887887 return new Promise ( function ( resolve ) { resolve ( authenticationContext ) ; } ) ;
888888 } ,
@@ -1252,8 +1252,8 @@ PlayFab.ClientApi = {
12521252 return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/UnlinkKongregate" , request , "X-Authorization" , callback , customData , extraHeaders ) ;
12531253 } ,
12541254
1255- UnlinkNintendoSwitchAccount : function ( request , callback , customData , extraHeaders ) {
1256- return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/UnlinkNintendoSwitchAccount " , request , "X-Authorization" , callback , customData , extraHeaders ) ;
1255+ UnlinkNintendoAccount : function ( request , callback , customData , extraHeaders ) {
1256+ return PlayFab . _internalSettings . ExecuteRequestWrapper ( "/Client/UnlinkNintendoAccount " , request , "X-Authorization" , callback , customData , extraHeaders ) ;
12571257 } ,
12581258
12591259 UnlinkNintendoSwitchDeviceId : function ( request , callback , customData , extraHeaders ) {
0 commit comments