thaizip 0.7.4 → 0.7.5

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/README.md CHANGED
@@ -20,7 +20,7 @@ npm install thaizip
20
20
  |---|---|
21
21
  | `thaizip` | core functions + types (no React code, 4.4 KB gzip) |
22
22
  | `thaizip/react` | `useThaiAddressAutocomplete` (ships `"use client"`) |
23
- | `thaizip/data` | `loadDefaultIndex`, `clearDefaultIndex` (132 KB gzip) |
23
+ | `thaizip/data` | `loadDefaultIndex`, `clearDefaultIndex`, `getDefaultIndexIfLoaded` (2.3 KB gzip, plus a 114 KB gzip data chunk fetched lazily on the first `loadDefaultIndex()` call) |
24
24
 
25
25
  ## Quick start
26
26