cloudinary
Advanced tools
Comparing version 2.0.0-rc.1 to 2.0.0
@@ -0,1 +1,6 @@ | ||
2.0.0 / 2024-01-29 | ||
================== | ||
2.0.0-rc.1 / 2024-01-18 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -38,2 +38,3 @@ /** | ||
const encodeDoubleArray = require('./encoding/encodeDoubleArray'); | ||
const encodeRegions = require('./encoding/encodeRegions'); | ||
@@ -724,2 +725,5 @@ const config = require("../config"); | ||
} | ||
if (options.regions != null) { | ||
params.regions = encodeRegions(options.regions); | ||
} | ||
return params; | ||
@@ -726,0 +730,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "Cloudinary NPM for node.js integration", | ||
"version": "2.0.0-rc.1", | ||
"version": "2.0.0", | ||
"homepage": "https://cloudinary.com", | ||
@@ -8,0 +8,0 @@ "license": "MIT", |
@@ -543,2 +543,3 @@ import {Transform} from 'stream'; | ||
use_asset_folder_as_public_id_prefix?: boolean; | ||
regions?: Record<string, [RegionCoordinate, RegionCoordinate, ...Array<RegionCoordinate>]>; | ||
@@ -548,2 +549,4 @@ [futureKey: string]: any; | ||
export type RegionCoordinate = [number, number]; | ||
export interface ProvisioningApiOptions { | ||
@@ -550,0 +553,0 @@ account_id?: string; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
275556
44
6041
0