@neosianexus/super-tebex 3.1.3 → 3.1.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/README.md CHANGED
@@ -234,6 +234,7 @@ const {
234
234
  // Helpers
235
235
  getByName, // (name: string) => Category | undefined
236
236
  getById, // (id: number) => Category | undefined
237
+ getBySlug, // (slug: string) => Category | undefined
237
238
  } = useCategories({
238
239
  includePackages: true, // default: true
239
240
  enabled: true, // default: true
@@ -779,7 +780,7 @@ setUsername('player_name');
779
780
 
780
781
  | Hook | Key Params | Key Returns |
781
782
  |------|------------|-------------|
782
- | `useCategories(opts?)` | `includePackages` | `categories`, `getById`, `getByName` |
783
+ | `useCategories(opts?)` | `includePackages` | `categories`, `getById`, `getByName`, `getBySlug` |
783
784
  | `useCategory(opts)` | `id` | `category` |
784
785
  | `usePackages(opts?)` | `categoryId` | `packages`, `getById`, `getByName` |
785
786
  | `usePackage(opts)` | `id` | `package` |