@@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) {
9999 }
100100}
101101
102- PlayFab . buildIdentifier = "jbuild_javascriptsdk_1 " ;
103- PlayFab . sdkVersion = "1.6.170530 " ;
102+ PlayFab . buildIdentifier = "jbuild_javascriptsdk_2 " ;
103+ PlayFab . sdkVersion = "1.7.170612 " ;
104104
105105PlayFab . ClientApi = {
106106
@@ -752,24 +752,6 @@ PlayFab.ClientApi = {
752752 PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/SetFriendTags" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
753753 } ,
754754
755- RegisterForIOSPushNotification : function ( request , callback ) {
756- if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
757-
758- PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/RegisterForIOSPushNotification" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
759- } ,
760-
761- RestoreIOSPurchases : function ( request , callback ) {
762- if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
763-
764- PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/RestoreIOSPurchases" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
765- } ,
766-
767- ValidateIOSReceipt : function ( request , callback ) {
768- if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
769-
770- PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ValidateIOSReceipt" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
771- } ,
772-
773755 GetCurrentGames : function ( request , callback ) {
774756 if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
775757
@@ -794,18 +776,6 @@ PlayFab.ClientApi = {
794776 PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/StartGame" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
795777 } ,
796778
797- AndroidDevicePushNotificationRegistration : function ( request , callback ) {
798- if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
799-
800- PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/AndroidDevicePushNotificationRegistration" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
801- } ,
802-
803- ValidateGooglePlayPurchase : function ( request , callback ) {
804- if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
805-
806- PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ValidateGooglePlayPurchase" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
807- } ,
808-
809779 WriteCharacterEvent : function ( request , callback ) {
810780 if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
811781
@@ -926,12 +896,6 @@ PlayFab.ClientApi = {
926896 PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/UpdateCharacterData" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
927897 } ,
928898
929- ValidateAmazonIAPReceipt : function ( request , callback ) {
930- if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
931-
932- PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ValidateAmazonIAPReceipt" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
933- } ,
934-
935899 AcceptTrade : function ( request , callback ) {
936900 if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
937901
@@ -987,6 +951,42 @@ PlayFab.ClientApi = {
987951 PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetPlayerTags" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
988952 } ,
989953
954+ AndroidDevicePushNotificationRegistration : function ( request , callback ) {
955+ if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
956+
957+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/AndroidDevicePushNotificationRegistration" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
958+ } ,
959+
960+ RegisterForIOSPushNotification : function ( request , callback ) {
961+ if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
962+
963+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/RegisterForIOSPushNotification" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
964+ } ,
965+
966+ RestoreIOSPurchases : function ( request , callback ) {
967+ if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
968+
969+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/RestoreIOSPurchases" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
970+ } ,
971+
972+ ValidateAmazonIAPReceipt : function ( request , callback ) {
973+ if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
974+
975+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ValidateAmazonIAPReceipt" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
976+ } ,
977+
978+ ValidateGooglePlayPurchase : function ( request , callback ) {
979+ if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
980+
981+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ValidateGooglePlayPurchase" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
982+ } ,
983+
984+ ValidateIOSReceipt : function ( request , callback ) {
985+ if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
986+
987+ PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/ValidateIOSReceipt" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
988+ } ,
989+
990990 ValidateWindowsStoreReceipt : function ( request , callback ) {
991991 if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
992992
0 commit comments