@folklore/ads 0.0.43 → 0.0.45

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/cjs.js CHANGED
@@ -338,7 +338,7 @@ class AdsManager extends EventEmitter__default["default"] {
338
338
  autoInit: false,
339
339
  ...opts
340
340
  };
341
- this.onGPTReady = this.onGPTReady.bind(this);
341
+ this.initGpt = this.initGpt.bind(this);
342
342
  this.onSlotRenderEnded = this.onSlotRenderEnded.bind(this);
343
343
  this.onSlotImpressionViewable = this.onSlotImpressionViewable.bind(this);
344
344
  this.onSlotVisibleChange = this.onSlotVisibleChange.bind(this);
@@ -657,10 +657,10 @@ const slots = {
657
657
  content: {
658
658
  size: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [320, 50], [336, 280]],
659
659
  sizeMapping: {
660
- default: [[300, 600], [300, 100], [300, 250], [320, 100], [320, 50]],
661
- tablet: [[300, 100], [728, 90], [300, 250], [320, 100], [320, 50], [336, 280]],
662
- desktop: [[300, 100], [728, 90], [300, 250], [320, 100], [336, 280]],
663
- laptop: [[300, 100], [728, 90], [300, 250], [320, 100], [336, 280]]
660
+ default: [[300, 100], [300, 250], [320, 100], [320, 50]],
661
+ tablet: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [320, 50], [336, 280]],
662
+ desktop: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [336, 280]],
663
+ laptop: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [336, 280]]
664
664
  }
665
665
  }
666
666
  };
package/dist/es.js CHANGED
@@ -320,7 +320,7 @@ class AdsManager extends EventEmitter {
320
320
  autoInit: false,
321
321
  ...opts
322
322
  };
323
- this.onGPTReady = this.onGPTReady.bind(this);
323
+ this.initGpt = this.initGpt.bind(this);
324
324
  this.onSlotRenderEnded = this.onSlotRenderEnded.bind(this);
325
325
  this.onSlotImpressionViewable = this.onSlotImpressionViewable.bind(this);
326
326
  this.onSlotVisibleChange = this.onSlotVisibleChange.bind(this);
@@ -639,10 +639,10 @@ const slots = {
639
639
  content: {
640
640
  size: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [320, 50], [336, 280]],
641
641
  sizeMapping: {
642
- default: [[300, 600], [300, 100], [300, 250], [320, 100], [320, 50]],
643
- tablet: [[300, 100], [728, 90], [300, 250], [320, 100], [320, 50], [336, 280]],
644
- desktop: [[300, 100], [728, 90], [300, 250], [320, 100], [336, 280]],
645
- laptop: [[300, 100], [728, 90], [300, 250], [320, 100], [336, 280]]
642
+ default: [[300, 100], [300, 250], [320, 100], [320, 50]],
643
+ tablet: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [320, 50], [336, 280]],
644
+ desktop: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [336, 280]],
645
+ laptop: [[300, 600], [300, 100], [728, 90], [300, 250], [320, 100], [336, 280]]
646
646
  }
647
647
  }
648
648
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/ads",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "Ads library",
5
5
  "keywords": [
6
6
  "javascript",
@@ -50,7 +50,7 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "d4638f437512793501b8a132606d08abfd1782dd",
53
+ "gitHead": "2203eaeaad1a51b0bdb995283f576d7447508d99",
54
54
  "dependencies": {
55
55
  "@folklore/hooks": "^0.0.44",
56
56
  "@folklore/tracking": "^0.0.23",