@sumaris-net/ngx-components 2.0.5 → 2.0.6

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.6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -61,8 +61,8 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
61
61
  get cache(): ApolloCache<any>;
62
62
  get defaultFetchPolicy(): WatchQueryFetchPolicy;
63
63
  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;
64
+ setAuthToken(token: string): Promise<void>;
65
+ setAuthBasic(basic: string): Promise<void>;
66
66
  /**
67
67
  * Allow to add a field resolver
68
68
  * (see doc: https://www.apollographql.com/docs/react/data/local-state/#handling-client-fields-with-resolvers)