@umituz/react-native-ai-gemini-provider 2.0.5 → 2.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-gemini-provider",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Google Gemini AI text generation provider for React Native applications",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -18,7 +18,7 @@ export class RateLimiter {
18
18
  private maxQueueSize: number;
19
19
 
20
20
  constructor(options: RateLimiterOptions = {}) {
21
- this.minInterval = options.minInterval ?? 100; // 100ms minimum aralık
21
+ this.minInterval = options.minInterval ?? 100; // 100ms minimum interval
22
22
  this.maxQueueSize = options.maxQueueSize ?? 100;
23
23
  }
24
24
 
@@ -48,8 +48,6 @@ class ProviderFactory {
48
48
 
49
49
  this.currentConfig = config;
50
50
 
51
- this.currentConfig = config;
52
-
53
51
  // Initialize Gemini client with resolved config
54
52
  const geminiConfig: GeminiConfig = {
55
53
  apiKey: config.apiKey,
@@ -62,8 +60,6 @@ class ProviderFactory {
62
60
  };
63
61
 
64
62
  geminiClientCoreService.initialize(geminiConfig);
65
-
66
- geminiClientCoreService.initialize(geminiConfig);
67
63
  }
68
64
 
69
65
  /**