@rohitaryal/whisk-api 3.1.0 → 3.1.1
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/Whisk.d.ts +1 -1
- package/package.json +2 -2
package/dist/Whisk.d.ts
CHANGED
|
@@ -48,5 +48,5 @@ export declare class Whisk {
|
|
|
48
48
|
* Uses imagefx's api to generate image.
|
|
49
49
|
* Advantage here is it can generate multiple images in single request
|
|
50
50
|
*/
|
|
51
|
-
generateImage(input: string | PromptConfig, count?: number): Promise<Media>;
|
|
51
|
+
generateImage(input: string | PromptConfig, count?: number): Promise<Media[]>;
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rohitaryal/whisk-api",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -49,4 +49,4 @@
|
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://github.com/rohitaryal/whisk-api#readme",
|
|
51
51
|
"description": "Unofficial API for Whisk image generation."
|
|
52
|
-
}
|
|
52
|
+
}
|