@salesforce/lds-runtime-webruntime 1.409.0 → 1.410.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.
@@ -3263,7 +3263,7 @@ function buildServiceDescriptor$9(luvio) {
3263
3263
  },
3264
3264
  };
3265
3265
  }
3266
- // version: 1.409.0-355a528ce3
3266
+ // version: 1.410.0-7c228ee347
3267
3267
 
3268
3268
  /**
3269
3269
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3289,7 +3289,7 @@ function buildServiceDescriptor$8(notifyRecordUpdateAvailable, getNormalizedLuvi
3289
3289
  },
3290
3290
  };
3291
3291
  }
3292
- // version: 1.409.0-355a528ce3
3292
+ // version: 1.410.0-7c228ee347
3293
3293
 
3294
3294
  /*!
3295
3295
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4726,7 +4726,12 @@ class JwtManager {
4726
4726
  * All rights reserved.
4727
4727
  * For full license text, see the LICENSE.txt file
4728
4728
  */
4729
- function buildServiceDescriptor(interceptors = { request: [], response: [], finally: [] }, retryService) {
4729
+ function buildServiceDescriptor(interceptors = {
4730
+ request: [],
4731
+ retry: void 0,
4732
+ response: [],
4733
+ finally: []
4734
+ }, retryService) {
4730
4735
  return {
4731
4736
  type: "fetch",
4732
4737
  version: "1.0",
@@ -4735,6 +4740,7 @@ function buildServiceDescriptor(interceptors = { request: [], response: [], fina
4735
4740
  const context = (_a = interceptors.createContext) == null ? void 0 : _a.call(interceptors);
4736
4741
  const {
4737
4742
  request: requestInterceptors = [],
4743
+ retry: retryInterceptor = void 0,
4738
4744
  response: responseInterceptors = [],
4739
4745
  finally: finallyInterceptors = []
4740
4746
  } = interceptors;
@@ -4743,10 +4749,14 @@ function buildServiceDescriptor(interceptors = { request: [], response: [], fina
4743
4749
  resolvedPromiseLike$2(args)
4744
4750
  );
4745
4751
  return Promise.resolve(pending).then((args2) => {
4746
- if (retryService) {
4747
- return retryService.applyRetry(() => fetch(...args2));
4752
+ if (retryInterceptor) {
4753
+ return retryInterceptor(args2, retryService, context);
4754
+ } else {
4755
+ if (retryService) {
4756
+ return retryService.applyRetry(() => fetch(...args2));
4757
+ }
4758
+ return fetch(...args2);
4748
4759
  }
4749
- return fetch(...args2);
4750
4760
  }).then((response) => {
4751
4761
  return responseInterceptors.reduce(
4752
4762
  (previousPromise, interceptor) => previousPromise.then((response2) => interceptor(response2, context)),
@@ -5078,4 +5088,4 @@ withDefaultLuvio((luvio) => {
5078
5088
  ];
5079
5089
  setServices(services);
5080
5090
  });
5081
- // version: 1.409.0-19a3d9bdf5
5091
+ // version: 1.410.0-19e0e5d352
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-webruntime",
3
- "version": "1.409.0",
3
+ "version": "1.410.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Webruntime runtime",
6
6
  "main": "dist/ldsWebruntimeOneStoreInit.js",
@@ -35,38 +35,38 @@
35
35
  "ready": "yarn build && jest --collectCoverage && yarn test:size && yarn release:corejar"
36
36
  },
37
37
  "devDependencies": {
38
- "@conduit-client/service-provisioner": "3.2.0",
39
- "@conduit-client/tools-core": "3.2.0",
38
+ "@conduit-client/service-provisioner": "3.6.1",
39
+ "@conduit-client/tools-core": "3.6.1",
40
40
  "jwt-encode": "1.0.1"
41
41
  },
42
42
  "dependencies": {
43
- "@conduit-client/command-aura-network": "3.2.0",
44
- "@conduit-client/command-aura-normalized-cache-control": "3.2.0",
45
- "@conduit-client/command-aura-resource-cache-control": "3.2.0",
46
- "@conduit-client/command-fetch-network": "3.2.0",
47
- "@conduit-client/command-http-normalized-cache-control": "3.2.0",
48
- "@conduit-client/command-ndjson": "3.2.0",
49
- "@conduit-client/command-network": "3.2.0",
50
- "@conduit-client/command-sse": "3.2.0",
51
- "@conduit-client/command-streaming": "3.2.0",
52
- "@conduit-client/jwt-manager": "3.2.0",
53
- "@conduit-client/service-aura-network": "3.2.0",
54
- "@conduit-client/service-bindings-imperative": "3.2.0",
55
- "@conduit-client/service-bindings-lwc": "3.2.0",
56
- "@conduit-client/service-cache": "3.2.0",
57
- "@conduit-client/service-cache-control": "3.2.0",
58
- "@conduit-client/service-cache-inclusion-policy": "3.2.0",
59
- "@conduit-client/service-fetch-network": "3.2.0",
60
- "@conduit-client/service-instrument-command": "3.2.0",
61
- "@conduit-client/service-pubsub": "3.2.0",
62
- "@conduit-client/service-store": "3.2.0",
63
- "@conduit-client/utils": "3.2.0",
43
+ "@conduit-client/command-aura-network": "3.6.1",
44
+ "@conduit-client/command-aura-normalized-cache-control": "3.6.1",
45
+ "@conduit-client/command-aura-resource-cache-control": "3.6.1",
46
+ "@conduit-client/command-fetch-network": "3.6.1",
47
+ "@conduit-client/command-http-normalized-cache-control": "3.6.1",
48
+ "@conduit-client/command-ndjson": "3.6.1",
49
+ "@conduit-client/command-network": "3.6.1",
50
+ "@conduit-client/command-sse": "3.6.1",
51
+ "@conduit-client/command-streaming": "3.6.1",
52
+ "@conduit-client/jwt-manager": "3.6.1",
53
+ "@conduit-client/service-aura-network": "3.6.1",
54
+ "@conduit-client/service-bindings-imperative": "3.6.1",
55
+ "@conduit-client/service-bindings-lwc": "3.6.1",
56
+ "@conduit-client/service-cache": "3.6.1",
57
+ "@conduit-client/service-cache-control": "3.6.1",
58
+ "@conduit-client/service-cache-inclusion-policy": "3.6.1",
59
+ "@conduit-client/service-fetch-network": "3.6.1",
60
+ "@conduit-client/service-instrument-command": "3.6.1",
61
+ "@conduit-client/service-pubsub": "3.6.1",
62
+ "@conduit-client/service-store": "3.6.1",
63
+ "@conduit-client/utils": "3.6.1",
64
64
  "@luvio/network-adapter-composable": "0.158.7",
65
65
  "@luvio/network-adapter-fetch": "0.158.7",
66
- "@salesforce/lds-adapters-uiapi-lex": "^1.409.0",
67
- "@salesforce/lds-default-luvio": "^1.409.0",
68
- "@salesforce/lds-luvio-service": "^1.409.0",
69
- "@salesforce/lds-luvio-uiapi-records-service": "^1.409.0"
66
+ "@salesforce/lds-adapters-uiapi-lex": "^1.410.0",
67
+ "@salesforce/lds-default-luvio": "^1.410.0",
68
+ "@salesforce/lds-luvio-service": "^1.410.0",
69
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.410.0"
70
70
  },
71
71
  "luvioBundlesize": [
72
72
  {