@sumaris-net/ngx-components 2.0.5 → 2.0.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.0.5",
4
+ "version": "2.0.7",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -57,12 +57,13 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
57
57
  private readonly _defaultFetchPolicy;
58
58
  private onNetworkError;
59
59
  private customErrors;
60
+ private onResetAuth;
60
61
  get client(): ApolloClient<any>;
61
62
  get cache(): ApolloCache<any>;
62
63
  get defaultFetchPolicy(): WatchQueryFetchPolicy;
63
64
  constructor(platform: Platform, apollo: Apollo, httpLink: HttpLink, network: NetworkService, storage: StorageService, cryptoService: CryptoService, environment: any, typePolicies: TypePolicies);
64
- setAuthToken(token: string): void;
65
- setAuthBasic(basic: string): void;
65
+ setAuthToken(token: string): Promise<void>;
66
+ setAuthBasic(basic: string): Promise<void>;
66
67
  /**
67
68
  * Allow to add a field resolver
68
69
  * (see doc: https://www.apollographql.com/docs/react/data/local-state/#handling-client-fields-with-resolvers)