@salesforce/lds-runtime-aura 1.375.0 → 1.377.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.
Files changed (2) hide show
  1. package/dist/ldsEngineCreator.js +62 -886
  2. package/package.json +35 -34
@@ -26,8 +26,8 @@ import { GetApexWireAdapterFactory, registerPrefetcher as registerPrefetcher$1 }
26
26
  import { getRecordAvatarsAdapterFactory, getRecordAdapterFactory, coerceFieldIdArray, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getObjectInfosAdapterFactory, coerceObjectIdArray, getObjectInfoAdapterFactory, coerceObjectId, getRelatedListsActionsAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListRecordsByNameAdapterFactory, getListObjectInfoAdapterFactory, getRelatedListsInfoAdapterFactory, getRelatedListActionsAdapterFactory, getRecordId18Array, instrument, configuration, InMemoryRecordRepresentationQueryEvaluator, UiApiNamespace, RecordRepresentationRepresentationType, registerPrefetcher } from 'force/ldsAdaptersUiapi';
27
27
  import { getInstrumentation } from 'o11y/client';
28
28
  import { buildGraphQLInputExtension } from 'force/luvioGraphqlNormalization';
29
+ import { print } from 'force/luvioOnestoreGraphqlParser';
29
30
  import { setServices } from 'force/luvioServiceProvisioner1';
30
- import oneStoreUiapiEnabled from '@salesforce/gate/lds.oneStoreUiapiEnabled.ltng';
31
31
  import { unstable_loadComponentDefs, executeGlobalControllerRawResponse } from 'aura';
32
32
  import auraNetworkAdapter, { dispatchAuraAction, defaultActionConfig, instrument as instrument$1, forceRecordTransactionsDisabled as forceRecordTransactionsDisabled$1, ldsNetworkAdapterInstrument, CrudEventState, CrudEventType, UIAPI_RECORDS_PATH, UIAPI_RELATED_LIST_RECORDS_BATCH_PATH, UIAPI_RELATED_LIST_RECORDS_PATH } from 'force/ldsNetwork';
33
33
  import { LRUCache, instrumentAdapter, instrumentLuvio, setupInstrumentation as setupInstrumentation$1, logObjectInfoChanged as logObjectInfoChanged$1, updatePercentileHistogramMetric, incrementCounterMetric, incrementGetRecordNotifyChangeAllowCount, incrementGetRecordNotifyChangeDropCount, incrementNotifyRecordUpdateAvailableAllowCount, incrementNotifyRecordUpdateAvailableDropCount, setLdsAdaptersUiapiInstrumentation, logError, setLdsNetworkAdapterInstrumentation, executeAsyncActivity, METRIC_KEYS, onIdleDetected } from 'force/ldsInstrumentation';
@@ -40,7 +40,6 @@ import useHotspotLimit from '@salesforce/gate/lds.pdl.useHotspotLimit';
40
40
  import { createStorage, clearStorages } from 'force/ldsStorage';
41
41
  import useHttpInsteadAuraTransport from '@salesforce/gate/lds.useHttpInsteadAuraTransport';
42
42
  import { ThirdPartyTracker } from 'instrumentation:beaconLib';
43
- import { graphql, graphql_imperative } from 'force/ldsAdaptersOnestoreGraphql';
44
43
 
45
44
  /*!
46
45
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -287,7 +286,7 @@ let NetworkCommand$1 = class NetworkCommand extends BaseCommand {
287
286
  async afterRequestHooks(_options) {
288
287
  }
289
288
  };
290
- function buildServiceDescriptor$h() {
289
+ function buildServiceDescriptor$i() {
291
290
  return {
292
291
  type: "networkCommandBaseClass",
293
292
  version: "1.0",
@@ -389,7 +388,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
389
388
  return resolvedPromiseLike$3(err$1(toError("Aura/Fetch network services not found")));
390
389
  }
391
390
  }
392
- function buildServiceDescriptor$g() {
391
+ function buildServiceDescriptor$h() {
393
392
  return {
394
393
  type: "auraNetworkCommandBaseClass",
395
394
  version: "1.0",
@@ -896,7 +895,7 @@ class AuraResourceCacheControlCommand extends AuraCacheControlCommand$1 {
896
895
  return `{"endpoint":${this.endpoint},"params":${stableJSONStringify$2(this.auraParams)}}`;
897
896
  }
898
897
  }
899
- function buildServiceDescriptor$f() {
898
+ function buildServiceDescriptor$g() {
900
899
  return {
901
900
  type: "auraResourceCacheControlCommand",
902
901
  version: "1.0",
@@ -1035,7 +1034,7 @@ class AuraNormalizedCacheControlCommand extends AuraCacheControlCommand {
1035
1034
  return resolvedPromiseLike$3(void 0);
1036
1035
  }
1037
1036
  }
1038
- function buildServiceDescriptor$e() {
1037
+ function buildServiceDescriptor$f() {
1039
1038
  return {
1040
1039
  type: "auraNormalizedCacheControlCommand",
1041
1040
  version: "1.0",
@@ -1124,7 +1123,7 @@ class HttpNormalizedCacheControlCommand extends HttpCacheControlCommand {
1124
1123
  return resolvedPromiseLike$3(void 0);
1125
1124
  }
1126
1125
  }
1127
- function buildServiceDescriptor$d() {
1126
+ function buildServiceDescriptor$e() {
1128
1127
  return {
1129
1128
  type: "httpNormalizedCacheControlCommand",
1130
1129
  version: "1.0",
@@ -1231,7 +1230,7 @@ class FetchNetworkCommand extends NetworkCommand {
1231
1230
  );
1232
1231
  }
1233
1232
  }
1234
- function buildServiceDescriptor$c() {
1233
+ function buildServiceDescriptor$d() {
1235
1234
  return {
1236
1235
  type: "fetchNetworkCommandBaseClass",
1237
1236
  version: "1.0",
@@ -1267,7 +1266,7 @@ class StreamingCommand extends BaseCommand {
1267
1266
  );
1268
1267
  }
1269
1268
  }
1270
- function buildServiceDescriptor$b() {
1269
+ function buildServiceDescriptor$c() {
1271
1270
  return {
1272
1271
  type: "streamingCommandBaseClass",
1273
1272
  version: "1.0",
@@ -1350,7 +1349,7 @@ class SSEParsingStream extends TransformStream {
1350
1349
  });
1351
1350
  }
1352
1351
  }
1353
- function buildServiceDescriptor$a() {
1352
+ function buildServiceDescriptor$b() {
1354
1353
  return {
1355
1354
  type: "SSECommandBaseClass",
1356
1355
  version: "1.0",
@@ -1396,7 +1395,7 @@ function buildInstrumentCommand(services) {
1396
1395
  };
1397
1396
  };
1398
1397
  }
1399
- function buildServiceDescriptor$9(instrumentation) {
1398
+ function buildServiceDescriptor$a(instrumentation) {
1400
1399
  return {
1401
1400
  type: "instrumentCommand",
1402
1401
  version: "1.0",
@@ -1666,7 +1665,7 @@ class O11yInstrumentation {
1666
1665
  this.metrics = new O11yOTelMetricsAPI(this.services);
1667
1666
  }
1668
1667
  }
1669
- function buildServiceDescriptor$8(logger) {
1668
+ function buildServiceDescriptor$9(logger) {
1670
1669
  return {
1671
1670
  type: "instrumentation",
1672
1671
  version: "1.0",
@@ -1919,7 +1918,7 @@ class DefaultCache {
1919
1918
  return new FixedTimeWritableCache(this, generatedTime);
1920
1919
  }
1921
1920
  }
1922
- function buildServiceDescriptor$7() {
1921
+ function buildServiceDescriptor$8() {
1923
1922
  return {
1924
1923
  type: "cache",
1925
1924
  version: "1.0",
@@ -2087,7 +2086,7 @@ class CacheController {
2087
2086
  yield* this.services.cacheInclusionPolicy.findAndModify(query, cacheUpdate);
2088
2087
  }
2089
2088
  }
2090
- function buildServiceDescriptor$6(cache, cacheInclusionPolicy) {
2089
+ function buildServiceDescriptor$7(cache, cacheInclusionPolicy) {
2091
2090
  return {
2092
2091
  type: "cacheController",
2093
2092
  version: "1.0",
@@ -2197,7 +2196,7 @@ class DefaultPubSubService {
2197
2196
  return matchingSubscriptions;
2198
2197
  }
2199
2198
  }
2200
- function buildServiceDescriptor$5() {
2199
+ function buildServiceDescriptor$6() {
2201
2200
  return {
2202
2201
  type: "pubSub",
2203
2202
  version: "1.0",
@@ -2260,7 +2259,7 @@ class NDJSONParsingStream extends TransformStream {
2260
2259
  });
2261
2260
  }
2262
2261
  }
2263
- function buildServiceDescriptor$4() {
2262
+ function buildServiceDescriptor$5() {
2264
2263
  return {
2265
2264
  type: "NDJSONCommandBaseClass",
2266
2265
  version: "1.0",
@@ -2301,7 +2300,7 @@ function buildServiceDescriptor$4() {
2301
2300
  * };
2302
2301
  * ```
2303
2302
  */
2304
- function buildServiceDescriptor$3(luvio) {
2303
+ function buildServiceDescriptor$4(luvio) {
2305
2304
  return {
2306
2305
  type: 'luvio',
2307
2306
  version: '1.0',
@@ -2310,847 +2309,7 @@ function buildServiceDescriptor$3(luvio) {
2310
2309
  },
2311
2310
  };
2312
2311
  }
2313
- // version: 1.375.0-5bf9e6303e
2314
-
2315
- /*!
2316
- * Copyright (c) 2022, Salesforce, Inc.,
2317
- * All rights reserved.
2318
- * For full license text, see the LICENSE.txt file
2319
- */
2320
- function devAssert(condition, message) {
2321
- const booleanCondition = Boolean(condition);
2322
- if (!booleanCondition) {
2323
- throw new Error(message);
2324
- }
2325
- }
2326
- const MAX_ARRAY_LENGTH = 10;
2327
- const MAX_RECURSIVE_DEPTH = 2;
2328
- function inspect(value) {
2329
- return formatValue(value, []);
2330
- }
2331
- function formatValue(value, seenValues) {
2332
- switch (typeof value) {
2333
- case "string":
2334
- return JSON.stringify(value);
2335
- case "function":
2336
- return value.name ? `[function ${value.name}]` : "[function]";
2337
- case "object":
2338
- return formatObjectValue(value, seenValues);
2339
- default:
2340
- return String(value);
2341
- }
2342
- }
2343
- function formatObjectValue(value, previouslySeenValues) {
2344
- if (value === null) {
2345
- return "null";
2346
- }
2347
- if (previouslySeenValues.includes(value)) {
2348
- return "[Circular]";
2349
- }
2350
- const seenValues = [...previouslySeenValues, value];
2351
- if (isJSONable(value)) {
2352
- const jsonValue = value.toJSON();
2353
- if (jsonValue !== value) {
2354
- return typeof jsonValue === "string" ? jsonValue : formatValue(jsonValue, seenValues);
2355
- }
2356
- } else if (Array.isArray(value)) {
2357
- return formatArray(value, seenValues);
2358
- }
2359
- return formatObject(value, seenValues);
2360
- }
2361
- function isJSONable(value) {
2362
- return typeof value.toJSON === "function";
2363
- }
2364
- function formatObject(object, seenValues) {
2365
- const entries = Object.entries(object);
2366
- if (entries.length === 0) {
2367
- return "{}";
2368
- }
2369
- if (seenValues.length > MAX_RECURSIVE_DEPTH) {
2370
- return "[" + getObjectTag(object) + "]";
2371
- }
2372
- const properties = entries.map(
2373
- ([key, value]) => key + ": " + formatValue(value, seenValues)
2374
- );
2375
- return "{ " + properties.join(", ") + " }";
2376
- }
2377
- function formatArray(array, seenValues) {
2378
- if (array.length === 0) {
2379
- return "[]";
2380
- }
2381
- if (seenValues.length > MAX_RECURSIVE_DEPTH) {
2382
- return "[Array]";
2383
- }
2384
- const len = Math.min(MAX_ARRAY_LENGTH, array.length);
2385
- const remaining = array.length - len;
2386
- const items = [];
2387
- for (let i = 0; i < len; ++i) {
2388
- items.push(formatValue(array[i], seenValues));
2389
- }
2390
- if (remaining === 1) {
2391
- items.push("... 1 more item");
2392
- } else if (remaining > 1) {
2393
- items.push(`... ${remaining} more items`);
2394
- }
2395
- return "[" + items.join(", ") + "]";
2396
- }
2397
- function getObjectTag(object) {
2398
- const tag = Object.prototype.toString.call(object).replace(/^\[object /, "").replace(/]$/, "");
2399
- if (tag === "Object" && typeof object.constructor === "function") {
2400
- const name = object.constructor.name;
2401
- if (typeof name === "string" && name !== "") {
2402
- return name;
2403
- }
2404
- }
2405
- return tag;
2406
- }
2407
- globalThis.process && // eslint-disable-next-line no-undef
2408
- process.env.NODE_ENV === "production";
2409
- var Kind;
2410
- (function(Kind2) {
2411
- Kind2["NAME"] = "Name";
2412
- Kind2["DOCUMENT"] = "Document";
2413
- Kind2["OPERATION_DEFINITION"] = "OperationDefinition";
2414
- Kind2["VARIABLE_DEFINITION"] = "VariableDefinition";
2415
- Kind2["SELECTION_SET"] = "SelectionSet";
2416
- Kind2["FIELD"] = "Field";
2417
- Kind2["ARGUMENT"] = "Argument";
2418
- Kind2["FRAGMENT_SPREAD"] = "FragmentSpread";
2419
- Kind2["INLINE_FRAGMENT"] = "InlineFragment";
2420
- Kind2["FRAGMENT_DEFINITION"] = "FragmentDefinition";
2421
- Kind2["VARIABLE"] = "Variable";
2422
- Kind2["INT"] = "IntValue";
2423
- Kind2["FLOAT"] = "FloatValue";
2424
- Kind2["STRING"] = "StringValue";
2425
- Kind2["BOOLEAN"] = "BooleanValue";
2426
- Kind2["NULL"] = "NullValue";
2427
- Kind2["ENUM"] = "EnumValue";
2428
- Kind2["LIST"] = "ListValue";
2429
- Kind2["OBJECT"] = "ObjectValue";
2430
- Kind2["OBJECT_FIELD"] = "ObjectField";
2431
- Kind2["DIRECTIVE"] = "Directive";
2432
- Kind2["NAMED_TYPE"] = "NamedType";
2433
- Kind2["LIST_TYPE"] = "ListType";
2434
- Kind2["NON_NULL_TYPE"] = "NonNullType";
2435
- Kind2["SCHEMA_DEFINITION"] = "SchemaDefinition";
2436
- Kind2["OPERATION_TYPE_DEFINITION"] = "OperationTypeDefinition";
2437
- Kind2["SCALAR_TYPE_DEFINITION"] = "ScalarTypeDefinition";
2438
- Kind2["OBJECT_TYPE_DEFINITION"] = "ObjectTypeDefinition";
2439
- Kind2["FIELD_DEFINITION"] = "FieldDefinition";
2440
- Kind2["INPUT_VALUE_DEFINITION"] = "InputValueDefinition";
2441
- Kind2["INTERFACE_TYPE_DEFINITION"] = "InterfaceTypeDefinition";
2442
- Kind2["UNION_TYPE_DEFINITION"] = "UnionTypeDefinition";
2443
- Kind2["ENUM_TYPE_DEFINITION"] = "EnumTypeDefinition";
2444
- Kind2["ENUM_VALUE_DEFINITION"] = "EnumValueDefinition";
2445
- Kind2["INPUT_OBJECT_TYPE_DEFINITION"] = "InputObjectTypeDefinition";
2446
- Kind2["DIRECTIVE_DEFINITION"] = "DirectiveDefinition";
2447
- Kind2["SCHEMA_EXTENSION"] = "SchemaExtension";
2448
- Kind2["SCALAR_TYPE_EXTENSION"] = "ScalarTypeExtension";
2449
- Kind2["OBJECT_TYPE_EXTENSION"] = "ObjectTypeExtension";
2450
- Kind2["INTERFACE_TYPE_EXTENSION"] = "InterfaceTypeExtension";
2451
- Kind2["UNION_TYPE_EXTENSION"] = "UnionTypeExtension";
2452
- Kind2["ENUM_TYPE_EXTENSION"] = "EnumTypeExtension";
2453
- Kind2["INPUT_OBJECT_TYPE_EXTENSION"] = "InputObjectTypeExtension";
2454
- })(Kind || (Kind = {}));
2455
- var TokenKind;
2456
- (function(TokenKind2) {
2457
- TokenKind2["SOF"] = "<SOF>";
2458
- TokenKind2["EOF"] = "<EOF>";
2459
- TokenKind2["BANG"] = "!";
2460
- TokenKind2["DOLLAR"] = "$";
2461
- TokenKind2["AMP"] = "&";
2462
- TokenKind2["PAREN_L"] = "(";
2463
- TokenKind2["PAREN_R"] = ")";
2464
- TokenKind2["SPREAD"] = "...";
2465
- TokenKind2["COLON"] = ":";
2466
- TokenKind2["EQUALS"] = "=";
2467
- TokenKind2["AT"] = "@";
2468
- TokenKind2["BRACKET_L"] = "[";
2469
- TokenKind2["BRACKET_R"] = "]";
2470
- TokenKind2["BRACE_L"] = "{";
2471
- TokenKind2["PIPE"] = "|";
2472
- TokenKind2["BRACE_R"] = "}";
2473
- TokenKind2["NAME"] = "Name";
2474
- TokenKind2["INT"] = "Int";
2475
- TokenKind2["FLOAT"] = "Float";
2476
- TokenKind2["STRING"] = "String";
2477
- TokenKind2["BLOCK_STRING"] = "BlockString";
2478
- TokenKind2["COMMENT"] = "Comment";
2479
- })(TokenKind || (TokenKind = {}));
2480
- const QueryDocumentKeys = {
2481
- Name: [],
2482
- Document: ["definitions"],
2483
- OperationDefinition: [
2484
- "name",
2485
- "variableDefinitions",
2486
- "directives",
2487
- "selectionSet"
2488
- ],
2489
- VariableDefinition: ["variable", "type", "defaultValue", "directives"],
2490
- Variable: ["name"],
2491
- SelectionSet: ["selections"],
2492
- Field: ["alias", "name", "arguments", "directives", "selectionSet"],
2493
- Argument: ["name", "value"],
2494
- FragmentSpread: ["name", "directives"],
2495
- InlineFragment: ["typeCondition", "directives", "selectionSet"],
2496
- FragmentDefinition: [
2497
- "name",
2498
- // Note: fragment variable definitions are deprecated and will removed in v17.0.0
2499
- "variableDefinitions",
2500
- "typeCondition",
2501
- "directives",
2502
- "selectionSet"
2503
- ],
2504
- IntValue: [],
2505
- FloatValue: [],
2506
- StringValue: [],
2507
- BooleanValue: [],
2508
- NullValue: [],
2509
- EnumValue: [],
2510
- ListValue: ["values"],
2511
- ObjectValue: ["fields"],
2512
- ObjectField: ["name", "value"],
2513
- Directive: ["name", "arguments"],
2514
- NamedType: ["name"],
2515
- ListType: ["type"],
2516
- NonNullType: ["type"],
2517
- SchemaDefinition: ["description", "directives", "operationTypes"],
2518
- OperationTypeDefinition: ["type"],
2519
- ScalarTypeDefinition: ["description", "name", "directives"],
2520
- ObjectTypeDefinition: [
2521
- "description",
2522
- "name",
2523
- "interfaces",
2524
- "directives",
2525
- "fields"
2526
- ],
2527
- FieldDefinition: ["description", "name", "arguments", "type", "directives"],
2528
- InputValueDefinition: [
2529
- "description",
2530
- "name",
2531
- "type",
2532
- "defaultValue",
2533
- "directives"
2534
- ],
2535
- InterfaceTypeDefinition: [
2536
- "description",
2537
- "name",
2538
- "interfaces",
2539
- "directives",
2540
- "fields"
2541
- ],
2542
- UnionTypeDefinition: ["description", "name", "directives", "types"],
2543
- EnumTypeDefinition: ["description", "name", "directives", "values"],
2544
- EnumValueDefinition: ["description", "name", "directives"],
2545
- InputObjectTypeDefinition: ["description", "name", "directives", "fields"],
2546
- DirectiveDefinition: ["description", "name", "arguments", "locations"],
2547
- SchemaExtension: ["directives", "operationTypes"],
2548
- ScalarTypeExtension: ["name", "directives"],
2549
- ObjectTypeExtension: ["name", "interfaces", "directives", "fields"],
2550
- InterfaceTypeExtension: ["name", "interfaces", "directives", "fields"],
2551
- UnionTypeExtension: ["name", "directives", "types"],
2552
- EnumTypeExtension: ["name", "directives", "values"],
2553
- InputObjectTypeExtension: ["name", "directives", "fields"]
2554
- };
2555
- const kindValues = new Set(Object.keys(QueryDocumentKeys));
2556
- function isNode(maybeNode) {
2557
- const maybeKind = maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;
2558
- return typeof maybeKind === "string" && kindValues.has(maybeKind);
2559
- }
2560
- var OperationTypeNode;
2561
- (function(OperationTypeNode2) {
2562
- OperationTypeNode2["QUERY"] = "query";
2563
- OperationTypeNode2["MUTATION"] = "mutation";
2564
- OperationTypeNode2["SUBSCRIPTION"] = "subscription";
2565
- })(OperationTypeNode || (OperationTypeNode = {}));
2566
- function isWhiteSpace(code) {
2567
- return code === 9 || code === 32;
2568
- }
2569
- function printBlockString(value, options) {
2570
- const escapedValue = value.replace(/"""/g, '\\"""');
2571
- const lines = escapedValue.split(/\r\n|[\n\r]/g);
2572
- const isSingleLine = lines.length === 1;
2573
- const forceLeadingNewLine = lines.length > 1 && lines.slice(1).every((line) => line.length === 0 || isWhiteSpace(line.charCodeAt(0)));
2574
- const hasTrailingTripleQuotes = escapedValue.endsWith('\\"""');
2575
- const hasTrailingQuote = value.endsWith('"') && !hasTrailingTripleQuotes;
2576
- const hasTrailingSlash = value.endsWith("\\");
2577
- const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;
2578
- const printAsMultipleLines = !(options !== null && options !== void 0 && options.minimize) && // add leading and trailing new lines only if it improves readability
2579
- (!isSingleLine || value.length > 70 || forceTrailingNewline || forceLeadingNewLine || hasTrailingTripleQuotes);
2580
- let result = "";
2581
- const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));
2582
- if (printAsMultipleLines && !skipLeadingNewLine || forceLeadingNewLine) {
2583
- result += "\n";
2584
- }
2585
- result += escapedValue;
2586
- if (printAsMultipleLines || forceTrailingNewline) {
2587
- result += "\n";
2588
- }
2589
- return '"""' + result + '"""';
2590
- }
2591
- var DirectiveLocation;
2592
- (function(DirectiveLocation2) {
2593
- DirectiveLocation2["QUERY"] = "QUERY";
2594
- DirectiveLocation2["MUTATION"] = "MUTATION";
2595
- DirectiveLocation2["SUBSCRIPTION"] = "SUBSCRIPTION";
2596
- DirectiveLocation2["FIELD"] = "FIELD";
2597
- DirectiveLocation2["FRAGMENT_DEFINITION"] = "FRAGMENT_DEFINITION";
2598
- DirectiveLocation2["FRAGMENT_SPREAD"] = "FRAGMENT_SPREAD";
2599
- DirectiveLocation2["INLINE_FRAGMENT"] = "INLINE_FRAGMENT";
2600
- DirectiveLocation2["VARIABLE_DEFINITION"] = "VARIABLE_DEFINITION";
2601
- DirectiveLocation2["SCHEMA"] = "SCHEMA";
2602
- DirectiveLocation2["SCALAR"] = "SCALAR";
2603
- DirectiveLocation2["OBJECT"] = "OBJECT";
2604
- DirectiveLocation2["FIELD_DEFINITION"] = "FIELD_DEFINITION";
2605
- DirectiveLocation2["ARGUMENT_DEFINITION"] = "ARGUMENT_DEFINITION";
2606
- DirectiveLocation2["INTERFACE"] = "INTERFACE";
2607
- DirectiveLocation2["UNION"] = "UNION";
2608
- DirectiveLocation2["ENUM"] = "ENUM";
2609
- DirectiveLocation2["ENUM_VALUE"] = "ENUM_VALUE";
2610
- DirectiveLocation2["INPUT_OBJECT"] = "INPUT_OBJECT";
2611
- DirectiveLocation2["INPUT_FIELD_DEFINITION"] = "INPUT_FIELD_DEFINITION";
2612
- })(DirectiveLocation || (DirectiveLocation = {}));
2613
- function printString(str) {
2614
- return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
2615
- }
2616
- const escapedRegExp = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
2617
- function escapedReplacer(str) {
2618
- return escapeSequences[str.charCodeAt(0)];
2619
- }
2620
- const escapeSequences = [
2621
- "\\u0000",
2622
- "\\u0001",
2623
- "\\u0002",
2624
- "\\u0003",
2625
- "\\u0004",
2626
- "\\u0005",
2627
- "\\u0006",
2628
- "\\u0007",
2629
- "\\b",
2630
- "\\t",
2631
- "\\n",
2632
- "\\u000B",
2633
- "\\f",
2634
- "\\r",
2635
- "\\u000E",
2636
- "\\u000F",
2637
- "\\u0010",
2638
- "\\u0011",
2639
- "\\u0012",
2640
- "\\u0013",
2641
- "\\u0014",
2642
- "\\u0015",
2643
- "\\u0016",
2644
- "\\u0017",
2645
- "\\u0018",
2646
- "\\u0019",
2647
- "\\u001A",
2648
- "\\u001B",
2649
- "\\u001C",
2650
- "\\u001D",
2651
- "\\u001E",
2652
- "\\u001F",
2653
- "",
2654
- "",
2655
- '\\"',
2656
- "",
2657
- "",
2658
- "",
2659
- "",
2660
- "",
2661
- "",
2662
- "",
2663
- "",
2664
- "",
2665
- "",
2666
- "",
2667
- "",
2668
- "",
2669
- // 2F
2670
- "",
2671
- "",
2672
- "",
2673
- "",
2674
- "",
2675
- "",
2676
- "",
2677
- "",
2678
- "",
2679
- "",
2680
- "",
2681
- "",
2682
- "",
2683
- "",
2684
- "",
2685
- "",
2686
- // 3F
2687
- "",
2688
- "",
2689
- "",
2690
- "",
2691
- "",
2692
- "",
2693
- "",
2694
- "",
2695
- "",
2696
- "",
2697
- "",
2698
- "",
2699
- "",
2700
- "",
2701
- "",
2702
- "",
2703
- // 4F
2704
- "",
2705
- "",
2706
- "",
2707
- "",
2708
- "",
2709
- "",
2710
- "",
2711
- "",
2712
- "",
2713
- "",
2714
- "",
2715
- "",
2716
- "\\\\",
2717
- "",
2718
- "",
2719
- "",
2720
- // 5F
2721
- "",
2722
- "",
2723
- "",
2724
- "",
2725
- "",
2726
- "",
2727
- "",
2728
- "",
2729
- "",
2730
- "",
2731
- "",
2732
- "",
2733
- "",
2734
- "",
2735
- "",
2736
- "",
2737
- // 6F
2738
- "",
2739
- "",
2740
- "",
2741
- "",
2742
- "",
2743
- "",
2744
- "",
2745
- "",
2746
- "",
2747
- "",
2748
- "",
2749
- "",
2750
- "",
2751
- "",
2752
- "",
2753
- "\\u007F",
2754
- "\\u0080",
2755
- "\\u0081",
2756
- "\\u0082",
2757
- "\\u0083",
2758
- "\\u0084",
2759
- "\\u0085",
2760
- "\\u0086",
2761
- "\\u0087",
2762
- "\\u0088",
2763
- "\\u0089",
2764
- "\\u008A",
2765
- "\\u008B",
2766
- "\\u008C",
2767
- "\\u008D",
2768
- "\\u008E",
2769
- "\\u008F",
2770
- "\\u0090",
2771
- "\\u0091",
2772
- "\\u0092",
2773
- "\\u0093",
2774
- "\\u0094",
2775
- "\\u0095",
2776
- "\\u0096",
2777
- "\\u0097",
2778
- "\\u0098",
2779
- "\\u0099",
2780
- "\\u009A",
2781
- "\\u009B",
2782
- "\\u009C",
2783
- "\\u009D",
2784
- "\\u009E",
2785
- "\\u009F"
2786
- ];
2787
- const BREAK = Object.freeze({});
2788
- function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
2789
- const enterLeaveMap = /* @__PURE__ */ new Map();
2790
- for (const kind of Object.values(Kind)) {
2791
- enterLeaveMap.set(kind, getEnterLeaveForKind(visitor, kind));
2792
- }
2793
- let stack = void 0;
2794
- let inArray = Array.isArray(root);
2795
- let keys = [root];
2796
- let index = -1;
2797
- let edits = [];
2798
- let node = root;
2799
- let key = void 0;
2800
- let parent = void 0;
2801
- const path = [];
2802
- const ancestors = [];
2803
- do {
2804
- index++;
2805
- const isLeaving = index === keys.length;
2806
- const isEdited = isLeaving && edits.length !== 0;
2807
- if (isLeaving) {
2808
- key = ancestors.length === 0 ? void 0 : path[path.length - 1];
2809
- node = parent;
2810
- parent = ancestors.pop();
2811
- if (isEdited) {
2812
- if (inArray) {
2813
- node = node.slice();
2814
- let editOffset = 0;
2815
- for (const [editKey, editValue] of edits) {
2816
- const arrayKey = editKey - editOffset;
2817
- if (editValue === null) {
2818
- node.splice(arrayKey, 1);
2819
- editOffset++;
2820
- } else {
2821
- node[arrayKey] = editValue;
2822
- }
2823
- }
2824
- } else {
2825
- node = { ...node };
2826
- for (const [editKey, editValue] of edits) {
2827
- node[editKey] = editValue;
2828
- }
2829
- }
2830
- }
2831
- index = stack.index;
2832
- keys = stack.keys;
2833
- edits = stack.edits;
2834
- inArray = stack.inArray;
2835
- stack = stack.prev;
2836
- } else if (parent) {
2837
- key = inArray ? index : keys[index];
2838
- node = parent[key];
2839
- if (node === null || node === void 0) {
2840
- continue;
2841
- }
2842
- path.push(key);
2843
- }
2844
- let result;
2845
- if (!Array.isArray(node)) {
2846
- var _enterLeaveMap$get, _enterLeaveMap$get2;
2847
- isNode(node) || devAssert(false, `Invalid AST Node: ${inspect(node)}.`);
2848
- const visitFn = isLeaving ? (_enterLeaveMap$get = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get === void 0 ? void 0 : _enterLeaveMap$get.leave : (_enterLeaveMap$get2 = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get2 === void 0 ? void 0 : _enterLeaveMap$get2.enter;
2849
- result = visitFn === null || visitFn === void 0 ? void 0 : visitFn.call(visitor, node, key, parent, path, ancestors);
2850
- if (result === BREAK) {
2851
- break;
2852
- }
2853
- if (result === false) {
2854
- if (!isLeaving) {
2855
- path.pop();
2856
- continue;
2857
- }
2858
- } else if (result !== void 0) {
2859
- edits.push([key, result]);
2860
- if (!isLeaving) {
2861
- if (isNode(result)) {
2862
- node = result;
2863
- } else {
2864
- path.pop();
2865
- continue;
2866
- }
2867
- }
2868
- }
2869
- }
2870
- if (result === void 0 && isEdited) {
2871
- edits.push([key, node]);
2872
- }
2873
- if (isLeaving) {
2874
- path.pop();
2875
- } else {
2876
- var _node$kind;
2877
- stack = {
2878
- inArray,
2879
- index,
2880
- keys,
2881
- edits,
2882
- prev: stack
2883
- };
2884
- inArray = Array.isArray(node);
2885
- keys = inArray ? node : (_node$kind = visitorKeys[node.kind]) !== null && _node$kind !== void 0 ? _node$kind : [];
2886
- index = -1;
2887
- edits = [];
2888
- if (parent) {
2889
- ancestors.push(parent);
2890
- }
2891
- parent = node;
2892
- }
2893
- } while (stack !== void 0);
2894
- if (edits.length !== 0) {
2895
- return edits[edits.length - 1][1];
2896
- }
2897
- return root;
2898
- }
2899
- function getEnterLeaveForKind(visitor, kind) {
2900
- const kindVisitor = visitor[kind];
2901
- if (typeof kindVisitor === "object") {
2902
- return kindVisitor;
2903
- } else if (typeof kindVisitor === "function") {
2904
- return {
2905
- enter: kindVisitor,
2906
- leave: void 0
2907
- };
2908
- }
2909
- return {
2910
- enter: visitor.enter,
2911
- leave: visitor.leave
2912
- };
2913
- }
2914
- function print(ast) {
2915
- return visit(ast, printDocASTReducer);
2916
- }
2917
- const MAX_LINE_LENGTH = 80;
2918
- const printDocASTReducer = {
2919
- Name: {
2920
- leave: (node) => node.value
2921
- },
2922
- Variable: {
2923
- leave: (node) => "$" + node.name
2924
- },
2925
- // Document
2926
- Document: {
2927
- leave: (node) => join(node.definitions, "\n\n")
2928
- },
2929
- OperationDefinition: {
2930
- leave(node) {
2931
- const varDefs = wrap("(", join(node.variableDefinitions, ", "), ")");
2932
- const prefix = join(
2933
- [
2934
- node.operation,
2935
- join([node.name, varDefs]),
2936
- join(node.directives, " ")
2937
- ],
2938
- " "
2939
- );
2940
- return (prefix === "query" ? "" : prefix + " ") + node.selectionSet;
2941
- }
2942
- },
2943
- VariableDefinition: {
2944
- leave: ({ variable, type, defaultValue, directives }) => variable + ": " + type + wrap(" = ", defaultValue) + wrap(" ", join(directives, " "))
2945
- },
2946
- SelectionSet: {
2947
- leave: ({ selections }) => block(selections)
2948
- },
2949
- Field: {
2950
- leave({ alias, name, arguments: args, directives, selectionSet }) {
2951
- const prefix = wrap("", alias, ": ") + name;
2952
- let argsLine = prefix + wrap("(", join(args, ", "), ")");
2953
- if (argsLine.length > MAX_LINE_LENGTH) {
2954
- argsLine = prefix + wrap("(\n", indent(join(args, "\n")), "\n)");
2955
- }
2956
- return join([argsLine, join(directives, " "), selectionSet], " ");
2957
- }
2958
- },
2959
- Argument: {
2960
- leave: ({ name, value }) => name + ": " + value
2961
- },
2962
- // Fragments
2963
- FragmentSpread: {
2964
- leave: ({ name, directives }) => "..." + name + wrap(" ", join(directives, " "))
2965
- },
2966
- InlineFragment: {
2967
- leave: ({ typeCondition, directives, selectionSet }) => join(
2968
- [
2969
- "...",
2970
- wrap("on ", typeCondition),
2971
- join(directives, " "),
2972
- selectionSet
2973
- ],
2974
- " "
2975
- )
2976
- },
2977
- FragmentDefinition: {
2978
- leave: ({ name, typeCondition, variableDefinitions, directives, selectionSet }) => (
2979
- // or removed in the future.
2980
- `fragment ${name}${wrap("(", join(variableDefinitions, ", "), ")")} on ${typeCondition} ${wrap("", join(directives, " "), " ")}` + selectionSet
2981
- )
2982
- },
2983
- // Value
2984
- IntValue: {
2985
- leave: ({ value }) => value
2986
- },
2987
- FloatValue: {
2988
- leave: ({ value }) => value
2989
- },
2990
- StringValue: {
2991
- leave: ({ value, block: isBlockString }) => isBlockString ? printBlockString(value) : printString(value)
2992
- },
2993
- BooleanValue: {
2994
- leave: ({ value }) => value ? "true" : "false"
2995
- },
2996
- NullValue: {
2997
- leave: () => "null"
2998
- },
2999
- EnumValue: {
3000
- leave: ({ value }) => value
3001
- },
3002
- ListValue: {
3003
- leave: ({ values }) => "[" + join(values, ", ") + "]"
3004
- },
3005
- ObjectValue: {
3006
- leave: ({ fields }) => "{" + join(fields, ", ") + "}"
3007
- },
3008
- ObjectField: {
3009
- leave: ({ name, value }) => name + ": " + value
3010
- },
3011
- // Directive
3012
- Directive: {
3013
- leave: ({ name, arguments: args }) => "@" + name + wrap("(", join(args, ", "), ")")
3014
- },
3015
- // Type
3016
- NamedType: {
3017
- leave: ({ name }) => name
3018
- },
3019
- ListType: {
3020
- leave: ({ type }) => "[" + type + "]"
3021
- },
3022
- NonNullType: {
3023
- leave: ({ type }) => type + "!"
3024
- },
3025
- // Type System Definitions
3026
- SchemaDefinition: {
3027
- leave: ({ description, directives, operationTypes }) => wrap("", description, "\n") + join(["schema", join(directives, " "), block(operationTypes)], " ")
3028
- },
3029
- OperationTypeDefinition: {
3030
- leave: ({ operation, type }) => operation + ": " + type
3031
- },
3032
- ScalarTypeDefinition: {
3033
- leave: ({ description, name, directives }) => wrap("", description, "\n") + join(["scalar", name, join(directives, " ")], " ")
3034
- },
3035
- ObjectTypeDefinition: {
3036
- leave: ({ description, name, interfaces, directives, fields }) => wrap("", description, "\n") + join(
3037
- [
3038
- "type",
3039
- name,
3040
- wrap("implements ", join(interfaces, " & ")),
3041
- join(directives, " "),
3042
- block(fields)
3043
- ],
3044
- " "
3045
- )
3046
- },
3047
- FieldDefinition: {
3048
- leave: ({ description, name, arguments: args, type, directives }) => wrap("", description, "\n") + name + (hasMultilineItems(args) ? wrap("(\n", indent(join(args, "\n")), "\n)") : wrap("(", join(args, ", "), ")")) + ": " + type + wrap(" ", join(directives, " "))
3049
- },
3050
- InputValueDefinition: {
3051
- leave: ({ description, name, type, defaultValue, directives }) => wrap("", description, "\n") + join(
3052
- [name + ": " + type, wrap("= ", defaultValue), join(directives, " ")],
3053
- " "
3054
- )
3055
- },
3056
- InterfaceTypeDefinition: {
3057
- leave: ({ description, name, interfaces, directives, fields }) => wrap("", description, "\n") + join(
3058
- [
3059
- "interface",
3060
- name,
3061
- wrap("implements ", join(interfaces, " & ")),
3062
- join(directives, " "),
3063
- block(fields)
3064
- ],
3065
- " "
3066
- )
3067
- },
3068
- UnionTypeDefinition: {
3069
- leave: ({ description, name, directives, types }) => wrap("", description, "\n") + join(
3070
- ["union", name, join(directives, " "), wrap("= ", join(types, " | "))],
3071
- " "
3072
- )
3073
- },
3074
- EnumTypeDefinition: {
3075
- leave: ({ description, name, directives, values }) => wrap("", description, "\n") + join(["enum", name, join(directives, " "), block(values)], " ")
3076
- },
3077
- EnumValueDefinition: {
3078
- leave: ({ description, name, directives }) => wrap("", description, "\n") + join([name, join(directives, " ")], " ")
3079
- },
3080
- InputObjectTypeDefinition: {
3081
- leave: ({ description, name, directives, fields }) => wrap("", description, "\n") + join(["input", name, join(directives, " "), block(fields)], " ")
3082
- },
3083
- DirectiveDefinition: {
3084
- leave: ({ description, name, arguments: args, repeatable, locations }) => wrap("", description, "\n") + "directive @" + name + (hasMultilineItems(args) ? wrap("(\n", indent(join(args, "\n")), "\n)") : wrap("(", join(args, ", "), ")")) + (repeatable ? " repeatable" : "") + " on " + join(locations, " | ")
3085
- },
3086
- SchemaExtension: {
3087
- leave: ({ directives, operationTypes }) => join(
3088
- ["extend schema", join(directives, " "), block(operationTypes)],
3089
- " "
3090
- )
3091
- },
3092
- ScalarTypeExtension: {
3093
- leave: ({ name, directives }) => join(["extend scalar", name, join(directives, " ")], " ")
3094
- },
3095
- ObjectTypeExtension: {
3096
- leave: ({ name, interfaces, directives, fields }) => join(
3097
- [
3098
- "extend type",
3099
- name,
3100
- wrap("implements ", join(interfaces, " & ")),
3101
- join(directives, " "),
3102
- block(fields)
3103
- ],
3104
- " "
3105
- )
3106
- },
3107
- InterfaceTypeExtension: {
3108
- leave: ({ name, interfaces, directives, fields }) => join(
3109
- [
3110
- "extend interface",
3111
- name,
3112
- wrap("implements ", join(interfaces, " & ")),
3113
- join(directives, " "),
3114
- block(fields)
3115
- ],
3116
- " "
3117
- )
3118
- },
3119
- UnionTypeExtension: {
3120
- leave: ({ name, directives, types }) => join(
3121
- [
3122
- "extend union",
3123
- name,
3124
- join(directives, " "),
3125
- wrap("= ", join(types, " | "))
3126
- ],
3127
- " "
3128
- )
3129
- },
3130
- EnumTypeExtension: {
3131
- leave: ({ name, directives, values }) => join(["extend enum", name, join(directives, " "), block(values)], " ")
3132
- },
3133
- InputObjectTypeExtension: {
3134
- leave: ({ name, directives, fields }) => join(["extend input", name, join(directives, " "), block(fields)], " ")
3135
- }
3136
- };
3137
- function join(maybeArray, separator = "") {
3138
- var _maybeArray$filter$jo;
3139
- return (_maybeArray$filter$jo = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.filter((x) => x).join(separator)) !== null && _maybeArray$filter$jo !== void 0 ? _maybeArray$filter$jo : "";
3140
- }
3141
- function block(array) {
3142
- return wrap("{\n", indent(join(array, "\n")), "\n}");
3143
- }
3144
- function wrap(start, maybeString, end = "") {
3145
- return maybeString != null && maybeString !== "" ? start + maybeString + end : "";
3146
- }
3147
- function indent(str) {
3148
- return wrap(" ", str.replace(/\n/g, "\n "));
3149
- }
3150
- function hasMultilineItems(maybeArray) {
3151
- var _maybeArray$some;
3152
- return (_maybeArray$some = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.some((str) => str.includes("\n"))) !== null && _maybeArray$some !== void 0 ? _maybeArray$some : false;
3153
- }
2312
+ // version: 1.377.0-b0d5c49e07
3154
2313
 
3155
2314
  /*!
3156
2315
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3303,7 +2462,7 @@ class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheContro
3303
2462
  });
3304
2463
  }
3305
2464
  }
3306
- function buildServiceDescriptor$2() {
2465
+ function buildServiceDescriptor$3() {
3307
2466
  return {
3308
2467
  type: "auraGraphQLNormalizedCacheControlCommand",
3309
2468
  version: "1.0",
@@ -3413,7 +2572,7 @@ class HttpGraphQLNormalizedCacheControlCommand extends HttpNormalizedCacheContro
3413
2572
  });
3414
2573
  }
3415
2574
  }
3416
- function buildServiceDescriptor$1() {
2575
+ function buildServiceDescriptor$2() {
3417
2576
  return {
3418
2577
  type: "httpGraphQLNormalizedCacheControlCommand",
3419
2578
  version: "1.0",
@@ -3421,6 +2580,30 @@ function buildServiceDescriptor$1() {
3421
2580
  };
3422
2581
  }
3423
2582
 
2583
+ /*!
2584
+ * Copyright (c) 2022, Salesforce, Inc.,
2585
+ * All rights reserved.
2586
+ * For full license text, see the LICENSE.txt file
2587
+ */
2588
+ class FeatureFlagsService {
2589
+ constructor() {
2590
+ this.flags = /* @__PURE__ */ new Map();
2591
+ }
2592
+ set(flagName, value) {
2593
+ this.flags.set(flagName, value);
2594
+ }
2595
+ get(flagName, defaultValue = false) {
2596
+ return this.flags.get(flagName) || defaultValue;
2597
+ }
2598
+ }
2599
+ function buildServiceDescriptor$1() {
2600
+ return {
2601
+ version: "1.0",
2602
+ service: new FeatureFlagsService(),
2603
+ type: "featureFlags"
2604
+ };
2605
+ }
2606
+
3424
2607
  /*!
3425
2608
  * Copyright (c) 2022, Salesforce, Inc.,
3426
2609
  * All rights reserved.
@@ -6914,7 +6097,7 @@ function getEnvironmentSetting(name) {
6914
6097
  }
6915
6098
  return undefined;
6916
6099
  }
6917
- // version: 1.375.0-5bf9e6303e
6100
+ // version: 1.377.0-b0d5c49e07
6918
6101
 
6919
6102
  const forceRecordTransactionsDisabled = getEnvironmentSetting(EnvironmentSettings.ForceRecordTransactionsDisabled);
6920
6103
  //TODO: Some duplication here that can be most likely moved to a util class
@@ -7797,43 +6980,39 @@ function initializeLDS() {
7797
6980
  // Initializes OneStore in LEX
7798
6981
  function initializeOneStore(luvio) {
7799
6982
  const loggerService = new ConsoleLogger$1('ERROR');
7800
- const cacheServiceDescriptor = buildServiceDescriptor$7();
7801
- const instrumentationServiceDescriptor = buildServiceDescriptor$8(loggerService);
6983
+ const cacheServiceDescriptor = buildServiceDescriptor$8();
6984
+ const instrumentationServiceDescriptor = buildServiceDescriptor$9(loggerService);
7802
6985
  const inMemoryCacheInclusionPolicyServiceDescriptor = buildInMemoryCacheInclusionPolicyService(cacheServiceDescriptor.service);
6986
+ const featureFlagsServiceDescriptor = buildServiceDescriptor$1();
6987
+ const featureFlagsService = featureFlagsServiceDescriptor.service;
6988
+ // set flags based on gates
6989
+ featureFlagsService.set('useOneStoreGraphQL', useOneStoreGraphql.isOpen({ fallback: false }));
7803
6990
  const services = [
7804
6991
  instrumentationServiceDescriptor,
7805
6992
  buildUnauthorizedFetchServiceDescriptor(),
7806
6993
  buildJwtAuthorizedSfapFetchServiceDescriptor(loggerService),
7807
6994
  buildCopilotFetchServiceDescriptor(loggerService),
7808
6995
  buildAuraNetworkService(),
7809
- buildServiceDescriptor$9(instrumentationServiceDescriptor.service),
7810
- buildServiceDescriptor$6(cacheServiceDescriptor.service, inMemoryCacheInclusionPolicyServiceDescriptor.service),
7811
- buildServiceDescriptor$g(),
7812
- buildServiceDescriptor$4(),
7813
- buildServiceDescriptor$c(),
6996
+ buildServiceDescriptor$a(instrumentationServiceDescriptor.service),
6997
+ buildServiceDescriptor$7(cacheServiceDescriptor.service, inMemoryCacheInclusionPolicyServiceDescriptor.service),
7814
6998
  buildServiceDescriptor$h(),
6999
+ buildServiceDescriptor$5(),
7000
+ buildServiceDescriptor$d(),
7001
+ buildServiceDescriptor$i(),
7002
+ buildServiceDescriptor$c(),
7815
7003
  buildServiceDescriptor$b(),
7816
- buildServiceDescriptor$a(),
7004
+ buildServiceDescriptor$g(),
7817
7005
  buildServiceDescriptor$f(),
7818
7006
  buildServiceDescriptor$e(),
7819
- buildServiceDescriptor$d(),
7820
- buildServiceDescriptor$5(),
7007
+ buildServiceDescriptor$6(),
7821
7008
  buildLexRuntimeFetchServiceDescriptor(loggerService),
7822
- buildServiceDescriptor$3(luvio),
7009
+ buildServiceDescriptor$4(luvio),
7010
+ buildServiceDescriptor$3(),
7823
7011
  buildServiceDescriptor$2(),
7824
- buildServiceDescriptor$1(),
7012
+ featureFlagsServiceDescriptor,
7825
7013
  ];
7826
7014
  setServices(services);
7827
7015
  }
7828
- function initializeOnestoreUiApiAdapters() {
7829
- // W-17577671 - UIAPI adapters need to be updated to new onestore spec
7830
- // ldsAdaptersUiapiConfig.setGetObjectInfoAdapter(getObjectInfo);
7831
- // ldsAdaptersUiapiConfig.setGetObjectInfosAdapter(getObjectInfos);
7832
- if (useOneStoreGraphql.isOpen({ fallback: false })) {
7833
- configuration.setGraphQLWireAdapter(graphql);
7834
- configuration.setGraphQLImperativeQueryAdapter(graphql_imperative);
7835
- }
7836
- }
7837
7016
  function buildAuraNetworkService() {
7838
7017
  return {
7839
7018
  type: 'auraNetwork',
@@ -7846,11 +7025,8 @@ function ldsEngineCreator() {
7846
7025
  const luvio = initializeLDS();
7847
7026
  // One store initialization needs to happen first in order to set the one store adapter correctly in configuration object.
7848
7027
  initializeOneStore(luvio);
7849
- if (oneStoreUiapiEnabled.isOpen({ fallback: false })) {
7850
- initializeOnestoreUiApiAdapters();
7851
- }
7852
7028
  return { name: 'ldsEngineCreator' };
7853
7029
  }
7854
7030
 
7855
7031
  export { LexRequestStrategy, PdlRequestPriority, buildPredictorForContext, ldsEngineCreator as default, initializeLDS, initializeOneStore, registerRequestStrategy, saveRequestAsPrediction, unregisterRequestStrategy, whenPredictionsReady };
7856
- // version: 1.375.0-7d9732a1a7
7032
+ // version: 1.377.0-3c95caf11c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.375.0",
3
+ "version": "1.377.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Aura runtime",
6
6
  "main": "dist/ldsEngineCreator.js",
@@ -34,45 +34,46 @@
34
34
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-aura"
35
35
  },
36
36
  "devDependencies": {
37
- "@luvio/service-provisioner": "5.49.0",
38
- "@luvio/tools-core": "5.49.0",
39
- "@salesforce/lds-adapters-apex": "^1.375.0",
40
- "@salesforce/lds-adapters-uiapi": "^1.375.0",
37
+ "@luvio/service-provisioner": "5.54.0",
38
+ "@luvio/tools-core": "5.54.0",
39
+ "@salesforce/lds-adapters-apex": "^1.377.0",
40
+ "@salesforce/lds-adapters-uiapi": "^1.377.0",
41
41
  "@salesforce/lds-adapters-uiapi-lex": "^1.371.0",
42
- "@salesforce/lds-ads-bridge": "^1.375.0",
43
- "@salesforce/lds-aura-storage": "^1.375.0",
44
- "@salesforce/lds-bindings": "^1.375.0",
45
- "@salesforce/lds-instrumentation": "^1.375.0",
46
- "@salesforce/lds-network-aura": "^1.375.0",
47
- "@salesforce/lds-network-fetch": "^1.375.0",
42
+ "@salesforce/lds-ads-bridge": "^1.377.0",
43
+ "@salesforce/lds-aura-storage": "^1.377.0",
44
+ "@salesforce/lds-bindings": "^1.377.0",
45
+ "@salesforce/lds-instrumentation": "^1.377.0",
46
+ "@salesforce/lds-network-aura": "^1.377.0",
47
+ "@salesforce/lds-network-fetch": "^1.377.0",
48
48
  "jwt-encode": "1.0.1"
49
49
  },
50
50
  "dependencies": {
51
- "@luvio/command-aura-graphql-normalized-cache-control": "5.49.0",
52
- "@luvio/command-aura-network": "5.49.0",
53
- "@luvio/command-aura-normalized-cache-control": "5.49.0",
54
- "@luvio/command-aura-resource-cache-control": "5.49.0",
55
- "@luvio/command-fetch-network": "5.49.0",
56
- "@luvio/command-http-graphql-normalized-cache-control": "5.49.0",
57
- "@luvio/command-http-normalized-cache-control": "5.49.0",
58
- "@luvio/command-ndjson": "5.49.0",
59
- "@luvio/command-network": "5.49.0",
60
- "@luvio/command-sse": "5.49.0",
61
- "@luvio/command-streaming": "5.49.0",
51
+ "@luvio/command-aura-graphql-normalized-cache-control": "5.54.0",
52
+ "@luvio/command-aura-network": "5.54.0",
53
+ "@luvio/command-aura-normalized-cache-control": "5.54.0",
54
+ "@luvio/command-aura-resource-cache-control": "5.54.0",
55
+ "@luvio/command-fetch-network": "5.54.0",
56
+ "@luvio/command-http-graphql-normalized-cache-control": "5.54.0",
57
+ "@luvio/command-http-normalized-cache-control": "5.54.0",
58
+ "@luvio/command-ndjson": "5.54.0",
59
+ "@luvio/command-network": "5.54.0",
60
+ "@luvio/command-sse": "5.54.0",
61
+ "@luvio/command-streaming": "5.54.0",
62
62
  "@luvio/network-adapter-composable": "0.158.7",
63
63
  "@luvio/network-adapter-fetch": "0.158.7",
64
- "@luvio/service-aura-network": "5.49.0",
65
- "@luvio/service-cache": "5.49.0",
66
- "@luvio/service-cache-control": "5.49.0",
67
- "@luvio/service-cache-inclusion-policy": "5.49.0",
68
- "@luvio/service-fetch-network": "5.49.0",
69
- "@luvio/service-instrument-command": "5.49.0",
70
- "@luvio/service-pubsub": "5.49.0",
71
- "@luvio/service-store": "5.49.0",
72
- "@luvio/utils": "5.49.0",
73
- "@salesforce/lds-adapters-onestore-graphql": "^1.375.0",
74
- "@salesforce/lds-adapters-uiapi-lex": "^1.375.0",
75
- "@salesforce/lds-luvio-service": "^1.375.0"
64
+ "@luvio/service-aura-network": "5.54.0",
65
+ "@luvio/service-cache": "5.54.0",
66
+ "@luvio/service-cache-control": "5.54.0",
67
+ "@luvio/service-cache-inclusion-policy": "5.54.0",
68
+ "@luvio/service-feature-flags": "5.54.0",
69
+ "@luvio/service-fetch-network": "5.54.0",
70
+ "@luvio/service-instrument-command": "5.54.0",
71
+ "@luvio/service-pubsub": "5.54.0",
72
+ "@luvio/service-store": "5.54.0",
73
+ "@luvio/utils": "5.54.0",
74
+ "@salesforce/lds-adapters-onestore-graphql": "^1.377.0",
75
+ "@salesforce/lds-adapters-uiapi-lex": "^1.377.0",
76
+ "@salesforce/lds-luvio-service": "^1.377.0"
76
77
  },
77
78
  "luvioBundlesize": [
78
79
  {