@overmap-ai/core 1.0.78-session-auth.2 → 1.0.78-session-auth.3
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.
|
@@ -9,7 +9,7 @@ export declare const CLASS_NAME_TO_SERVICE: Record<string, BaseService<BaseState
|
|
|
9
9
|
*/
|
|
10
10
|
export declare abstract class BaseService<TStore extends BaseState, TSDK extends BaseSDK<TStore>> {
|
|
11
11
|
protected readonly client: TSDK;
|
|
12
|
-
abstract readonly host: string;
|
|
12
|
+
protected abstract readonly host: string;
|
|
13
13
|
protected constructor(sdk: TSDK);
|
|
14
14
|
protected enqueueRequest<TResult>(requestDetails: SDKRequest): Promise<TResult>;
|
|
15
15
|
protected dispatch(action: UnknownAction | ResultAction | ActionCreatorWithPayload<any, any>): void;
|
|
@@ -18,7 +18,7 @@ interface DatabaseFileProperties {
|
|
|
18
18
|
file: string;
|
|
19
19
|
}
|
|
20
20
|
export declare abstract class FileService<TState extends BaseState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
21
|
-
host: string;
|
|
21
|
+
protected readonly host: string;
|
|
22
22
|
private _dbPromise;
|
|
23
23
|
private renewUploadUrl;
|
|
24
24
|
/**
|
|
@@ -28,7 +28,7 @@ export declare abstract class JWTAuthService<TState extends BaseState, TSDK exte
|
|
|
28
28
|
* Attempts to renew tokens
|
|
29
29
|
*/
|
|
30
30
|
renewTokens(): Promise<undefined>;
|
|
31
|
-
tokenIsExpiringSoon(): boolean;
|
|
31
|
+
protected tokenIsExpiringSoon(): boolean;
|
|
32
32
|
prepareAuth(): Promise<undefined>;
|
|
33
33
|
private getAuthHeader;
|
|
34
34
|
prepareRequest(request: SuperAgentRequest): SuperAgentRequest;
|
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.
|
|
6
|
+
"version": "1.0.78-session-auth.3",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|