@oscarpalmer/atoms 0.184.0 → 0.184.2

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.
@@ -184,7 +184,7 @@ function getFuzzyOptions<Item>(
184
184
  return options as RequiredKeys<FuzzyOptions, 'tolerance'>;
185
185
  }
186
186
 
187
- function getState<Item>(items: Item[], input: unknown): FuzzyState<Item> {
187
+ function getFuzzyState<Item>(items: Item[], input: unknown): FuzzyState<Item> {
188
188
  const handler = getHandler(input);
189
189
  const options = getFuzzyOptions(input);
190
190
 
@@ -237,7 +237,7 @@ export function fuzzy(items: unknown[], configuration?: unknown): Fuzzy<unknown>
237
237
  throw new TypeError(MESSAGE_ARRAY);
238
238
  }
239
239
 
240
- return new Fuzzy(getState(items, configuration));
240
+ return new Fuzzy(getFuzzyState(items, configuration));
241
241
  }
242
242
 
243
243
  fuzzy.match = fuzzyMatch;
@@ -24,8 +24,8 @@ export type Frozen<Value extends ArrayOrPlainObject> = {
24
24
  export function freeze<Item>(array: Item[]): Frozen<Item[]>;
25
25
 
26
26
  /**
27
- * Freeze a callback
28
- * @param callback Function to freeze
27
+ * Freeze a function
28
+ * @param fn Function to freeze
29
29
  * @returns Frozen function
30
30
  */
31
31
  export function freeze<Fn extends GenericCallback>(fn: Fn): Readonly<Fn>;
@@ -194,7 +194,6 @@ export function merge(
194
194
  return handleMerge(values, getMergeOptions(options));
195
195
  }
196
196
 
197
- merge.assign = assign;
198
197
  merge.initialize = initializeMerger;
199
198
 
200
199
  function mergeObjects(