mtg-crucible 0.4.9 → 0.4.10

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.
package/README.md CHANGED
@@ -4,6 +4,8 @@ A TypeScript library for rendering custom Magic: The Gathering card images. Runs
4
4
 
5
5
  Includes a react component for rendering resulting card images, complete with card rotations for double-faced cards, etc.
6
6
 
7
+ **▶ Try it in your browser:** the [MTG Crucible Playground](https://domainellipticlanguage.com/project/mtg-crucible-playground/) renders cards live — edit via a structured UI, the plaintext format, or raw JSON.
8
+
7
9
  ## Installation
8
10
 
9
11
  ```bash
@@ -82,6 +84,7 @@ Options:
82
84
  - `quality` — `'high'` (2010x2814, default), `'medium'` (745x1040), or `'low'` (350x490)
83
85
  - `format` — `'png'` (default, lossless with transparency), `'jpeg'` (smaller, no transparency, white corners), or `'webp'` (smallest, with transparency)
84
86
  - `allowUnsafeArtUrls` — defaults to `false`. See [Security](#security) below.
87
+ - `suppressAttribution` — defaults to `false`. When `true`, omits the small "Powered by mtg-crucible" credit from the footer.
85
88
 
86
89
  ### `toBlob(data: Uint8Array, format?: RenderFormat): Blob`
87
90
 
@@ -217,6 +220,7 @@ Projects built with Crucible:
217
220
 
218
221
  - **[This Magic Card Does Not Exist](https://thismagiccarddoesnotexist.com/)** — A website for creating custom cards with AI.
219
222
  - **[Obsidian Custom MTG](https://github.com/domainellipticlanguage/obsidian-custom-mtg)** — an [Obsidian](https://obsidian.md) plugin for creating custom cards in plaintext in your vault.
223
+ - **[Command Tower MCP](https://github.com/domainellipticlanguage/command-tower-mcp)** — an MCP server for vibe-brewing Magic: The Gathering decks on Archidekt, with support for custom card creation.
220
224
 
221
225
  Built something with Crucible? Open a PR to add it here.
222
226
 
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.4.9";
1
+ export declare const VERSION = "0.4.10";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // AUTO-GENERATED by scripts/gen-version.ts — do not edit by hand.
5
- exports.VERSION = "0.4.9";
5
+ exports.VERSION = "0.4.10";
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";;;AAAA,kEAAkE;AACrD,QAAA,OAAO,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";;;AAAA,kEAAkE;AACrD,QAAA,OAAO,GAAG,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mtg-crucible",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "TypeScript library for rendering custom Magic: The Gathering card images, in Node and the browser",
5
5
  "repository": {
6
6
  "type": "git",