@sumaris-net/ngx-components 1.20.38 → 1.20.39
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/bundles/sumaris-net.ngx-components.umd.js +4 -2
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/entity-editor.class.js +1 -1
- package/esm2015/src/app/core/graphql/graphql.service.js +5 -3
- package/fesm2015/sumaris-net.ngx-components.js +4 -2
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -15213,7 +15213,8 @@
|
|
|
15213
15213
|
console.debug('[graphql] Apply token authentication to headers');
|
|
15214
15214
|
this.connectionParams.authToken = token;
|
|
15215
15215
|
}
|
|
15216
|
-
|
|
15216
|
+
// Clean auth token
|
|
15217
|
+
else if (this.connectionParams.authToken) {
|
|
15217
15218
|
console.debug('[graphql] Remove token authentication from headers');
|
|
15218
15219
|
delete this.connectionParams.authToken;
|
|
15219
15220
|
// Clear cache
|
|
@@ -15225,7 +15226,8 @@
|
|
|
15225
15226
|
console.debug('[graphql] Apply basic authentication to headers');
|
|
15226
15227
|
this.connectionParams.authBasic = basic;
|
|
15227
15228
|
}
|
|
15228
|
-
|
|
15229
|
+
// Clean auth basic
|
|
15230
|
+
else if (this.connectionParams.authBasic) {
|
|
15229
15231
|
console.debug('[graphql] Remove basic authentication from headers');
|
|
15230
15232
|
delete this.connectionParams.authBasic;
|
|
15231
15233
|
// Clear cache
|