@salesforce/lds-worker-api 1.229.0-dev6 → 1.229.0-dev7

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.
@@ -795,4 +795,4 @@ if (process.env.NODE_ENV !== 'production') {
795
795
  }
796
796
 
797
797
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
798
- // version: 1.229.0-dev6-53f3d6911
798
+ // version: 1.229.0-dev7-157e3a4db
@@ -3996,7 +3996,7 @@ function withDefaultLuvio(callback) {
3996
3996
  }
3997
3997
  callbacks.push(callback);
3998
3998
  }
3999
- // version: 1.229.0-dev6-53f3d6911
3999
+ // version: 1.229.0-dev7-157e3a4db
4000
4000
 
4001
4001
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4002
4002
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15457,7 +15457,7 @@ function gql(literals, ...subs) {
15457
15457
  }
15458
15458
  return superResult;
15459
15459
  }
15460
- // version: 1.229.0-dev6-53f3d6911
15460
+ // version: 1.229.0-dev7-157e3a4db
15461
15461
 
15462
15462
  function unwrap(data) {
15463
15463
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16381,7 +16381,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16381
16381
  const { apiFamily, name } = metadata;
16382
16382
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16383
16383
  }
16384
- // version: 1.229.0-dev6-53f3d6911
16384
+ // version: 1.229.0-dev7-157e3a4db
16385
16385
 
16386
16386
  /**
16387
16387
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -24893,7 +24893,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
24893
24893
  // Temp fix until we can mimic the server behavior for non-layoutable entities.
24894
24894
  let layoutMap = {};
24895
24895
  if (hasOwnProperty$1.call(layouts, apiName)) {
24896
- layoutMap = layouts[apiName][recordTypeId];
24896
+ layoutMap = layouts[apiName][recordTypeId] || {};
24897
24897
  }
24898
24898
  return {
24899
24899
  layoutMap,
@@ -41201,7 +41201,7 @@ withDefaultLuvio((luvio) => {
41201
41201
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
41202
41202
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
41203
41203
  });
41204
- // version: 1.229.0-dev6-6005e174d
41204
+ // version: 1.229.0-dev7-22b616ee5
41205
41205
 
41206
41206
  var caseSensitiveUserId = '005B0000000GR4OIAW';
41207
41207
 
@@ -58049,7 +58049,7 @@ register({
58049
58049
  id: '@salesforce/lds-network-adapter',
58050
58050
  instrument: instrument$1,
58051
58051
  });
58052
- // version: 1.229.0-dev6-53f3d6911
58052
+ // version: 1.229.0-dev7-157e3a4db
58053
58053
 
58054
58054
  const { create: create$2, keys: keys$2 } = Object;
58055
58055
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -76481,7 +76481,7 @@ register({
76481
76481
  configuration: { ...configurationForGraphQLAdapters },
76482
76482
  instrument,
76483
76483
  });
76484
- // version: 1.229.0-dev6-6005e174d
76484
+ // version: 1.229.0-dev7-22b616ee5
76485
76485
 
76486
76486
  // On core the unstable adapters are re-exported with different names,
76487
76487
 
@@ -78728,7 +78728,7 @@ withDefaultLuvio((luvio) => {
78728
78728
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
78729
78729
  graphQLImperative = ldsAdapter;
78730
78730
  });
78731
- // version: 1.229.0-dev6-6005e174d
78731
+ // version: 1.229.0-dev7-22b616ee5
78732
78732
 
78733
78733
  var gqlApi = /*#__PURE__*/Object.freeze({
78734
78734
  __proto__: null,
@@ -79442,4 +79442,4 @@ const { luvio } = getRuntime();
79442
79442
  setDefaultLuvio({ luvio });
79443
79443
 
79444
79444
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
79445
- // version: 1.229.0-dev6-53f3d6911
79445
+ // version: 1.229.0-dev7-157e3a4db
@@ -4002,7 +4002,7 @@
4002
4002
  }
4003
4003
  callbacks.push(callback);
4004
4004
  }
4005
- // version: 1.229.0-dev6-53f3d6911
4005
+ // version: 1.229.0-dev7-157e3a4db
4006
4006
 
4007
4007
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4008
4008
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15463,7 +15463,7 @@
15463
15463
  }
15464
15464
  return superResult;
15465
15465
  }
15466
- // version: 1.229.0-dev6-53f3d6911
15466
+ // version: 1.229.0-dev7-157e3a4db
15467
15467
 
15468
15468
  function unwrap(data) {
15469
15469
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16387,7 +16387,7 @@
16387
16387
  const { apiFamily, name } = metadata;
16388
16388
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16389
16389
  }
16390
- // version: 1.229.0-dev6-53f3d6911
16390
+ // version: 1.229.0-dev7-157e3a4db
16391
16391
 
16392
16392
  /**
16393
16393
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -24899,7 +24899,7 @@
24899
24899
  // Temp fix until we can mimic the server behavior for non-layoutable entities.
24900
24900
  let layoutMap = {};
24901
24901
  if (hasOwnProperty$1.call(layouts, apiName)) {
24902
- layoutMap = layouts[apiName][recordTypeId];
24902
+ layoutMap = layouts[apiName][recordTypeId] || {};
24903
24903
  }
24904
24904
  return {
24905
24905
  layoutMap,
@@ -41207,7 +41207,7 @@
41207
41207
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
41208
41208
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
41209
41209
  });
41210
- // version: 1.229.0-dev6-6005e174d
41210
+ // version: 1.229.0-dev7-22b616ee5
41211
41211
 
41212
41212
  var caseSensitiveUserId = '005B0000000GR4OIAW';
41213
41213
 
@@ -58055,7 +58055,7 @@
58055
58055
  id: '@salesforce/lds-network-adapter',
58056
58056
  instrument: instrument$1,
58057
58057
  });
58058
- // version: 1.229.0-dev6-53f3d6911
58058
+ // version: 1.229.0-dev7-157e3a4db
58059
58059
 
58060
58060
  const { create: create$2, keys: keys$2 } = Object;
58061
58061
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -76487,7 +76487,7 @@
76487
76487
  configuration: { ...configurationForGraphQLAdapters },
76488
76488
  instrument,
76489
76489
  });
76490
- // version: 1.229.0-dev6-6005e174d
76490
+ // version: 1.229.0-dev7-22b616ee5
76491
76491
 
76492
76492
  // On core the unstable adapters are re-exported with different names,
76493
76493
 
@@ -78734,7 +78734,7 @@
78734
78734
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
78735
78735
  graphQLImperative = ldsAdapter;
78736
78736
  });
78737
- // version: 1.229.0-dev6-6005e174d
78737
+ // version: 1.229.0-dev7-22b616ee5
78738
78738
 
78739
78739
  var gqlApi = /*#__PURE__*/Object.freeze({
78740
78740
  __proto__: null,
@@ -79465,4 +79465,4 @@
79465
79465
  Object.defineProperty(exports, '__esModule', { value: true });
79466
79466
 
79467
79467
  }));
79468
- // version: 1.229.0-dev6-53f3d6911
79468
+ // version: 1.229.0-dev7-157e3a4db
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.229.0-dev6",
3
+ "version": "1.229.0-dev7",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -35,15 +35,15 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
38
- "@salesforce/lds-adapters-graphql": "1.229.0-dev6",
39
- "@salesforce/lds-adapters-uiapi": "1.229.0-dev6",
40
- "@salesforce/lds-default-luvio": "1.229.0-dev6",
41
- "@salesforce/lds-drafts": "1.229.0-dev6",
42
- "@salesforce/lds-graphql-parser": "1.229.0-dev6",
43
- "@salesforce/lds-luvio-engine": "1.229.0-dev6",
44
- "@salesforce/lds-priming": "1.229.0-dev6",
45
- "@salesforce/lds-runtime-mobile": "1.229.0-dev6",
46
- "@salesforce/nimbus-plugin-lds": "1.229.0-dev6",
38
+ "@salesforce/lds-adapters-graphql": "1.229.0-dev7",
39
+ "@salesforce/lds-adapters-uiapi": "1.229.0-dev7",
40
+ "@salesforce/lds-default-luvio": "1.229.0-dev7",
41
+ "@salesforce/lds-drafts": "1.229.0-dev7",
42
+ "@salesforce/lds-graphql-parser": "1.229.0-dev7",
43
+ "@salesforce/lds-luvio-engine": "1.229.0-dev7",
44
+ "@salesforce/lds-priming": "1.229.0-dev7",
45
+ "@salesforce/lds-runtime-mobile": "1.229.0-dev7",
46
+ "@salesforce/nimbus-plugin-lds": "1.229.0-dev7",
47
47
  "ajv": "^8.11.0",
48
48
  "glob": "^7.1.5",
49
49
  "nimbus-types": "^2.0.0-alpha1",