Skip to content

Commit 270b6f9

Browse files
https://api.playfab.com/releaseNotes/#190509
2 parents f945b71 + 3fec916 commit 270b6f9

40 files changed

+844
-769
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.44.190424",
3+
"version": "1.45.190509",
44
"description": "Playfab SDK for JS client applications",
55
"license": "Apache-2.0",
66
"repository": {

PlayFabSdk/readme.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# JavaScriptSDK README
2+
3+
4+
## 1. Overview:
5+
6+
JavaScriptSDK for the Client API of PlayFab
7+
8+
This SDK can alternatively be used via our CDN. Additional details can be found [here](https://blog.playfab.com/blog/playfab-now-serving-javascript-sdk-via-cdn).
9+
10+
If you want to start coding right away, check out our [JavaScript Getting Started Guide](JavaScriptGettingStarted.md)
11+
12+
13+
## 2. Prerequisites:
14+
15+
* Users should be very familiar with the topics covered in our [getting started guide](https://api.playfab.com/docs/general-getting-started).
16+
17+
To connect to the PlayFab service, your machine must be running TLS v1.2 or better.
18+
* For Windows, this means Windows 7 and above
19+
* [Official Microsoft Documentation](https://msdn.microsoft.com/en-us/library/windows/desktop/aa380516%28v=vs.85%29.aspx)
20+
* [Support for SSL/TLS protocols on Windows](http://blogs.msdn.com/b/kaushal/archive/2011/10/02/support-for-ssl-tls-protocols-on-windows.aspx)
21+
22+
23+
## 3. Example Project (UNDER CONSTRUCTION)
24+
25+
The Example project is being revised for the upcoming 1.0 release
26+
27+
This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional.
28+
29+
Please read about the testTitleData.json format, and purpose here:
30+
* [testTitleData.md](https://github.com/PlayFab/SDKGenerator/blob/master/JenkinsConsoleUtility/testTitleData.md) must be created and placed in the root of the example (beside index.html & PlayFabApiTest.ts), and must be named "testTitleData.json"
31+
32+
33+
## 4. Troubleshooting:
34+
35+
For a complete list of available APIs, check out the [online documentation](http://api.playfab.com/Documentation/).
36+
37+
#### Contact Us
38+
We love to hear from our developer community!
39+
Do you have ideas on how we can make our products and services better?
40+
41+
Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services.
42+
43+
[Forums, Support and Knowledge Base](https://community.playfab.com/index.html)
44+
45+
## 7. NPM support:
46+
You may install JavaScript SDK with npm by running :
47+
48+
`npm install playfab-web-sdk`
49+
50+
Notice that it will install web JavaScript package as opposed to `npm install playfab` which will install NodeJS SDK.
51+
52+
While npm is generally used for server side packages, you may use one of popular build tools to mix NPM installed packages into your clientside JS codebase. Consider Babel, Webpack, Gulp or Grunt for different approaches to building and automation.
53+
54+
## 6. Acknowledgements
55+
56+
[dylanh724](https://www.github.com/dylanh724) - The previous tutorial before the current [Getting Started Guide](JavaScriptGettingStarted.md)
57+
58+
59+
## 7. Copyright and Licensing Information:
60+
61+
Apache License --
62+
Version 2.0, January 2004
63+
http://www.apache.org/licenses/
64+
65+
Full details available within the LICENSE file.

PlayFabSdk/src/PlayFab/PlayFabAdminApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";

PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";
@@ -249,22 +249,6 @@ PlayFab.AuthenticationApi = {
249249
PlayFab._internalSettings.entityToken = null;
250250
},
251251

252-
ActivateKey: function (request, callback, customData, extraHeaders) {
253-
return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/ActivateKey", request, "X-EntityToken", callback, customData, extraHeaders);
254-
},
255-
256-
CreateKey: function (request, callback, customData, extraHeaders) {
257-
return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/CreateKey", request, "X-EntityToken", callback, customData, extraHeaders);
258-
},
259-
260-
DeactivateKey: function (request, callback, customData, extraHeaders) {
261-
return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeactivateKey", request, "X-EntityToken", callback, customData, extraHeaders);
262-
},
263-
264-
DeleteKey: function (request, callback, customData, extraHeaders) {
265-
return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeleteKey", request, "X-EntityToken", callback, customData, extraHeaders);
266-
},
267-
268252
GetEntityToken: function (request, callback, customData, extraHeaders) {
269253
var authKey = null; var authValue = null;
270254
if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; }
@@ -277,10 +261,6 @@ PlayFab.AuthenticationApi = {
277261
};
278262
return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders);
279263
},
280-
281-
GetKeys: function (request, callback, customData, extraHeaders) {
282-
return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/GetKeys", request, "X-EntityToken", callback, customData, extraHeaders);
283-
},
284264
};
285265

286266
var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi;

PlayFabSdk/src/PlayFab/PlayFabClientApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";

PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";

PlayFabSdk/src/PlayFab/PlayFabDataApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";

PlayFabSdk/src/PlayFab/PlayFabEventsApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";

PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";

PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if(!PlayFab.settings) {
2121
if(!PlayFab._internalSettings) {
2222
PlayFab._internalSettings = {
2323
entityToken: null,
24-
sdkVersion: "1.44.190424",
24+
sdkVersion: "1.45.190509",
2525
requestGetParams: {
26-
sdk: "JavaScriptSDK-1.44.190424"
26+
sdk: "JavaScriptSDK-1.45.190509"
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-2_1";
235-
PlayFab.sdkVersion = "1.44.190424";
234+
PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1";
235+
PlayFab.sdkVersion = "1.45.190509";
236236
PlayFab.GenerateErrorReport = function (error) {
237237
if (error == null)
238238
return "";

0 commit comments

Comments
 (0)