@salesforce/lds-worker-api 1.110.1 → 1.110.2

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.
@@ -743,4 +743,4 @@ if (process.env.NODE_ENV !== 'production') {
743
743
  }
744
744
 
745
745
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
746
- // version: 1.110.1-cc1242727
746
+ // version: 1.110.2-c54b4a458
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
3776
3776
  }
3777
3777
  callbacks.push(callback);
3778
3778
  }
3779
- // version: 1.110.1-cc1242727
3779
+ // version: 1.110.2-c54b4a458
3780
3780
 
3781
3781
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3782
3782
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15200,7 +15200,7 @@ function parseAndVisit(source) {
15200
15200
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15201
15201
  return luvioDocumentNode;
15202
15202
  }
15203
- // version: 1.110.1-cc1242727
15203
+ // version: 1.110.2-c54b4a458
15204
15204
 
15205
15205
  function unwrap(data) {
15206
15206
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16081,7 +16081,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16081
16081
  const { apiFamily, name } = metadata;
16082
16082
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16083
16083
  }
16084
- // version: 1.110.1-cc1242727
16084
+ // version: 1.110.2-c54b4a458
16085
16085
 
16086
16086
  /**
16087
16087
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -41964,11 +41964,11 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
41964
41964
  trackedFields: optionalFieldsTrie,
41965
41965
  serverRequestCount: 1,
41966
41966
  }), body);
41967
+ const snapshot = buildCachedSnapshot$1(luvio, context, {
41968
+ ...config,
41969
+ recordTypeId: responseRecordTypeId,
41970
+ });
41967
41971
  return luvio.storeBroadcast().then(() => {
41968
- const snapshot = buildCachedSnapshot$1(luvio, context, {
41969
- ...config,
41970
- recordTypeId: responseRecordTypeId,
41971
- });
41972
41972
  return snapshot;
41973
41973
  });
41974
41974
  }, () => {
@@ -44024,7 +44024,7 @@ withDefaultLuvio((luvio) => {
44024
44024
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44025
44025
  });
44026
44026
  });
44027
- // version: 1.110.1-cc1242727
44027
+ // version: 1.110.2-c54b4a458
44028
44028
 
44029
44029
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44030
44030
 
@@ -49758,9 +49758,8 @@ class AbstractResourceRequestActionHandler {
49758
49758
  const { response, synchronousIngest } = entry;
49759
49759
  synchronousIngest(response, action);
49760
49760
  }
49761
- // ingestAndBroadcastFunction can return Promise<void>, that's easiest
49762
- // to return since it's unused in this function
49763
- return Promise.resolve();
49761
+ // must call base broadcast
49762
+ return luvio.storeBroadcast();
49764
49763
  },
49765
49764
  // getTypeCacheKeysRecord uses the response, not the full path factory
49766
49765
  // so 2nd parameter will be unused
@@ -59318,7 +59317,7 @@ register({
59318
59317
  id: '@salesforce/lds-network-adapter',
59319
59318
  instrument: instrument$1,
59320
59319
  });
59321
- // version: 1.110.1-cc1242727
59320
+ // version: 1.110.2-c54b4a458
59322
59321
 
59323
59322
  const { create: create$2, keys: keys$2 } = Object;
59324
59323
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -76971,7 +76970,7 @@ register({
76971
76970
  configuration: { ...configurationForGraphQLAdapters },
76972
76971
  instrument,
76973
76972
  });
76974
- // version: 1.110.1-cc1242727
76973
+ // version: 1.110.2-c54b4a458
76975
76974
 
76976
76975
  // On core the unstable adapters are re-exported with different names,
76977
76976
 
@@ -79100,7 +79099,7 @@ withDefaultLuvio((luvio) => {
79100
79099
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79101
79100
  graphQLImperative = ldsAdapter;
79102
79101
  });
79103
- // version: 1.110.1-cc1242727
79102
+ // version: 1.110.2-c54b4a458
79104
79103
 
79105
79104
  var gqlApi = /*#__PURE__*/Object.freeze({
79106
79105
  __proto__: null,
@@ -79774,4 +79773,4 @@ const { luvio } = getRuntime();
79774
79773
  setDefaultLuvio({ luvio });
79775
79774
 
79776
79775
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
79777
- // version: 1.110.1-cc1242727
79776
+ // version: 1.110.2-c54b4a458
@@ -3782,7 +3782,7 @@
3782
3782
  }
3783
3783
  callbacks.push(callback);
3784
3784
  }
3785
- // version: 1.110.1-cc1242727
3785
+ // version: 1.110.2-c54b4a458
3786
3786
 
3787
3787
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3788
3788
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15206,7 +15206,7 @@
15206
15206
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15207
15207
  return luvioDocumentNode;
15208
15208
  }
15209
- // version: 1.110.1-cc1242727
15209
+ // version: 1.110.2-c54b4a458
15210
15210
 
15211
15211
  function unwrap(data) {
15212
15212
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16087,7 +16087,7 @@
16087
16087
  const { apiFamily, name } = metadata;
16088
16088
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16089
16089
  }
16090
- // version: 1.110.1-cc1242727
16090
+ // version: 1.110.2-c54b4a458
16091
16091
 
16092
16092
  /**
16093
16093
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -41970,11 +41970,11 @@
41970
41970
  trackedFields: optionalFieldsTrie,
41971
41971
  serverRequestCount: 1,
41972
41972
  }), body);
41973
+ const snapshot = buildCachedSnapshot$1(luvio, context, {
41974
+ ...config,
41975
+ recordTypeId: responseRecordTypeId,
41976
+ });
41973
41977
  return luvio.storeBroadcast().then(() => {
41974
- const snapshot = buildCachedSnapshot$1(luvio, context, {
41975
- ...config,
41976
- recordTypeId: responseRecordTypeId,
41977
- });
41978
41978
  return snapshot;
41979
41979
  });
41980
41980
  }, () => {
@@ -44030,7 +44030,7 @@
44030
44030
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44031
44031
  });
44032
44032
  });
44033
- // version: 1.110.1-cc1242727
44033
+ // version: 1.110.2-c54b4a458
44034
44034
 
44035
44035
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44036
44036
 
@@ -49764,9 +49764,8 @@
49764
49764
  const { response, synchronousIngest } = entry;
49765
49765
  synchronousIngest(response, action);
49766
49766
  }
49767
- // ingestAndBroadcastFunction can return Promise<void>, that's easiest
49768
- // to return since it's unused in this function
49769
- return Promise.resolve();
49767
+ // must call base broadcast
49768
+ return luvio.storeBroadcast();
49770
49769
  },
49771
49770
  // getTypeCacheKeysRecord uses the response, not the full path factory
49772
49771
  // so 2nd parameter will be unused
@@ -59324,7 +59323,7 @@
59324
59323
  id: '@salesforce/lds-network-adapter',
59325
59324
  instrument: instrument$1,
59326
59325
  });
59327
- // version: 1.110.1-cc1242727
59326
+ // version: 1.110.2-c54b4a458
59328
59327
 
59329
59328
  const { create: create$2, keys: keys$2 } = Object;
59330
59329
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -76977,7 +76976,7 @@
76977
76976
  configuration: { ...configurationForGraphQLAdapters },
76978
76977
  instrument,
76979
76978
  });
76980
- // version: 1.110.1-cc1242727
76979
+ // version: 1.110.2-c54b4a458
76981
76980
 
76982
76981
  // On core the unstable adapters are re-exported with different names,
76983
76982
 
@@ -79106,7 +79105,7 @@
79106
79105
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79107
79106
  graphQLImperative = ldsAdapter;
79108
79107
  });
79109
- // version: 1.110.1-cc1242727
79108
+ // version: 1.110.2-c54b4a458
79110
79109
 
79111
79110
  var gqlApi = /*#__PURE__*/Object.freeze({
79112
79111
  __proto__: null,
@@ -79797,4 +79796,4 @@
79797
79796
  Object.defineProperty(exports, '__esModule', { value: true });
79798
79797
 
79799
79798
  }));
79800
- // version: 1.110.1-cc1242727
79799
+ // version: 1.110.2-c54b4a458
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.110.1",
3
+ "version": "1.110.2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/umd/lds-worker-api.js",
@@ -37,15 +37,15 @@
37
37
  "@luvio/engine": "0.135.4",
38
38
  "@luvio/environments": "0.135.4",
39
39
  "@oat-sa/rollup-plugin-wildcard-external": "^0.1.0",
40
- "@salesforce/lds-adapters-graphql": "^1.110.1",
41
- "@salesforce/lds-adapters-uiapi": "^1.110.1",
42
- "@salesforce/lds-default-luvio": "^1.110.1",
43
- "@salesforce/lds-drafts": "^1.110.1",
44
- "@salesforce/lds-graphql-parser": "^1.110.1",
45
- "@salesforce/lds-luvio-engine": "^1.110.1",
46
- "@salesforce/lds-priming": "^1.110.1",
47
- "@salesforce/lds-runtime-mobile": "^1.110.1",
48
- "@salesforce/nimbus-plugin-lds": "^1.110.1",
40
+ "@salesforce/lds-adapters-graphql": "^1.110.2",
41
+ "@salesforce/lds-adapters-uiapi": "^1.110.2",
42
+ "@salesforce/lds-default-luvio": "^1.110.2",
43
+ "@salesforce/lds-drafts": "^1.110.2",
44
+ "@salesforce/lds-graphql-parser": "^1.110.2",
45
+ "@salesforce/lds-luvio-engine": "^1.110.2",
46
+ "@salesforce/lds-priming": "^1.110.2",
47
+ "@salesforce/lds-runtime-mobile": "^1.110.2",
48
+ "@salesforce/nimbus-plugin-lds": "^1.110.2",
49
49
  "ajv": "^8.11.0",
50
50
  "glob": "^7.1.5",
51
51
  "nimbus-types": "^2.0.0-alpha1",