@hoddy-ui/next 2.0.21 → 2.0.22

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/index.d.mts CHANGED
@@ -256,6 +256,7 @@ interface DividerProps {
256
256
  type configProps = {
257
257
  googleMapApiKey?: string;
258
258
  colors?: extraColorTypes;
259
+ fontFamily?: string;
259
260
  };
260
261
  declare function initialize(config: configProps): void;
261
262
 
package/dist/index.d.ts CHANGED
@@ -256,6 +256,7 @@ interface DividerProps {
256
256
  type configProps = {
257
257
  googleMapApiKey?: string;
258
258
  colors?: extraColorTypes;
259
+ fontFamily?: string;
259
260
  };
260
261
  declare function initialize(config: configProps): void;
261
262
 
package/dist/index.js CHANGED
@@ -206,24 +206,24 @@ function colors(theme) {
206
206
  }
207
207
 
208
208
  // ../src/config/KeyManager.ts
209
- var apiKey = {
209
+ var config = {
210
210
  GOOGLE_MAP_API_KEY: ""
211
211
  };
212
212
  function setApiKey(key) {
213
- apiKey = key;
213
+ config = key;
214
214
  }
215
215
  function getApiKey() {
216
- return apiKey;
216
+ return config;
217
217
  }
218
218
 
219
219
  // ../src/config/index.ts
220
- function initialize(config) {
220
+ function initialize(config2) {
221
221
  try {
222
222
  setApiKey({
223
- GOOGLE_MAP_API_KEY: config.googleMapApiKey
223
+ GOOGLE_MAP_API_KEY: config2.googleMapApiKey
224
224
  });
225
- if (config.colors)
226
- setExtraColors(config.colors);
225
+ if (config2.colors)
226
+ setExtraColors(config2.colors);
227
227
  } catch (error) {
228
228
  console.error("Error reading the config file:", error);
229
229
  }