scryfall-api 4.0.0-beta.1 → 4.0.0-beta.2

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.
@@ -361,7 +361,7 @@ declare class CardApi {
361
361
  bySet(setCode: string, collectorNumber: number, lang?: string): Promise<Card | undefined>;
362
362
  byTcgPlayerId(id: number): Promise<Card | undefined>;
363
363
  collection(...identifiers: CardIdentifier[]): Promise<Card[]>;
364
- random(): Promise<Card | undefined>;
364
+ random(): Promise<Card>;
365
365
  search(query: string, options?: CardSearch | number): MagicPageResult<Card>;
366
366
  }
367
367
  declare const cards: CardApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scryfall-api",
3
- "version": "4.0.0-beta.1",
3
+ "version": "4.0.0-beta.2",
4
4
  "description": "A Javascript library for https://scryfall.com/docs/api written in Typescript.",
5
5
  "keywords": [
6
6
  "magic",
@@ -50,9 +50,9 @@
50
50
  "@changesets/cli": "2.27.1",
51
51
  "@hexatool/eslint-config": "2.3.0",
52
52
  "@hexatool/tsconfig": "20.0.1",
53
- "@types/bun": "1.0.7",
53
+ "@types/bun": "1.1.2",
54
54
  "eslint": "8.57.0",
55
55
  "tsup": "8.0.2",
56
- "typescript": "5.3.3"
56
+ "typescript": "5.4.5"
57
57
  }
58
58
  }