@folklore/ads 0.0.63 → 0.0.64

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
@@ -203,13 +203,13 @@ class AdSlot extends EventEmitter__default["default"] {
203
203
  if (this.destroyed) {
204
204
  return;
205
205
  }
206
+ this.emit('destroy', this);
206
207
  this.removeAllListeners();
207
208
  this.adSlot = null;
208
209
  this.rendered = false;
209
210
  this.displayed = false;
210
211
  this.renderEvent = null;
211
212
  this.destroyed = true;
212
- this.emit('destroy', this);
213
213
  }
214
214
  getElementId() {
215
215
  return this.elementId;
package/dist/es.js CHANGED
@@ -185,13 +185,13 @@ class AdSlot extends EventEmitter {
185
185
  if (this.destroyed) {
186
186
  return;
187
187
  }
188
+ this.emit('destroy', this);
188
189
  this.removeAllListeners();
189
190
  this.adSlot = null;
190
191
  this.rendered = false;
191
192
  this.displayed = false;
192
193
  this.renderEvent = null;
193
194
  this.destroyed = true;
194
- this.emit('destroy', this);
195
195
  }
196
196
  getElementId() {
197
197
  return this.elementId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/ads",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
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": "5758c6b7d203e04862d82991e990b9f806485da3",
53
+ "gitHead": "774cbc9e93dc59d16e4b503264a3fbe1cca945d3",
54
54
  "dependencies": {
55
55
  "@folklore/hooks": "^0.0.58",
56
56
  "@folklore/tracking": "^0.0.23",