Skip to content

Commit 37cb756

Browse files
author
PlayFabJenkinsBot
committed
https://api.playfab.com/releaseNotes/#180213
2 parents 020a6d4 + 1524120 commit 37cb756

File tree

13 files changed

+131
-27
lines changed

13 files changed

+131
-27
lines changed

PlayFabSdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playfab-web-sdk",
3-
"version": "1.18.180122",
3+
"version": "1.19.180213",
44
"description": "Playfab SDK for JS client applications",
55
"license": "Apache-2.0",
66
"repository": {

PlayFabSdk/src/PlayFab/PlayFabAdminApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.18.180122",
24+
sdkVersion: "1.19.180213",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.18.180122";
129+
PlayFab.sdkVersion = "1.19.180213";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/PlayFab/PlayFabClientApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.18.180122",
24+
sdkVersion: "1.19.180213",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.18.180122";
129+
PlayFab.sdkVersion = "1.19.180213";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.18.180122",
24+
sdkVersion: "1.19.180213",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.18.180122";
129+
PlayFab.sdkVersion = "1.19.180213";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabSdk/src/PlayFab/PlayFabServerApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.18.180122",
24+
sdkVersion: "1.19.180213",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.18.180122";
129+
PlayFab.sdkVersion = "1.19.180213";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,9 @@ declare module PlayFabAdminModule {
395395
*/
396396
RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.RunTaskResult>, customData?: any, extraHeaders?: { [key: string]: string }): void;
397397
/**
398-
* Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to
399-
* change the password
398+
* Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to
399+
* change the password.If an account recovery email template ID is provided, an email using the custom email template will
400+
* be used.
400401
* https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail
401402
*/
402403
SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback<PlayFabAdminModels.SendAccountRecoveryEmailResult>, customData?: any, extraHeaders?: { [key: string]: string }): void;
@@ -3086,6 +3087,8 @@ declare module PlayFabAdminModels {
30863087
export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon {
30873088
/** User email address attached to their account */
30883089
Email: string;
3090+
/** The email template id of the account recovery email template to send. */
3091+
EmailTemplateId?: string;
30893092

30903093
}
30913094

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

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,8 @@ declare module PlayFabClientModule {
585585
RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.RestoreIOSPurchasesResult>, customData?: any, extraHeaders?: { [key: string]: string }): void;
586586
/**
587587
* Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to
588-
* change the password
588+
* change the password.If an account recovery email template ID is provided, an email using the custom email template will
589+
* be used.
589590
* https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail
590591
*/
591592
SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback<PlayFabClientModels.SendAccountRecoveryEmailResult>, customData?: any, extraHeaders?: { [key: string]: string }): void;
@@ -774,8 +775,8 @@ declare module PlayFabClientModels {
774775
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */
775776
export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon {
776777
/**
777-
* Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a
778-
* gift, this will be null.
778+
* Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this
779+
* will be null.
779780
*/
780781
AcceptedInventoryInstanceIds?: string[];
781782
/** Player who opened the trade. */
@@ -1654,6 +1655,19 @@ declare module PlayFabClientModels {
16541655

16551656
}
16561657

1658+
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */
1659+
export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon {
1660+
/** The identifier of the entity the token was issued for. */
1661+
EntityId?: string;
1662+
/** The token used to set X-EntityToken for all entity based API calls. */
1663+
EntityToken?: string;
1664+
/** The type of entity the token was issued for. */
1665+
EntityType?: string;
1666+
/** The time the token will expire, if it is an expiring token, in UTC. */
1667+
TokenExpiration?: string;
1668+
1669+
}
1670+
16571671
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */
16581672
export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon {
16591673
/** The name of the CloudScript function to execute */
@@ -3022,6 +3036,11 @@ declare module PlayFabClientModels {
30223036

30233037
/** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */
30243038
export interface LoginResult extends PlayFabModule.IPlayFabResultCommon {
3039+
/**
3040+
* If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and
3041+
* returned.
3042+
*/
3043+
EntityToken?: EntityTokenResponse;
30253044
/** Results for requested info. */
30263045
InfoResultPayload?: GetPlayerCombinedInfoResultPayload;
30273046
/** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */
@@ -3049,6 +3068,8 @@ declare module PlayFabClientModels {
30493068
EncryptedRequest?: string;
30503069
/** Flags for which pieces of info to return for the user. */
30513070
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3071+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3072+
LoginTitlePlayerAccountEntity?: boolean;
30523073
/** Specific Operating System version for the user's device. */
30533074
OS?: string;
30543075
/** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -3071,6 +3092,8 @@ declare module PlayFabClientModels {
30713092
EncryptedRequest?: string;
30723093
/** Flags for which pieces of info to return for the user. */
30733094
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3095+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3096+
LoginTitlePlayerAccountEntity?: boolean;
30743097
/** Player secret that is used to verify API request signatures (Enterprise Only). */
30753098
PlayerSecret?: string;
30763099
/**
@@ -3087,6 +3110,8 @@ declare module PlayFabClientModels {
30873110
Email: string;
30883111
/** Flags for which pieces of info to return for the user. */
30893112
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3113+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3114+
LoginTitlePlayerAccountEntity?: boolean;
30903115
/** Password for the PlayFab account (6-100 characters) */
30913116
Password: string;
30923117
/**
@@ -3107,6 +3132,8 @@ declare module PlayFabClientModels {
31073132
EncryptedRequest?: string;
31083133
/** Flags for which pieces of info to return for the user. */
31093134
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3135+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3136+
LoginTitlePlayerAccountEntity?: boolean;
31103137
/** Player secret that is used to verify API request signatures (Enterprise Only). */
31113138
PlayerSecret?: string;
31123139
/**
@@ -3125,6 +3152,8 @@ declare module PlayFabClientModels {
31253152
EncryptedRequest?: string;
31263153
/** Flags for which pieces of info to return for the user. */
31273154
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3155+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3156+
LoginTitlePlayerAccountEntity?: boolean;
31283157
/** Unique Game Center player id. */
31293158
PlayerId?: string;
31303159
/** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -3145,6 +3174,8 @@ declare module PlayFabClientModels {
31453174
EncryptedRequest?: string;
31463175
/** Flags for which pieces of info to return for the user. */
31473176
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3177+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3178+
LoginTitlePlayerAccountEntity?: boolean;
31483179
/** Player secret that is used to verify API request signatures (Enterprise Only). */
31493180
PlayerSecret?: string;
31503181
/**
@@ -3172,6 +3203,8 @@ declare module PlayFabClientModels {
31723203
EncryptedRequest?: string;
31733204
/** Flags for which pieces of info to return for the user. */
31743205
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3206+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3207+
LoginTitlePlayerAccountEntity?: boolean;
31753208
/** Specific Operating System version for the user's device. */
31763209
OS?: string;
31773210
/** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -3196,6 +3229,8 @@ declare module PlayFabClientModels {
31963229
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
31973230
/** Numeric user ID assigned by Kongregate */
31983231
KongregateId?: string;
3232+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3233+
LoginTitlePlayerAccountEntity?: boolean;
31993234
/** Player secret that is used to verify API request signatures (Enterprise Only). */
32003235
PlayerSecret?: string;
32013236
/**
@@ -3210,6 +3245,8 @@ declare module PlayFabClientModels {
32103245
export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon {
32113246
/** Flags for which pieces of info to return for the user. */
32123247
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3248+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3249+
LoginTitlePlayerAccountEntity?: boolean;
32133250
/** Password for the PlayFab account (6-100 characters) */
32143251
Password: string;
32153252
/**
@@ -3230,6 +3267,8 @@ declare module PlayFabClientModels {
32303267
EncryptedRequest?: string;
32313268
/** Flags for which pieces of info to return for the user. */
32323269
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3270+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3271+
LoginTitlePlayerAccountEntity?: boolean;
32333272
/** Player secret that is used to verify API request signatures (Enterprise Only). */
32343273
PlayerSecret?: string;
32353274
/**
@@ -3255,6 +3294,8 @@ declare module PlayFabClientModels {
32553294
EncryptedRequest?: string;
32563295
/** Flags for which pieces of info to return for the user. */
32573296
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3297+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3298+
LoginTitlePlayerAccountEntity?: boolean;
32583299
/** Player secret that is used to verify API request signatures (Enterprise Only). */
32593300
PlayerSecret?: string;
32603301
/**
@@ -3271,6 +3312,8 @@ declare module PlayFabClientModels {
32713312
ChallengeSignature: string;
32723313
/** Flags for which pieces of info to return for the user. */
32733314
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3315+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3316+
LoginTitlePlayerAccountEntity?: boolean;
32743317
/** SHA256 hash of the PublicKey generated by Windows Hello. */
32753318
PublicKeyHint: string;
32763319
/**
@@ -3668,6 +3711,8 @@ declare module PlayFabClientModels {
36683711
EncryptedRequest?: string;
36693712
/** Flags for which pieces of info to return for the user. */
36703713
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3714+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3715+
LoginTitlePlayerAccountEntity?: boolean;
36713716
/** Password for the PlayFab account (6-100 characters) */
36723717
Password?: string;
36733718
/** Player secret that is used to verify API request signatures (Enterprise Only). */
@@ -3709,6 +3754,8 @@ declare module PlayFabClientModels {
37093754
EncryptedRequest?: string;
37103755
/** Flags for which pieces of info to return for the user. */
37113756
InfoRequestParameters?: GetPlayerCombinedInfoRequestParams;
3757+
/** Flag to automatically login the player's title_player_account and return the associated entity token. */
3758+
LoginTitlePlayerAccountEntity?: boolean;
37123759
/** Player secret that is used to verify API request signatures (Enterprise Only). */
37133760
PlayerSecret?: string;
37143761
/** PublicKey generated by Windows Hello. */
@@ -3817,6 +3864,8 @@ declare module PlayFabClientModels {
38173864
export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon {
38183865
/** User email address attached to their account */
38193866
Email: string;
3867+
/** The email template id of the account recovery email template to send. */
3868+
EmailTemplateId?: string;
38203869
/**
38213870
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a
38223871
* title has been selected.

PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.18.180122",
24+
sdkVersion: "1.19.180213",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.18.180122";
129+
PlayFab.sdkVersion = "1.19.180213";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.18.180122",
24+
sdkVersion: "1.19.180213",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.18.180122";
129+
PlayFab.sdkVersion = "1.19.180213";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.18.180122",
24+
sdkVersion: "1.19.180213",
2525
sessionTicket: null,
2626
productionServerUrl: ".playfabapi.com",
2727
errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
@@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) {
126126
}
127127

128128
PlayFab.buildIdentifier = "jbuild_javascriptsdk_0";
129-
PlayFab.sdkVersion = "1.18.180122";
129+
PlayFab.sdkVersion = "1.19.180213";
130130
PlayFab.GenerateErrorReport = function (error) {
131131
if (error == null)
132132
return "";

0 commit comments

Comments
 (0)