diff --git a/CHANGELOG.md b/CHANGELOG.md index d95ff23..1267d10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# v5.0.3 (January 11th, 2025) +- Updated `PromoType` to reflect the current Scryfall dataset. (Thanks [mcgrue](https://github.com/mcgrue)!) + # v5.0.2 (August 18th, 2024) - Fixed missing `hybrid` field in card symbols. diff --git a/package.json b/package.json index 2713b39..3831ff5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scryfall-sdk", - "version": "5.0.2", + "version": "5.0.3", "main": "./out/Scry.js", "types": "./out/Scry.d.ts", "description": "A Node.js SDK for https://scryfall.com/docs/api written in Typescript.", diff --git a/src/api/Cards.ts b/src/api/Cards.ts index 5d6742a..c91aaca 100644 --- a/src/api/Cards.ts +++ b/src/api/Cards.ts @@ -256,32 +256,89 @@ export interface Preview { } export enum PromoType { - tourney, - prerelease, - datestamped, - planeswalkerdeck, + alchemy, + arenaleague, + beginnerbox, + boosterfun, + boxtopper, + brawldeck, + bringafriend, + bundle, buyabox, - judgegift, - event, + commanderparty, + concept, + confettifoil, convention, - starterdeck, - instore, - setpromo, - fnm, - openhouse, - league, + datestamped, + dossier, + doubleexposure, + doublerainbow, + draculaseries, draftweekend, + duels, + embossed, + event, + fnm, + fracturefoil, + galaxyfoil, gameday, - release, - intropack, giftbox, - duels, - wizardsplaynetwork, - premiereshop, + gilded, + glossy, + godzillaseries, + halofoil, + imagine, + instore, + intropack, + invisibleink, + jpwalker, + judgegift, + league, + magnified, + manafoil, + mediainsert, + moonlitland, + neonink, + oilslick, + openhouse, + planeswalkerdeck, + plastic, playerrewards, + playpromo, playtest, - gateway, - arenaleague + portrait, + poster, + premiereshop, + prerelease, + promopack, + rainbowfoil, + raisedfoil, + ravnicacity, + rebalanced, + release, + resale, + ripplefoil, + schinesealtart, + scroll, + serialized, + setextension, + setpromo, + silverfoil, + sldbonus, + stamped, + startercollection, + starterdeck, + stepandcompleat, + storechampionship, + surgefoil, + textured, + themepack, + thick, + tourney, + upsidedown, + upsidedownback, + vault, + wizardsplaynetwork, } export enum CardFinish {