@dicebear/converter 5.0.0-beta.5 → 5.0.0-beta.6
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/lib/types.d.ts +2 -2
- package/package.json +2 -2
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ToFormat = (svg: string, format: Format, exif?: Exif) => Result;
|
|
2
2
|
export interface Result {
|
|
3
3
|
toDataUri(): Promise<string>;
|
|
4
4
|
toFile(name: string): Promise<void>;
|
|
@@ -7,4 +7,4 @@ export interface Result {
|
|
|
7
7
|
export interface Exif {
|
|
8
8
|
[key: string]: string;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type Format = 'svg' | 'png' | 'jpeg';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/converter",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.6",
|
|
4
4
|
"description": "SVG Converter for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "1a81759251d30336383497f31843b48809d0f56b"
|
|
75
75
|
}
|