@salesforce/lds-runtime-webruntime 1.360.0 → 1.361.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.
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { getInstrumentation } from 'o11y/client';
|
|
16
16
|
import { setServices } from 'force/luvioServiceProvisioner1';
|
|
17
|
+
export { default, resolve, setServices } from 'force/luvioServiceProvisioner1';
|
|
17
18
|
import { executeGlobalControllerRawResponse } from 'aura';
|
|
18
19
|
import { HttpStatusCode as HttpStatusCode$2 } from 'force/luvioEngine';
|
|
19
20
|
|
|
@@ -2341,7 +2342,7 @@ class ConsoleLogger {
|
|
|
2341
2342
|
/**
|
|
2342
2343
|
* Constructs a new LoggerService.
|
|
2343
2344
|
*/
|
|
2344
|
-
function loggerService(level, printer, formatter) {
|
|
2345
|
+
function loggerService$1(level, printer, formatter) {
|
|
2345
2346
|
return new ConsoleLogger(level, printer, formatter);
|
|
2346
2347
|
}
|
|
2347
2348
|
|
|
@@ -2431,7 +2432,7 @@ let defaultLogger = {
|
|
|
2431
2432
|
error: () => { },
|
|
2432
2433
|
};
|
|
2433
2434
|
if (process.env.NODE_ENV !== 'production') {
|
|
2434
|
-
defaultLogger = loggerService();
|
|
2435
|
+
defaultLogger = loggerService$1();
|
|
2435
2436
|
}
|
|
2436
2437
|
/**
|
|
2437
2438
|
* Decodes JWT token information and provides a default expiry if none is present.
|
|
@@ -2870,33 +2871,6 @@ function buildJwtRequestInterceptor(logger) {
|
|
|
2870
2871
|
return jwtRequestHeaderInterceptor;
|
|
2871
2872
|
}
|
|
2872
2873
|
|
|
2873
|
-
// Initializes OneStore in Webruntime
|
|
2874
|
-
function initOneStore() {
|
|
2875
|
-
const loggerService = new ConsoleLogger$1('ERROR');
|
|
2876
|
-
const cacheServiceDescriptor = buildServiceDescriptor$4();
|
|
2877
|
-
const instrumentationServiceDescriptor = buildServiceDescriptor$5(loggerService);
|
|
2878
|
-
const inMemoryCacheInclusionPolicyServiceDescriptor = buildInMemoryCacheInclusionPolicyService(cacheServiceDescriptor.service);
|
|
2879
|
-
const services = [
|
|
2880
|
-
instrumentationServiceDescriptor,
|
|
2881
|
-
buildUnauthorizedFetchServiceDescriptor(),
|
|
2882
|
-
buildJwtAuthorizedSfapFetchServiceDescriptor(loggerService),
|
|
2883
|
-
buildCopilotFetchServiceDescriptor(loggerService),
|
|
2884
|
-
buildAuraNetworkService(),
|
|
2885
|
-
buildServiceDescriptor$6(instrumentationServiceDescriptor.service),
|
|
2886
|
-
buildServiceDescriptor$3(cacheServiceDescriptor.service, inMemoryCacheInclusionPolicyServiceDescriptor.service),
|
|
2887
|
-
buildServiceDescriptor$d(),
|
|
2888
|
-
buildServiceDescriptor$1(),
|
|
2889
|
-
buildServiceDescriptor$9(),
|
|
2890
|
-
buildServiceDescriptor$e(),
|
|
2891
|
-
buildServiceDescriptor$8(),
|
|
2892
|
-
buildServiceDescriptor$7(),
|
|
2893
|
-
buildServiceDescriptor$c(),
|
|
2894
|
-
buildServiceDescriptor$b(),
|
|
2895
|
-
buildServiceDescriptor$a(),
|
|
2896
|
-
buildServiceDescriptor$2(),
|
|
2897
|
-
];
|
|
2898
|
-
setServices(services);
|
|
2899
|
-
}
|
|
2900
2874
|
function buildAuraNetworkService() {
|
|
2901
2875
|
return {
|
|
2902
2876
|
type: 'auraNetwork',
|
|
@@ -2904,6 +2878,28 @@ function buildAuraNetworkService() {
|
|
|
2904
2878
|
service: executeGlobalControllerRawResponse,
|
|
2905
2879
|
};
|
|
2906
2880
|
}
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2881
|
+
const loggerService = new ConsoleLogger$1('ERROR');
|
|
2882
|
+
const cacheServiceDescriptor = buildServiceDescriptor$4();
|
|
2883
|
+
const instrumentationServiceDescriptor = buildServiceDescriptor$5(loggerService);
|
|
2884
|
+
const inMemoryCacheInclusionPolicyServiceDescriptor = buildInMemoryCacheInclusionPolicyService(cacheServiceDescriptor.service);
|
|
2885
|
+
const services = [
|
|
2886
|
+
instrumentationServiceDescriptor,
|
|
2887
|
+
buildUnauthorizedFetchServiceDescriptor(),
|
|
2888
|
+
buildJwtAuthorizedSfapFetchServiceDescriptor(loggerService),
|
|
2889
|
+
buildCopilotFetchServiceDescriptor(loggerService),
|
|
2890
|
+
buildAuraNetworkService(),
|
|
2891
|
+
buildServiceDescriptor$6(instrumentationServiceDescriptor.service),
|
|
2892
|
+
buildServiceDescriptor$3(cacheServiceDescriptor.service, inMemoryCacheInclusionPolicyServiceDescriptor.service),
|
|
2893
|
+
buildServiceDescriptor$d(),
|
|
2894
|
+
buildServiceDescriptor$1(),
|
|
2895
|
+
buildServiceDescriptor$9(),
|
|
2896
|
+
buildServiceDescriptor$e(),
|
|
2897
|
+
buildServiceDescriptor$8(),
|
|
2898
|
+
buildServiceDescriptor$7(),
|
|
2899
|
+
buildServiceDescriptor$c(),
|
|
2900
|
+
buildServiceDescriptor$b(),
|
|
2901
|
+
buildServiceDescriptor$a(),
|
|
2902
|
+
buildServiceDescriptor$2(),
|
|
2903
|
+
];
|
|
2904
|
+
setServices(services);
|
|
2905
|
+
// version: 1.361.0-6a70680f2b
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import getServices, { resolve, setServices } from '@luvio/service-provisioner/v1';
|
|
2
|
+
export { getServices as default, resolve, setServices };
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-webruntime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Webruntime runtime",
|
|
6
|
-
"main": "dist/
|
|
7
|
-
"module": "dist/
|
|
6
|
+
"main": "dist/ldsWebruntimeOneRuntimeInit.js",
|
|
7
|
+
"module": "dist/ldsWebruntimeOneRuntimeInit.js",
|
|
8
8
|
"types": "dist/types/main.d.ts",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"types": "./dist/types/main.d.ts",
|
|
15
|
-
"import": "./dist/
|
|
16
|
-
"default": "./dist/
|
|
15
|
+
"import": "./dist/ldsWebruntimeOneRuntimeInit.js",
|
|
16
|
+
"default": "./dist/ldsWebruntimeOneRuntimeInit.js"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"sfdc": {
|
|
20
|
-
"path": "forcelds/
|
|
21
|
-
"publishedFileName": "
|
|
20
|
+
"path": "forcelds/ldsWebruntimeOneRuntimeInit/",
|
|
21
|
+
"publishedFileName": "ldsWebruntimeOneRuntimeInit.js",
|
|
22
22
|
"overrides": {
|
|
23
23
|
"artifactDirectory": "dist",
|
|
24
|
-
"outputModuleName": "
|
|
24
|
+
"outputModuleName": "ldsWebruntimeOneRuntimeInit"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@luvio/command-sse": "5.40.3",
|
|
51
51
|
"@luvio/command-streaming": "5.40.3",
|
|
52
52
|
"@luvio/jwt-manager": "5.40.3",
|
|
53
|
-
"@luvio/network-adapter-composable": "0.
|
|
54
|
-
"@luvio/network-adapter-fetch": "0.
|
|
53
|
+
"@luvio/network-adapter-composable": "0.158.1",
|
|
54
|
+
"@luvio/network-adapter-fetch": "0.158.1",
|
|
55
55
|
"@luvio/service-aura-network": "5.40.3",
|
|
56
56
|
"@luvio/service-cache": "5.40.3",
|
|
57
57
|
"@luvio/service-cache-control": "5.40.3",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"@luvio/service-pubsub": "5.40.3",
|
|
62
62
|
"@luvio/service-store": "5.40.3",
|
|
63
63
|
"@luvio/utils": "5.40.3",
|
|
64
|
-
"@salesforce/lds-adapters-uiapi-lex": "^1.
|
|
64
|
+
"@salesforce/lds-adapters-uiapi-lex": "^1.361.0"
|
|
65
65
|
},
|
|
66
66
|
"luvioBundlesize": [
|
|
67
67
|
{
|
|
68
|
-
"path": "./dist/
|
|
68
|
+
"path": "./dist/ldsWebruntimeOneRuntimeInit.js",
|
|
69
69
|
"maxSize": {
|
|
70
70
|
"none": "120 kB",
|
|
71
71
|
"min": "50 kB",
|