@betarena/ad-engine 0.0.49 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betarena/ad-engine",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "private": false,
5
5
  "description": "Betarena ad-engine widget",
6
6
  "keywords": [
package/src/lib/_store.ts CHANGED
@@ -116,11 +116,15 @@ function createLocalStore
116
116
  ;
117
117
  ;
118
118
 
119
+ methods.setLocalStorage
120
+ (
121
+ localStore
122
+ );
123
+
119
124
  // ╭─────
120
125
  // │ CHECK :|: for already shown advert
121
126
  // ╰─────
122
- if
123
- (
127
+ if (
124
128
  localStore.isBetarenaAdShownForToday
125
129
  && new Date(localStore.advertDateLastShown!).getDate() != new Date().getDate()
126
130
  )
@@ -132,11 +136,6 @@ function createLocalStore
132
136
  );
133
137
  ;
134
138
 
135
- methods.setLocalStorage
136
- (
137
- localStore
138
- );
139
-
140
139
  return;
141
140
  },
142
141
 
@@ -8,6 +8,8 @@ export const
8
8
  * "http://192.168.1.236:58749"
9
9
  * ➤ dev|:|live|:|staging
10
10
  * "https://betarena-test-e2748dab12f5.herokuapp.com"
11
+ * ➤ prod|:|live
12
+ * "http://49.13.201.19:8500" | "https://ads.betarena.com/"
11
13
  */
12
- betarenaEndpoint = 'https://betarena-test-e2748dab12f5.herokuapp.com'
14
+ betarenaEndpoint = 'https://ads.betarena.com'
13
15
  ;