@flesh-and-blood/search 4.0.46 → 4.0.48

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -8,7 +8,7 @@ A [fuse.js](https://www.fusejs.io/)-based search engine for **Flesh and Blood**
8
8
  npm i @flesh-and-blood/search @flesh-and-blood/types
9
9
  ```
10
10
 
11
- `@flesh-and-blood/types` is a **peer dependency** install it alongside this package
11
+ `@flesh-and-blood/types` is a **peer dependency**: install it alongside this package
12
12
 
13
13
  ## Usage
14
14
 
@@ -21,7 +21,7 @@ const { searchResults } = searcher.search("rhinar go again");
21
21
  ```
22
22
 
23
23
  - `new Searcher(cards, additionalHeroes?, additionalSets?, debug?)`
24
- - `.search(text)` → `SearchResults` `{ searchResults: SearchCard[], appliedFilters, keywords, attributes }`
24
+ - `.search(text)` → `SearchResults`: `{ searchResults: SearchCard[], appliedFilters, keywords, attributes }`
25
25
 
26
26
  Data-only modules are available as subpath imports (handy for lazy-loaded UI like a search-bar dropdown):
27
27
 
@@ -32,7 +32,7 @@ import { shorthands } from "@flesh-and-blood/search/shorthands";
32
32
 
33
33
  ## What's included
34
34
 
35
- - Default export: **`Searcher`** the search engine
35
+ - Default export: **`Searcher`**, the search engine
36
36
  - Types: `SearchResults`, `SearchCard`
37
37
  - Data modules (subpath imports): `abbreviations`, `shorthands`, `memes`
38
38
  - Filter / meta-filter / helper utilities (`filters`, `metaFilters`, `helpers`, `constants`, `related`)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flesh-and-blood/search",
3
3
  "description": "TypeScript search engine for Flesh and Blood cards",
4
- "version": "4.0.46",
4
+ "version": "4.0.48",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "dist/index.cjs",
@@ -44,8 +44,8 @@
44
44
  "@flesh-and-blood/types": "^4.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@flesh-and-blood/cards": "^4.0.46",
48
- "@flesh-and-blood/types": "^4.0.45",
47
+ "@flesh-and-blood/cards": "^4.0.48",
48
+ "@flesh-and-blood/types": "^4.0.48",
49
49
  "@types/jest": "^29.5.11",
50
50
  "@types/node": "^20.10.5",
51
51
  "esbuild": "^0.19.10",
@@ -75,5 +75,5 @@
75
75
  "FAB",
76
76
  "FABTCG"
77
77
  ],
78
- "gitHead": "1d318cadd54614542f05bf911097cc054c914bdd"
78
+ "gitHead": "c9f5d793e1af2ff0978ca7793ef52b92d1b51b83"
79
79
  }