@salesforce/lds-runtime-mobile 1.432.0 → 1.433.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.
Files changed (3) hide show
  1. package/dist/main.js +30 -27
  2. package/package.json +34 -34
  3. package/sfdc/main.js +30 -27
package/dist/main.js CHANGED
@@ -56825,16 +56825,17 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56825
56825
  }
56826
56826
  return ok$1(auraReturnValue);
56827
56827
  }).catch((error) => {
56828
- if (!error || !error.getError) {
56828
+ if (!error) {
56829
56829
  return err$1(toError("Failed to get error from response"));
56830
- } else {
56831
- const actionErrors = error.getError();
56832
- if (actionErrors.length > 0) {
56833
- return err$1(coerceError(actionErrors));
56834
- } else {
56835
- return err$1(toError("Error fetching component"));
56836
- }
56837
56830
  }
56831
+ if (!error.getError) {
56832
+ return err$1(toError(error));
56833
+ }
56834
+ const actionErrors = error.getError();
56835
+ if (actionErrors.length > 0) {
56836
+ return err$1(coerceError(actionErrors));
56837
+ }
56838
+ return err$1(toError("Error fetching component"));
56838
56839
  });
56839
56840
  }
56840
56841
  convertFetchResponseToData(response) {
@@ -57517,16 +57518,17 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
57517
57518
  } catch {
57518
57519
  }
57519
57520
  }).catch((error) => {
57520
- if (!error || !error.getError) {
57521
+ if (!error) {
57521
57522
  return err$1(toError("Failed to get error from response"));
57522
- } else {
57523
- const actionErrors = error.getError();
57524
- if (actionErrors.length > 0) {
57525
- return err$1(coerceError(actionErrors));
57526
- } else {
57527
- return err$1(toError("Error fetching component"));
57528
- }
57529
57523
  }
57524
+ if (!error.getError) {
57525
+ return err$1(toError(error));
57526
+ }
57527
+ const actionErrors = error.getError();
57528
+ if (actionErrors.length > 0) {
57529
+ return err$1(coerceError(actionErrors));
57530
+ }
57531
+ return err$1(toError("Error fetching component"));
57530
57532
  });
57531
57533
  }
57532
57534
  convertFetchResponseToData(response) {
@@ -57661,16 +57663,17 @@ class AuraCacheControlCommand extends CacheControlCommand {
57661
57663
  } catch {
57662
57664
  }
57663
57665
  }).catch((error) => {
57664
- if (!error || !error.getError) {
57666
+ if (!error) {
57665
57667
  return err$1(toError("Failed to get error from response"));
57666
- } else {
57667
- const actionErrors = error.getError();
57668
- if (actionErrors.length > 0) {
57669
- return err$1(coerceError(actionErrors));
57670
- } else {
57671
- return err$1(toError("Error fetching component"));
57672
- }
57673
57668
  }
57669
+ if (!error.getError) {
57670
+ return err$1(toError(error));
57671
+ }
57672
+ const actionErrors = error.getError();
57673
+ if (actionErrors.length > 0) {
57674
+ return err$1(coerceError(actionErrors));
57675
+ }
57676
+ return err$1(toError("Error fetching component"));
57674
57677
  });
57675
57678
  }
57676
57679
  convertFetchResponseToData(response) {
@@ -58997,7 +59000,7 @@ function buildServiceDescriptor$b(luvio) {
58997
59000
  },
58998
59001
  };
58999
59002
  }
59000
- // version: 1.432.0-b99ba9d219
59003
+ // version: 1.433.0-db129b48d2
59001
59004
 
59002
59005
  /**
59003
59006
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -59023,7 +59026,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
59023
59026
  },
59024
59027
  };
59025
59028
  }
59026
- // version: 1.432.0-b99ba9d219
59029
+ // version: 1.433.0-db129b48d2
59027
59030
 
59028
59031
  /*!
59029
59032
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -61683,4 +61686,4 @@ register({
61683
61686
  });
61684
61687
 
61685
61688
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
61686
- // version: 1.432.0-a57c62b660
61689
+ // version: 1.433.0-8a15a98f24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.432.0",
3
+ "version": "1.433.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
@@ -32,44 +32,44 @@
32
32
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
33
33
  },
34
34
  "dependencies": {
35
- "@conduit-client/service-bindings-imperative": "3.19.2",
36
- "@conduit-client/service-bindings-lwc": "3.19.2",
37
- "@conduit-client/service-provisioner": "3.19.2",
38
- "@salesforce/lds-adapters-uiapi": "^1.432.0",
39
- "@salesforce/lds-bindings": "^1.432.0",
40
- "@salesforce/lds-instrumentation": "^1.432.0",
41
- "@salesforce/lds-luvio-service": "^1.432.0",
42
- "@salesforce/lds-luvio-uiapi-records-service": "^1.432.0",
35
+ "@conduit-client/service-bindings-imperative": "3.19.3",
36
+ "@conduit-client/service-bindings-lwc": "3.19.3",
37
+ "@conduit-client/service-provisioner": "3.19.3",
38
+ "@salesforce/lds-adapters-uiapi": "^1.433.0",
39
+ "@salesforce/lds-bindings": "^1.433.0",
40
+ "@salesforce/lds-instrumentation": "^1.433.0",
41
+ "@salesforce/lds-luvio-service": "^1.433.0",
42
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.433.0",
43
43
  "@salesforce/user": "0.0.21",
44
44
  "o11y": "250.7.0",
45
45
  "o11y_schema": "256.126.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@conduit-client/command-aura-network": "3.19.2",
49
- "@conduit-client/command-aura-normalized-cache-control": "3.19.2",
50
- "@conduit-client/command-aura-resource-cache-control": "3.19.2",
51
- "@conduit-client/command-fetch-network": "3.19.2",
52
- "@conduit-client/command-http-normalized-cache-control": "3.19.2",
53
- "@conduit-client/command-network": "3.19.2",
54
- "@conduit-client/service-cache": "3.19.2",
55
- "@conduit-client/service-cache-control": "3.19.2",
56
- "@conduit-client/service-cache-inclusion-policy": "3.19.2",
57
- "@conduit-client/service-fetch-network": "3.19.2",
58
- "@conduit-client/service-instrument-command": "3.19.2",
59
- "@conduit-client/service-instrumentation": "3.19.2",
60
- "@conduit-client/service-pubsub": "3.19.2",
61
- "@conduit-client/service-store": "3.19.2",
62
- "@conduit-client/utils": "3.19.2",
63
- "@salesforce/lds-adapters-graphql": "^1.432.0",
64
- "@salesforce/lds-drafts": "^1.432.0",
65
- "@salesforce/lds-durable-records": "^1.432.0",
66
- "@salesforce/lds-network-adapter": "^1.432.0",
67
- "@salesforce/lds-network-nimbus": "^1.432.0",
68
- "@salesforce/lds-store-binary": "^1.432.0",
69
- "@salesforce/lds-store-nimbus": "^1.432.0",
70
- "@salesforce/lds-store-sql": "^1.432.0",
71
- "@salesforce/lds-utils-adapters": "^1.432.0",
72
- "@salesforce/nimbus-plugin-lds": "^1.432.0",
48
+ "@conduit-client/command-aura-network": "3.19.3",
49
+ "@conduit-client/command-aura-normalized-cache-control": "3.19.3",
50
+ "@conduit-client/command-aura-resource-cache-control": "3.19.3",
51
+ "@conduit-client/command-fetch-network": "3.19.3",
52
+ "@conduit-client/command-http-normalized-cache-control": "3.19.3",
53
+ "@conduit-client/command-network": "3.19.3",
54
+ "@conduit-client/service-cache": "3.19.3",
55
+ "@conduit-client/service-cache-control": "3.19.3",
56
+ "@conduit-client/service-cache-inclusion-policy": "3.19.3",
57
+ "@conduit-client/service-fetch-network": "3.19.3",
58
+ "@conduit-client/service-instrument-command": "3.19.3",
59
+ "@conduit-client/service-instrumentation": "3.19.3",
60
+ "@conduit-client/service-pubsub": "3.19.3",
61
+ "@conduit-client/service-store": "3.19.3",
62
+ "@conduit-client/utils": "3.19.3",
63
+ "@salesforce/lds-adapters-graphql": "^1.433.0",
64
+ "@salesforce/lds-drafts": "^1.433.0",
65
+ "@salesforce/lds-durable-records": "^1.433.0",
66
+ "@salesforce/lds-network-adapter": "^1.433.0",
67
+ "@salesforce/lds-network-nimbus": "^1.433.0",
68
+ "@salesforce/lds-store-binary": "^1.433.0",
69
+ "@salesforce/lds-store-nimbus": "^1.433.0",
70
+ "@salesforce/lds-store-sql": "^1.433.0",
71
+ "@salesforce/lds-utils-adapters": "^1.433.0",
72
+ "@salesforce/nimbus-plugin-lds": "^1.433.0",
73
73
  "babel-plugin-dynamic-import-node": "^2.3.3",
74
74
  "wait-for-expect": "^3.0.2"
75
75
  },
package/sfdc/main.js CHANGED
@@ -56825,16 +56825,17 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56825
56825
  }
56826
56826
  return ok$1(auraReturnValue);
56827
56827
  }).catch((error) => {
56828
- if (!error || !error.getError) {
56828
+ if (!error) {
56829
56829
  return err$1(toError("Failed to get error from response"));
56830
- } else {
56831
- const actionErrors = error.getError();
56832
- if (actionErrors.length > 0) {
56833
- return err$1(coerceError(actionErrors));
56834
- } else {
56835
- return err$1(toError("Error fetching component"));
56836
- }
56837
56830
  }
56831
+ if (!error.getError) {
56832
+ return err$1(toError(error));
56833
+ }
56834
+ const actionErrors = error.getError();
56835
+ if (actionErrors.length > 0) {
56836
+ return err$1(coerceError(actionErrors));
56837
+ }
56838
+ return err$1(toError("Error fetching component"));
56838
56839
  });
56839
56840
  }
56840
56841
  convertFetchResponseToData(response) {
@@ -57517,16 +57518,17 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
57517
57518
  } catch {
57518
57519
  }
57519
57520
  }).catch((error) => {
57520
- if (!error || !error.getError) {
57521
+ if (!error) {
57521
57522
  return err$1(toError("Failed to get error from response"));
57522
- } else {
57523
- const actionErrors = error.getError();
57524
- if (actionErrors.length > 0) {
57525
- return err$1(coerceError(actionErrors));
57526
- } else {
57527
- return err$1(toError("Error fetching component"));
57528
- }
57529
57523
  }
57524
+ if (!error.getError) {
57525
+ return err$1(toError(error));
57526
+ }
57527
+ const actionErrors = error.getError();
57528
+ if (actionErrors.length > 0) {
57529
+ return err$1(coerceError(actionErrors));
57530
+ }
57531
+ return err$1(toError("Error fetching component"));
57530
57532
  });
57531
57533
  }
57532
57534
  convertFetchResponseToData(response) {
@@ -57661,16 +57663,17 @@ class AuraCacheControlCommand extends CacheControlCommand {
57661
57663
  } catch {
57662
57664
  }
57663
57665
  }).catch((error) => {
57664
- if (!error || !error.getError) {
57666
+ if (!error) {
57665
57667
  return err$1(toError("Failed to get error from response"));
57666
- } else {
57667
- const actionErrors = error.getError();
57668
- if (actionErrors.length > 0) {
57669
- return err$1(coerceError(actionErrors));
57670
- } else {
57671
- return err$1(toError("Error fetching component"));
57672
- }
57673
57668
  }
57669
+ if (!error.getError) {
57670
+ return err$1(toError(error));
57671
+ }
57672
+ const actionErrors = error.getError();
57673
+ if (actionErrors.length > 0) {
57674
+ return err$1(coerceError(actionErrors));
57675
+ }
57676
+ return err$1(toError("Error fetching component"));
57674
57677
  });
57675
57678
  }
57676
57679
  convertFetchResponseToData(response) {
@@ -58997,7 +59000,7 @@ function buildServiceDescriptor$b(luvio) {
58997
59000
  },
58998
59001
  };
58999
59002
  }
59000
- // version: 1.432.0-b99ba9d219
59003
+ // version: 1.433.0-db129b48d2
59001
59004
 
59002
59005
  /**
59003
59006
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -59023,7 +59026,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
59023
59026
  },
59024
59027
  };
59025
59028
  }
59026
- // version: 1.432.0-b99ba9d219
59029
+ // version: 1.433.0-db129b48d2
59027
59030
 
59028
59031
  /*!
59029
59032
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -61683,4 +61686,4 @@ register({
61683
61686
  });
61684
61687
 
61685
61688
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
61686
- // version: 1.432.0-a57c62b660
61689
+ // version: 1.433.0-8a15a98f24