Skip to content

Commit 5550e6f

Browse files
author
cloudinary-bot
committed
Version 1.35.0
1 parent 0915850 commit 5550e6f

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.35.0 / 2023-03-03
2+
==================
3+
4+
* fix: removing nested nulls from options passed to api, closes #581
5+
* feat: add option to configure tracked analytics
6+
17
1.34.0 / 2023-02-13
28
==================
39

lib-es5/utils/index.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -899,16 +899,18 @@ function url(public_id) {
899899
var urlAnalytics = ensureOption(options, 'urlAnalytics', false);
900900

901901
if (urlAnalytics === true) {
902-
var { sdkCode, sdkSemver, techVersion } = getSDKVersions();
902+
var _getSDKVersions = getSDKVersions(),
903+
sdkCode = _getSDKVersions.sdkCode,
904+
sdkSemver = _getSDKVersions.sdkSemver,
905+
techVersion = _getSDKVersions.techVersion;
906+
903907
var sdkVersions = {
904908
sdkCode: ensureOption(options, 'sdkCode', sdkCode),
905909
sdkSemver: ensureOption(options, 'sdkSemver', sdkSemver),
906910
techVersion: ensureOption(options, 'techVersion', techVersion)
907911
};
908912

909-
var analyticsOptions = getAnalyticsOptions(
910-
Object.assign({}, options, sdkVersions)
911-
);
913+
var analyticsOptions = getAnalyticsOptions(Object.assign({}, options, sdkVersions));
912914

913915
var sdkAnalyticsSignature = getSDKAnalyticsSignature(analyticsOptions);
914916

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Cloudinary <[email protected]>",
33
"name": "cloudinary",
44
"description": "Cloudinary NPM for node.js integration",
5-
"version": "1.34.0",
5+
"version": "1.35.0",
66
"homepage": "http://cloudinary.com",
77
"license": "MIT",
88
"repository": {

0 commit comments

Comments
 (0)