cognity-angular
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -30,3 +30,3 @@ /** | ||
/** @type {?} */ | ||
const headers = new HttpHeaders(); | ||
let headers = new HttpHeaders(); | ||
headers.set('x-api-key', this._API_KEY); | ||
@@ -79,2 +79,2 @@ return this.http.get(this._URL, { headers }).toPromise(); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29nbml0eS1hZG1pbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vY29nbml0eS1hbmd1bGFyLyIsInNvdXJjZXMiOlsibGliL2FkbWluL2NvZ25pdHktYWRtaW4uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxVQUFVLEVBQUUsV0FBVyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDL0QsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLFdBQVcsQ0FBQzs7O0FBTW5DLE1BQU0sT0FBTyxZQUFZOzs7OztJQU12QixZQUFvQixJQUFnQixFQUNSLE1BQTBCO1FBRGxDLFNBQUksR0FBSixJQUFJLENBQVk7UUFDUixXQUFNLEdBQU4sTUFBTSxDQUFvQjtRQU45QyxpQkFBWSxHQUFRLE1BQU0sQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLENBQUMsQ0FBQztRQUNoRSxVQUFLLEdBQUcsSUFBSSxDQUFDLFlBQVksQ0FBQyxRQUFRLENBQUM7UUFDbkMsU0FBSSxHQUFHLElBQUksQ0FBQyxLQUFLLEdBQUcsZ0JBQWdCLENBQUM7UUFLM0MsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQztJQUN0QyxD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UElfS0VZID0gdGhpcy5jb25maWcuQVBJX0tFWTtcbiAgfVxuXG4gIGxpc3RBY2NvdW50cygpIHtcbiAgICBjb25zb2xlLmxvZygnQ29nbml0eSBhZG1pbiBsaXN0IGFjY291bnRzJyk7XG4gICAgbGV0IGhlYWRlcnMgPSBuZXcgSHR0cEhlYWRlcnMoKTtcbiAgICBoZWFkZXJzLnNldCgneC1hcGkta2V5JywgdGhpcy5fQVBJX0tFWSk7XG4gICAgcmV0dXJuIHRoaXMuaHR0cC5nZXQodGhpcy5fVVJMLCB7IGhlYWRlcnMgfSkudG9Qcm9taXNlKCk7XG4gIH1cblxufVxuIl19 |
@@ -305,3 +305,3 @@ import { Injectable, Inject, ɵɵdefineInjectable, ɵɵinject, NgModule } from '@angular/core'; | ||
/** @type {?} */ | ||
const headers = new HttpHeaders(); | ||
let headers = new HttpHeaders(); | ||
headers.set('x-api-key', this._API_KEY); | ||
@@ -308,0 +308,0 @@ return this.http.get(this._URL, { headers }).toPromise(); |
{ | ||
"name": "cognity-angular", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^8.2.14", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177332