@salesforce/lds-runtime-mobile 1.412.1 → 1.413.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.
package/dist/main.js CHANGED
@@ -27,6 +27,7 @@ import graphqlRelationshipFieldsPerf from '@salesforce/gate/lds.graphqlRelations
27
27
  import FIRST_DAY_OF_WEEK from '@salesforce/i18n/firstDayOfWeek';
28
28
  import graphqQueryFieldLimit from '@salesforce/gate/lmr.graphqQueryFieldLimit';
29
29
  import graphqlPartialEmitParity from '@salesforce/gate/lmr.graphqlPartialEmitParity';
30
+ import { pdpEventSchema } from 'o11y_schema/sf_pdp';
30
31
  import { instrument as instrument$1 } from '@salesforce/lds-bindings';
31
32
  import ldsAdapterO11yLoggingGate from '@salesforce/gate/lmr.ldsAdapterO11yLogging';
32
33
  import LOCALE from '@salesforce/i18n/locale';
@@ -59,7 +60,7 @@ const { join: join$1, push: push$2, unshift } = Array.prototype;
59
60
  const { isArray: isArray$5 } = Array;
60
61
  const { entries: entries$4, keys: keys$6 } = Object;
61
62
 
62
- const UI_API_BASE_URI = '/services/data/v66.0/ui-api';
63
+ const UI_API_BASE_URI = '/services/data/v67.0/ui-api';
63
64
 
64
65
  let instrumentation$3 = {
65
66
  aggregateUiChunkCount: (_cb) => { },
@@ -7355,7 +7356,7 @@ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
7355
7356
  function createResourceRequest$l(config) {
7356
7357
  const headers = {};
7357
7358
  return {
7358
- baseUri: '/services/data/v66.0',
7359
+ baseUri: '/services/data/v67.0',
7359
7360
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
7360
7361
  method: 'get',
7361
7362
  body: null,
@@ -7821,7 +7822,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
7821
7822
  function createResourceRequest$k(config) {
7822
7823
  const headers = {};
7823
7824
  return {
7824
- baseUri: '/services/data/v66.0',
7825
+ baseUri: '/services/data/v67.0',
7825
7826
  basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
7826
7827
  method: 'get',
7827
7828
  body: null,
@@ -9317,7 +9318,7 @@ function createPaginationParams$5(params) {
9317
9318
  function createResourceRequest$j(config) {
9318
9319
  const headers = {};
9319
9320
  return {
9320
- baseUri: '/services/data/v66.0',
9321
+ baseUri: '/services/data/v67.0',
9321
9322
  basePath: '/ui-api/list-ui/' +
9322
9323
  config.urlParams.objectApiName +
9323
9324
  '/' +
@@ -9375,7 +9376,7 @@ function createPaginationParams$4(params) {
9375
9376
  function createResourceRequest$i(config) {
9376
9377
  const headers = {};
9377
9378
  return {
9378
- baseUri: '/services/data/v66.0',
9379
+ baseUri: '/services/data/v67.0',
9379
9380
  basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
9380
9381
  method: 'get',
9381
9382
  body: null,
@@ -9421,7 +9422,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
9421
9422
  function createResourceRequest$h(config) {
9422
9423
  const headers = {};
9423
9424
  return {
9424
- baseUri: '/services/data/v66.0',
9425
+ baseUri: '/services/data/v67.0',
9425
9426
  basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
9426
9427
  method: 'get',
9427
9428
  body: null,
@@ -9780,7 +9781,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
9780
9781
  function createResourceRequest$g(config) {
9781
9782
  const headers = {};
9782
9783
  return {
9783
- baseUri: '/services/data/v66.0',
9784
+ baseUri: '/services/data/v67.0',
9784
9785
  basePath: '/ui-api/list-records/' +
9785
9786
  config.urlParams.objectApiName +
9786
9787
  '/' +
@@ -10676,7 +10677,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
10676
10677
  function createResourceRequest$f(config) {
10677
10678
  const headers = {};
10678
10679
  return {
10679
- baseUri: '/services/data/v66.0',
10680
+ baseUri: '/services/data/v67.0',
10680
10681
  basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
10681
10682
  method: 'get',
10682
10683
  body: null,
@@ -10876,7 +10877,7 @@ function keyBuilder$1D(luvio, params) {
10876
10877
  function createResourceRequest$e(config) {
10877
10878
  const headers = {};
10878
10879
  return {
10879
- baseUri: '/services/data/v66.0',
10880
+ baseUri: '/services/data/v67.0',
10880
10881
  basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
10881
10882
  method: 'get',
10882
10883
  body: null,
@@ -10922,7 +10923,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
10922
10923
  function createResourceRequest$d(config) {
10923
10924
  const headers = {};
10924
10925
  return {
10925
- baseUri: '/services/data/v66.0',
10926
+ baseUri: '/services/data/v67.0',
10926
10927
  basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
10927
10928
  method: 'get',
10928
10929
  body: null,
@@ -14523,7 +14524,7 @@ const ingest$1g = function RecordUiRepresentationIngest(input, path, luvio, stor
14523
14524
  function createResourceRequest$c(config) {
14524
14525
  const headers = {};
14525
14526
  return {
14526
- baseUri: '/services/data/v66.0',
14527
+ baseUri: '/services/data/v67.0',
14527
14528
  basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
14528
14529
  method: 'get',
14529
14530
  body: null,
@@ -15871,7 +15872,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
15871
15872
  function createResourceRequest$b(config) {
15872
15873
  const headers = {};
15873
15874
  return {
15874
- baseUri: '/services/data/v66.0',
15875
+ baseUri: '/services/data/v67.0',
15875
15876
  basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
15876
15877
  method: 'get',
15877
15878
  body: null,
@@ -17716,7 +17717,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
17716
17717
  function createResourceRequest$a(config) {
17717
17718
  const headers = {};
17718
17719
  return {
17719
- baseUri: '/services/data/v66.0',
17720
+ baseUri: '/services/data/v67.0',
17720
17721
  basePath: '/ui-api/related-list-records/' +
17721
17722
  config.urlParams.parentRecordId +
17722
17723
  '/' +
@@ -18050,7 +18051,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
18050
18051
  function createResourceRequest$9(config) {
18051
18052
  const headers = {};
18052
18053
  return {
18053
- baseUri: '/services/data/v66.0',
18054
+ baseUri: '/services/data/v67.0',
18054
18055
  basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
18055
18056
  method: 'post',
18056
18057
  body: config.body,
@@ -19627,7 +19628,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
19627
19628
  function createResourceRequest$8(config) {
19628
19629
  const headers = {};
19629
19630
  return {
19630
- baseUri: '/services/data/v66.0',
19631
+ baseUri: '/services/data/v67.0',
19631
19632
  basePath: '/ui-api/search/results',
19632
19633
  method: 'post',
19633
19634
  body: config.body,
@@ -19951,7 +19952,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
19951
19952
  function createResourceRequest$7(config) {
19952
19953
  const headers = {};
19953
19954
  return {
19954
- baseUri: '/services/data/v66.0',
19955
+ baseUri: '/services/data/v67.0',
19955
19956
  basePath: '/ui-api/search/results/keyword',
19956
19957
  method: 'post',
19957
19958
  body: config.body,
@@ -20505,7 +20506,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
20505
20506
  function createResourceRequest$6(config) {
20506
20507
  const headers = {};
20507
20508
  return {
20508
- baseUri: '/services/data/v66.0',
20509
+ baseUri: '/services/data/v67.0',
20509
20510
  basePath: '/ui-api/lookups/' +
20510
20511
  config.urlParams.objectApiName +
20511
20512
  '/' +
@@ -21441,7 +21442,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
21441
21442
  function createResourceRequest$5(config) {
21442
21443
  const headers = {};
21443
21444
  return {
21444
- baseUri: '/services/data/v66.0',
21445
+ baseUri: '/services/data/v67.0',
21445
21446
  basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
21446
21447
  method: 'get',
21447
21448
  body: null,
@@ -22141,7 +22142,7 @@ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
22141
22142
  function createResourceRequest$4(config) {
22142
22143
  const headers = {};
22143
22144
  return {
22144
- baseUri: '/services/data/v66.0',
22145
+ baseUri: '/services/data/v67.0',
22145
22146
  basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
22146
22147
  method: 'get',
22147
22148
  body: null,
@@ -22837,7 +22838,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
22837
22838
  function createResourceRequest$3(config) {
22838
22839
  const headers = {};
22839
22840
  return {
22840
- baseUri: '/services/data/v66.0',
22841
+ baseUri: '/services/data/v67.0',
22841
22842
  basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
22842
22843
  method: 'get',
22843
22844
  body: null,
@@ -52052,6 +52053,9 @@ function instrumentContentDocumentVersionAdapter(adapter) {
52052
52053
  const GRAPHQL_LEGACY_ADAPTER_NAME = 'graphQL';
52053
52054
  const GRAPHQL_ADAPTER_NAME = 'graphql';
52054
52055
  const CREATE_CONTENT_DOCUMENT_AND_VERSION_ADAPTER = 'createContentDocumentAndVersion';
52056
+ const VERTICAL_NAV_FEATURE_ID = 'aJCEE00000018px4AA'; // Product Feature ID for Lightning SDK
52057
+ const NAMESPACE = 'lds';
52058
+ const ldsInstrumentation = getInstrumentation(NAMESPACE);
52055
52059
  let reportObservers = [];
52056
52060
  function instrumentAdapter(adapter, metadata) {
52057
52061
  let instrumentedMobileAdapter = adapter;
@@ -52075,6 +52079,13 @@ function instrumentAdapter(adapter, metadata) {
52075
52079
  for (const observer of reportObservers) {
52076
52080
  observer(report);
52077
52081
  }
52082
+ if (pdpEventSchema) {
52083
+ ldsInstrumentation.log(pdpEventSchema, {
52084
+ event_name: 'lsdkLDSAdapter.invoked',
52085
+ productFeatureId: VERTICAL_NAV_FEATURE_ID,
52086
+ contextName: metadata.name,
52087
+ });
52088
+ }
52078
52089
  },
52079
52090
  });
52080
52091
  }
@@ -53570,7 +53581,7 @@ class PrimingNetworkError extends Error {
53570
53581
  }
53571
53582
 
53572
53583
  // note this is automatically incremented by scripts/release/bump-api-version.js at each release
53573
- const apiVersion$1 = `v66.0`;
53584
+ const apiVersion$1 = `v67.0`;
53574
53585
  const basePath = `/services/data/${apiVersion$1}`;
53575
53586
 
53576
53587
  class NetworkRecordLoader {
@@ -54074,7 +54085,7 @@ function instrumentPrimingSession(session) {
54074
54085
  // so eslint doesn't complain about nimbus
54075
54086
  /* global __nimbus */
54076
54087
  // note this is automatically incremented by scripts/release/bump-api-version.js at each release
54077
- const apiVersion = `v66.0`;
54088
+ const apiVersion = `v67.0`;
54078
54089
  const batchObjectInfoEndpoint = `/services/data/${apiVersion}/ui-api/object-info/batch`;
54079
54090
  const objectInfoDirectoryEndpoint = `/services/data/${apiVersion}/ui-api/object-info`;
54080
54091
  class NimbusPrimingNetworkAdapter {
@@ -54503,7 +54514,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
54503
54514
  function createResourceRequest$2(config) {
54504
54515
  const headers = {};
54505
54516
  return {
54506
- baseUri: '/services/data/v66.0',
54517
+ baseUri: '/services/data/v67.0',
54507
54518
  basePath: '/graphql',
54508
54519
  method: 'post',
54509
54520
  body: { ...config.body, query: print(config.body.query) },
@@ -54629,7 +54640,7 @@ function createResourceRequest(config) {
54629
54640
  const headers = {};
54630
54641
  const transformedConfig = stripDocumentsOfMetaschema(config);
54631
54642
  return {
54632
- baseUri: '/services/data/v66.0',
54643
+ baseUri: '/services/data/v67.0',
54633
54644
  basePath: '/graphql/batch',
54634
54645
  method: 'post',
54635
54646
  body: transformedConfig.body,
@@ -56277,7 +56288,10 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56277
56288
  coerceAuraErrors(auraErrors) {
56278
56289
  return toError(auraErrors[0]);
56279
56290
  }
56280
- async coerceFetchErrors(errorResponse) {
56291
+ /**
56292
+ * Customize how non-2xx fetch fallback responses are converted into errors.
56293
+ */
56294
+ async coerceError(errorResponse) {
56281
56295
  return toError(errorResponse.statusText);
56282
56296
  }
56283
56297
  convertAuraResponseToData(responsePromise, coerceError) {
@@ -56315,7 +56329,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56315
56329
  }
56316
56330
  });
56317
56331
  } else {
56318
- return this.coerceFetchErrors(response2).then((coercedError) => {
56332
+ return this.coerceError(response2).then((coercedError) => {
56319
56333
  return err$1(coercedError);
56320
56334
  }).finally(() => {
56321
56335
  try {
@@ -56956,7 +56970,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
56956
56970
  coerceAuraErrors(auraErrors) {
56957
56971
  return toError(auraErrors[0]);
56958
56972
  }
56959
- async coerceFetchError(errorResponse) {
56973
+ async coerceError(errorResponse) {
56960
56974
  return toError(errorResponse.statusText);
56961
56975
  }
56962
56976
  processAuraReturnValue(auraReturnValue) {
@@ -57002,7 +57016,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
57002
57016
  }
57003
57017
  });
57004
57018
  } else {
57005
- return this.coerceFetchError(response2).then((coercedError) => {
57019
+ return this.coerceError(response2).then((coercedError) => {
57006
57020
  return err$1(coercedError);
57007
57021
  }).finally(() => {
57008
57022
  try {
@@ -57100,7 +57114,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
57100
57114
  coerceAuraErrors(auraErrors) {
57101
57115
  return toError(auraErrors[0]);
57102
57116
  }
57103
- async coerceFetchError(errorResponse) {
57117
+ async coerceError(errorResponse) {
57104
57118
  return toError(errorResponse.statusText);
57105
57119
  }
57106
57120
  processAuraReturnValue(auraReturnValue) {
@@ -57146,7 +57160,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
57146
57160
  }
57147
57161
  });
57148
57162
  } else {
57149
- return this.coerceFetchError(response2).then((coercedError) => {
57163
+ return this.coerceError(response2).then((coercedError) => {
57150
57164
  return err$1(coercedError);
57151
57165
  }).finally(() => {
57152
57166
  try {
@@ -58406,7 +58420,7 @@ function buildServiceDescriptor$b(luvio) {
58406
58420
  },
58407
58421
  };
58408
58422
  }
58409
- // version: 1.412.1-944b7de7af
58423
+ // version: 1.413.0-8cd312301b
58410
58424
 
58411
58425
  /**
58412
58426
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58432,7 +58446,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
58432
58446
  },
58433
58447
  };
58434
58448
  }
58435
- // version: 1.412.1-944b7de7af
58449
+ // version: 1.413.0-8cd312301b
58436
58450
 
58437
58451
  /*!
58438
58452
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -61020,4 +61034,4 @@ register({
61020
61034
  });
61021
61035
 
61022
61036
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
61023
- // version: 1.412.1-054d9a1111
61037
+ // version: 1.413.0-a073c11951
@@ -0,0 +1 @@
1
+ export declare const pdpEventSchema: {};
@@ -1,2 +1,2 @@
1
- export declare const apiVersion = "v66.0";
1
+ export declare const apiVersion = "v67.0";
2
2
  export declare const basePath: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.412.1",
3
+ "version": "1.413.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
@@ -32,44 +32,44 @@
32
32
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
33
33
  },
34
34
  "dependencies": {
35
- "@conduit-client/service-bindings-imperative": "3.7.1",
36
- "@conduit-client/service-bindings-lwc": "3.7.1",
37
- "@conduit-client/service-provisioner": "3.7.1",
38
- "@salesforce/lds-adapters-uiapi": "^1.412.1",
39
- "@salesforce/lds-bindings": "^1.412.1",
40
- "@salesforce/lds-instrumentation": "^1.412.1",
41
- "@salesforce/lds-luvio-service": "^1.412.1",
42
- "@salesforce/lds-luvio-uiapi-records-service": "^1.412.1",
35
+ "@conduit-client/service-bindings-imperative": "3.8.0",
36
+ "@conduit-client/service-bindings-lwc": "3.8.0",
37
+ "@conduit-client/service-provisioner": "3.8.0",
38
+ "@salesforce/lds-adapters-uiapi": "^1.413.0",
39
+ "@salesforce/lds-bindings": "^1.413.0",
40
+ "@salesforce/lds-instrumentation": "^1.413.0",
41
+ "@salesforce/lds-luvio-service": "^1.413.0",
42
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.413.0",
43
43
  "@salesforce/user": "0.0.21",
44
44
  "o11y": "250.7.0",
45
45
  "o11y_schema": "256.126.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@conduit-client/command-aura-network": "3.7.1",
49
- "@conduit-client/command-aura-normalized-cache-control": "3.7.1",
50
- "@conduit-client/command-aura-resource-cache-control": "3.7.1",
51
- "@conduit-client/command-fetch-network": "3.7.1",
52
- "@conduit-client/command-http-normalized-cache-control": "3.7.1",
53
- "@conduit-client/command-network": "3.7.1",
54
- "@conduit-client/service-cache": "3.7.1",
55
- "@conduit-client/service-cache-control": "3.7.1",
56
- "@conduit-client/service-cache-inclusion-policy": "3.7.1",
57
- "@conduit-client/service-fetch-network": "3.7.1",
58
- "@conduit-client/service-instrument-command": "3.7.1",
59
- "@conduit-client/service-instrumentation": "3.7.1",
60
- "@conduit-client/service-pubsub": "3.7.1",
61
- "@conduit-client/service-store": "3.7.1",
62
- "@conduit-client/utils": "3.7.1",
63
- "@salesforce/lds-adapters-graphql": "^1.412.1",
64
- "@salesforce/lds-drafts": "^1.412.1",
65
- "@salesforce/lds-durable-records": "^1.412.1",
66
- "@salesforce/lds-network-adapter": "^1.412.1",
67
- "@salesforce/lds-network-nimbus": "^1.412.1",
68
- "@salesforce/lds-store-binary": "^1.412.1",
69
- "@salesforce/lds-store-nimbus": "^1.412.1",
70
- "@salesforce/lds-store-sql": "^1.412.1",
71
- "@salesforce/lds-utils-adapters": "^1.412.1",
72
- "@salesforce/nimbus-plugin-lds": "^1.412.1",
48
+ "@conduit-client/command-aura-network": "3.8.0",
49
+ "@conduit-client/command-aura-normalized-cache-control": "3.8.0",
50
+ "@conduit-client/command-aura-resource-cache-control": "3.8.0",
51
+ "@conduit-client/command-fetch-network": "3.8.0",
52
+ "@conduit-client/command-http-normalized-cache-control": "3.8.0",
53
+ "@conduit-client/command-network": "3.8.0",
54
+ "@conduit-client/service-cache": "3.8.0",
55
+ "@conduit-client/service-cache-control": "3.8.0",
56
+ "@conduit-client/service-cache-inclusion-policy": "3.8.0",
57
+ "@conduit-client/service-fetch-network": "3.8.0",
58
+ "@conduit-client/service-instrument-command": "3.8.0",
59
+ "@conduit-client/service-instrumentation": "3.8.0",
60
+ "@conduit-client/service-pubsub": "3.8.0",
61
+ "@conduit-client/service-store": "3.8.0",
62
+ "@conduit-client/utils": "3.8.0",
63
+ "@salesforce/lds-adapters-graphql": "^1.413.0",
64
+ "@salesforce/lds-drafts": "^1.413.0",
65
+ "@salesforce/lds-durable-records": "^1.413.0",
66
+ "@salesforce/lds-network-adapter": "^1.413.0",
67
+ "@salesforce/lds-network-nimbus": "^1.413.0",
68
+ "@salesforce/lds-store-binary": "^1.413.0",
69
+ "@salesforce/lds-store-nimbus": "^1.413.0",
70
+ "@salesforce/lds-store-sql": "^1.413.0",
71
+ "@salesforce/lds-utils-adapters": "^1.413.0",
72
+ "@salesforce/nimbus-plugin-lds": "^1.413.0",
73
73
  "babel-plugin-dynamic-import-node": "^2.3.3",
74
74
  "wait-for-expect": "^3.0.2"
75
75
  },
package/sfdc/main.js CHANGED
@@ -27,6 +27,7 @@ import graphqlRelationshipFieldsPerf from '@salesforce/gate/lds.graphqlRelations
27
27
  import FIRST_DAY_OF_WEEK from '@salesforce/i18n/firstDayOfWeek';
28
28
  import graphqQueryFieldLimit from '@salesforce/gate/lmr.graphqQueryFieldLimit';
29
29
  import graphqlPartialEmitParity from '@salesforce/gate/lmr.graphqlPartialEmitParity';
30
+ import { pdpEventSchema } from 'o11y_schema/sf_pdp';
30
31
  import { instrument as instrument$1 } from 'force/ldsBindings';
31
32
  import ldsAdapterO11yLoggingGate from '@salesforce/gate/lmr.ldsAdapterO11yLogging';
32
33
  import LOCALE from '@salesforce/i18n/locale';
@@ -59,7 +60,7 @@ const { join: join$1, push: push$2, unshift } = Array.prototype;
59
60
  const { isArray: isArray$5 } = Array;
60
61
  const { entries: entries$4, keys: keys$6 } = Object;
61
62
 
62
- const UI_API_BASE_URI = '/services/data/v66.0/ui-api';
63
+ const UI_API_BASE_URI = '/services/data/v67.0/ui-api';
63
64
 
64
65
  let instrumentation$3 = {
65
66
  aggregateUiChunkCount: (_cb) => { },
@@ -7355,7 +7356,7 @@ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
7355
7356
  function createResourceRequest$l(config) {
7356
7357
  const headers = {};
7357
7358
  return {
7358
- baseUri: '/services/data/v66.0',
7359
+ baseUri: '/services/data/v67.0',
7359
7360
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
7360
7361
  method: 'get',
7361
7362
  body: null,
@@ -7821,7 +7822,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
7821
7822
  function createResourceRequest$k(config) {
7822
7823
  const headers = {};
7823
7824
  return {
7824
- baseUri: '/services/data/v66.0',
7825
+ baseUri: '/services/data/v67.0',
7825
7826
  basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
7826
7827
  method: 'get',
7827
7828
  body: null,
@@ -9317,7 +9318,7 @@ function createPaginationParams$5(params) {
9317
9318
  function createResourceRequest$j(config) {
9318
9319
  const headers = {};
9319
9320
  return {
9320
- baseUri: '/services/data/v66.0',
9321
+ baseUri: '/services/data/v67.0',
9321
9322
  basePath: '/ui-api/list-ui/' +
9322
9323
  config.urlParams.objectApiName +
9323
9324
  '/' +
@@ -9375,7 +9376,7 @@ function createPaginationParams$4(params) {
9375
9376
  function createResourceRequest$i(config) {
9376
9377
  const headers = {};
9377
9378
  return {
9378
- baseUri: '/services/data/v66.0',
9379
+ baseUri: '/services/data/v67.0',
9379
9380
  basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
9380
9381
  method: 'get',
9381
9382
  body: null,
@@ -9421,7 +9422,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
9421
9422
  function createResourceRequest$h(config) {
9422
9423
  const headers = {};
9423
9424
  return {
9424
- baseUri: '/services/data/v66.0',
9425
+ baseUri: '/services/data/v67.0',
9425
9426
  basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
9426
9427
  method: 'get',
9427
9428
  body: null,
@@ -9780,7 +9781,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
9780
9781
  function createResourceRequest$g(config) {
9781
9782
  const headers = {};
9782
9783
  return {
9783
- baseUri: '/services/data/v66.0',
9784
+ baseUri: '/services/data/v67.0',
9784
9785
  basePath: '/ui-api/list-records/' +
9785
9786
  config.urlParams.objectApiName +
9786
9787
  '/' +
@@ -10676,7 +10677,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
10676
10677
  function createResourceRequest$f(config) {
10677
10678
  const headers = {};
10678
10679
  return {
10679
- baseUri: '/services/data/v66.0',
10680
+ baseUri: '/services/data/v67.0',
10680
10681
  basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
10681
10682
  method: 'get',
10682
10683
  body: null,
@@ -10876,7 +10877,7 @@ function keyBuilder$1D(luvio, params) {
10876
10877
  function createResourceRequest$e(config) {
10877
10878
  const headers = {};
10878
10879
  return {
10879
- baseUri: '/services/data/v66.0',
10880
+ baseUri: '/services/data/v67.0',
10880
10881
  basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
10881
10882
  method: 'get',
10882
10883
  body: null,
@@ -10922,7 +10923,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
10922
10923
  function createResourceRequest$d(config) {
10923
10924
  const headers = {};
10924
10925
  return {
10925
- baseUri: '/services/data/v66.0',
10926
+ baseUri: '/services/data/v67.0',
10926
10927
  basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
10927
10928
  method: 'get',
10928
10929
  body: null,
@@ -14523,7 +14524,7 @@ const ingest$1g = function RecordUiRepresentationIngest(input, path, luvio, stor
14523
14524
  function createResourceRequest$c(config) {
14524
14525
  const headers = {};
14525
14526
  return {
14526
- baseUri: '/services/data/v66.0',
14527
+ baseUri: '/services/data/v67.0',
14527
14528
  basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
14528
14529
  method: 'get',
14529
14530
  body: null,
@@ -15871,7 +15872,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
15871
15872
  function createResourceRequest$b(config) {
15872
15873
  const headers = {};
15873
15874
  return {
15874
- baseUri: '/services/data/v66.0',
15875
+ baseUri: '/services/data/v67.0',
15875
15876
  basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
15876
15877
  method: 'get',
15877
15878
  body: null,
@@ -17716,7 +17717,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
17716
17717
  function createResourceRequest$a(config) {
17717
17718
  const headers = {};
17718
17719
  return {
17719
- baseUri: '/services/data/v66.0',
17720
+ baseUri: '/services/data/v67.0',
17720
17721
  basePath: '/ui-api/related-list-records/' +
17721
17722
  config.urlParams.parentRecordId +
17722
17723
  '/' +
@@ -18050,7 +18051,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
18050
18051
  function createResourceRequest$9(config) {
18051
18052
  const headers = {};
18052
18053
  return {
18053
- baseUri: '/services/data/v66.0',
18054
+ baseUri: '/services/data/v67.0',
18054
18055
  basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
18055
18056
  method: 'post',
18056
18057
  body: config.body,
@@ -19627,7 +19628,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
19627
19628
  function createResourceRequest$8(config) {
19628
19629
  const headers = {};
19629
19630
  return {
19630
- baseUri: '/services/data/v66.0',
19631
+ baseUri: '/services/data/v67.0',
19631
19632
  basePath: '/ui-api/search/results',
19632
19633
  method: 'post',
19633
19634
  body: config.body,
@@ -19951,7 +19952,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
19951
19952
  function createResourceRequest$7(config) {
19952
19953
  const headers = {};
19953
19954
  return {
19954
- baseUri: '/services/data/v66.0',
19955
+ baseUri: '/services/data/v67.0',
19955
19956
  basePath: '/ui-api/search/results/keyword',
19956
19957
  method: 'post',
19957
19958
  body: config.body,
@@ -20505,7 +20506,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
20505
20506
  function createResourceRequest$6(config) {
20506
20507
  const headers = {};
20507
20508
  return {
20508
- baseUri: '/services/data/v66.0',
20509
+ baseUri: '/services/data/v67.0',
20509
20510
  basePath: '/ui-api/lookups/' +
20510
20511
  config.urlParams.objectApiName +
20511
20512
  '/' +
@@ -21441,7 +21442,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
21441
21442
  function createResourceRequest$5(config) {
21442
21443
  const headers = {};
21443
21444
  return {
21444
- baseUri: '/services/data/v66.0',
21445
+ baseUri: '/services/data/v67.0',
21445
21446
  basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
21446
21447
  method: 'get',
21447
21448
  body: null,
@@ -22141,7 +22142,7 @@ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
22141
22142
  function createResourceRequest$4(config) {
22142
22143
  const headers = {};
22143
22144
  return {
22144
- baseUri: '/services/data/v66.0',
22145
+ baseUri: '/services/data/v67.0',
22145
22146
  basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
22146
22147
  method: 'get',
22147
22148
  body: null,
@@ -22837,7 +22838,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
22837
22838
  function createResourceRequest$3(config) {
22838
22839
  const headers = {};
22839
22840
  return {
22840
- baseUri: '/services/data/v66.0',
22841
+ baseUri: '/services/data/v67.0',
22841
22842
  basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
22842
22843
  method: 'get',
22843
22844
  body: null,
@@ -52052,6 +52053,9 @@ function instrumentContentDocumentVersionAdapter(adapter) {
52052
52053
  const GRAPHQL_LEGACY_ADAPTER_NAME = 'graphQL';
52053
52054
  const GRAPHQL_ADAPTER_NAME = 'graphql';
52054
52055
  const CREATE_CONTENT_DOCUMENT_AND_VERSION_ADAPTER = 'createContentDocumentAndVersion';
52056
+ const VERTICAL_NAV_FEATURE_ID = 'aJCEE00000018px4AA'; // Product Feature ID for Lightning SDK
52057
+ const NAMESPACE = 'lds';
52058
+ const ldsInstrumentation = getInstrumentation(NAMESPACE);
52055
52059
  let reportObservers = [];
52056
52060
  function instrumentAdapter(adapter, metadata) {
52057
52061
  let instrumentedMobileAdapter = adapter;
@@ -52075,6 +52079,13 @@ function instrumentAdapter(adapter, metadata) {
52075
52079
  for (const observer of reportObservers) {
52076
52080
  observer(report);
52077
52081
  }
52082
+ if (pdpEventSchema) {
52083
+ ldsInstrumentation.log(pdpEventSchema, {
52084
+ event_name: 'lsdkLDSAdapter.invoked',
52085
+ productFeatureId: VERTICAL_NAV_FEATURE_ID,
52086
+ contextName: metadata.name,
52087
+ });
52088
+ }
52078
52089
  },
52079
52090
  });
52080
52091
  }
@@ -53570,7 +53581,7 @@ class PrimingNetworkError extends Error {
53570
53581
  }
53571
53582
 
53572
53583
  // note this is automatically incremented by scripts/release/bump-api-version.js at each release
53573
- const apiVersion$1 = `v66.0`;
53584
+ const apiVersion$1 = `v67.0`;
53574
53585
  const basePath = `/services/data/${apiVersion$1}`;
53575
53586
 
53576
53587
  class NetworkRecordLoader {
@@ -54074,7 +54085,7 @@ function instrumentPrimingSession(session) {
54074
54085
  // so eslint doesn't complain about nimbus
54075
54086
  /* global __nimbus */
54076
54087
  // note this is automatically incremented by scripts/release/bump-api-version.js at each release
54077
- const apiVersion = `v66.0`;
54088
+ const apiVersion = `v67.0`;
54078
54089
  const batchObjectInfoEndpoint = `/services/data/${apiVersion}/ui-api/object-info/batch`;
54079
54090
  const objectInfoDirectoryEndpoint = `/services/data/${apiVersion}/ui-api/object-info`;
54080
54091
  class NimbusPrimingNetworkAdapter {
@@ -54503,7 +54514,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
54503
54514
  function createResourceRequest$2(config) {
54504
54515
  const headers = {};
54505
54516
  return {
54506
- baseUri: '/services/data/v66.0',
54517
+ baseUri: '/services/data/v67.0',
54507
54518
  basePath: '/graphql',
54508
54519
  method: 'post',
54509
54520
  body: { ...config.body, query: print(config.body.query) },
@@ -54629,7 +54640,7 @@ function createResourceRequest(config) {
54629
54640
  const headers = {};
54630
54641
  const transformedConfig = stripDocumentsOfMetaschema(config);
54631
54642
  return {
54632
- baseUri: '/services/data/v66.0',
54643
+ baseUri: '/services/data/v67.0',
54633
54644
  basePath: '/graphql/batch',
54634
54645
  method: 'post',
54635
54646
  body: transformedConfig.body,
@@ -56277,7 +56288,10 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56277
56288
  coerceAuraErrors(auraErrors) {
56278
56289
  return toError(auraErrors[0]);
56279
56290
  }
56280
- async coerceFetchErrors(errorResponse) {
56291
+ /**
56292
+ * Customize how non-2xx fetch fallback responses are converted into errors.
56293
+ */
56294
+ async coerceError(errorResponse) {
56281
56295
  return toError(errorResponse.statusText);
56282
56296
  }
56283
56297
  convertAuraResponseToData(responsePromise, coerceError) {
@@ -56315,7 +56329,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
56315
56329
  }
56316
56330
  });
56317
56331
  } else {
56318
- return this.coerceFetchErrors(response2).then((coercedError) => {
56332
+ return this.coerceError(response2).then((coercedError) => {
56319
56333
  return err$1(coercedError);
56320
56334
  }).finally(() => {
56321
56335
  try {
@@ -56956,7 +56970,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
56956
56970
  coerceAuraErrors(auraErrors) {
56957
56971
  return toError(auraErrors[0]);
56958
56972
  }
56959
- async coerceFetchError(errorResponse) {
56973
+ async coerceError(errorResponse) {
56960
56974
  return toError(errorResponse.statusText);
56961
56975
  }
56962
56976
  processAuraReturnValue(auraReturnValue) {
@@ -57002,7 +57016,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
57002
57016
  }
57003
57017
  });
57004
57018
  } else {
57005
- return this.coerceFetchError(response2).then((coercedError) => {
57019
+ return this.coerceError(response2).then((coercedError) => {
57006
57020
  return err$1(coercedError);
57007
57021
  }).finally(() => {
57008
57022
  try {
@@ -57100,7 +57114,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
57100
57114
  coerceAuraErrors(auraErrors) {
57101
57115
  return toError(auraErrors[0]);
57102
57116
  }
57103
- async coerceFetchError(errorResponse) {
57117
+ async coerceError(errorResponse) {
57104
57118
  return toError(errorResponse.statusText);
57105
57119
  }
57106
57120
  processAuraReturnValue(auraReturnValue) {
@@ -57146,7 +57160,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
57146
57160
  }
57147
57161
  });
57148
57162
  } else {
57149
- return this.coerceFetchError(response2).then((coercedError) => {
57163
+ return this.coerceError(response2).then((coercedError) => {
57150
57164
  return err$1(coercedError);
57151
57165
  }).finally(() => {
57152
57166
  try {
@@ -58406,7 +58420,7 @@ function buildServiceDescriptor$b(luvio) {
58406
58420
  },
58407
58421
  };
58408
58422
  }
58409
- // version: 1.412.1-944b7de7af
58423
+ // version: 1.413.0-8cd312301b
58410
58424
 
58411
58425
  /**
58412
58426
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -58432,7 +58446,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
58432
58446
  },
58433
58447
  };
58434
58448
  }
58435
- // version: 1.412.1-944b7de7af
58449
+ // version: 1.413.0-8cd312301b
58436
58450
 
58437
58451
  /*!
58438
58452
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -61020,4 +61034,4 @@ register({
61020
61034
  });
61021
61035
 
61022
61036
  export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
61023
- // version: 1.412.1-054d9a1111
61037
+ // version: 1.413.0-a073c11951
@@ -0,0 +1 @@
1
+ export declare const pdpEventSchema: {};
@@ -1,2 +1,2 @@
1
- export declare const apiVersion = "v66.0";
1
+ export declare const apiVersion = "v67.0";
2
2
  export declare const basePath: string;