Skip to content

Commit

Permalink
Merge pull request #5 from azerion/gd-update
Browse files Browse the repository at this point in the history
Stop using GD test url
  • Loading branch information
florisdh authored Sep 11, 2019
2 parents fb7e9d0 + 0015305 commit e9a7773
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.2] - 2019-09-11
### Changed
- Stop using GD test url for SDK

## [0.3.1] - 2019-09-04
### Changed
- Added rewarded ad support in cordova-ironsource
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azerion/h5-ad-wrapper",
"author": "Azerion",
"version": "0.3.1",
"version": "0.3.2",
"description": "Advertisement provider wrapper, similar to @azerion/phaser-ads but not tied into Phaser :)",
"contributors": [
{
Expand Down
3 changes: 1 addition & 2 deletions src/Providers/gamedistribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export class GameDistribution implements IProvider {

constructor(gameId: string) {
this.areAdsEnabled()

;(window as any).GD_OPTIONS = {
gameId: gameId,
advertisementSettings: {
Expand All @@ -39,7 +38,7 @@ export class GameDistribution implements IProvider {
}
js = <HTMLScriptElement>d.createElement(s)
js.id = id
js.src = '//html5.api.gamedistribution.com/test/main.js'
js.src = '//html5.api.gamedistribution.com/main.min.js'
if (fjs.parentNode) {
fjs.parentNode.insertBefore(js, fjs)
}
Expand Down

0 comments on commit e9a7773

Please sign in to comment.