@brndts/brndts-ads 1.14.10 → 1.14.11

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 CHANGED
@@ -72241,7 +72241,7 @@ var PrebidGAM = /*#__PURE__*/ function() {
72241
72241
  key: "configure",
72242
72242
  value: function configure(context, options) {
72243
72243
  var _window_pbjs_que, _window_pbjs;
72244
- if (window.__tcfApi) {
72244
+ if (typeof window.__tcfapi === "function") {
72245
72245
  var _window___tcfapi, _window, _window___tcfapi1, _window1;
72246
72246
  (_window___tcfapi = (_window = window).__tcfapi) === null || _window___tcfapi === void 0 ? void 0 : _window___tcfapi.call(_window, "getTCData", 2, handleTCFApiEvent);
72247
72247
  (_window___tcfapi1 = (_window1 = window).__tcfapi) === null || _window___tcfapi1 === void 0 ? void 0 : _window___tcfapi1.call(_window1, "addEventListener", 2, handleTCFApiEvent);