@overmap-ai/core 1.0.65-error-message-fix.5 → 1.0.65-error-message-fix.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.
@@ -2,10 +2,9 @@ import { Response, SuperAgentRequest } from "superagent";
2
2
  import { BaseState } from "../../typings";
3
3
  import type { BaseSDK } from "../base";
4
4
  import { BaseService } from "./BaseService";
5
- import { TokenPair } from "../typings";
6
5
  export declare abstract class BaseAuthService<TStore extends BaseState, TSDK extends BaseSDK<TStore>> extends BaseService<TStore, TSDK> {
7
6
  protected constructor(sdk: TSDK);
8
- abstract initAuth(payload: object): Promise<TokenPair>;
7
+ abstract initAuth(payload: object): Promise<void>;
9
8
  abstract clearAuth(): void;
10
9
  abstract prepareAuth(): Promise<void>;
11
10
  abstract getAuthHeader(): string;
@@ -32,5 +32,5 @@ export declare abstract class JWTService<TState extends BaseState, TSDK extends
32
32
  getAuthHeader(): string;
33
33
  prepareAuth(): Promise<undefined>;
34
34
  handleUnauthorized(request: request.SuperAgentRequest, response: request.Response): Promise<void>;
35
- initAuth(payload: object): Promise<TokenPair>;
35
+ initAuth(payload: object): Promise<void>;
36
36
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Core functionality for Overmap",
4
4
  "author": "Wôrdn Inc.",
5
5
  "license": "UNLICENSED",
6
- "version": "1.0.65-error-message-fix.5",
6
+ "version": "1.0.65-error-message-fix.6",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",