@betarena/ad-engine 0.0.33 → 0.0.35
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
|
@@ -118,7 +118,12 @@
|
|
|
118
118
|
* @description
|
|
119
119
|
* 📝 `Map` where, `key=ZoneId` and `value=HTMLElement`
|
|
120
120
|
*/
|
|
121
|
-
betarenaAdsInjectMap: Map < number, Element > = new Map()
|
|
121
|
+
betarenaAdsInjectMap: Map < number, Element > = new Map(),
|
|
122
|
+
/**
|
|
123
|
+
* @description
|
|
124
|
+
* 📝 temporary data
|
|
125
|
+
*/
|
|
126
|
+
dataMap: Map < number, AdsCreativeMain > = new Map()
|
|
122
127
|
;
|
|
123
128
|
|
|
124
129
|
// #endregion ➤ 📌 VARIABLES
|
|
@@ -215,12 +220,9 @@
|
|
|
215
220
|
// [🐞]
|
|
216
221
|
console.log('response', response);
|
|
217
222
|
|
|
223
|
+
dataMap = new Map((response as IAdsResponseBody).ads ?? []);
|
|
224
|
+
|
|
218
225
|
const
|
|
219
|
-
/**
|
|
220
|
-
* @description
|
|
221
|
-
* 📝 `Map`
|
|
222
|
-
*/
|
|
223
|
-
dataMap = new Map((response as IAdsResponseBody).ads ?? []),
|
|
224
226
|
/**
|
|
225
227
|
* @description
|
|
226
228
|
* 📝 `Map`
|
|
@@ -240,7 +242,7 @@
|
|
|
240
242
|
* @description
|
|
241
243
|
* 📝 `Map`
|
|
242
244
|
*/
|
|
243
|
-
|
|
245
|
+
mapZoneToTagIds = new Map ((response as IAdsResponseBody).mapZoneIdToTagIds)
|
|
244
246
|
;
|
|
245
247
|
|
|
246
248
|
// ╭─────
|
|
@@ -473,11 +475,11 @@
|
|
|
473
475
|
}
|
|
474
476
|
/>
|
|
475
477
|
|
|
476
|
-
<svelte:head>
|
|
478
|
+
<!-- <svelte:head>
|
|
477
479
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
478
480
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
479
481
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
|
480
|
-
</svelte:head>
|
|
482
|
+
</svelte:head> -->
|
|
481
483
|
|
|
482
484
|
<!--
|
|
483
485
|
╭──────────────────────────────────────────────────────────────────────────────────╮
|
|
@@ -513,6 +515,9 @@
|
|
|
513
515
|
<p>
|
|
514
516
|
[properties] AuthorArticleTagIds :|: [{authorArticleTagIds}]
|
|
515
517
|
</p>
|
|
518
|
+
<p>
|
|
519
|
+
[data] Adverts Fetched Number :|: {dataMap.size}
|
|
520
|
+
</p>
|
|
516
521
|
</DevInfoBox>
|
|
517
522
|
|
|
518
523
|
<!--
|