@rohitaryal/whisk-api 1.0.1 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +22 -15
package/README.md CHANGED
@@ -20,15 +20,15 @@ An unofficial TypeScript/JavaScript API wrapper for Google Labs' Whisk image gen
20
20
  ## Installation
21
21
 
22
22
  ```bash
23
- bun i whisk-api
23
+ bun i @rohitaryal/whisk-api
24
24
  # or
25
- npm i whisk-api
25
+ npm i @rohitaryal/whisk-api
26
26
  ```
27
27
 
28
28
  ## Quick Start
29
29
 
30
30
  ```typescript
31
- import Whisk from 'whisk-api';
31
+ import Whisk from '@rohitaryal/whisk-api';
32
32
 
33
33
  const whisk = new Whisk({
34
34
  cookie: "your_google_labs_cookie_here"
package/package.json CHANGED
@@ -1,27 +1,26 @@
1
1
  {
2
2
  "name": "@rohitaryal/whisk-api",
3
- "module": "index.ts",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
5
10
  "private": false,
11
+ "scripts": {
12
+ "test": "bun test",
13
+ "build": "tsc && chmod +x ./dist/index.js"
14
+ },
6
15
  "devDependencies": {
7
- "@types/bun": "latest"
16
+ "@types/bun": "latest",
17
+ "typescript": "^5.8.3"
8
18
  },
9
19
  "peerDependencies": {
10
20
  "typescript": "^5"
11
21
  },
12
- "scripts": {
13
- "test": "bun test"
14
- },
15
- "main": "src/index.ts",
16
- "description": "[![Test](https://github.com/rohitaryal/whisk-api/actions/workflows/test.yaml/badge.svg)](https://github.com/rohitaryal/whisk-api/actions/workflows/test.yaml) [![License](https://img.shields.io/npm/l/whisk-api.svg)](https://github.com/rohitaryal/whisk-api/blob/main/LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?logo=typescript&logoColor=white)](https://www.typescriptlang.org/) [![Node.js](https://img.shields.io/badge/Node.js-339933?logo=node.js&logoColor=white)](https://nodejs.org/) [![Bun.js](https://img.shields.io/badge/Bun.js-000000?logo=bun&logoColor=pink)](https://nodejs.org/)",
17
- "version": "1.0.1",
18
- "directories": {
19
- "example": "examples",
20
- "test": "tests"
21
- },
22
22
  "dependencies": {
23
23
  "bun-types": "^1.2.14",
24
- "typescript": "^5.8.3",
25
24
  "undici-types": "^6.21.0"
26
25
  },
27
26
  "repository": {
@@ -29,12 +28,20 @@
29
28
  "url": "git+https://github.com/rohitaryal/whisk-api.git"
30
29
  },
31
30
  "keywords": [
32
- "whisk"
31
+ "whisk",
32
+ "whisk-api",
33
+ "ai-image-generator",
34
+ "labs-google"
33
35
  ],
34
36
  "author": "rohitaryal",
35
37
  "license": "MIT",
36
38
  "bugs": {
37
39
  "url": "https://github.com/rohitaryal/whisk-api/issues"
38
40
  },
39
- "homepage": "https://github.com/rohitaryal/whisk-api#readme"
41
+ "homepage": "https://github.com/rohitaryal/whisk-api#readme",
42
+ "directories": {
43
+ "example": "examples",
44
+ "test": "tests"
45
+ },
46
+ "description": "Unofficial API for Whisk image generation."
40
47
  }