@geins/core 0.5.0 → 0.5.1
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/dist/api-client/endpointClient.d.ts +3 -2
- package/dist/api-client/managementApiClient.d.ts +2 -1
- package/dist/api-client/merchantApiClient.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/logic/channel.d.ts +0 -2
- package/dist/services/cookieService.d.ts +6 -0
- package/dist/services/graphQLService.d.ts +2 -2
- package/dist/utils/jwtUtils.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export declare class EndpointApiClient {
|
|
2
|
+
private static readonly FETCH_TIMEOUT_MS;
|
|
2
3
|
private apiKey;
|
|
3
4
|
constructor(apiKey: string);
|
|
4
5
|
private getEndpointUrl;
|
|
5
6
|
private request;
|
|
6
|
-
getUrlHistory(lastFetchTime?: string): Promise<
|
|
7
|
-
getSlugHistory(lastFetchTime?: string): Promise<
|
|
7
|
+
getUrlHistory(lastFetchTime?: string): Promise<unknown>;
|
|
8
|
+
getSlugHistory(lastFetchTime?: string): Promise<unknown>;
|
|
8
9
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { ManagementApiCredentials } from '@geins/types';
|
|
2
2
|
export declare class ManagementApiClient {
|
|
3
|
+
private static readonly FETCH_TIMEOUT_MS;
|
|
3
4
|
private baseUrl;
|
|
4
5
|
private apiKey;
|
|
5
6
|
private authToken;
|
|
6
7
|
constructor(credentials: ManagementApiCredentials);
|
|
7
8
|
createAuthToken(credentials: ManagementApiCredentials): string;
|
|
8
9
|
getEndpointUrl(path: string): string;
|
|
9
|
-
request(method: string, path: string, data?: any): Promise<
|
|
10
|
+
request(method: string, path: string, data?: any): Promise<unknown>;
|
|
10
11
|
}
|