Skip to content

Commit d88cf0d

Browse files
Release v1.5.14
1 parent f6f63f3 commit d88cf0d

File tree

6 files changed

+20
-14
lines changed

6 files changed

+20
-14
lines changed

dist/dynamics-web-api-callbacks.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! dynamics-web-api-callbacks v1.5.13 (c) 2019 Aleksandr Rogov */
1+
/*! dynamics-web-api-callbacks v1.5.14 (c) 2019 Aleksandr Rogov */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -2853,7 +2853,9 @@ function parseBatchResponse(response, parseParams, requestNumber) {
28532853
var entityUrl = /OData-EntityId.+/i.exec(batchResponse);
28542854

28552855
if (entityUrl && entityUrl.length) {
2856-
result.push(/([0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12})\)$/i.exec(entityUrl[0])[1]);
2856+
var guidResult = /([0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12})\)$/i.exec(entityUrl[0]);
2857+
2858+
result.push(guidResult ? guidResult[1] : undefined);
28572859
}
28582860
else {
28592861
result.push(undefined);
@@ -2910,9 +2912,10 @@ module.exports = function parseResponse(response, responseHeaders, parseParams)
29102912
}
29112913
}
29122914

2913-
return parseResult;
2914-
};
2915+
parseParams.length = 0;
29152916

2917+
return parseResult;
2918+
}
29162919

29172920
/***/ }),
29182921
/* 9 */

dist/dynamics-web-api-callbacks.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dynamics-web-api.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! dynamics-web-api v1.5.13 (c) 2019 Aleksandr Rogov */
1+
/*! dynamics-web-api v1.5.14 (c) 2019 Aleksandr Rogov */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -2385,7 +2385,9 @@ function parseBatchResponse(response, parseParams, requestNumber) {
23852385
var entityUrl = /OData-EntityId.+/i.exec(batchResponse);
23862386

23872387
if (entityUrl && entityUrl.length) {
2388-
result.push(/([0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12})\)$/i.exec(entityUrl[0])[1]);
2388+
var guidResult = /([0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12})\)$/i.exec(entityUrl[0]);
2389+
2390+
result.push(guidResult ? guidResult[1] : undefined);
23892391
}
23902392
else {
23912393
result.push(undefined);
@@ -2442,9 +2444,10 @@ module.exports = function parseResponse(response, responseHeaders, parseParams)
24422444
}
24432445
}
24442446

2445-
return parseResult;
2446-
};
2447+
parseParams.length = 0;
24472448

2449+
return parseResult;
2450+
}
24482451

24492452
/***/ }),
24502453
/* 8 */

dist/dynamics-web-api.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamics-web-api",
3-
"version": "1.5.13",
3+
"version": "1.5.14",
44
"description": "DynamicsWebApi is a Microsoft Dynamics CRM Web API helper library",
55
"keywords": [
66
"crm",

0 commit comments

Comments
 (0)