@salesforce/lds-worker-api 1.111.4 → 1.111.5
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.
|
@@ -744,4 +744,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
744
744
|
}
|
|
745
745
|
|
|
746
746
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
747
|
-
// version: 1.111.
|
|
747
|
+
// version: 1.111.5-0426a48f5
|
|
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
|
|
|
3776
3776
|
}
|
|
3777
3777
|
callbacks.push(callback);
|
|
3778
3778
|
}
|
|
3779
|
-
// version: 1.111.
|
|
3779
|
+
// version: 1.111.5-0426a48f5
|
|
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.111.
|
|
15203
|
+
// version: 1.111.5-0426a48f5
|
|
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.111.
|
|
16084
|
+
// version: 1.111.5-0426a48f5
|
|
16085
16085
|
|
|
16086
16086
|
/**
|
|
16087
16087
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44024,7 +44024,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44024
44024
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44025
44025
|
});
|
|
44026
44026
|
});
|
|
44027
|
-
// version: 1.111.
|
|
44027
|
+
// version: 1.111.5-0426a48f5
|
|
44028
44028
|
|
|
44029
44029
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44030
44030
|
|
|
@@ -55629,12 +55629,11 @@ class UiApiActionHandler extends AbstractResourceRequestActionHandler {
|
|
|
55629
55629
|
// overlay data
|
|
55630
55630
|
// IMPORTANT: spread operator isn't deep clone so we have to individually
|
|
55631
55631
|
// spread nested objects (just "fields" for RecordInputReps)
|
|
55632
|
-
// NOTE: we stick to the target's
|
|
55633
|
-
//
|
|
55634
|
-
// pre-requisites)
|
|
55632
|
+
// NOTE: we stick to the target's ResourceRequest properties (except body
|
|
55633
|
+
// which is merged) because we don't want to overwrite a POST with a PATCH
|
|
55634
|
+
// (all other cases should be fine or wouldn't have passed pre-requisites)
|
|
55635
55635
|
merged.data = {
|
|
55636
55636
|
...targetData,
|
|
55637
|
-
...sourceData,
|
|
55638
55637
|
body: {
|
|
55639
55638
|
...targetBody,
|
|
55640
55639
|
...sourceBody,
|
|
@@ -55643,7 +55642,6 @@ class UiApiActionHandler extends AbstractResourceRequestActionHandler {
|
|
|
55643
55642
|
...sourceBody.fields,
|
|
55644
55643
|
},
|
|
55645
55644
|
},
|
|
55646
|
-
method: targetMethod,
|
|
55647
55645
|
};
|
|
55648
55646
|
// overlay metadata
|
|
55649
55647
|
merged.metadata = { ...targetMetadata, ...sourceMetadata };
|
|
@@ -59420,7 +59418,7 @@ register({
|
|
|
59420
59418
|
id: '@salesforce/lds-network-adapter',
|
|
59421
59419
|
instrument: instrument$1,
|
|
59422
59420
|
});
|
|
59423
|
-
// version: 1.111.
|
|
59421
|
+
// version: 1.111.5-0426a48f5
|
|
59424
59422
|
|
|
59425
59423
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59426
59424
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -77146,7 +77144,7 @@ register({
|
|
|
77146
77144
|
configuration: { ...configurationForGraphQLAdapters },
|
|
77147
77145
|
instrument,
|
|
77148
77146
|
});
|
|
77149
|
-
// version: 1.111.
|
|
77147
|
+
// version: 1.111.5-0426a48f5
|
|
77150
77148
|
|
|
77151
77149
|
// On core the unstable adapters are re-exported with different names,
|
|
77152
77150
|
|
|
@@ -79275,7 +79273,7 @@ withDefaultLuvio((luvio) => {
|
|
|
79275
79273
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79276
79274
|
graphQLImperative = ldsAdapter;
|
|
79277
79275
|
});
|
|
79278
|
-
// version: 1.111.
|
|
79276
|
+
// version: 1.111.5-0426a48f5
|
|
79279
79277
|
|
|
79280
79278
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79281
79279
|
__proto__: null,
|
|
@@ -79950,4 +79948,4 @@ const { luvio } = getRuntime();
|
|
|
79950
79948
|
setDefaultLuvio({ luvio });
|
|
79951
79949
|
|
|
79952
79950
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
79953
|
-
// version: 1.111.
|
|
79951
|
+
// version: 1.111.5-0426a48f5
|
|
@@ -3782,7 +3782,7 @@
|
|
|
3782
3782
|
}
|
|
3783
3783
|
callbacks.push(callback);
|
|
3784
3784
|
}
|
|
3785
|
-
// version: 1.111.
|
|
3785
|
+
// version: 1.111.5-0426a48f5
|
|
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.111.
|
|
15209
|
+
// version: 1.111.5-0426a48f5
|
|
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.111.
|
|
16090
|
+
// version: 1.111.5-0426a48f5
|
|
16091
16091
|
|
|
16092
16092
|
/**
|
|
16093
16093
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44030,7 +44030,7 @@
|
|
|
44030
44030
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44031
44031
|
});
|
|
44032
44032
|
});
|
|
44033
|
-
// version: 1.111.
|
|
44033
|
+
// version: 1.111.5-0426a48f5
|
|
44034
44034
|
|
|
44035
44035
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44036
44036
|
|
|
@@ -55635,12 +55635,11 @@
|
|
|
55635
55635
|
// overlay data
|
|
55636
55636
|
// IMPORTANT: spread operator isn't deep clone so we have to individually
|
|
55637
55637
|
// spread nested objects (just "fields" for RecordInputReps)
|
|
55638
|
-
// NOTE: we stick to the target's
|
|
55639
|
-
//
|
|
55640
|
-
// pre-requisites)
|
|
55638
|
+
// NOTE: we stick to the target's ResourceRequest properties (except body
|
|
55639
|
+
// which is merged) because we don't want to overwrite a POST with a PATCH
|
|
55640
|
+
// (all other cases should be fine or wouldn't have passed pre-requisites)
|
|
55641
55641
|
merged.data = {
|
|
55642
55642
|
...targetData,
|
|
55643
|
-
...sourceData,
|
|
55644
55643
|
body: {
|
|
55645
55644
|
...targetBody,
|
|
55646
55645
|
...sourceBody,
|
|
@@ -55649,7 +55648,6 @@
|
|
|
55649
55648
|
...sourceBody.fields,
|
|
55650
55649
|
},
|
|
55651
55650
|
},
|
|
55652
|
-
method: targetMethod,
|
|
55653
55651
|
};
|
|
55654
55652
|
// overlay metadata
|
|
55655
55653
|
merged.metadata = { ...targetMetadata, ...sourceMetadata };
|
|
@@ -59426,7 +59424,7 @@
|
|
|
59426
59424
|
id: '@salesforce/lds-network-adapter',
|
|
59427
59425
|
instrument: instrument$1,
|
|
59428
59426
|
});
|
|
59429
|
-
// version: 1.111.
|
|
59427
|
+
// version: 1.111.5-0426a48f5
|
|
59430
59428
|
|
|
59431
59429
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59432
59430
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -77152,7 +77150,7 @@
|
|
|
77152
77150
|
configuration: { ...configurationForGraphQLAdapters },
|
|
77153
77151
|
instrument,
|
|
77154
77152
|
});
|
|
77155
|
-
// version: 1.111.
|
|
77153
|
+
// version: 1.111.5-0426a48f5
|
|
77156
77154
|
|
|
77157
77155
|
// On core the unstable adapters are re-exported with different names,
|
|
77158
77156
|
|
|
@@ -79281,7 +79279,7 @@
|
|
|
79281
79279
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79282
79280
|
graphQLImperative = ldsAdapter;
|
|
79283
79281
|
});
|
|
79284
|
-
// version: 1.111.
|
|
79282
|
+
// version: 1.111.5-0426a48f5
|
|
79285
79283
|
|
|
79286
79284
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79287
79285
|
__proto__: null,
|
|
@@ -79973,4 +79971,4 @@
|
|
|
79973
79971
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
79974
79972
|
|
|
79975
79973
|
}));
|
|
79976
|
-
// version: 1.111.
|
|
79974
|
+
// version: 1.111.5-0426a48f5
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.111.
|
|
3
|
+
"version": "1.111.5",
|
|
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.136.5",
|
|
38
38
|
"@luvio/environments": "0.136.5",
|
|
39
39
|
"@oat-sa/rollup-plugin-wildcard-external": "^0.1.0",
|
|
40
|
-
"@salesforce/lds-adapters-graphql": "^1.111.
|
|
41
|
-
"@salesforce/lds-adapters-uiapi": "^1.111.
|
|
42
|
-
"@salesforce/lds-default-luvio": "^1.111.
|
|
43
|
-
"@salesforce/lds-drafts": "^1.111.
|
|
44
|
-
"@salesforce/lds-graphql-parser": "^1.111.
|
|
45
|
-
"@salesforce/lds-luvio-engine": "^1.111.
|
|
46
|
-
"@salesforce/lds-priming": "^1.111.
|
|
47
|
-
"@salesforce/lds-runtime-mobile": "^1.111.
|
|
48
|
-
"@salesforce/nimbus-plugin-lds": "^1.111.
|
|
40
|
+
"@salesforce/lds-adapters-graphql": "^1.111.5",
|
|
41
|
+
"@salesforce/lds-adapters-uiapi": "^1.111.5",
|
|
42
|
+
"@salesforce/lds-default-luvio": "^1.111.5",
|
|
43
|
+
"@salesforce/lds-drafts": "^1.111.5",
|
|
44
|
+
"@salesforce/lds-graphql-parser": "^1.111.5",
|
|
45
|
+
"@salesforce/lds-luvio-engine": "^1.111.5",
|
|
46
|
+
"@salesforce/lds-priming": "^1.111.5",
|
|
47
|
+
"@salesforce/lds-runtime-mobile": "^1.111.5",
|
|
48
|
+
"@salesforce/nimbus-plugin-lds": "^1.111.5",
|
|
49
49
|
"ajv": "^8.11.0",
|
|
50
50
|
"glob": "^7.1.5",
|
|
51
51
|
"nimbus-types": "^2.0.0-alpha1",
|