Skip to content

Commit a39357a

Browse files
author
Paul Gilmore
committed
Merge pull request #17 from PlayFab/master
Pushing new version
2 parents 58030f3 + 57ec4fc commit a39357a

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

PlayFabSDK/PlayFabAdminApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if(!PlayFab.settings) {
1010
if(!PlayFab._internalSettings) {
1111
PlayFab._internalSettings = {
1212
sessionTicket: null,
13-
sdkVersion: "0.1.151026",
14-
apiVersion: "1.8.20151026",
13+
sdkVersion: "0.2.151109",
14+
apiVersion: "1.9.20151109",
1515
productionServerUrl: ".playfabapi.com",
1616
logicServerUrl: null,
1717

PlayFabSDK/PlayFabClientApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if(!PlayFab.settings) {
1010
if(!PlayFab._internalSettings) {
1111
PlayFab._internalSettings = {
1212
sessionTicket: null,
13-
sdkVersion: "0.1.151026",
14-
apiVersion: "1.8.20151026",
13+
sdkVersion: "0.2.151109",
14+
apiVersion: "1.9.20151109",
1515
productionServerUrl: ".playfabapi.com",
1616
logicServerUrl: null,
1717

PlayFabSDK/PlayFabMatchmakerApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if(!PlayFab.settings) {
1010
if(!PlayFab._internalSettings) {
1111
PlayFab._internalSettings = {
1212
sessionTicket: null,
13-
sdkVersion: "0.1.151026",
14-
apiVersion: "1.8.20151026",
13+
sdkVersion: "0.2.151109",
14+
apiVersion: "1.9.20151109",
1515
productionServerUrl: ".playfabapi.com",
1616
logicServerUrl: null,
1717

PlayFabSDK/PlayFabServerApi.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if(!PlayFab.settings) {
1010
if(!PlayFab._internalSettings) {
1111
PlayFab._internalSettings = {
1212
sessionTicket: null,
13-
sdkVersion: "0.1.151026",
14-
apiVersion: "1.8.20151026",
13+
sdkVersion: "0.2.151109",
14+
apiVersion: "1.9.20151109",
1515
productionServerUrl: ".playfabapi.com",
1616
logicServerUrl: null,
1717

@@ -322,6 +322,12 @@ PlayFab.ServerApi = {
322322
PlayFab._internalSettings.executeRequest(PlayFab._internalSettings.getServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
323323
},
324324

325+
RedeemCoupon: function (request, callback) {
326+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
327+
328+
PlayFab._internalSettings.executeRequest(PlayFab._internalSettings.getServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
329+
},
330+
325331
ReportPlayer: function (request, callback) {
326332
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
327333

0 commit comments

Comments
 (0)