@salesforce/lds-runtime-webruntime 1.398.0 → 1.400.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.
@@ -1640,6 +1640,7 @@ function buildInstrumentCommand(services) {
1640
1640
  return function instrumentCommand(commandClass, commandName) {
1641
1641
  const invocationCounter = meter.createCounter(`${commandName}.command.invocation.count`);
1642
1642
  const errorCounter = meter.createCounter(`${commandName}.command.error.count`);
1643
+ const abortCounter = meter.createCounter(`${commandName}.command.abort.count`);
1643
1644
  const durationHistogram = meter.createHistogram(`${commandName}.command.duration`);
1644
1645
  return class extends commandClass {
1645
1646
  execute(...args) {
@@ -1653,7 +1654,11 @@ function buildInstrumentCommand(services) {
1653
1654
  try {
1654
1655
  result = super.execute(...args);
1655
1656
  } catch (e) {
1656
- errorCounter.add(1);
1657
+ if ((e == null ? void 0 : e.name) === "AbortError") {
1658
+ abortCounter.add(1);
1659
+ } else {
1660
+ errorCounter.add(1);
1661
+ }
1657
1662
  throw e;
1658
1663
  }
1659
1664
  if (typeof result === "object" && result !== null && "then" in result) {
@@ -4071,7 +4076,7 @@ function buildServiceDescriptor$2(luvio) {
4071
4076
  },
4072
4077
  };
4073
4078
  }
4074
- // version: 1.398.0-ada864f72d
4079
+ // version: 1.400.0-3c7514a502
4075
4080
 
4076
4081
  /**
4077
4082
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4097,7 +4102,7 @@ function buildServiceDescriptor$1(notifyRecordUpdateAvailable, getNormalizedLuvi
4097
4102
  },
4098
4103
  };
4099
4104
  }
4100
- // version: 1.398.0-ada864f72d
4105
+ // version: 1.400.0-3c7514a502
4101
4106
 
4102
4107
  /*!
4103
4108
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4731,4 +4736,4 @@ const services = [
4731
4736
  buildServiceDescriptor$1({}, {}),
4732
4737
  ];
4733
4738
  setServices(services);
4734
- // version: 1.398.0-4adb9f1c88
4739
+ // version: 1.400.0-8bade3324c
@@ -1,4 +1,4 @@
1
- import { type FetchParameters } from '@luvio/service-fetch-network/v1';
1
+ import { type FetchParameters } from '@conduit-client/service-fetch-network/v1';
2
2
  /**
3
3
  * Webruntime request interceptor that modifies outgoing HTTP requests with standard
4
4
  * query parameters and security headers. This ensures the api calls for onestore adapters
@@ -1,5 +1,5 @@
1
- import { type FetchServiceDescriptor } from '@luvio/service-fetch-network/v1';
2
- import { type LoggerService } from '@luvio/utils';
1
+ import { type FetchServiceDescriptor } from '@conduit-client/service-fetch-network/v1';
2
+ import { type LoggerService } from '@conduit-client/utils';
3
3
  export declare function buildJwtAuthorizedSfapFetchServiceDescriptor(logger: LoggerService): FetchServiceDescriptor;
4
4
  /**
5
5
  * Returns a service descriptor for a fetch service that includes one-off copilot
@@ -1,2 +1,2 @@
1
- import getServices, { resolve, setServices } from '@luvio/service-provisioner/v1';
1
+ import getServices, { resolve, setServices } from '@conduit-client/service-provisioner/v1';
2
2
  export { getServices as default, resolve, setServices };
@@ -1,4 +1,4 @@
1
- import type { JwtResolver } from '@luvio/jwt-manager';
1
+ import type { JwtResolver } from '@conduit-client/jwt-manager';
2
2
  export type ExtraInfo = {
3
3
  baseUri: string;
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-webruntime",
3
- "version": "1.398.0",
3
+ "version": "1.400.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Webruntime runtime",
6
6
  "main": "dist/ldsWebruntimeOneStoreInit.js",
@@ -35,35 +35,35 @@
35
35
  "ready": "yarn build && jest --collectCoverage && yarn test:size && yarn release:corejar"
36
36
  },
37
37
  "devDependencies": {
38
- "@luvio/service-provisioner": "5.66.0",
39
- "@luvio/tools-core": "5.66.0",
38
+ "@conduit-client/service-provisioner": "2.0.1",
39
+ "@conduit-client/tools-core": "2.0.1",
40
40
  "jwt-encode": "1.0.1"
41
41
  },
42
42
  "dependencies": {
43
- "@luvio/command-aura-network": "5.66.0",
44
- "@luvio/command-aura-normalized-cache-control": "5.66.0",
45
- "@luvio/command-aura-resource-cache-control": "5.66.0",
46
- "@luvio/command-fetch-network": "5.66.0",
47
- "@luvio/command-http-normalized-cache-control": "5.66.0",
48
- "@luvio/command-ndjson": "5.66.0",
49
- "@luvio/command-network": "5.66.0",
50
- "@luvio/command-sse": "5.66.0",
51
- "@luvio/command-streaming": "5.66.0",
52
- "@luvio/jwt-manager": "5.66.0",
43
+ "@conduit-client/command-aura-network": "2.0.1",
44
+ "@conduit-client/command-aura-normalized-cache-control": "2.0.1",
45
+ "@conduit-client/command-aura-resource-cache-control": "2.0.1",
46
+ "@conduit-client/command-fetch-network": "2.0.1",
47
+ "@conduit-client/command-http-normalized-cache-control": "2.0.1",
48
+ "@conduit-client/command-ndjson": "2.0.1",
49
+ "@conduit-client/command-network": "2.0.1",
50
+ "@conduit-client/command-sse": "2.0.1",
51
+ "@conduit-client/command-streaming": "2.0.1",
52
+ "@conduit-client/jwt-manager": "2.0.1",
53
+ "@conduit-client/service-aura-network": "2.0.1",
54
+ "@conduit-client/service-cache": "2.0.1",
55
+ "@conduit-client/service-cache-control": "2.0.1",
56
+ "@conduit-client/service-cache-inclusion-policy": "2.0.1",
57
+ "@conduit-client/service-fetch-network": "2.0.1",
58
+ "@conduit-client/service-instrument-command": "2.0.1",
59
+ "@conduit-client/service-pubsub": "2.0.1",
60
+ "@conduit-client/service-store": "2.0.1",
61
+ "@conduit-client/utils": "2.0.1",
53
62
  "@luvio/network-adapter-composable": "0.158.7",
54
63
  "@luvio/network-adapter-fetch": "0.158.7",
55
- "@luvio/service-aura-network": "5.66.0",
56
- "@luvio/service-cache": "5.66.0",
57
- "@luvio/service-cache-control": "5.66.0",
58
- "@luvio/service-cache-inclusion-policy": "5.66.0",
59
- "@luvio/service-fetch-network": "5.66.0",
60
- "@luvio/service-instrument-command": "5.66.0",
61
- "@luvio/service-pubsub": "5.66.0",
62
- "@luvio/service-store": "5.66.0",
63
- "@luvio/utils": "5.66.0",
64
- "@salesforce/lds-adapters-uiapi-lex": "^1.398.0",
65
- "@salesforce/lds-luvio-service": "^1.398.0",
66
- "@salesforce/lds-luvio-uiapi-records-service": "^1.398.0"
64
+ "@salesforce/lds-adapters-uiapi-lex": "^1.400.0",
65
+ "@salesforce/lds-luvio-service": "^1.400.0",
66
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.400.0"
67
67
  },
68
68
  "luvioBundlesize": [
69
69
  {