Permalink
Browse files

Merge pull request #20 from gameeapp/bugfixes_1

Bugfixes
  • Loading branch information...
miroslavchmelka committed Dec 10, 2018
2 parents 49563a0 + ec42435 commit c266ff008d3c24b2a9a08ef1fccda3627b2b296f
Showing with 10 additions and 6 deletions.
  1. +2 −2 gamee/dist/gamee-js.min.js
  2. +1 −1 gamee/dist/gamee-js.min.js.map
  3. +4 −0 gamee/src/core.js
  4. +2 −2 gamee/src/gameeAPI.js
  5. +1 −1 package.json

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -318,8 +318,12 @@ export var core = (function () {
throw "Replay data must have `data` property";
}
requestData.replayData = opt_replayData;
}

if (opt_saveState) {
requestData.state = opt_saveState;
}

core.native.createRequest("gameOver", requestData);
};

@@ -212,8 +212,8 @@ Gamee.prototype = (function () {

validateDataType(eventValue,"string","eventValue","gamee.logEvent")

if(!eventValue || eventValue.length > 24){
console.error("eventValue parameter cant be null and can only contain up to 24 characters");
if(!eventValue || eventValue.length > 160){
console.error("eventValue parameter cant be null and can only contain up to 160 characters");
return
}

@@ -1,6 +1,6 @@
{
"name": "gamee-js",
"version": "2.1.0",
"version": "2.2.1",
"description": "Gamee JS SDK",
"main": "gamee/src/index.js",
"scripts": {

0 comments on commit c266ff0

Please sign in to comment.