@salesforce/lds-worker-api 1.238.0 → 1.239.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.
|
@@ -796,4 +796,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
799
|
-
// version: 1.
|
|
799
|
+
// version: 1.239.0-6c531185a
|
|
@@ -3982,7 +3982,7 @@ function withDefaultLuvio(callback) {
|
|
|
3982
3982
|
}
|
|
3983
3983
|
callbacks.push(callback);
|
|
3984
3984
|
}
|
|
3985
|
-
// version: 1.
|
|
3985
|
+
// version: 1.239.0-6c531185a
|
|
3986
3986
|
|
|
3987
3987
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3988
3988
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15443,7 +15443,7 @@ function gql(literals, ...subs) {
|
|
|
15443
15443
|
}
|
|
15444
15444
|
return superResult;
|
|
15445
15445
|
}
|
|
15446
|
-
// version: 1.
|
|
15446
|
+
// version: 1.239.0-6c531185a
|
|
15447
15447
|
|
|
15448
15448
|
function unwrap(data) {
|
|
15449
15449
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16368,7 +16368,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16368
16368
|
const { apiFamily, name } = metadata;
|
|
16369
16369
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16370
16370
|
}
|
|
16371
|
-
// version: 1.
|
|
16371
|
+
// version: 1.239.0-6c531185a
|
|
16372
16372
|
|
|
16373
16373
|
/**
|
|
16374
16374
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -41538,7 +41538,7 @@ withDefaultLuvio((luvio) => {
|
|
|
41538
41538
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
41539
41539
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
41540
41540
|
});
|
|
41541
|
-
// version: 1.
|
|
41541
|
+
// version: 1.239.0-7d2be7b39
|
|
41542
41542
|
|
|
41543
41543
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
41544
41544
|
|
|
@@ -46004,8 +46004,8 @@ function rootRecordQuery(selection, input) {
|
|
|
46004
46004
|
// If there is no metadata for this query or it somehow lacks a timestamp
|
|
46005
46005
|
// skip setting the root timestamp
|
|
46006
46006
|
if (queryMetadata !== undefined && queryMetadata.ingestionTimestamp !== undefined) {
|
|
46007
|
-
// subtract
|
|
46008
|
-
input.rootTimestamp = queryMetadata.ingestionTimestamp -
|
|
46007
|
+
// subtract 1000ms from timestamp to account for ingestion processing time
|
|
46008
|
+
input.rootTimestamp = queryMetadata.ingestionTimestamp - 1000;
|
|
46009
46009
|
}
|
|
46010
46010
|
}
|
|
46011
46011
|
return recordQuery(selection, alias, apiName, [], input);
|
|
@@ -50832,8 +50832,8 @@ async function fetchIngestionTimeStampFromDatabase(apiName, info, args, query) {
|
|
|
50832
50832
|
const results = await query(sql, [key]);
|
|
50833
50833
|
const [timestamp] = results.rows.map((row) => row[0]);
|
|
50834
50834
|
if (timestamp !== null && typeof timestamp === 'number') {
|
|
50835
|
-
//go back
|
|
50836
|
-
ingestionTimestamp = timestamp -
|
|
50835
|
+
//go back 1000 ms to adjust for margin of error when top level query is stored and when raml objects are stored
|
|
50836
|
+
ingestionTimestamp = timestamp - 1000;
|
|
50837
50837
|
}
|
|
50838
50838
|
}
|
|
50839
50839
|
return ingestionTimestamp;
|
|
@@ -58525,7 +58525,7 @@ register({
|
|
|
58525
58525
|
id: '@salesforce/lds-network-adapter',
|
|
58526
58526
|
instrument: instrument$1,
|
|
58527
58527
|
});
|
|
58528
|
-
// version: 1.
|
|
58528
|
+
// version: 1.239.0-6c531185a
|
|
58529
58529
|
|
|
58530
58530
|
const { create: create$2, keys: keys$2 } = Object;
|
|
58531
58531
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -76996,7 +76996,7 @@ register({
|
|
|
76996
76996
|
configuration: { ...configurationForGraphQLAdapters },
|
|
76997
76997
|
instrument,
|
|
76998
76998
|
});
|
|
76999
|
-
// version: 1.
|
|
76999
|
+
// version: 1.239.0-7d2be7b39
|
|
77000
77000
|
|
|
77001
77001
|
// On core the unstable adapters are re-exported with different names,
|
|
77002
77002
|
// we want to match them here.
|
|
@@ -79245,7 +79245,7 @@ withDefaultLuvio((luvio) => {
|
|
|
79245
79245
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79246
79246
|
graphQLImperative = ldsAdapter;
|
|
79247
79247
|
});
|
|
79248
|
-
// version: 1.
|
|
79248
|
+
// version: 1.239.0-7d2be7b39
|
|
79249
79249
|
|
|
79250
79250
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79251
79251
|
__proto__: null,
|
|
@@ -79962,4 +79962,4 @@ const { luvio } = getRuntime();
|
|
|
79962
79962
|
setDefaultLuvio({ luvio });
|
|
79963
79963
|
|
|
79964
79964
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
79965
|
-
// version: 1.
|
|
79965
|
+
// version: 1.239.0-6c531185a
|
|
@@ -3988,7 +3988,7 @@
|
|
|
3988
3988
|
}
|
|
3989
3989
|
callbacks.push(callback);
|
|
3990
3990
|
}
|
|
3991
|
-
// version: 1.
|
|
3991
|
+
// version: 1.239.0-6c531185a
|
|
3992
3992
|
|
|
3993
3993
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3994
3994
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15449,7 +15449,7 @@
|
|
|
15449
15449
|
}
|
|
15450
15450
|
return superResult;
|
|
15451
15451
|
}
|
|
15452
|
-
// version: 1.
|
|
15452
|
+
// version: 1.239.0-6c531185a
|
|
15453
15453
|
|
|
15454
15454
|
function unwrap(data) {
|
|
15455
15455
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16374,7 +16374,7 @@
|
|
|
16374
16374
|
const { apiFamily, name } = metadata;
|
|
16375
16375
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16376
16376
|
}
|
|
16377
|
-
// version: 1.
|
|
16377
|
+
// version: 1.239.0-6c531185a
|
|
16378
16378
|
|
|
16379
16379
|
/**
|
|
16380
16380
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -41544,7 +41544,7 @@
|
|
|
41544
41544
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
41545
41545
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
41546
41546
|
});
|
|
41547
|
-
// version: 1.
|
|
41547
|
+
// version: 1.239.0-7d2be7b39
|
|
41548
41548
|
|
|
41549
41549
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
41550
41550
|
|
|
@@ -46010,8 +46010,8 @@
|
|
|
46010
46010
|
// If there is no metadata for this query or it somehow lacks a timestamp
|
|
46011
46011
|
// skip setting the root timestamp
|
|
46012
46012
|
if (queryMetadata !== undefined && queryMetadata.ingestionTimestamp !== undefined) {
|
|
46013
|
-
// subtract
|
|
46014
|
-
input.rootTimestamp = queryMetadata.ingestionTimestamp -
|
|
46013
|
+
// subtract 1000ms from timestamp to account for ingestion processing time
|
|
46014
|
+
input.rootTimestamp = queryMetadata.ingestionTimestamp - 1000;
|
|
46015
46015
|
}
|
|
46016
46016
|
}
|
|
46017
46017
|
return recordQuery(selection, alias, apiName, [], input);
|
|
@@ -50838,8 +50838,8 @@
|
|
|
50838
50838
|
const results = await query(sql, [key]);
|
|
50839
50839
|
const [timestamp] = results.rows.map((row) => row[0]);
|
|
50840
50840
|
if (timestamp !== null && typeof timestamp === 'number') {
|
|
50841
|
-
//go back
|
|
50842
|
-
ingestionTimestamp = timestamp -
|
|
50841
|
+
//go back 1000 ms to adjust for margin of error when top level query is stored and when raml objects are stored
|
|
50842
|
+
ingestionTimestamp = timestamp - 1000;
|
|
50843
50843
|
}
|
|
50844
50844
|
}
|
|
50845
50845
|
return ingestionTimestamp;
|
|
@@ -58531,7 +58531,7 @@
|
|
|
58531
58531
|
id: '@salesforce/lds-network-adapter',
|
|
58532
58532
|
instrument: instrument$1,
|
|
58533
58533
|
});
|
|
58534
|
-
// version: 1.
|
|
58534
|
+
// version: 1.239.0-6c531185a
|
|
58535
58535
|
|
|
58536
58536
|
const { create: create$2, keys: keys$2 } = Object;
|
|
58537
58537
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -77002,7 +77002,7 @@
|
|
|
77002
77002
|
configuration: { ...configurationForGraphQLAdapters },
|
|
77003
77003
|
instrument,
|
|
77004
77004
|
});
|
|
77005
|
-
// version: 1.
|
|
77005
|
+
// version: 1.239.0-7d2be7b39
|
|
77006
77006
|
|
|
77007
77007
|
// On core the unstable adapters are re-exported with different names,
|
|
77008
77008
|
// we want to match them here.
|
|
@@ -79251,7 +79251,7 @@
|
|
|
79251
79251
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79252
79252
|
graphQLImperative = ldsAdapter;
|
|
79253
79253
|
});
|
|
79254
|
-
// version: 1.
|
|
79254
|
+
// version: 1.239.0-7d2be7b39
|
|
79255
79255
|
|
|
79256
79256
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79257
79257
|
__proto__: null,
|
|
@@ -79983,4 +79983,4 @@
|
|
|
79983
79983
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
79984
79984
|
|
|
79985
79985
|
}));
|
|
79986
|
-
// version: 1.
|
|
79986
|
+
// version: 1.239.0-6c531185a
|