Skip to content

Commit 2352bd8

Browse files
committed
minimum node engine and docs fix
1 parent ec58101 commit 2352bd8

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ https://ik.imagekit.io/your_imagekit_id/endpoint/default-image.jpg?tr=h-300%2Cw-
7171

7272

7373
The `.url()` method accepts the following parameters
74+
7475
| Option | Description |
7576
| :----------------| :----------------------------- |
7677
| urlEndpoint | Optional. The base URL to be appended before the path of the image. If not specified, the URL Endpoint specified at the time of SDK initialization is used. For example, https://ik.imagekit.io/your_imagekit_id/endpoint/ |
@@ -312,4 +313,12 @@ Returns
312313
}
313314
```
314315

315-
Both the `token` and `timestamp` parameters are optional. If not specified the SDK uses the [uuid](https://www.npmjs.com/package/uuid) package to generate a random token and also generates a valid timestamp internally. The value of the `token` and `timestamp` used to generate the signature are always returned in the response, no matter if they are provided as an input to this method or not.
316+
Both the `token` and `timestamp` parameters are optional. If not specified the SDK uses the [uuid](https://www.npmjs.com/package/uuid) package to generate a random token and also generates a valid timestamp internally. The value of the `token` and `timestamp` used to generate the signature are always returned in the response, no matter if they are provided as an input to this method or not.
317+
318+
## Support
319+
320+
For any feedback or to report any issues or general implementation support please reach out to [[email protected]](mailto:[email protected])
321+
322+
## License
323+
324+
Released under the MIT license.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
"lodash": "^4.17.15",
1414
"request": "^2.88.0",
1515
"uuid": "^3.3.3"
16+
},
17+
"engines": {
18+
"node": ">=8.0.0"
1619
}
1720
}

0 commit comments

Comments
 (0)