Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adv-ui/boros-tcf

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adv-ui/boros-tcf - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

24

dist/application/services/vendorconsent/LoadUserConsentUseCase.js

@@ -20,2 +20,4 @@ "use strict";

var _ConsentFactory = require("../../../domain/consent/ConsentFactory");
var LoadUserConsentUseCase = /*#__PURE__*/function () {

@@ -27,6 +29,9 @@ function LoadUserConsentUseCase(_temp) {

_ref$eventStatusServi = _ref.eventStatusService,
eventStatusService = _ref$eventStatusServi === void 0 ? (0, _ioc.inject)(_EventStatusService.EventStatusService) : _ref$eventStatusServi;
eventStatusService = _ref$eventStatusServi === void 0 ? (0, _ioc.inject)(_EventStatusService.EventStatusService) : _ref$eventStatusServi,
_ref$consentFactory = _ref.consentFactory,
consentFactory = _ref$consentFactory === void 0 ? (0, _ioc.inject)(_ConsentFactory.ConsentFactory) : _ref$consentFactory;
this._loadConsentService = loadConsentService;
this._eventStatusService = eventStatusService;
this._consentFactory = consentFactory;
}

@@ -38,3 +43,3 @@

var _execute = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(_temp2) {
var _ref2, _ref2$notify, notify, consent, consentDto;
var _ref2, _ref2$notify, notify, consent, consentDto, _consent;

@@ -46,6 +51,7 @@ return _regenerator["default"].wrap(function _callee$(_context) {

_ref2 = _temp2 === void 0 ? {} : _temp2, _ref2$notify = _ref2.notify, notify = _ref2$notify === void 0 ? false : _ref2$notify;
_context.next = 3;
_context.prev = 1;
_context.next = 4;
return this._loadConsentService.loadConsent();
case 3:
case 4:
consent = _context.sent;

@@ -62,3 +68,9 @@ consentDto = consent.toJSON();

case 7:
case 10:
_context.prev = 10;
_context.t0 = _context["catch"](1);
_consent = this._consentFactory.createEmpty();
return _context.abrupt("return", _consent.toJSON());
case 14:
case "end":

@@ -68,3 +80,3 @@ return _context.stop();

}
}, _callee, this);
}, _callee, this, [[1, 10]]);
}));

@@ -71,0 +83,0 @@

@@ -21,3 +21,3 @@ "use strict";

exports.PACKAGE_NAME = PACKAGE_NAME;
var BOROS_TCF_VERSION = 4;
var BOROS_TCF_VERSION = 5;
/**

@@ -24,0 +24,0 @@ * Boros TCF IAB's registered ID

@@ -45,3 +45,3 @@ "use strict";

valid: false,
isNew: false
isNew: true
});

@@ -48,0 +48,0 @@ };

{
"name": "@adv-ui/boros-tcf",
"version": "1.4.2",
"version": "1.5.0",
"description": "Adevinta GDPR - Transparency and Consent Framework - API",

@@ -5,0 +5,0 @@ "main": "dist",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc