supaapps-api-kit-client 0.5.0 → 0.6.0

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.
@@ -13,7 +13,7 @@ export declare class ApiKitClient {
13
13
  private apiClientKey;
14
14
  static apiClients: Record<string, ApiClient>;
15
15
  static i(configInstance: string): ApiKitClient;
16
- private constructor();
16
+ constructor(apiClientKey?: string);
17
17
  initialize(baseURL: string, authTokenCallback?: AuthTokenCallback, unauthorizedCallback?: UnAuthorizedCallback, useAuth?: boolean): void;
18
18
  private setupInterceptors;
19
19
  private checkInitialization;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supaapps-api-kit-client",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "A versatile, type-safe API kit client designed for TypeScript applications.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,7 +20,7 @@ export class ApiKitClient {
20
20
  return new ApiKitClient(configInstance);
21
21
  }
22
22
 
23
- private constructor(apiClientKey: string = 'default') {
23
+ public constructor(apiClientKey: string = 'default') {
24
24
  this.apiClientKey = apiClientKey;
25
25
  }
26
26