@betarena/ad-engine 0.0.74 → 0.0.75
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/dist/index.js +35 -11
- package/package.json +1 -1
- package/src/lib/Advert-Slide-Child.svelte +26 -0
package/package.json
CHANGED
|
@@ -322,6 +322,32 @@
|
|
|
322
322
|
/>
|
|
323
323
|
</a>
|
|
324
324
|
|
|
325
|
+
{:else if adData.type == 3 && adData.data?.code}
|
|
326
|
+
|
|
327
|
+
<!--
|
|
328
|
+
sandbox="allow-scripts allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation"
|
|
329
|
+
referrerpolicy="no-referrer-when-downgrade"
|
|
330
|
+
-->
|
|
331
|
+
|
|
332
|
+
<iframe
|
|
333
|
+
title="ad"
|
|
334
|
+
width=300
|
|
335
|
+
height=250
|
|
336
|
+
srcdoc='
|
|
337
|
+
<!doctype html>
|
|
338
|
+
<html>
|
|
339
|
+
<head>
|
|
340
|
+
<meta charset="utf-8">
|
|
341
|
+
</head>
|
|
342
|
+
<body
|
|
343
|
+
style="margin:0"
|
|
344
|
+
>
|
|
345
|
+
{adData.data.code}
|
|
346
|
+
</body>
|
|
347
|
+
</html>
|
|
348
|
+
'
|
|
349
|
+
/>
|
|
350
|
+
|
|
325
351
|
{:else if (adData.type == 2)}
|
|
326
352
|
<img
|
|
327
353
|
id='banner'
|