@overmap-ai/core 1.0.78-session-auth-dev.1 → 1.0.78-session-auth-dev.2

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.
@@ -4,7 +4,7 @@ import { BaseSDK } from '../base';
4
4
  import { BaseService } from './BaseService';
5
5
  export declare abstract class BaseAuthService<TStore extends BaseState, TSDK extends BaseSDK<TStore>> extends BaseService<TStore, TSDK> {
6
6
  clearAuth(): void;
7
- protected initAuth(payload: object): Promise<void>;
7
+ initAuth(payload: object): Promise<void>;
8
8
  prepareAuth(): Promise<void>;
9
9
  abstract prepareRequest(request: SuperAgentRequest): SuperAgentRequest;
10
10
  abstract handleUnauthorized(request: SuperAgentRequest, response: Response): Promise<void>;
@@ -33,5 +33,5 @@ export declare abstract class JWTAuthService<TState extends BaseState, TSDK exte
33
33
  private getAuthHeader;
34
34
  prepareRequest(request: SuperAgentRequest): SuperAgentRequest;
35
35
  handleUnauthorized(request: request.SuperAgentRequest, response: request.Response): Promise<void>;
36
- protected initAuth(payload: object): Promise<void>;
36
+ initAuth(payload: object): Promise<void>;
37
37
  }
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.78-session-auth-dev.1",
6
+ "version": "1.0.78-session-auth-dev.2",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",