@@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) {
99
99
}
100
100
}
101
101
102
- PlayFab . buildIdentifier = "jbuild_javascriptsdk_1 " ;
103
- PlayFab . sdkVersion = "1.6.170530 " ;
102
+ PlayFab . buildIdentifier = "jbuild_javascriptsdk_2 " ;
103
+ PlayFab . sdkVersion = "1.7.170612 " ;
104
104
105
105
PlayFab . ClientApi = {
106
106
@@ -752,24 +752,6 @@ PlayFab.ClientApi = {
752
752
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/SetFriendTags" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
753
753
} ,
754
754
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
-
773
755
GetCurrentGames : function ( request , callback ) {
774
756
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
775
757
@@ -794,18 +776,6 @@ PlayFab.ClientApi = {
794
776
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/StartGame" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
795
777
} ,
796
778
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
-
809
779
WriteCharacterEvent : function ( request , callback ) {
810
780
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
811
781
@@ -926,12 +896,6 @@ PlayFab.ClientApi = {
926
896
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/UpdateCharacterData" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
927
897
} ,
928
898
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
-
935
899
AcceptTrade : function ( request , callback ) {
936
900
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
937
901
@@ -987,6 +951,42 @@ PlayFab.ClientApi = {
987
951
PlayFab . _internalSettings . ExecuteRequest ( PlayFab . _internalSettings . GetServerUrl ( ) + "/Client/GetPlayerTags" , request , "X-Authorization" , PlayFab . _internalSettings . sessionTicket , callback ) ;
988
952
} ,
989
953
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
+
990
990
ValidateWindowsStoreReceipt : function ( request , callback ) {
991
991
if ( PlayFab . _internalSettings . sessionTicket == null ) throw "Must be logged in to call this method" ;
992
992
0 commit comments