@salesforce/lds-runtime-webruntime 1.398.0 → 1.399.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
|
-
|
|
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.
|
|
4079
|
+
// version: 1.399.0-5ea4ae8437
|
|
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.
|
|
4105
|
+
// version: 1.399.0-5ea4ae8437
|
|
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.
|
|
4739
|
+
// version: 1.399.0-c92b32e0bf
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FetchParameters } from '@
|
|
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 '@
|
|
2
|
-
import { type LoggerService } from '@
|
|
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
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import getServices, { resolve, setServices } from '@
|
|
1
|
+
import getServices, { resolve, setServices } from '@conduit-client/service-provisioner/v1';
|
|
2
2
|
export { getServices as default, resolve, setServices };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-webruntime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.399.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
|
-
"@
|
|
39
|
-
"@
|
|
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
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
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
|
-
"@
|
|
56
|
-
"@luvio
|
|
57
|
-
"@
|
|
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.399.0",
|
|
65
|
+
"@salesforce/lds-luvio-service": "^1.399.0",
|
|
66
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.399.0"
|
|
67
67
|
},
|
|
68
68
|
"luvioBundlesize": [
|
|
69
69
|
{
|