@salesforce/lds-drafts 1.181.0 → 1.182.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ldsDrafts.js CHANGED
@@ -1130,7 +1130,7 @@ class AbstractResourceRequestActionHandler {
1130
1130
  shouldRetry = true;
1131
1131
  break;
1132
1132
  case 409 /* IdempotentWriteSpecificHttpStatusCode.Conflict */: {
1133
- const errorCode = JSON.parse(response.body)[0].errorCode;
1133
+ const errorCode = response.body[0].errorCode;
1134
1134
  if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
1135
1135
  updatedAction.data.headers = updatedAction.data.headers || {};
1136
1136
  updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-drafts",
3
- "version": "1.181.0",
3
+ "version": "1.182.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Drafts",
6
6
  "main": "dist/ldsDrafts.js",