@salesforce/lds-runtime-webruntime 1.377.0 → 1.377.1
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.
|
@@ -267,7 +267,7 @@ let NetworkCommand$1 = class NetworkCommand extends BaseCommand {
|
|
|
267
267
|
async afterRequestHooks(_options) {
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
|
-
function buildServiceDescriptor$
|
|
270
|
+
function buildServiceDescriptor$j() {
|
|
271
271
|
return {
|
|
272
272
|
type: "networkCommandBaseClass",
|
|
273
273
|
version: "1.0",
|
|
@@ -369,7 +369,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
369
369
|
return resolvedPromiseLike$3(err$1(toError("Aura/Fetch network services not found")));
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
function buildServiceDescriptor$
|
|
372
|
+
function buildServiceDescriptor$i() {
|
|
373
373
|
return {
|
|
374
374
|
type: "auraNetworkCommandBaseClass",
|
|
375
375
|
version: "1.0",
|
|
@@ -876,7 +876,7 @@ class AuraResourceCacheControlCommand extends AuraCacheControlCommand$1 {
|
|
|
876
876
|
return `{"endpoint":${this.endpoint},"params":${stableJSONStringify(this.auraParams)}}`;
|
|
877
877
|
}
|
|
878
878
|
}
|
|
879
|
-
function buildServiceDescriptor$
|
|
879
|
+
function buildServiceDescriptor$h() {
|
|
880
880
|
return {
|
|
881
881
|
type: "auraResourceCacheControlCommand",
|
|
882
882
|
version: "1.0",
|
|
@@ -1015,7 +1015,7 @@ class AuraNormalizedCacheControlCommand extends AuraCacheControlCommand {
|
|
|
1015
1015
|
return resolvedPromiseLike$3(void 0);
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
|
-
function buildServiceDescriptor$
|
|
1018
|
+
function buildServiceDescriptor$g() {
|
|
1019
1019
|
return {
|
|
1020
1020
|
type: "auraNormalizedCacheControlCommand",
|
|
1021
1021
|
version: "1.0",
|
|
@@ -1104,7 +1104,7 @@ class HttpNormalizedCacheControlCommand extends HttpCacheControlCommand {
|
|
|
1104
1104
|
return resolvedPromiseLike$3(void 0);
|
|
1105
1105
|
}
|
|
1106
1106
|
}
|
|
1107
|
-
function buildServiceDescriptor$
|
|
1107
|
+
function buildServiceDescriptor$f() {
|
|
1108
1108
|
return {
|
|
1109
1109
|
type: "httpNormalizedCacheControlCommand",
|
|
1110
1110
|
version: "1.0",
|
|
@@ -1211,7 +1211,7 @@ class FetchNetworkCommand extends NetworkCommand {
|
|
|
1211
1211
|
);
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
|
-
function buildServiceDescriptor$
|
|
1214
|
+
function buildServiceDescriptor$e() {
|
|
1215
1215
|
return {
|
|
1216
1216
|
type: "fetchNetworkCommandBaseClass",
|
|
1217
1217
|
version: "1.0",
|
|
@@ -1247,7 +1247,7 @@ class StreamingCommand extends BaseCommand {
|
|
|
1247
1247
|
);
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
function buildServiceDescriptor$
|
|
1250
|
+
function buildServiceDescriptor$d() {
|
|
1251
1251
|
return {
|
|
1252
1252
|
type: "streamingCommandBaseClass",
|
|
1253
1253
|
version: "1.0",
|
|
@@ -1330,7 +1330,7 @@ class SSEParsingStream extends TransformStream {
|
|
|
1330
1330
|
});
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
|
-
function buildServiceDescriptor$
|
|
1333
|
+
function buildServiceDescriptor$c() {
|
|
1334
1334
|
return {
|
|
1335
1335
|
type: "SSECommandBaseClass",
|
|
1336
1336
|
version: "1.0",
|
|
@@ -1376,7 +1376,7 @@ function buildInstrumentCommand(services) {
|
|
|
1376
1376
|
};
|
|
1377
1377
|
};
|
|
1378
1378
|
}
|
|
1379
|
-
function buildServiceDescriptor$
|
|
1379
|
+
function buildServiceDescriptor$b(instrumentation) {
|
|
1380
1380
|
return {
|
|
1381
1381
|
type: "instrumentCommand",
|
|
1382
1382
|
version: "1.0",
|
|
@@ -1646,7 +1646,7 @@ class O11yInstrumentation {
|
|
|
1646
1646
|
this.metrics = new O11yOTelMetricsAPI(this.services);
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
|
-
function buildServiceDescriptor$
|
|
1649
|
+
function buildServiceDescriptor$a(logger) {
|
|
1650
1650
|
return {
|
|
1651
1651
|
type: "instrumentation",
|
|
1652
1652
|
version: "1.0",
|
|
@@ -1899,7 +1899,7 @@ class DefaultCache {
|
|
|
1899
1899
|
return new FixedTimeWritableCache(this, generatedTime);
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
function buildServiceDescriptor$
|
|
1902
|
+
function buildServiceDescriptor$9() {
|
|
1903
1903
|
return {
|
|
1904
1904
|
type: "cache",
|
|
1905
1905
|
version: "1.0",
|
|
@@ -2067,7 +2067,7 @@ class CacheController {
|
|
|
2067
2067
|
yield* this.services.cacheInclusionPolicy.findAndModify(query, cacheUpdate);
|
|
2068
2068
|
}
|
|
2069
2069
|
}
|
|
2070
|
-
function buildServiceDescriptor$
|
|
2070
|
+
function buildServiceDescriptor$8(cache, cacheInclusionPolicy) {
|
|
2071
2071
|
return {
|
|
2072
2072
|
type: "cacheController",
|
|
2073
2073
|
version: "1.0",
|
|
@@ -2177,7 +2177,7 @@ class DefaultPubSubService {
|
|
|
2177
2177
|
return matchingSubscriptions;
|
|
2178
2178
|
}
|
|
2179
2179
|
}
|
|
2180
|
-
function buildServiceDescriptor$
|
|
2180
|
+
function buildServiceDescriptor$7() {
|
|
2181
2181
|
return {
|
|
2182
2182
|
type: "pubSub",
|
|
2183
2183
|
version: "1.0",
|
|
@@ -2388,7 +2388,7 @@ class FeatureFlagsService {
|
|
|
2388
2388
|
return this.flags.get(flagName) || defaultValue;
|
|
2389
2389
|
}
|
|
2390
2390
|
}
|
|
2391
|
-
function buildServiceDescriptor$
|
|
2391
|
+
function buildServiceDescriptor$6() {
|
|
2392
2392
|
return {
|
|
2393
2393
|
version: "1.0",
|
|
2394
2394
|
service: new FeatureFlagsService(),
|
|
@@ -3441,7 +3441,7 @@ class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheContro
|
|
|
3441
3441
|
});
|
|
3442
3442
|
}
|
|
3443
3443
|
}
|
|
3444
|
-
function buildServiceDescriptor$
|
|
3444
|
+
function buildServiceDescriptor$5() {
|
|
3445
3445
|
return {
|
|
3446
3446
|
type: "auraGraphQLNormalizedCacheControlCommand",
|
|
3447
3447
|
version: "1.0",
|
|
@@ -3551,7 +3551,7 @@ class HttpGraphQLNormalizedCacheControlCommand extends HttpNormalizedCacheContro
|
|
|
3551
3551
|
});
|
|
3552
3552
|
}
|
|
3553
3553
|
}
|
|
3554
|
-
function buildServiceDescriptor$
|
|
3554
|
+
function buildServiceDescriptor$4() {
|
|
3555
3555
|
return {
|
|
3556
3556
|
type: "httpGraphQLNormalizedCacheControlCommand",
|
|
3557
3557
|
version: "1.0",
|
|
@@ -3614,7 +3614,7 @@ class NDJSONParsingStream extends TransformStream {
|
|
|
3614
3614
|
});
|
|
3615
3615
|
}
|
|
3616
3616
|
}
|
|
3617
|
-
function buildServiceDescriptor$
|
|
3617
|
+
function buildServiceDescriptor$3() {
|
|
3618
3618
|
return {
|
|
3619
3619
|
type: "NDJSONCommandBaseClass",
|
|
3620
3620
|
version: "1.0",
|
|
@@ -3655,7 +3655,7 @@ function buildServiceDescriptor$2() {
|
|
|
3655
3655
|
* };
|
|
3656
3656
|
* ```
|
|
3657
3657
|
*/
|
|
3658
|
-
function buildServiceDescriptor$
|
|
3658
|
+
function buildServiceDescriptor$2(luvio) {
|
|
3659
3659
|
return {
|
|
3660
3660
|
type: 'luvio',
|
|
3661
3661
|
version: '1.0',
|
|
@@ -3664,7 +3664,33 @@ function buildServiceDescriptor$1(luvio) {
|
|
|
3664
3664
|
},
|
|
3665
3665
|
};
|
|
3666
3666
|
}
|
|
3667
|
-
// version: 1.377.
|
|
3667
|
+
// version: 1.377.1-db77d3f339
|
|
3668
|
+
|
|
3669
|
+
/**
|
|
3670
|
+
* Copyright (c) 2022, Salesforce, Inc.,
|
|
3671
|
+
* All rights reserved.
|
|
3672
|
+
* For full license text, see the LICENSE.txt file
|
|
3673
|
+
*/
|
|
3674
|
+
|
|
3675
|
+
/*
|
|
3676
|
+
* ATTENTION!
|
|
3677
|
+
* THIS IS A GENERATED FILE FROM https://github.com/salesforce-experience-platform-emu/lds-lightning-platform
|
|
3678
|
+
* If you would like to contribute to LDS, please follow the steps outlined in the git repo.
|
|
3679
|
+
* Any changes made to this file in p4 will be automatically overwritten.
|
|
3680
|
+
* *******************************************************************************************
|
|
3681
|
+
*/
|
|
3682
|
+
/* proxy-compat-disable */
|
|
3683
|
+
function buildServiceDescriptor$1(notifyRecordUpdateAvailable, getNormalizedLuvioRecord) {
|
|
3684
|
+
return {
|
|
3685
|
+
type: 'luvioUiapiRecords',
|
|
3686
|
+
version: '1.0',
|
|
3687
|
+
service: {
|
|
3688
|
+
notifyRecordUpdateAvailable,
|
|
3689
|
+
getNormalizedLuvioRecord,
|
|
3690
|
+
},
|
|
3691
|
+
};
|
|
3692
|
+
}
|
|
3693
|
+
// version: 1.377.1-db77d3f339
|
|
3668
3694
|
|
|
3669
3695
|
/*!
|
|
3670
3696
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4247,10 +4273,10 @@ function buildJwtRequestInterceptor(logger) {
|
|
|
4247
4273
|
}
|
|
4248
4274
|
|
|
4249
4275
|
const loggerService = new ConsoleLogger$1('ERROR');
|
|
4250
|
-
const cacheServiceDescriptor = buildServiceDescriptor$
|
|
4251
|
-
const instrumentationServiceDescriptor = buildServiceDescriptor$
|
|
4276
|
+
const cacheServiceDescriptor = buildServiceDescriptor$9();
|
|
4277
|
+
const instrumentationServiceDescriptor = buildServiceDescriptor$a(loggerService);
|
|
4252
4278
|
const inMemoryCacheInclusionPolicyServiceDescriptor = buildInMemoryCacheInclusionPolicyService(cacheServiceDescriptor.service);
|
|
4253
|
-
const featureFlagsServiceDescriptor = buildServiceDescriptor$
|
|
4279
|
+
const featureFlagsServiceDescriptor = buildServiceDescriptor$6();
|
|
4254
4280
|
const featureFlagsService = featureFlagsServiceDescriptor.service;
|
|
4255
4281
|
// This disables the OneStore GraphQL in this runtime,
|
|
4256
4282
|
// we will enable this in the future, but while we do rollout, we disable it here
|
|
@@ -4260,23 +4286,24 @@ const services = [
|
|
|
4260
4286
|
buildDefaultFetchServiceDescriptor(),
|
|
4261
4287
|
buildJwtAuthorizedSfapFetchServiceDescriptor(loggerService),
|
|
4262
4288
|
buildCopilotFetchServiceDescriptor(loggerService),
|
|
4263
|
-
buildServiceDescriptor$
|
|
4264
|
-
buildServiceDescriptor$
|
|
4265
|
-
buildServiceDescriptor$h(),
|
|
4266
|
-
buildServiceDescriptor$2(),
|
|
4267
|
-
buildServiceDescriptor$d(),
|
|
4289
|
+
buildServiceDescriptor$b(instrumentationServiceDescriptor.service),
|
|
4290
|
+
buildServiceDescriptor$8(cacheServiceDescriptor.service, inMemoryCacheInclusionPolicyServiceDescriptor.service),
|
|
4268
4291
|
buildServiceDescriptor$i(),
|
|
4292
|
+
buildServiceDescriptor$3(),
|
|
4293
|
+
buildServiceDescriptor$e(),
|
|
4294
|
+
buildServiceDescriptor$j(),
|
|
4295
|
+
buildServiceDescriptor$d(),
|
|
4269
4296
|
buildServiceDescriptor$c(),
|
|
4270
|
-
buildServiceDescriptor$
|
|
4297
|
+
buildServiceDescriptor$h(),
|
|
4271
4298
|
buildServiceDescriptor$g(),
|
|
4272
4299
|
buildServiceDescriptor$f(),
|
|
4273
|
-
buildServiceDescriptor$
|
|
4274
|
-
buildServiceDescriptor$
|
|
4300
|
+
buildServiceDescriptor$7(),
|
|
4301
|
+
buildServiceDescriptor$5(),
|
|
4275
4302
|
buildServiceDescriptor$4(),
|
|
4276
|
-
buildServiceDescriptor$3(),
|
|
4277
4303
|
featureFlagsServiceDescriptor,
|
|
4278
4304
|
// Luvio service won't be used since we set the useOneStoreGraphQL flag to false
|
|
4279
|
-
buildServiceDescriptor$
|
|
4305
|
+
buildServiceDescriptor$2({}),
|
|
4306
|
+
buildServiceDescriptor$1({}, {}),
|
|
4280
4307
|
];
|
|
4281
4308
|
setServices(services);
|
|
4282
|
-
// version: 1.377.
|
|
4309
|
+
// version: 1.377.1-dadb6358f3
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-webruntime",
|
|
3
|
-
"version": "1.377.
|
|
3
|
+
"version": "1.377.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Webruntime runtime",
|
|
6
6
|
"main": "dist/ldsWebruntimeOneStoreInit.js",
|
|
@@ -61,15 +61,17 @@
|
|
|
61
61
|
"@luvio/service-pubsub": "5.54.0",
|
|
62
62
|
"@luvio/service-store": "5.54.0",
|
|
63
63
|
"@luvio/utils": "5.54.0",
|
|
64
|
-
"@salesforce/lds-adapters-uiapi-lex": "^1.377.
|
|
64
|
+
"@salesforce/lds-adapters-uiapi-lex": "^1.377.1",
|
|
65
|
+
"@salesforce/lds-luvio-service": "^1.377.1",
|
|
66
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.377.1"
|
|
65
67
|
},
|
|
66
68
|
"luvioBundlesize": [
|
|
67
69
|
{
|
|
68
70
|
"path": "./dist/ldsWebruntimeOneStoreInit.js",
|
|
69
71
|
"maxSize": {
|
|
70
|
-
"none": "
|
|
71
|
-
"min": "
|
|
72
|
-
"compressed": "
|
|
72
|
+
"none": "150 kB",
|
|
73
|
+
"min": "80 kB",
|
|
74
|
+
"compressed": "30 kB"
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
],
|