@salesforce/lds-worker-api 1.128.1 → 1.129.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.
|
@@ -761,4 +761,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
764
|
-
// version: 1.
|
|
764
|
+
// version: 1.129.0-caa83ed0e
|
|
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
|
|
|
3776
3776
|
}
|
|
3777
3777
|
callbacks.push(callback);
|
|
3778
3778
|
}
|
|
3779
|
-
// version: 1.
|
|
3779
|
+
// version: 1.129.0-caa83ed0e
|
|
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.
|
|
15203
|
+
// version: 1.129.0-caa83ed0e
|
|
15204
15204
|
|
|
15205
15205
|
function unwrap(data) {
|
|
15206
15206
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16113,7 +16113,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16113
16113
|
const { apiFamily, name } = metadata;
|
|
16114
16114
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16115
16115
|
}
|
|
16116
|
-
// version: 1.
|
|
16116
|
+
// version: 1.129.0-caa83ed0e
|
|
16117
16117
|
|
|
16118
16118
|
/**
|
|
16119
16119
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44412,7 +44412,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44412
44412
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44413
44413
|
});
|
|
44414
44414
|
});
|
|
44415
|
-
// version: 1.
|
|
44415
|
+
// version: 1.129.0-e6ee02f30
|
|
44416
44416
|
|
|
44417
44417
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44418
44418
|
|
|
@@ -56757,8 +56757,9 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
56757
56757
|
if (!rebuildResult.errors) {
|
|
56758
56758
|
rebuildResult = removeSyntheticFields(rebuildResult, config.query);
|
|
56759
56759
|
}
|
|
56760
|
+
// 'originalSnapshot' is the local eval snapshot subscribed. It is always in 'Fulfilled' state. This behavior would change once W-1273462(rebuild non-evaluated snapshot when the graphql local eval rebuild is triggered) is resolved.
|
|
56760
56761
|
return {
|
|
56761
|
-
...
|
|
56762
|
+
...originalSnapshot,
|
|
56762
56763
|
data: rebuildResult,
|
|
56763
56764
|
recordId,
|
|
56764
56765
|
seenRecords: createSeenRecords(seenRecordIds, nonEvaluatedSnapshot),
|
|
@@ -59167,6 +59168,7 @@ function formatDisplayValue(value, datatype) {
|
|
|
59167
59168
|
}
|
|
59168
59169
|
}
|
|
59169
59170
|
|
|
59171
|
+
//TODO: [W-12734162] - rebuild non-evaluated snapshot when graph rebuild is triggered. The dependency work on luvio needs to be done.
|
|
59170
59172
|
function makeEnvironmentGraphqlAware(environment) {
|
|
59171
59173
|
const rebuildSnapshot = function (snapshot, onRebuild) {
|
|
59172
59174
|
if (isStoreEvalSnapshot(snapshot)) {
|
|
@@ -59923,7 +59925,7 @@ register({
|
|
|
59923
59925
|
id: '@salesforce/lds-network-adapter',
|
|
59924
59926
|
instrument: instrument$1,
|
|
59925
59927
|
});
|
|
59926
|
-
// version: 1.
|
|
59928
|
+
// version: 1.129.0-caa83ed0e
|
|
59927
59929
|
|
|
59928
59930
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59929
59931
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -74192,7 +74194,7 @@ register({
|
|
|
74192
74194
|
configuration: { ...configurationForGraphQLAdapters },
|
|
74193
74195
|
instrument,
|
|
74194
74196
|
});
|
|
74195
|
-
// version: 1.
|
|
74197
|
+
// version: 1.129.0-e6ee02f30
|
|
74196
74198
|
|
|
74197
74199
|
// On core the unstable adapters are re-exported with different names,
|
|
74198
74200
|
|
|
@@ -76321,7 +76323,7 @@ withDefaultLuvio((luvio) => {
|
|
|
76321
76323
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
76322
76324
|
graphQLImperative = ldsAdapter;
|
|
76323
76325
|
});
|
|
76324
|
-
// version: 1.
|
|
76326
|
+
// version: 1.129.0-e6ee02f30
|
|
76325
76327
|
|
|
76326
76328
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
76327
76329
|
__proto__: null,
|
|
@@ -77013,4 +77015,4 @@ const { luvio } = getRuntime();
|
|
|
77013
77015
|
setDefaultLuvio({ luvio });
|
|
77014
77016
|
|
|
77015
77017
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
77016
|
-
// version: 1.
|
|
77018
|
+
// version: 1.129.0-caa83ed0e
|
|
@@ -3782,7 +3782,7 @@
|
|
|
3782
3782
|
}
|
|
3783
3783
|
callbacks.push(callback);
|
|
3784
3784
|
}
|
|
3785
|
-
// version: 1.
|
|
3785
|
+
// version: 1.129.0-caa83ed0e
|
|
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.
|
|
15209
|
+
// version: 1.129.0-caa83ed0e
|
|
15210
15210
|
|
|
15211
15211
|
function unwrap(data) {
|
|
15212
15212
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16119,7 +16119,7 @@
|
|
|
16119
16119
|
const { apiFamily, name } = metadata;
|
|
16120
16120
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16121
16121
|
}
|
|
16122
|
-
// version: 1.
|
|
16122
|
+
// version: 1.129.0-caa83ed0e
|
|
16123
16123
|
|
|
16124
16124
|
/**
|
|
16125
16125
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44418,7 +44418,7 @@
|
|
|
44418
44418
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44419
44419
|
});
|
|
44420
44420
|
});
|
|
44421
|
-
// version: 1.
|
|
44421
|
+
// version: 1.129.0-e6ee02f30
|
|
44422
44422
|
|
|
44423
44423
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44424
44424
|
|
|
@@ -56763,8 +56763,9 @@
|
|
|
56763
56763
|
if (!rebuildResult.errors) {
|
|
56764
56764
|
rebuildResult = removeSyntheticFields(rebuildResult, config.query);
|
|
56765
56765
|
}
|
|
56766
|
+
// 'originalSnapshot' is the local eval snapshot subscribed. It is always in 'Fulfilled' state. This behavior would change once W-1273462(rebuild non-evaluated snapshot when the graphql local eval rebuild is triggered) is resolved.
|
|
56766
56767
|
return {
|
|
56767
|
-
...
|
|
56768
|
+
...originalSnapshot,
|
|
56768
56769
|
data: rebuildResult,
|
|
56769
56770
|
recordId,
|
|
56770
56771
|
seenRecords: createSeenRecords(seenRecordIds, nonEvaluatedSnapshot),
|
|
@@ -59173,6 +59174,7 @@
|
|
|
59173
59174
|
}
|
|
59174
59175
|
}
|
|
59175
59176
|
|
|
59177
|
+
//TODO: [W-12734162] - rebuild non-evaluated snapshot when graph rebuild is triggered. The dependency work on luvio needs to be done.
|
|
59176
59178
|
function makeEnvironmentGraphqlAware(environment) {
|
|
59177
59179
|
const rebuildSnapshot = function (snapshot, onRebuild) {
|
|
59178
59180
|
if (isStoreEvalSnapshot(snapshot)) {
|
|
@@ -59929,7 +59931,7 @@
|
|
|
59929
59931
|
id: '@salesforce/lds-network-adapter',
|
|
59930
59932
|
instrument: instrument$1,
|
|
59931
59933
|
});
|
|
59932
|
-
// version: 1.
|
|
59934
|
+
// version: 1.129.0-caa83ed0e
|
|
59933
59935
|
|
|
59934
59936
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59935
59937
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -74198,7 +74200,7 @@
|
|
|
74198
74200
|
configuration: { ...configurationForGraphQLAdapters },
|
|
74199
74201
|
instrument,
|
|
74200
74202
|
});
|
|
74201
|
-
// version: 1.
|
|
74203
|
+
// version: 1.129.0-e6ee02f30
|
|
74202
74204
|
|
|
74203
74205
|
// On core the unstable adapters are re-exported with different names,
|
|
74204
74206
|
|
|
@@ -76327,7 +76329,7 @@
|
|
|
76327
76329
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
76328
76330
|
graphQLImperative = ldsAdapter;
|
|
76329
76331
|
});
|
|
76330
|
-
// version: 1.
|
|
76332
|
+
// version: 1.129.0-e6ee02f30
|
|
76331
76333
|
|
|
76332
76334
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
76333
76335
|
__proto__: null,
|
|
@@ -77036,4 +77038,4 @@
|
|
|
77036
77038
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
77037
77039
|
|
|
77038
77040
|
}));
|
|
77039
|
-
// version: 1.
|
|
77041
|
+
// version: 1.129.0-caa83ed0e
|