Skip to content

Commit f5cb313

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
version bump
1 parent b1a3eeb commit f5cb313

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ var imageURL = imagekit.url({
260260
https://ik.imagekit.io/your_imagekit_id/tr:h-300,w-400,l-image,i-ik_canvas,bg-FF0000,w-300,h-100,l-end/img/sample-video.mp4
261261
```
262262

263-
**4. Arithmetic expressions In transformations**
263+
**4. Arithmetic expressions in transformations**
264264

265265
ImageKit allows use of [arithmetic expressions](https://docs.imagekit.io/features/arithmetic-expressions-in-transformations) in certain dimension and position-related parameters, making media transformations more flexible and dynamic.
266266

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "imagekit-javascript",
3-
"version": "2.0.1",
3+
"version": "3.0.0",
44
"description": "Javascript SDK for using ImageKit.io in the browser",
55
"main": "dist/imagekit.cjs.js",
66
"module": "dist/imagekit.esm.js",

test/url-generation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@ describe("URL generation", function () {
250250
const url = imagekit.url({
251251
path: "/test_path.jpg",
252252
transformation: [{
253-
effectShadow: ""
253+
defaultImage: ""
254254
}]
255255
})
256256

257-
expect(url).equal(`https://ik.imagekit.io/test_url_endpoint/tr:e-shadow-/test_path.jpg`);
257+
expect(url).equal(`https://ik.imagekit.io/test_url_endpoint/tr:di-/test_path.jpg`);
258258
});
259259

260260
it('transformation with - value', function () {

0 commit comments

Comments
 (0)