@salesforce/lds-runtime-mobile 1.181.0 → 1.181.1

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/main.js CHANGED
@@ -5844,7 +5844,7 @@ class AbstractResourceRequestActionHandler {
5844
5844
  shouldRetry = true;
5845
5845
  break;
5846
5846
  case 409 /* IdempotentWriteSpecificHttpStatusCode.Conflict */: {
5847
- const errorCode = JSON.parse(response.body)[0].errorCode;
5847
+ const errorCode = response.body[0].errorCode;
5848
5848
  if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
5849
5849
  updatedAction.data.headers = updatedAction.data.headers || {};
5850
5850
  updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
@@ -16289,4 +16289,4 @@ register({
16289
16289
  });
16290
16290
 
16291
16291
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
16292
- // version: 1.181.0-ca3a0a3cc
16292
+ // version: 1.181.1-9c3c043d8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.181.0",
3
+ "version": "1.181.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
package/sfdc/main.js CHANGED
@@ -5844,7 +5844,7 @@ class AbstractResourceRequestActionHandler {
5844
5844
  shouldRetry = true;
5845
5845
  break;
5846
5846
  case 409 /* IdempotentWriteSpecificHttpStatusCode.Conflict */: {
5847
- const errorCode = JSON.parse(response.body)[0].errorCode;
5847
+ const errorCode = response.body[0].errorCode;
5848
5848
  if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
5849
5849
  updatedAction.data.headers = updatedAction.data.headers || {};
5850
5850
  updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
@@ -16289,4 +16289,4 @@ register({
16289
16289
  });
16290
16290
 
16291
16291
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
16292
- // version: 1.181.0-ca3a0a3cc
16292
+ // version: 1.181.1-9c3c043d8