Skip to content

Commit 4533241

Browse files
authored
Merge pull request #176 from GameDistribution/development
Development
2 parents 8bbf695 + f11966d commit 4533241

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gamedistribution.com/html5-sdk",
3-
"version": "1.5.97",
3+
"version": "1.5.98",
44
"author": "GameDistribution.com",
55
"description": "GameDistribution.com HTML5 SDK",
66
"url": "https://gamedistribution.com",

src/main.js

+2
Original file line numberDiff line numberDiff line change
@@ -1350,8 +1350,10 @@ class SDK {
13501350
return new Promise(async (reject, resolve) => {
13511351
try {
13521352
this.adInstance.cancel();
1353+
this.onResumeGame("Advertisement(s) are cancelled. Start / resume the game.", "success");
13531354
resolve();
13541355
} catch (error) {
1356+
this.onResumeGame("Advertisement(s) are cancelled. Start / resume the game.", "success");
13551357
reject(error.message);
13561358
}
13571359
});

0 commit comments

Comments
 (0)