@flesh-and-blood/cards 2.0.154 → 2.1.0

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 (3) hide show
  1. package/README.md +3 -3
  2. package/dist/index.js +75 -75
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -19,12 +19,12 @@
19
19
 
20
20
  A library of all Flesh and Blood cards, available as a bundled TypeScript file with matching interfaces. Source data comes from the amazing [the-fab-cube/flesh-and-blood-cards](https://github.com/the-fab-cube/flesh-and-blood-cards) repository maintained by [Tyler Luce](https://github.com/luceleaftea) - all credit goes to him, and all errors are probably added by me in this project 😅.
21
21
 
22
- To install run `npm i --save fab-cards`.
22
+ To install run `npm i --save @flesh-and-blood/cards`.
23
23
 
24
24
  Access the card data in your project:
25
25
 
26
26
  ```ts
27
- import { cards } from "fab-cards";
27
+ import { cards } from "@flesh-and-blood/cards";
28
28
 
29
29
  cards.forEach((card) => {
30
30
  // do stuff with the card data
@@ -49,7 +49,7 @@ cards.forEach((card) => {
49
49
  | setIdentifiers | `string` array | `[ "1HP009", "CRU006" ]` |
50
50
  | sets | `Release` enum array | `[ "History Pack 1", "Crucible of War" ]` |
51
51
  | specialImage | `string` | `"1HP001.width-450"` |
52
- | subtypes | `Subtype` enum array | `["OneHanded", "Dagger"]`, `["Aura"]` |
52
+ | subtypes | `Subtype` enum array | `["1H", "Dagger"]`, `["Aura"]` |
53
53
  | types | `Type` enum array | `["Action"]`, `["Hero"]` |
54
54
  | typeText | `string` | `"Elemental Ranger Action – Arrow Attack"` |
55
55