Skip to content

Commit be96d3f

Browse files
author
Playfab Jenkins Bot
committed
https://api.playfab.com/releaseNotes/#170403
2 parents c8d9e13 + 46ebf43 commit be96d3f

14 files changed

+114
-118
lines changed

PlayFabSdk/src/PlayFab/PlayFabAdminApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) {
9999
}
100100
}
101101

102-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
103-
PlayFab.sdkVersion = "1.2.170313";
102+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
103+
PlayFab.sdkVersion = "1.3.170403";
104104

105105
PlayFab.AdminApi = {
106106

PlayFabSdk/src/PlayFab/PlayFabClientApi.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) {
9999
}
100100
}
101101

102-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
103-
PlayFab.sdkVersion = "1.2.170313";
102+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
103+
PlayFab.sdkVersion = "1.3.170403";
104104

105105
PlayFab.ClientApi = {
106106

@@ -119,11 +119,6 @@ PlayFab.ClientApi = {
119119
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback);
120120
},
121121

122-
LinkWindowsHello: function (request, callback) {
123-
124-
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback);
125-
},
126-
127122
LoginWithAndroidDeviceID: function (request, callback) {
128123
request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method";
129124

@@ -320,11 +315,6 @@ PlayFab.ClientApi = {
320315
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback);
321316
},
322317

323-
UnlinkWindowsHello: function (request, callback) {
324-
325-
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback);
326-
},
327-
328318
AddGenericID: function (request, callback) {
329319
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
330320

@@ -445,6 +435,11 @@ PlayFab.ClientApi = {
445435
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
446436
},
447437

438+
LinkWindowsHello: function (request, callback) {
439+
440+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback);
441+
},
442+
448443
RemoveGenericID: function (request, callback) {
449444
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
450445

@@ -516,6 +511,11 @@ PlayFab.ClientApi = {
516511
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback);
517512
},
518513

514+
UnlinkWindowsHello: function (request, callback) {
515+
516+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback);
517+
},
518+
519519
UpdateAvatarUrl: function (request, callback) {
520520
if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method";
521521

PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) {
9999
}
100100
}
101101

102-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
103-
PlayFab.sdkVersion = "1.2.170313";
102+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
103+
PlayFab.sdkVersion = "1.3.170403";
104104

105105
PlayFab.MatchmakerApi = {
106106

PlayFabSdk/src/PlayFab/PlayFabServerApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) {
9999
}
100100
}
101101

102-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
103-
PlayFab.sdkVersion = "1.2.170313";
102+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
103+
PlayFab.sdkVersion = "1.3.170403";
104104

105105
PlayFab.ServerApi = {
106106

PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ declare module PlayFabClientModule {
1414
/ https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge
1515
*/
1616
GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.GetWindowsHelloChallengeResponse>): void;
17-
/**
18-
/ Link Windows Hello to the current PlayFab Account
19-
/ https://api.playfab.com/Documentation/Client/method/LinkWindowsHello
20-
*/
21-
LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LinkWindowsHelloAccountResponse>): void;
2217
/**
2318
/ Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user
2419
/ https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID
@@ -30,7 +25,7 @@ declare module PlayFabClientModule {
3025
*/
3126
LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LoginResult>): void;
3227
/**
33-
/ Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user
28+
/ Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser.
3429
/ https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress
3530
*/
3631
LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LoginResult>): void;
@@ -60,7 +55,7 @@ declare module PlayFabClientModule {
6055
*/
6156
LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LoginResult>): void;
6257
/**
63-
/ Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email accounts must be created using the RegisterPlayFabUser API or added to existing accounts using AddUsernamePassword.
58+
/ Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword.
6459
/ https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab
6560
*/
6661
LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LoginResult>): void;
@@ -85,15 +80,10 @@ declare module PlayFabClientModule {
8580
*/
8681
RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.RegisterPlayFabUserResult>): void;
8782
/**
88-
/ Register using Windows Hello authentication. Before a user can request a challenge or perform a signin the user must first either register or link a Windows Hello account.
83+
/ Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user
8984
/ https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello
9085
*/
9186
RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LoginResult>): void;
92-
/**
93-
/ Unlink Windows Hello from the current PlayFab Account
94-
/ https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello
95-
*/
96-
UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.UnlinkWindowsHelloAccountResponse>): void;
9787
/**
9888
/ Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players.
9989
/ https://api.playfab.com/Documentation/Client/method/AddGenericID
@@ -194,6 +184,11 @@ declare module PlayFabClientModule {
194184
/ https://api.playfab.com/Documentation/Client/method/LinkTwitch
195185
*/
196186
LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LinkTwitchAccountResult>): void;
187+
/**
188+
/ Link Windows Hello authentication to the current PlayFab Account
189+
/ https://api.playfab.com/Documentation/Client/method/LinkWindowsHello
190+
*/
191+
LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.LinkWindowsHelloAccountResponse>): void;
197192
/**
198193
/ Removes the specified generic service identifier from the player's PlayFab account.
199194
/ https://api.playfab.com/Documentation/Client/method/RemoveGenericID
@@ -254,6 +249,11 @@ declare module PlayFabClientModule {
254249
/ https://api.playfab.com/Documentation/Client/method/UnlinkTwitch
255250
*/
256251
UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.UnlinkTwitchAccountResult>): void;
252+
/**
253+
/ Unlink Windows Hello authentication from the current PlayFab Account
254+
/ https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello
255+
*/
256+
UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.UnlinkWindowsHelloAccountResponse>): void;
257257
/**
258258
/ Update the avatar URL of the player
259259
/ https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl
@@ -380,7 +380,7 @@ declare module PlayFabClientModule {
380380
*/
381381
GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.GetCharacterInventoryResult>): void;
382382
/**
383-
/ Retrieves a completed purchase along with its current PlayFab status.
383+
/ Retrieves a purchase along with its current PlayFab status.
384384
/ https://api.playfab.com/Documentation/Client/method/GetPurchase
385385
*/
386386
GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.GetPurchaseResult>): void;
@@ -450,7 +450,7 @@ declare module PlayFabClientModule {
450450
*/
451451
RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.RegisterForIOSPushNotificationResult>): void;
452452
/**
453-
/ Restores all in-app purchases based on the given refresh receipt.
453+
/ Restores all in-app purchases based on the given restore receipt
454454
/ https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases
455455
*/
456456
RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.RestoreIOSPurchasesResult>): void;
@@ -2228,11 +2228,11 @@ declare module PlayFabClientModels {
22282228
/**
22292229
/ The version of the leaderboard to get, when UseSpecificVersion is true.
22302230
*/
2231-
Version: number;
2231+
Version?: number;
22322232
/**
22332233
/ If true, uses the specified version. If false, gets the most recent version.
22342234
*/
2235-
UseSpecificVersion: boolean;
2235+
UseSpecificVersion?: boolean;
22362236
/**
22372237
/ If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
22382238
*/
@@ -2286,11 +2286,11 @@ declare module PlayFabClientModels {
22862286
/**
22872287
/ The version of the leaderboard to get, when UseSpecificVersion is true.
22882288
*/
2289-
Version: number;
2289+
Version?: number;
22902290
/**
22912291
/ If true, uses the specified version. If false, gets the most recent version.
22922292
*/
2293-
UseSpecificVersion: boolean;
2293+
UseSpecificVersion?: boolean;
22942294
/**
22952295
/ If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
22962296
*/
@@ -2377,11 +2377,11 @@ declare module PlayFabClientModels {
23772377
/**
23782378
/ The version of the leaderboard to get, when UseSpecificVersion is true.
23792379
*/
2380-
Version: number;
2380+
Version?: number;
23812381
/**
23822382
/ If true, uses the specified version. If false, gets the most recent version.
23832383
*/
2384-
UseSpecificVersion: boolean;
2384+
UseSpecificVersion?: boolean;
23852385
/**
23862386
/ If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
23872387
*/
@@ -2453,11 +2453,11 @@ declare module PlayFabClientModels {
24532453
/**
24542454
/ The version of the leaderboard to get, when UseSpecificVersion is true.
24552455
*/
2456-
Version: number;
2456+
Version?: number;
24572457
/**
24582458
/ If true, uses the specified version. If false, gets the most recent version.
24592459
*/
2460-
UseSpecificVersion: boolean;
2460+
UseSpecificVersion?: boolean;
24612461
/**
24622462
/ If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
24632463
*/
@@ -3544,10 +3544,6 @@ declare module PlayFabClientModels {
35443544
/ Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user.
35453545
*/
35463546
ServerAuthCode?: string;
3547-
/**
3548-
/ OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API.
3549-
*/
3550-
AccessToken?: string;
35513547
/**
35523548
/ If another user is already linked to the account, unlink the other user and re-link.
35533549
*/
@@ -3829,11 +3825,19 @@ declare module PlayFabClientModels {
38293825
/**
38303826
/ Custom unique identifier for the user, generated by the title.
38313827
*/
3832-
CustomId: string;
3828+
CustomId?: string;
38333829
/**
38343830
/ Automatically create a PlayFab account if one is not currently linked to this Custom ID.
38353831
*/
38363832
CreateAccount?: boolean;
3833+
/**
3834+
/ Player secret that is used to verify API request signatures
3835+
*/
3836+
PlayerSecret?: string;
3837+
/**
3838+
/ Base64 encoded body that is encrypted with the Title's public RSA key
3839+
*/
3840+
EncryptedRequest?: string;
38373841
/**
38383842
/ Flags for which pieces of info to return for the user.
38393843
*/
@@ -3922,10 +3926,6 @@ declare module PlayFabClientModels {
39223926
/ OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API.
39233927
*/
39243928
ServerAuthCode?: string;
3925-
/**
3926-
/ OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API.
3927-
*/
3928-
AccessToken?: string;
39293929
/**
39303930
/ Automatically create a PlayFab account if one is not currently linked to this Google account.
39313931
*/

PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,11 +2130,11 @@ declare module PlayFabServerModels {
21302130
/**
21312131
/ The version of the leaderboard to get, when UseSpecificVersion is true.
21322132
*/
2133-
Version: number;
2133+
Version?: number;
21342134
/**
21352135
/ If true, uses the specified version. If false, gets the most recent version.
21362136
*/
2137-
UseSpecificVersion: boolean;
2137+
UseSpecificVersion?: boolean;
21382138
/**
21392139
/ If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed.
21402140
*/
@@ -2233,11 +2233,11 @@ declare module PlayFabServerModels {
22332233
/**
22342234
/ The version of the leaderboard to get, when UseSpecificVersion is true.
22352235
*/
2236-
Version: number;
2236+
Version?: number;
22372237
/**
22382238
/ If true, uses the specified version. If false, gets the most recent version.
22392239
*/
2240-
UseSpecificVersion: boolean;
2240+
UseSpecificVersion?: boolean;
22412241

22422242
}
22432243

@@ -2313,11 +2313,11 @@ declare module PlayFabServerModels {
23132313
/**
23142314
/ The version of the leaderboard to get, when UseSpecificVersion is true.
23152315
*/
2316-
Version: number;
2316+
Version?: number;
23172317
/**
23182318
/ If true, uses the specified version. If false, gets the most recent version.
23192319
*/
2320-
UseSpecificVersion: boolean;
2320+
UseSpecificVersion?: boolean;
23212321

23222322
}
23232323

PlayFabTestingExample/PlayFabApiTest.js

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PlayFabTestingExample/PlayFabApiTest.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,7 @@ var PlayFabApiTests = {
400400
var clientRequest = <PlayFabClientModels.GetLeaderboardRequest>{
401401
MaxResultsCount: 3,
402402
StartPosition: 0,
403-
StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME,
404-
UseSpecificVersion: false,
405-
Version: 0
403+
StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME
406404
};
407405
var serverRequest = <PlayFabServerModels.GetLeaderboardRequest>{
408406
MaxResultsCount: 3,

PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) {
9999
}
100100
}
101101

102-
PlayFab.buildIdentifier = "jbuild_javascriptsdk_1";
103-
PlayFab.sdkVersion = "1.2.170313";
102+
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
103+
PlayFab.sdkVersion = "1.3.170403";
104104

105105
PlayFab.AdminApi = {
106106

0 commit comments

Comments
 (0)