@flesh-and-blood/types 4.0.63 → 4.0.65

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/dist/sets.d.ts +2 -2
  2. package/package.json +5 -4
package/dist/sets.d.ts CHANGED
@@ -22,8 +22,8 @@ export declare enum ReleaseType {
22
22
  WelcomeDeck = "Welcome Deck"
23
23
  }
24
24
  export declare const getIsBooster: (releaseType: ReleaseType) => boolean;
25
- export declare const getIsReprint: (releaseType: ReleaseType) => boolean;
26
- export declare const getIsDraftable: (releaseType: ReleaseType) => boolean;
25
+ export declare const getIsReprint: (releaseType: ReleaseType) => releaseType is ReleaseType.HistoryPack;
26
+ export declare const getIsDraftable: (releaseType: ReleaseType) => releaseType is ReleaseType.StandaloneBooster;
27
27
  export declare const getIsPreconstructed: (releaseType: ReleaseType) => boolean;
28
28
  interface DeckLink {
29
29
  name?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flesh-and-blood/types",
3
3
  "description": "TypeScript representations of Flesh and Blood card types",
4
- "version": "4.0.63",
4
+ "version": "4.0.65",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "dist/index.cjs",
@@ -36,7 +36,8 @@
36
36
  "test": "jest",
37
37
  "typecheck": "tsc -p tsconfig.typecheck.json",
38
38
  "full": "npm i && npm run build && npm test",
39
- "prepublish": "npm run full"
39
+ "prepublish": "npm run full",
40
+ "prepublishOnly": "npm run typecheck"
40
41
  },
41
42
  "devDependencies": {
42
43
  "@types/jest": "^29.5.11",
@@ -49,7 +50,7 @@
49
50
  "jest": "^29.7.0",
50
51
  "papaparse": "5.3.2",
51
52
  "ts-node": "^10.9.2",
52
- "typescript": "^5.3.3"
53
+ "typescript": "^5.7.3"
53
54
  },
54
55
  "files": [
55
56
  "/dist"
@@ -72,5 +73,5 @@
72
73
  "FAB",
73
74
  "FABTCG"
74
75
  ],
75
- "gitHead": "5178a38435307222bfedc5fdadd4f0810f9add51"
76
+ "gitHead": "9f816d6e07bce4f358f5c6a5479524055c195d0c"
76
77
  }