@arsedizioni/ars-utils 19.2.1 → 19.2.3

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.
@@ -195,7 +195,11 @@ export declare enum ERPComplianceScope {
195
195
  Organization = 128,
196
196
  Logistics = 256,
197
197
  Facility = 512,
198
- Security = 1024
198
+ Security = 1024,
199
+ GenderEquality = 2048,
200
+ AntiCorruption = 4096,
201
+ Sustainability = 8192,
202
+ InformationSecurity = 16384
199
203
  }
200
204
  export declare enum ERPComplianceNotificationLimit {
201
205
  None = 0,
@@ -3253,7 +3253,7 @@ class ClipperAuthInterceptor {
3253
3253
  */
3254
3254
  addTokenToRequest(request, token = null) {
3255
3255
  if (request.url.startsWith(this.clipperService.serviceUri)) {
3256
- if (!this.clipperService.loggedIn()) {
3256
+ if (this.clipperService.loggedIn()) {
3257
3257
  if (!token)
3258
3258
  token = this.clipperService.getToken();
3259
3259
  if (token) {