@konoui/mjimage 0.0.45 → 0.0.46

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/dist/index.d.cts CHANGED
@@ -853,7 +853,7 @@ export declare function forHand(options?: {
853
853
 
854
854
  export declare class Hand {
855
855
  protected data: HandData;
856
- constructor(input: string, allowBackBlock?: boolean);
856
+ constructor(input: string | Block[], allowBackBlock?: boolean);
857
857
  private init;
858
858
  get hands(): Tile[];
859
859
  toString(): string;
package/dist/index.d.ts CHANGED
@@ -853,7 +853,7 @@ export declare function forHand(options?: {
853
853
 
854
854
  export declare class Hand {
855
855
  protected data: HandData;
856
- constructor(input: string, allowBackBlock?: boolean);
856
+ constructor(input: string | Block[], allowBackBlock?: boolean);
857
857
  private init;
858
858
  get hands(): Tile[];
859
859
  toString(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konoui/mjimage",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "Generates Mahjong tiles in SVG format.",
5
5
  "author": "konoui",
6
6
  "license": "MIT",