cloudinary-core
Advanced tools
Comparing version 2.6.3 to 2.7.0
@@ -21,3 +21,2 @@ export as namespace cloudinary; | ||
export function crc32(str: string): any; | ||
@@ -206,2 +205,3 @@ export function utf8_encode(argString: string): any; | ||
sourceTypes(value: VideoFileExtension | Array<VideoFileExtension>): Transformation; | ||
sources?: Array<object>; | ||
sourceTransformation(value: Object): Transformation; // Set the transformation to apply on each source by an object with pairs of source type and source transformations to apply | ||
@@ -518,2 +518,17 @@ startOffset(value: number | string): Transformation; | ||
} | ||
export class FetchLayer extends Layer { | ||
constructor(options?: FetchLayer.Options); | ||
/** setters */ | ||
url(url: string): FetchLayer; | ||
toString(): string; | ||
} | ||
export namespace FetchLayer { | ||
export interface Options { | ||
url?: string | ||
} | ||
} | ||
/** | ||
@@ -531,2 +546,4 @@ * @constructor TextLayer | ||
fontStyle(value: string): TextLayer; | ||
fontHinting(value: string): TextLayer; | ||
fontAntiAliasing(value: string): TextLayer; | ||
textDecoration(value: string): TextLayer; | ||
@@ -550,2 +567,4 @@ textAlign(value: string): TextLayer; | ||
fontStyle?: string; | ||
fontHinting?: string; | ||
fontAntialiasing?: string; | ||
textDecoration?: string; | ||
@@ -798,2 +817,22 @@ textAlign?: string; | ||
declare let _default: { | ||
ClientHintsMetaTag: ClientHintsMetaTag, | ||
Cloudinary: Cloudinary, | ||
Condition: Condition, | ||
Configuration: Configuration, | ||
FetchLayer: FetchLayer, | ||
HtmlTag: HtmlTag, | ||
ImageTag: ImageTag, | ||
Layer: Layer, | ||
Param: Param, | ||
PictureTag: PictureTag, | ||
SubtitlesLayer: SubtitlesLayer, | ||
TextLayer: TextLayer, | ||
Transformation: Transformation, | ||
Util: Util, | ||
VideoTag: VideoTag | ||
} | ||
export default _default; | ||
export const VERSION: string; | ||
@@ -831,1 +870,2 @@ export namespace Configuration { | ||
} | ||
{ | ||
"name": "cloudinary-core", | ||
"version": "2.6.3", | ||
"version": "2.7.0", | ||
"description": "Cloudinary Client Side JS library. Cloudinary streamlines your web application’s image manipulation needs. Cloudinary's cloud-based servers automate image uploading, resizing, cropping, optimizing, sprite generation and more.", | ||
"main": "cloudinary-core.js", | ||
"types": "cloudinary-core.d.ts", | ||
"files": [ | ||
"README.md", | ||
"cloudinary-core*.js", | ||
"cloudinary-core*.map", | ||
"cloudinary-core.d.ts", | ||
"src/**/*" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/cloudinary/pkg-cloudinary-core.git" | ||
"url": "https://github.com/cloudinary/cloudinary_js.git" | ||
}, | ||
@@ -23,3 +30,6 @@ "author": { | ||
"lodash": ">=4.0" | ||
}, | ||
"scripts": { | ||
"prepublishOnly": "../copy_deployment core" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
41
8
577145
6230
1