@flexbe/sdk 0.2.41 → 0.2.42

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.
@@ -3,9 +3,12 @@ export declare class ApiClient {
3
3
  private readonly config;
4
4
  private readonly tokenManager;
5
5
  constructor(config: FlexbeConfig);
6
- private getAuthHeaders;
7
- private buildUrl;
8
- private request;
6
+ getAuthHeaders(): Promise<Record<string, string>>;
7
+ buildUrl(path: string, params?: object): string;
8
+ request<T>(config: RequestInit & {
9
+ url: string;
10
+ params?: object;
11
+ }): Promise<FlexbeResponse<T>>;
9
12
  get<T>(url: string, config?: RequestInit & {
10
13
  params?: object;
11
14
  }): Promise<FlexbeResponse<T>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flexbe/sdk",
3
- "version": "0.2.41",
3
+ "version": "0.2.42",
4
4
  "description": "TypeScript SDK for Flexbe API",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",