@salesforce/lds-worker-api 1.131.0-dev13 → 1.131.0-dev14

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.
@@ -758,4 +758,4 @@ if (process.env.NODE_ENV !== 'production') {
758
758
  }
759
759
 
760
760
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
761
- // version: 1.131.0-dev13-329f91e5c
761
+ // version: 1.131.0-dev14-98d776146
@@ -3780,7 +3780,7 @@ function withDefaultLuvio(callback) {
3780
3780
  }
3781
3781
  callbacks.push(callback);
3782
3782
  }
3783
- // version: 1.131.0-dev13-329f91e5c
3783
+ // version: 1.131.0-dev14-98d776146
3784
3784
 
3785
3785
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3786
3786
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15213,7 +15213,7 @@ function parseAndVisit(source) {
15213
15213
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15214
15214
  return luvioDocumentNode;
15215
15215
  }
15216
- // version: 1.131.0-dev13-329f91e5c
15216
+ // version: 1.131.0-dev14-98d776146
15217
15217
 
15218
15218
  function unwrap(data) {
15219
15219
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16126,7 +16126,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16126
16126
  const { apiFamily, name } = metadata;
16127
16127
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16128
16128
  }
16129
- // version: 1.131.0-dev13-329f91e5c
16129
+ // version: 1.131.0-dev14-98d776146
16130
16130
 
16131
16131
  /**
16132
16132
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44478,7 +44478,7 @@ withDefaultLuvio((luvio) => {
44478
44478
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44479
44479
  });
44480
44480
  });
44481
- // version: 1.131.0-dev13-a38ed0c06
44481
+ // version: 1.131.0-dev14-16ca874d9
44482
44482
 
44483
44483
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44484
44484
 
@@ -48697,8 +48697,8 @@ function rootRecordQuery(selection, input) {
48697
48697
  // If there is no metadata for this query or it somehow lacks a timestamp
48698
48698
  // skip setting the root timestamp
48699
48699
  if (queryMetadata !== undefined && queryMetadata.ingestionTimestamp !== undefined) {
48700
- // subtract 10ms from timestamp to account for ingestion processing time
48701
- input.rootTimestamp = queryMetadata.ingestionTimestamp - 10;
48700
+ // subtract 1000ms from timestamp to account for ingestion processing time
48701
+ input.rootTimestamp = queryMetadata.ingestionTimestamp - 1000;
48702
48702
  }
48703
48703
  }
48704
48704
  return recordQuery(selection, alias, apiName, [], input);
@@ -53309,8 +53309,8 @@ async function fetchIngestionTimeStampFromDatabase(apiName, info, args, query) {
53309
53309
  const results = await query(sql, [key]);
53310
53310
  const [timestamp] = results.rows.map((row) => row[0]);
53311
53311
  if (timestamp !== null && typeof timestamp === 'number') {
53312
- //go back 10 ms to adjust for margin of error when top level query is stored and when raml objects are stored
53313
- ingestionTimestamp = timestamp - 10;
53312
+ //go back 1000 ms to adjust for margin of error when top level query is stored and when raml objects are stored
53313
+ ingestionTimestamp = timestamp - 1000;
53314
53314
  }
53315
53315
  }
53316
53316
  return ingestionTimestamp;
@@ -60604,7 +60604,7 @@ register({
60604
60604
  id: '@salesforce/lds-network-adapter',
60605
60605
  instrument: instrument$1,
60606
60606
  });
60607
- // version: 1.131.0-dev13-329f91e5c
60607
+ // version: 1.131.0-dev14-98d776146
60608
60608
 
60609
60609
  const { create: create$2, keys: keys$2 } = Object;
60610
60610
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74912,7 +74912,7 @@ register({
74912
74912
  configuration: { ...configurationForGraphQLAdapters },
74913
74913
  instrument,
74914
74914
  });
74915
- // version: 1.131.0-dev13-a38ed0c06
74915
+ // version: 1.131.0-dev14-16ca874d9
74916
74916
 
74917
74917
  // On core the unstable adapters are re-exported with different names,
74918
74918
 
@@ -77168,7 +77168,7 @@ withDefaultLuvio((luvio) => {
77168
77168
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
77169
77169
  graphQLImperative = ldsAdapter;
77170
77170
  });
77171
- // version: 1.131.0-dev13-a38ed0c06
77171
+ // version: 1.131.0-dev14-16ca874d9
77172
77172
 
77173
77173
  var gqlApi = /*#__PURE__*/Object.freeze({
77174
77174
  __proto__: null,
@@ -77857,4 +77857,4 @@ const { luvio } = getRuntime();
77857
77857
  setDefaultLuvio({ luvio });
77858
77858
 
77859
77859
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
77860
- // version: 1.131.0-dev13-329f91e5c
77860
+ // version: 1.131.0-dev14-98d776146
@@ -3786,7 +3786,7 @@
3786
3786
  }
3787
3787
  callbacks.push(callback);
3788
3788
  }
3789
- // version: 1.131.0-dev13-329f91e5c
3789
+ // version: 1.131.0-dev14-98d776146
3790
3790
 
3791
3791
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3792
3792
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15219,7 +15219,7 @@
15219
15219
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15220
15220
  return luvioDocumentNode;
15221
15221
  }
15222
- // version: 1.131.0-dev13-329f91e5c
15222
+ // version: 1.131.0-dev14-98d776146
15223
15223
 
15224
15224
  function unwrap(data) {
15225
15225
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16132,7 +16132,7 @@
16132
16132
  const { apiFamily, name } = metadata;
16133
16133
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16134
16134
  }
16135
- // version: 1.131.0-dev13-329f91e5c
16135
+ // version: 1.131.0-dev14-98d776146
16136
16136
 
16137
16137
  /**
16138
16138
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44484,7 +44484,7 @@
44484
44484
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44485
44485
  });
44486
44486
  });
44487
- // version: 1.131.0-dev13-a38ed0c06
44487
+ // version: 1.131.0-dev14-16ca874d9
44488
44488
 
44489
44489
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44490
44490
 
@@ -48703,8 +48703,8 @@
48703
48703
  // If there is no metadata for this query or it somehow lacks a timestamp
48704
48704
  // skip setting the root timestamp
48705
48705
  if (queryMetadata !== undefined && queryMetadata.ingestionTimestamp !== undefined) {
48706
- // subtract 10ms from timestamp to account for ingestion processing time
48707
- input.rootTimestamp = queryMetadata.ingestionTimestamp - 10;
48706
+ // subtract 1000ms from timestamp to account for ingestion processing time
48707
+ input.rootTimestamp = queryMetadata.ingestionTimestamp - 1000;
48708
48708
  }
48709
48709
  }
48710
48710
  return recordQuery(selection, alias, apiName, [], input);
@@ -53315,8 +53315,8 @@
53315
53315
  const results = await query(sql, [key]);
53316
53316
  const [timestamp] = results.rows.map((row) => row[0]);
53317
53317
  if (timestamp !== null && typeof timestamp === 'number') {
53318
- //go back 10 ms to adjust for margin of error when top level query is stored and when raml objects are stored
53319
- ingestionTimestamp = timestamp - 10;
53318
+ //go back 1000 ms to adjust for margin of error when top level query is stored and when raml objects are stored
53319
+ ingestionTimestamp = timestamp - 1000;
53320
53320
  }
53321
53321
  }
53322
53322
  return ingestionTimestamp;
@@ -60610,7 +60610,7 @@
60610
60610
  id: '@salesforce/lds-network-adapter',
60611
60611
  instrument: instrument$1,
60612
60612
  });
60613
- // version: 1.131.0-dev13-329f91e5c
60613
+ // version: 1.131.0-dev14-98d776146
60614
60614
 
60615
60615
  const { create: create$2, keys: keys$2 } = Object;
60616
60616
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74918,7 +74918,7 @@
74918
74918
  configuration: { ...configurationForGraphQLAdapters },
74919
74919
  instrument,
74920
74920
  });
74921
- // version: 1.131.0-dev13-a38ed0c06
74921
+ // version: 1.131.0-dev14-16ca874d9
74922
74922
 
74923
74923
  // On core the unstable adapters are re-exported with different names,
74924
74924
 
@@ -77174,7 +77174,7 @@
77174
77174
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
77175
77175
  graphQLImperative = ldsAdapter;
77176
77176
  });
77177
- // version: 1.131.0-dev13-a38ed0c06
77177
+ // version: 1.131.0-dev14-16ca874d9
77178
77178
 
77179
77179
  var gqlApi = /*#__PURE__*/Object.freeze({
77180
77180
  __proto__: null,
@@ -77880,4 +77880,4 @@
77880
77880
  Object.defineProperty(exports, '__esModule', { value: true });
77881
77881
 
77882
77882
  }));
77883
- // version: 1.131.0-dev13-329f91e5c
77883
+ // version: 1.131.0-dev14-98d776146
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.131.0-dev13",
3
+ "version": "1.131.0-dev14",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -34,15 +34,15 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@oat-sa/rollup-plugin-wildcard-external": "^0.1.0",
37
- "@salesforce/lds-adapters-graphql": "1.131.0-dev13",
38
- "@salesforce/lds-adapters-uiapi": "1.131.0-dev13",
39
- "@salesforce/lds-default-luvio": "1.131.0-dev13",
40
- "@salesforce/lds-drafts": "1.131.0-dev13",
41
- "@salesforce/lds-graphql-parser": "1.131.0-dev13",
42
- "@salesforce/lds-luvio-engine": "1.131.0-dev13",
43
- "@salesforce/lds-priming": "1.131.0-dev13",
44
- "@salesforce/lds-runtime-mobile": "1.131.0-dev13",
45
- "@salesforce/nimbus-plugin-lds": "1.131.0-dev13",
37
+ "@salesforce/lds-adapters-graphql": "1.131.0-dev14",
38
+ "@salesforce/lds-adapters-uiapi": "1.131.0-dev14",
39
+ "@salesforce/lds-default-luvio": "1.131.0-dev14",
40
+ "@salesforce/lds-drafts": "1.131.0-dev14",
41
+ "@salesforce/lds-graphql-parser": "1.131.0-dev14",
42
+ "@salesforce/lds-luvio-engine": "1.131.0-dev14",
43
+ "@salesforce/lds-priming": "1.131.0-dev14",
44
+ "@salesforce/lds-runtime-mobile": "1.131.0-dev14",
45
+ "@salesforce/nimbus-plugin-lds": "1.131.0-dev14",
46
46
  "ajv": "^8.11.0",
47
47
  "glob": "^7.1.5",
48
48
  "nimbus-types": "^2.0.0-alpha1",