@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.mjs CHANGED
@@ -141,24 +141,24 @@ function colors(theme) {
141
141
  }
142
142
 
143
143
  // ../src/config/KeyManager.ts
144
- var apiKey = {
144
+ var config = {
145
145
  GOOGLE_MAP_API_KEY: ""
146
146
  };
147
147
  function setApiKey(key) {
148
- apiKey = key;
148
+ config = key;
149
149
  }
150
150
  function getApiKey() {
151
- return apiKey;
151
+ return config;
152
152
  }
153
153
 
154
154
  // ../src/config/index.ts
155
- function initialize(config) {
155
+ function initialize(config2) {
156
156
  try {
157
157
  setApiKey({
158
- GOOGLE_MAP_API_KEY: config.googleMapApiKey
158
+ GOOGLE_MAP_API_KEY: config2.googleMapApiKey
159
159
  });
160
- if (config.colors)
161
- setExtraColors(config.colors);
160
+ if (config2.colors)
161
+ setExtraColors(config2.colors);
162
162
  } catch (error) {
163
163
  console.error("Error reading the config file:", error);
164
164
  }