@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.mjs CHANGED
@@ -72312,7 +72312,7 @@ var PrebidGAM = /*#__PURE__*/ function() {
72312
72312
  key: "configure",
72313
72313
  value: function configure(context, options) {
72314
72314
  var _window_pbjs_que, _window_pbjs;
72315
- if (window.__tcfApi) {
72315
+ if (typeof window.__tcfapi === "function") {
72316
72316
  var _window___tcfapi, _window, _window___tcfapi1, _window1;
72317
72317
  (_window___tcfapi = (_window = window).__tcfapi) === null || _window___tcfapi === void 0 ? void 0 : _window___tcfapi.call(_window, "getTCData", 2, handleTCFApiEvent);
72318
72318
  (_window___tcfapi1 = (_window1 = window).__tcfapi) === null || _window___tcfapi1 === void 0 ? void 0 : _window___tcfapi1.call(_window1, "addEventListener", 2, handleTCFApiEvent);